insert into smart_life.com_act_social_org_hatch_audit(name, responsibility, phone, hatch_unit, hatch_unit_type,
hatch_unit_name, user_id, status, created_at, updated_at, introduction, logo, apply_reason, service_scope)
values
(#{entity.name}, #{entity.responsibility}, #{entity.phone}, #{entity.hatchUnit}, #{entity.hatchUnitType},
#{entity.hatchUnitName}, #{entity.userId}, #{entity.status}, #{entity.createdAt}, #{entity.updatedAt},
#{entity.introduction}, #{entity.logo}, #{entity.applyReason}, #{entity.serviceScope})
insert into smart_life.com_act_social_org_hatch_audit(name, responsibility, phone, hatch_unit, hatch_unit_type,
hatch_unit_name, user_id, status, created_at, updated_at, introduction, logo, apply_reason, service_scope)
values
(#{entity.name}, #{entity.responsibility}, #{entity.phone}, #{entity.hatchUnit}, #{entity.hatchUnitType},
#{entity.hatchUnitName}, #{entity.userId}, #{entity.status}, #{entity.createdAt}, #{entity.updatedAt},
#{entity.introduction}, #{entity.logo}, #{entity.applyReason}, #{entity.serviceScope})
on duplicate key update
name = values(name) , responsibility = values(responsibility) , phone = values(phone) , hatch_unit =
values(hatch_unit) , hatch_unit_type = values(hatch_unit_type) , hatch_unit_name = values(hatch_unit_name) ,
user_id = values(user_id) , status = values(status) , created_at = values(created_at) , updated_at =
values(updated_at) , introduction = values(introduction) , logo = values(logo) , apply_reason =
values(apply_reason) , service_scope = values(service_scope)