,type = #{type},goodsNo = #{goodsNo},goodsName = #{goodsName},specs = #{specs},commonId = #{commonId},deductionTotal = #{deductionTotal},cashTotal = #{cashTotal},deductionTotalUser = #{deductionTotalUser},refundNum = #{refundNum},refundMoney = #{refundMoney},refundIntegral = #{refundIntegral},realRefundNum = #{realRefundNum},realRefundTotal = #{realRefundTotal},realRefundIntegral = #{realRefundIntegral},refundReason = #{refundReason},remarks = #{remarks},occupyRefundTotal = #{occupyRefundTotal},refundRecordId = #{refundRecordId},refundRecordItemId = #{refundRecordItemId},orderItemSonId = #{orderItemSonId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime}
select replace(uuid(),'-','') from dual
insert into refund_record_item_source (id,type,goodsNo,goodsName,specs,commonId,deductionTotal,cashTotal,deductionTotalUser,refundNum,refundMoney,refundIntegral,realRefundNum,realRefundTotal,realRefundIntegral,refundReason,remarks,occupyRefundTotal,refundRecordId,refundRecordItemId,orderItemSonId,isDel,createTime,editTime) values (#{id},#{type},#{goodsNo},#{goodsName},#{specs},#{commonId},#{deductionTotal},#{cashTotal},#{deductionTotalUser},#{refundNum},#{refundMoney},#{refundIntegral},#{realRefundNum},#{realRefundTotal},#{realRefundIntegral},#{refundReason},#{remarks},#{occupyRefundTotal},#{refundRecordId},#{refundRecordItemId},#{orderItemSonId},#{isDel},#{createTime},#{editTime})
insert into refund_record_item_source (id,type,goodsNo,goodsName,specs,commonId,deductionTotal,cashTotal,deductionTotalUser,refundNum,refundMoney,refundIntegral,realRefundNum,realRefundTotal,realRefundIntegral,refundReason,remarks,occupyRefundTotal,refundRecordId,refundRecordItemId,orderItemSonId,isDel,createTime,editTime) values (#{id},#{type},#{goodsNo},#{goodsName},#{specs},#{commonId},#{deductionTotal},#{cashTotal},#{deductionTotalUser},#{refundNum},#{refundMoney},#{refundIntegral},#{realRefundNum},#{realRefundTotal},#{realRefundIntegral},#{refundReason},#{remarks},#{occupyRefundTotal},#{refundRecordId},#{refundRecordItemId},#{orderItemSonId},#{isDel},#{createTime},#{editTime})
update
refund_record_item_source
SET ${sqlSentence}
update refund_record_item_source
SET
WHERE id = #{id}
delete from refund_record_item_source WHERE ${sqlSentence}
delete from refund_record_item_source WHERE id = #{value}