insert into yz_wash_clothing_order_info(order_id, wash_clothing_id, clothing_name, clothing_num, remarks,
created_by, created_time, updated_time, updated_by, is_deleted, tenant_id)
values (#{orderId}, #{washClothingId}, #{clothingName}, #{clothingNum}, #{remarks}, #{createdBy}, #{createdTime}, #{updatedTime}, #{updatedBy}, #{isDeleted}, #{tenantId})
insert into yz_wash_clothing_order_info(order_id, wash_clothing_id, clothing_name, clothing_num, remarks,
created_by, created_time, updated_time, updated_by, is_deleted, tenant_id)
values
(#{entity.orderId}, #{entity.washClothingId}, #{entity.clothingName}, #{entity.clothingNum}, #{entity.remarks}, #{entity.createdBy}, #{entity.createdTime}, #{entity.updatedTime}, #{entity.updatedBy}, #{entity.isDeleted}, #{entity.tenantId})
insert into yz_wash_clothing_order_info(order_id, wash_clothing_id, clothing_name, clothing_num, remarks,
created_by, created_time, updated_time, updated_by, is_deleted, tenant_id)
values
(#{entity.orderId}, #{entity.washClothingId}, #{entity.clothingName}, #{entity.clothingNum}, #{entity.remarks}, #{entity.createdBy}, #{entity.createdTime}, #{entity.updatedTime}, #{entity.updatedBy}, #{entity.isDeleted}, #{entity.tenantId})
on duplicate key update
order_id = values(order_id),
wash_clothing_id = values(wash_clothing_id),
clothing_name = values(clothing_name),
clothing_num = values(clothing_num),
remarks = values(remarks),
created_by = values(created_by),
created_time = values(created_time),
updated_time = values(updated_time),
updated_by = values(updated_by),
is_deleted = values(is_deleted),
tenant_id = values(tenant_id)
update yz_wash_clothing_order_info
order_id = #{orderId},
wash_clothing_id = #{washClothingId},
clothing_name = #{clothingName},
clothing_num = #{clothingNum},
remarks = #{remarks},
created_by = #{createdBy},
created_time = #{createdTime},
updated_time = #{updatedTime},
updated_by = #{updatedBy},
is_deleted = #{isDeleted},
tenant_id = #{tenantId},
where id = #{id}
update yz_wash_clothing_order_info set is_deleted = '1' where id = #{id}