select id, acc_year, acc_month, act_id, f_from_date, amt, f_to_date, ref_no, post_date, f_amtcr, f_amtdr, del_flag, create_by, create_time, update_by, update_time, f_ctrlcorpid, t_mblno, f_billtype, f_accbilldate, f_ref_no, f_billno, f_deptid, charging_method, f_billstatus, invoice_no, bank, water_bill_no, f_corpid, f_system_type, f_remarks from F_TMSACCBILLS
insert into F_TMSACCBILLS
acc_year,
acc_month,
act_id,
f_from_date,
amt,
f_to_date,
ref_no,
post_date,
f_amtcr,
f_amtdr,
del_flag,
create_by,
create_time,
update_by,
update_time,
f_ctrlcorpid,
t_mblno,
f_billtype,
f_accbilldate,
f_ref_no,
f_billno,
f_deptid,
charging_method,
f_billstatus,
invoice_no,
bank,
water_bill_no,
f_corpid,
f_system_type,
f_remarks,
#{accYear},
#{accMonth},
#{actId},
#{fFromDate},
#{amt},
#{fToDate},
#{refNo},
#{postDate},
#{fAmtcr},
#{fAmtdr},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{fCtrlcorpid},
#{tMblno},
#{fBilltype},
#{fAccbilldate},
#{fRefNo},
#{fBillno},
#{fDeptid},
#{chargingMethod},
#{fBillstatus},
#{invoiceNo},
#{bank},
#{waterBillNo},
#{fCorpid},
#{fSystemType},
#{fRemarks},
update F_TMSACCBILLS
acc_year = #{accYear},
acc_month = #{accMonth},
act_id = #{actId},
f_from_date = #{fFromDate},
amt = #{amt},
f_to_date = #{fToDate},
ref_no = #{refNo},
post_date = #{postDate},
f_amtcr = #{fAmtcr},
f_amtdr = #{fAmtdr},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
f_ctrlcorpid = #{fCtrlcorpid},
t_mblno = #{tMblno},
f_billtype = #{fBilltype},
f_accbilldate = #{fAccbilldate},
f_ref_no = #{fRefNo},
f_billno = #{fBillno},
f_deptid = #{fDeptid},
charging_method = #{chargingMethod},
f_billstatus = #{fBillstatus},
invoice_no = #{invoiceNo},
bank = #{bank},
water_bill_no = #{waterBillNo},
f_corpid = #{fCorpid},
f_system_type = #{fSystemType},
f_remarks = #{fRemarks},
where id = #{id}
delete from F_TMSACCBILLS where id = #{id}
delete from F_TMSACCBILLS where id in
#{id}