init(): 跟踪逻辑代码初始化

This commit is contained in:
Allenxy
2025-08-19 14:56:23 +08:00
parent 43eeef8089
commit e314b0fa45
116 changed files with 7207 additions and 695 deletions

View File

@@ -4,12 +4,17 @@
<mapper namespace="com.fizz.business.mapper.ProMatmapMapper">
<!-- 更新 pro_matmap 表的 matid 字段 -->
<update id="updateMatidByDisplayName">
UPDATE pro_matmap
SET matid = #{matid}
WHERE display_name = 'MILL'
<update id="flushMatmap">
insert into track_ca1_romtb_matmap (
pos_idx, mat_id, plan_no, plan_id
)
values
<foreach collection="list" item="item" index="index" separator=",">
(#{item.posIdx}, #{item.matId}, #{item.planNo}, #{item.planId})
</foreach>
on duplicate key update
mat_id = VALUES(mat_id),plan_no = VALUES(plan_no),plan_id = VALUES(plan_id)
</update>
</mapper>