Commit ee970b90 authored by 邓吉芬's avatar 邓吉芬

添加修改入库字段

parent 248c45c8
......@@ -23,7 +23,7 @@ public interface SyncTradeMapper extends BaseMapper<SyncTrade> {
+ "(#{item.mchId},#{item.billNo},#{item.tradeIdId},#{item.uuid},#{item.type},#{item.posNo},#{item.phone},#{item.memberId},#{item.tradeNo},#{item.storeId},#{item.storeName},#{item.tranTime},#{item.code},#{item.name},#{item.barcode},#{item.price},#{item.qty},#{item.stdAmount},#{item.favAmount})"
+ "</foreach>"
+ " ON DUPLICATE KEY UPDATE "
+ "mch_id =VALUES(mch_id), store_id = VALUES(store_id), tran_time = VALUES(tran_time),code=VALUES(code),barcode=VALUES(barcode),std_amount = VALUES(std_amount),fav_amount = VALUES(fav_amount) "
+ "mch_id =VALUES(mch_id),phone =VALUES(phone), store_id = VALUES(store_id), tran_time = VALUES(tran_time),code=VALUES(code),barcode=VALUES(barcode),std_amount = VALUES(std_amount),fav_amount = VALUES(fav_amount) "
+ "</script>")
Integer saveOrUpdateBatchByUniqKey(@Param("list") List<SyncTrade> syncTrades);
}
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