调解系统修改
This commit is contained in:
@@ -21,6 +21,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="code" column="code" />
|
||||
<result property="compLegalPerson" column="comp_legal_person" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDeptVo">
|
||||
@@ -111,6 +113,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="email != null and email != ''">email,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
<if test="code != null and code != ''">code,</if>
|
||||
<if test="compLegalPerson != null and compLegalPerson != ''">comp_legal_person,</if>
|
||||
create_time
|
||||
)values(
|
||||
<if test="deptId != null and deptId != 0">#{deptId},</if>
|
||||
@@ -124,6 +128,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="email != null and email != ''">#{email},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
<if test="code != null and code != ''">#{code},</if>
|
||||
<if test="compLegalPerson != null and compLegalPerson != ''">#{compLegalPerson},</if>
|
||||
sysdate()
|
||||
);
|
||||
</insert>
|
||||
@@ -140,6 +146,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
email,
|
||||
status,
|
||||
create_by,
|
||||
code,
|
||||
comp_legal_person,
|
||||
create_time
|
||||
)values
|
||||
<foreach item="item" index="index" collection="list" separator=",">
|
||||
@@ -155,6 +163,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{item.email},
|
||||
#{item.status},
|
||||
#{item.createBy},
|
||||
#{item.code},
|
||||
#{item.compLegalPerson},
|
||||
sysdate()
|
||||
)
|
||||
</foreach>;
|
||||
@@ -174,6 +184,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="email != null">email = #{email},</if>
|
||||
<if test="status != null and status != ''">status = #{status},</if>
|
||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||
<if test="code != null and code != ''">code = #{code},</if>
|
||||
<if test="compLegalPerson != null and compLegalPerson != ''">comp_legal_person = #{compLegalPerson},</if>
|
||||
update_time = sysdate()
|
||||
</set>
|
||||
where dept_id = #{deptId}
|
||||
|
||||
Reference in New Issue
Block a user