INSERT INTO sys_out_store_item (
ID,
SKU_ID,
OUT_STORE_ID,
REMARK,
AMOUNT,
store_id
)
VALUES (
#{id},
#{skuId},
#{outStoreId},
#{remark},
#{amount},
#{storeId}
)
INSERT INTO sys_out_store_item (
ID,
SKU_ID,
OUT_STORE_ID,
REMARK,
AMOUNT,
store_id
)
VALUES
(
#{item.id},
#{item.skuId},
#{item.outStoreId},
#{item.remark},
#{item.amount},
#{item.storeId}
)
UPDATE sys_out_store_item
SKU_ID = #{skuId},
OUT_STORE_ID = #{outStoreId},
REMARK = #{remark},
AMOUNT = #{amount}
store_id = #{storeId}
WHERE id=#{id}
delete from sys_out_store_item where ID in
#{item}
DELETE FROM sys_out_store_item
where ID=#{id}
DELETE FROM sys_out_store_item
where OUT_STORE_ID=#{id}