insert into xhpc_customers customers_id, name, service_preferential, contact_name, contact_phone, address, dimension, status, del_flag, create_time, create_by, update_time, update_by, remark, #{customersId}, #{name}, #{servicePreferential}, #{contactName}, #{contactPhone}, #{address}, #{dimension}, #{status}, #{delFlag}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{remark}, update xhpc_customers name = #{name}, service_preferential = #{servicePreferential}, contact_name = #{contactName}, contact_phone = #{contactPhone}, address = #{address}, address = #{dimension}, address = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, where customers_id=#{customersId} update xhpc_customers set del_flag =1 where customers_id=#{customersId} insert into xhpc_customers_personnel customers_personnel_id, customers_id, name, account, recharge_money, consume_money, red_packet, surplus_money, phone, type, status, del_flag, create_time, create_by, update_time, update_by, remark, #{customersPersonnelId}, #{customersId}, #{name}, #{account}, #{rechargeMoney}, #{consumeMoney}, #{redPacket}, #{surplusMoney}, #{phone}, #{type}, #{status}, #{delFlag}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{remark}, update xhpc_customers_personnel customers_id = #{customersId}, name = #{name}, account = #{account}, phone = #{phone}, recharge_money = #{rechargeMoney}, surplus_money = #{surplusMoney}, type = #{type}, address = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, where customers_personnel_id=#{customersPersonnelId} update xhpc_customers_personnel set del_flag=1 where customers_personnel_id=#{customersPersonnelId} update xhpc_customers_personnel set status=#{status} where customers_personnel_id=#{customersPersonnelId}