bug修复

This commit is contained in:
18792927508
2024-04-07 11:10:35 +08:00
parent 9537faea90
commit 666090fbe3
21 changed files with 311 additions and 118 deletions
@@ -115,6 +115,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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>
<if test="home != null and home != ''">home,</if>
<if test="address != null and address != ''">address,</if>
<if test="nationality != null ">nationality,</if>
create_time
)values(
<if test="deptId != null and deptId != 0">#{deptId},</if>
@@ -130,6 +133,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createBy != null and createBy != ''">#{createBy},</if>
<if test="code != null and code != ''">#{code},</if>
<if test="compLegalPerson != null and compLegalPerson != ''">#{compLegalPerson},</if>
<if test="home != null and home != ''">#{home},</if>
<if test="address != null and address != ''">#{address},</if>
<if test="nationality != null ">#{nationality},</if>
sysdate()
);
</insert>
@@ -148,6 +154,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
create_by,
code,
comp_legal_person,
nationality,
home,
address,
create_time
)values
<foreach item="item" index="index" collection="list" separator=",">
@@ -165,6 +174,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.createBy},
#{item.code},
#{item.compLegalPerson},
#{item.nationality},
#{item.home},
#{item.address},
sysdate()
)
</foreach>;
@@ -186,6 +198,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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>
<if test="home != null and home != ''">home = #{home},</if>
<if test="address != null and address != ''">address = #{address},</if>
<if test="nationality != null ">nationality = #{nationality},</if>
update_time = sysdate()
</set>
where dept_id = #{deptId}