Commit f2d9eafe authored by kinky2014's avatar kinky2014

增加气瓶数据同步更新

parent 0302fa3f
......@@ -29,7 +29,7 @@
#{item.appId}),
#{item.scrapQuantity})
</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",
"sequence_code" = EXCLUDED."sequence_code",
"inspection_date" = EXCLUDED."inspection_date",
......
......@@ -35,7 +35,7 @@
#{item.integrity},
#{item.gasCylinderStamp})
</foreach>
on conflict (sequence_code) do update set
on conflict (app_id,sequence_code) do update set
"qrcode" = EXCLUDED."qrcode",
"electronic_label_code" = EXCLUDED."electronic_label_code",
"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