This commit is contained in:
zc
2026-04-16 00:42:25 +08:00
parent eda31fcffd
commit f88d4d8fe7
19 changed files with 177 additions and 45 deletions

View File

@@ -78,7 +78,7 @@
</update>
<update id="updateBatchNull">
UPDATE sys_material_info SET batch = null
UPDATE sys_material_info SET batch = null, mark = null
</update>
<update id="updateBatchByCode">
@@ -93,6 +93,14 @@
</foreach>
ELSE batch
END,
mark = CASE
<foreach collection="list" item="item" separator="">
<if test="item.mark != null and item.mark != ''">
WHEN encoding = #{item.encoding} THEN #{item.mark}
</if>
</foreach>
ELSE mark
END,
update_user = CASE
<foreach collection="list" item="item" separator="">
<if test="item.updateUser != null">