Commit f2d9eafe authored by kinky2014's avatar kinky2014

增加气瓶数据同步更新

parent 0302fa3f
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#{item.appId}), #{item.appId}),
#{item.scrapQuantity}) #{item.scrapQuantity})
</foreach> </foreach>
on conflict (app_id,filling_examine_id) do update set on conflict (app_id,sequence_code) do update set
"inspection_unit" = EXCLUDED."inspection_unit", "inspection_unit" = EXCLUDED."inspection_unit",
"sequence_code" = EXCLUDED."sequence_code", "sequence_code" = EXCLUDED."sequence_code",
"inspection_date" = EXCLUDED."inspection_date", "inspection_date" = EXCLUDED."inspection_date",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#{item.integrity}, #{item.integrity},
#{item.gasCylinderStamp}) #{item.gasCylinderStamp})
</foreach> </foreach>
on conflict (sequence_code) do update set on conflict (app_id,sequence_code) do update set
"qrcode" = EXCLUDED."qrcode", "qrcode" = EXCLUDED."qrcode",
"electronic_label_code" = EXCLUDED."electronic_label_code", "electronic_label_code" = EXCLUDED."electronic_label_code",
"rec_date" = EXCLUDED."rec_date", "rec_date" = EXCLUDED."rec_date",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment