This commit is contained in:
zc
2026-04-21 14:15:58 +08:00
parent 2b6c4ff7f3
commit bcf22400b5
2 changed files with 3 additions and 11 deletions

View File

@@ -78,7 +78,7 @@
</update>
<update id="updateBatchNull">
UPDATE sys_material_info SET batch = null, mark = null
UPDATE sys_material_info SET batch = null
</update>
<update id="updateBatchByCode">
@@ -93,14 +93,6 @@
</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">