md
This commit is contained in:
parent
5cb232295f
commit
a45ed8df18
@ -94,6 +94,18 @@ public class EmisWaybillProblemInfoController extends BaseController
|
|||||||
return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
|
return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param emisWaybillProblemInfo
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Log(title = "登记问题件", businessType = BusinessType.INSERT)
|
||||||
|
@RequestMapping("/registerProblemInfo")
|
||||||
|
public AjaxResult registerProblemInfo(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
|
||||||
|
{
|
||||||
|
return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改问题件
|
* 修改问题件
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisWaybillProblemInfo.java
|
* @Title: EmisWaybillProblemInfo.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-03-01 08:55:01
|
* @date 2024-05-21 21:00:49
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 问题件 实体类 </p>
|
* @Description: <p> 问题件 实体类 </p>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -26,9 +26,9 @@ import lombok.Data;
|
|||||||
* @ClassName EmisWaybillProblemInfo
|
* @ClassName EmisWaybillProblemInfo
|
||||||
* @Description 问题件
|
* @Description 问题件
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-03-01 08:55:01
|
* @date 2024-05-21 21:00:49
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisWaybillProblemInfo extends BaseEntity
|
public class EmisWaybillProblemInfo extends BaseEntity
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@ -43,9 +43,9 @@ public class EmisWaybillProblemInfo extends BaseEntity
|
|||||||
private String problemTitle;
|
private String problemTitle;
|
||||||
/* 问题件原因 */
|
/* 问题件原因 */
|
||||||
private String problemCause;
|
private String problemCause;
|
||||||
/* 发送站点 */
|
/* 通知网点 */
|
||||||
private String sendSite;
|
private String sendSite;
|
||||||
/* 发送站点代码 */
|
/* 通知网点代码 */
|
||||||
private String sendSiteCode;
|
private String sendSiteCode;
|
||||||
/* 登记人代码 */
|
/* 登记人代码 */
|
||||||
private String registerManCode;
|
private String registerManCode;
|
||||||
@ -80,9 +80,5 @@ public class EmisWaybillProblemInfo extends BaseEntity
|
|||||||
private String blSee;
|
private String blSee;
|
||||||
/* 文件路径 */
|
/* 文件路径 */
|
||||||
private String filePath;
|
private String filePath;
|
||||||
/* 创建站点代码 */
|
|
||||||
private String createSiteCode;
|
|
||||||
/* 修改站点代码 */
|
|
||||||
private String modifySiteCode;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.xdadan.erp.emis.mapper.EmisWaybillProblemInfoMapper">
|
<mapper namespace="com.xdadan.erp.emis.mapper.EmisWaybillProblemInfoMapper">
|
||||||
|
|
||||||
<resultMap type="EmisWaybillProblemInfo" id="EmisWaybillProblemInfoResult">
|
<resultMap type="EmisWaybillProblemInfo" id="EmisWaybillProblemInfoResult">
|
||||||
<result property="id" column="id" />
|
<result property="id" column="id" />
|
||||||
<result property="billCode" column="bill_code" />
|
<result property="billCode" column="bill_code" />
|
||||||
@ -28,23 +28,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="blCheckok" column="bl_checkok" />
|
<result property="blCheckok" column="bl_checkok" />
|
||||||
<result property="blSee" column="bl_see" />
|
<result property="blSee" column="bl_see" />
|
||||||
<result property="filePath" column="file_path" />
|
<result property="filePath" column="file_path" />
|
||||||
<result property="createSiteCode" column="create_site_code" />
|
|
||||||
<result property="modifySiteCode" column="modify_site_code" />
|
|
||||||
<result property="delFlag" column="del_flag" />
|
<result property="delFlag" column="del_flag" />
|
||||||
<result property="createBy" column="create_by" />
|
<result property="createBy" column="create_by" />
|
||||||
<result property="createTime" column="create_time" />
|
<result property="createTime" column="create_time" />
|
||||||
<result property="updateBy" column="update_by" />
|
<result property="updateBy" column="update_by" />
|
||||||
<result property="updateTime" column="update_time" />
|
<result property="updateTime" column="update_time" />
|
||||||
<result property="remark" column="remark" />
|
<result property="remark" column="remark" />
|
||||||
|
<result property="createSite" column="create_site" />
|
||||||
|
<result property="updateSite" column="update_site" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectEmisWaybillProblemInfoVo">
|
<sql id="selectEmisWaybillProblemInfoVo">
|
||||||
select id, bill_code, problem_type, problem_title, problem_cause, send_site, send_site_code, register_man_code, register_man_dept, register_site_code, register_date, register_save_date, data_from, status, is_send_site_register, bl_reversion, reversion_str, reversion_man, reversion_man_code, reversion_date, bl_checkok, bl_see, file_path, create_site_code, modify_site_code, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_problem_info
|
select id, bill_code, problem_type, problem_title, problem_cause, send_site, send_site_code, register_man_code, register_man_dept, register_site_code, register_date, register_save_date, data_from, status, is_send_site_register, bl_reversion, reversion_str, reversion_man, reversion_man_code, reversion_date, bl_checkok, bl_see, file_path, del_flag, create_by, create_time, update_by, update_time, remark, create_site, update_site from emis_waybill_problem_info
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectEmisWaybillProblemInfoList" parameterType="EmisWaybillProblemInfo" resultMap="EmisWaybillProblemInfoResult">
|
<select id="selectEmisWaybillProblemInfoList" parameterType="EmisWaybillProblemInfo" resultMap="EmisWaybillProblemInfoResult">
|
||||||
<include refid="selectEmisWaybillProblemInfoVo"/>
|
<include refid="selectEmisWaybillProblemInfoVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
del_flag='0'
|
||||||
<if test="id != null "> and id = #{id}</if>
|
<if test="id != null "> and id = #{id}</if>
|
||||||
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
||||||
<if test="problemType != null and problemType != ''"> and problem_type like concat('%', #{problemType}, '%')</if>
|
<if test="problemType != null and problemType != ''"> and problem_type like concat('%', #{problemType}, '%')</if>
|
||||||
@ -68,25 +69,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="blCheckok != null and blCheckok != ''"> and bl_checkok like concat('%', #{blCheckok}, '%')</if>
|
<if test="blCheckok != null and blCheckok != ''"> and bl_checkok like concat('%', #{blCheckok}, '%')</if>
|
||||||
<if test="blSee != null and blSee != ''"> and bl_see like concat('%', #{blSee}, '%')</if>
|
<if test="blSee != null and blSee != ''"> and bl_see like concat('%', #{blSee}, '%')</if>
|
||||||
<if test="filePath != null and filePath != ''"> and file_path like concat('%', #{filePath}, '%')</if>
|
<if test="filePath != null and filePath != ''"> and file_path like concat('%', #{filePath}, '%')</if>
|
||||||
<if test="createSiteCode != null and createSiteCode != ''"> and create_site_code like concat('%', #{createSiteCode}, '%')</if>
|
|
||||||
<if test="modifySiteCode != null and modifySiteCode != ''"> and modify_site_code like concat('%', #{modifySiteCode}, '%')</if>
|
|
||||||
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
||||||
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
|
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
|
||||||
<if test="createTime != null "> and create_time = #{createTime}</if>
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||||
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
||||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||||
|
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
|
||||||
|
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
|
||||||
</where>
|
</where>
|
||||||
order by create_time desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisWaybillProblemInfoById" parameterType="Long" resultMap="EmisWaybillProblemInfoResult">
|
<select id="selectEmisWaybillProblemInfoById" parameterType="Long" resultMap="EmisWaybillProblemInfoResult">
|
||||||
select id, bill_code, problem_type, problem_title, problem_cause, send_site, send_site_code, register_man_code, register_man_dept, register_site_code, register_date, register_save_date, data_from, status, is_send_site_register, bl_reversion, reversion_str, reversion_man, reversion_man_code, reversion_date, bl_checkok, bl_see, file_path, create_site_code, modify_site_code, del_flag, create_by, create_time, update_by, update_time, remark
|
select id, bill_code, problem_type, problem_title, problem_cause, send_site, send_site_code, register_man_code, register_man_dept, register_site_code, register_date, register_save_date, data_from, status, is_send_site_register, bl_reversion, reversion_str, reversion_man, reversion_man_code, reversion_date, bl_checkok, bl_see, file_path, del_flag, create_by, create_time, update_by, update_time, remark, create_site, update_site
|
||||||
from emis_waybill_problem_info a
|
from emis_waybill_problem_info a
|
||||||
where a.id = #{id}
|
where a.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertEmisWaybillProblemInfo" parameterType="EmisWaybillProblemInfo">
|
<insert id="insertEmisWaybillProblemInfo" parameterType="EmisWaybillProblemInfo" useGeneratedKeys="true" keyProperty="id">
|
||||||
insert into emis_waybill_problem_info
|
insert into emis_waybill_problem_info
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">id,</if>
|
<if test="id != null">id,</if>
|
||||||
@ -112,15 +113,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="blCheckok != null and blCheckok != ''">bl_checkok,</if>
|
<if test="blCheckok != null and blCheckok != ''">bl_checkok,</if>
|
||||||
<if test="blSee != null and blSee != ''">bl_see,</if>
|
<if test="blSee != null and blSee != ''">bl_see,</if>
|
||||||
<if test="filePath != null and filePath != ''">file_path,</if>
|
<if test="filePath != null and filePath != ''">file_path,</if>
|
||||||
<if test="createSiteCode != null and createSiteCode != ''">create_site_code,</if>
|
|
||||||
<if test="modifySiteCode != null and modifySiteCode != ''">modify_site_code,</if>
|
|
||||||
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
||||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||||
<if test="createTime != null">create_time,</if>
|
<if test="createTime != null">create_time,</if>
|
||||||
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
||||||
<if test="updateTime != null">update_time,</if>
|
<if test="updateTime != null">update_time,</if>
|
||||||
<if test="remark != null and remark != ''">remark,</if>
|
<if test="remark != null and remark != ''">remark,</if>
|
||||||
</trim>
|
<if test="createSite != null and createSite != ''">create_site,</if>
|
||||||
|
<if test="updateSite != null and updateSite != ''">update_site,</if>
|
||||||
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">#{id},</if>
|
<if test="id != null">#{id},</if>
|
||||||
<if test="billCode != null and billCode != ''">#{billCode},</if>
|
<if test="billCode != null and billCode != ''">#{billCode},</if>
|
||||||
@ -145,15 +146,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="blCheckok != null and blCheckok != ''">#{blCheckok},</if>
|
<if test="blCheckok != null and blCheckok != ''">#{blCheckok},</if>
|
||||||
<if test="blSee != null and blSee != ''">#{blSee},</if>
|
<if test="blSee != null and blSee != ''">#{blSee},</if>
|
||||||
<if test="filePath != null and filePath != ''">#{filePath},</if>
|
<if test="filePath != null and filePath != ''">#{filePath},</if>
|
||||||
<if test="createSiteCode != null and createSiteCode != ''">#{createSiteCode},</if>
|
|
||||||
<if test="modifySiteCode != null and modifySiteCode != ''">#{modifySiteCode},</if>
|
|
||||||
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
||||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||||
<if test="createTime != null">#{createTime},</if>
|
<if test="createTime != null">#{createTime},</if>
|
||||||
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
||||||
<if test="updateTime != null">#{updateTime},</if>
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
<if test="remark != null and remark != ''">#{remark},</if>
|
<if test="remark != null and remark != ''">#{remark},</if>
|
||||||
</trim>
|
<if test="createSite != null and createSite != ''">#{createSite},</if>
|
||||||
|
<if test="updateSite != null and updateSite != ''">#{updateSite},</if>
|
||||||
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateEmisWaybillProblemInfo" parameterType="EmisWaybillProblemInfo">
|
<update id="updateEmisWaybillProblemInfo" parameterType="EmisWaybillProblemInfo">
|
||||||
@ -181,14 +182,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="blCheckok != null and blCheckok != ''">bl_checkok = #{blCheckok},</if>
|
<if test="blCheckok != null and blCheckok != ''">bl_checkok = #{blCheckok},</if>
|
||||||
<if test="blSee != null and blSee != ''">bl_see = #{blSee},</if>
|
<if test="blSee != null and blSee != ''">bl_see = #{blSee},</if>
|
||||||
<if test="filePath != null and filePath != ''">file_path = #{filePath},</if>
|
<if test="filePath != null and filePath != ''">file_path = #{filePath},</if>
|
||||||
<if test="createSiteCode != null and createSiteCode != ''">create_site_code = #{createSiteCode},</if>
|
|
||||||
<if test="modifySiteCode != null and modifySiteCode != ''">modify_site_code = #{modifySiteCode},</if>
|
|
||||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||||
<if test="createTime != null">create_time = #{createTime},</if>
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||||
|
<if test="createSite != null and createSite != ''">create_site = #{createSite},</if>
|
||||||
|
<if test="updateSite != null and updateSite != ''">update_site = #{updateSite},</if>
|
||||||
</trim>
|
</trim>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
@ -198,7 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteEmisWaybillProblemInfoByIds" parameterType="String">
|
<delete id="deleteEmisWaybillProblemInfoByIds" parameterType="String">
|
||||||
delete from emis_waybill_problem_info where id in
|
delete from emis_waybill_problem_info where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user