金属元素缩写重复校验,生产订单定时任务获取
This commit is contained in:
@@ -8,4 +8,22 @@
|
||||
代码生成器暂时只生成 Mapper XML 文件本身,更多推荐 MybatisX 快速开发插件来生成查询。
|
||||
文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
|
||||
-->
|
||||
<update id="updateBatchByNumber">
|
||||
<foreach collection="toUpdate" item="item" separator=";" open="BEGIN" close=";END;">
|
||||
UPDATE sply_erp_cstm
|
||||
<set>
|
||||
<if test="item.number != null">NUM = #{item.number},</if>
|
||||
<if test="item.name != null">NAME = #{item.name},</if>
|
||||
<if test="item.accountGroup != null">ACCT_GRP = #{item.accountGroup},</if>
|
||||
<if test="item.description != null">DSP = #{item.description},</if>
|
||||
<if test="item.centerNumber != null">CTR_NUM = #{item.centerNumber},</if>
|
||||
<if test="item.createDate != null">CRT_DT = #{item.createDate},</if>
|
||||
<if test="item.repairDate != null">RPR_DT = #{item.repairDate},</if>
|
||||
<if test="item.isGiveback != null">IS_GIV = #{item.isGiveback},</if>
|
||||
<if test="item.isProvisional != null">IS_PRVS = #{item.isProvisional},</if>
|
||||
<if test="item.taxNumber != null">TAX_NUM = #{item.taxNumber},</if>
|
||||
</set>
|
||||
WHERE NUM = #{item.downCenterNumber}
|
||||
</foreach>
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user