a.id , a.account_id as "accountId", a.businessstate as "businessstate", a.accountnumber as "accountnumber", a.remaining as "remaining", a.create_by as "createBy", a.create_date as "createDate", a.update_by as "updateBy", a.update_date as "updateDate", a.remarks as "remarks", a.del_flag as "delFlag", a.site_id as "siteId", a.customer_id as "customerId", a.office_id as "officeId", a.balance as "balance", a.estimatedDate as "estimatedDate" insert INTO pay_pay_rechargeaccount ( account_id, businessstate, accountnumber, accountname, remaining, create_by, create_date, update_by, update_date, remarks, del_flag, site_id, customer_id, office_id ) values( #{accountId}, #{businessstate}, #{accountnumber}, #{accountname}, #{remaining}, #{createBy}, #{createDate}, #{updateBy}, #{updateDate}, #{remarks}, #{delFlag}, #{siteId}, #{customerId}, #{officeId} ) delete from pay_pay_rechargeaccount where account_id= #{accountId} delete from pay_pay_rechargeaccount where account_id in #{item} insert INTO pay_pay_rechargeaccount (id, account_id, businessstate, accountnumber, accountname, remaining, create_by, create_date, update_by, update_date, remarks, del_flag, site_id, customer_id, office_id ) values ( #{item.id}, #{item.accountId}, #{item.businessstate}, #{item.accountnumber}, #{item.accountname}, #{item.remaining}, #{item.createBy}, #{item.createDate}, #{item.updateBy}, #{item.updateDate}, #{item.remarks}, #{item.delFlag}, #{item.siteId}, #{item.customerId}, #{item.officeId}) update pay_pay_rechargeaccount set balance=#{balance},estimatedDate =#{readdate} where id =#{id}