select order_id, customer_id, customer_code, order_json, item_json, create_time from crm_customer_his_order
insert into crm_customer_his_order
customer_id,
customer_code,
order_json,
item_json,
create_time,
#{customerId},
#{customerCode},
#{orderJson},
#{itemJson},
#{createTime},
update crm_customer_his_order
customer_id = #{customerId},
customer_code = #{customerCode},
order_json = #{orderJson},
item_json = #{itemJson},
create_time = #{createTime},
where order_id = #{orderId}
delete from crm_customer_his_order where order_id = #{orderId}
delete from crm_customer_his_order where order_id in
#{orderId}