fix():redis刷新数据库

This commit is contained in:
Allenxy
2025-11-01 16:28:28 +08:00
parent 1b96f2127b
commit c2e9e15c36
7 changed files with 47 additions and 32 deletions

View File

@@ -5,8 +5,8 @@
<mapper namespace="com.fizz.business.mapper.ProMatmapMapper">
<update id="flushMatmap">
insert into track_ca1_romtb_matmap (
<insert id="flushMatmap">
insert into pro_matmap (
pos_idx, mat_id, plan_no, plan_id
)
values
@@ -14,7 +14,9 @@
(#{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>
mat_id = VALUES(mat_id),
plan_no = VALUES(plan_no),
plan_id = VALUES(plan_id)
</insert>
</mapper>