fix():redis刷新数据库
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user