select id, acc_year, acc_month, act_id, bill_no, corp_id, transact_id, from_date, to_date, amt, ref_no, post_date, bill_status, del_flag, create_by, create_time, update_by, update_time, remarks ,
f_ctrlcorpid ,t_mblno ,f_billtype,f_accbilldate,f_billno,charging_method ,invoice_no , bank , water_bill_no ,f_corpid from F_TMSACCBILLS
insert into F_TMSACCBILLS
acc_year,
acc_month,
act_id,
bill_no,
corp_id,
transact_id,
from_date,
to_date,
amt,
ref_no,
post_date,
bill_status,
del_flag,
create_by,
create_time,
update_by,
update_time,
remarks,
f_ctrlcorpid,
t_mblno,
f_billtype,
f_accbilldate,
f_billno,
charging_method,
invoice_no,
bank,
water_bill_no,
f_corpid,
#{accYear},
#{accMonth},
#{actId},
#{billNo},
#{corpId},
#{transactId},
#{fromDate},
#{toDate},
#{amt},
#{refNo},
#{postDate},
#{billStatus},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remarks},
#{fCtrlcorpid},
#{tMblno},
#{fBilltype},
#{fAccbilldate},
#{fBillno},
#{chargingMethod},
#{invoiceNo},
#{bank},
#{waterBillNo},
#{fCorpid},
update F_TMSACCBILLS
acc_year = #{accYear},
acc_month = #{accMonth},
act_id = #{actId},
bill_no = #{billNo},
corp_id = #{corpId},
transact_id = #{transactId},
from_date = #{fromDate},
to_date = #{toDate},
amt = #{amt},
ref_no = #{refNo},
post_date = #{postDate},
bill_status = #{billStatus},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remarks = #{remarks},
charging_method = #{chargingMethod},
invoice_no = #{invoiceNo},
bank = #{bank},
water_bill_no = #{waterBillNo},
f_corpid = #{fCorpid},
where id = #{id}
delete from F_TMSACCBILLS where id = #{id}
delete from F_TMSACCBILLS where id in
#{id}