select id, acc_code, customer_code, monthly_pay_code, credit_money, use_money, currency, trans_type, start_date, end_date, bl_open, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_credit_customer insert into emis_credit_customer id, acc_code, customer_code, monthly_pay_code, credit_money, use_money, currency, trans_type, start_date, end_date, bl_open, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{accCode}, #{customerCode}, #{monthlyPayCode}, #{creditMoney}, #{useMoney}, #{currency}, #{transType}, #{startDate}, #{endDate}, #{blOpen}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_credit_customer acc_code = #{accCode}, customer_code = #{customerCode}, monthly_pay_code = #{monthlyPayCode}, credit_money = #{creditMoney}, use_money = #{useMoney}, currency = #{currency}, trans_type = #{transType}, start_date = #{startDate}, end_date = #{endDate}, bl_open = #{blOpen}, remark = #{remark}, tenant_id = #{tenantId}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_site = #{createSite}, update_site = #{updateSite}, where id = #{id} update emis_credit_customer set use_money = #{useMoney} where id = #{id} update emis_credit_customer set del_flag='1' where id = #{id} update emis_credit_customer set del_flag='1' where id in #{id}