a.id AS "id",
a.orderId AS "orderId",
a.userId AS "userId",
a.userType AS "userType",
a.orderType AS "orderType",
a.recordContent AS "recordContent",
a.recordDate AS "recordDate"
INSERT INTO cm_refunds_record(
id,
orderId,
userId,
userType,
orderType,
recordContent,
recordDate
) VALUES (
#{id},
#{orderId},
#{userId},
#{userType},
#{orderType},
#{recordContent},
#{recordDate}
)
UPDATE cm_refunds_record SET
orderId = #{orderId},
userId = #{userId},
userType = #{userType},
orderType = #{orderType},
recordContent = #{recordContent},
recordDate = #{recordDate}
WHERE id = #{id}
DELETE FROM cm_refunds_record
WHERE id = #{id}