select id, gmfsbh, sbh, jgmfsbh, gmfmc, dqskssq, gxrqq, gxrqz, qyxydj, sbzq, gslx, ylqylx, nsrzg, datbsj, ssqsbzt, create_by, create_time, update_by, update_time, remark from income_invoice_auth_enterprise_archives
insert into income_invoice_auth_enterprise_archives
id,
gmfsbh,
sbh,
jgmfsbh,
gmfmc,
dqskssq,
gxrqq,
gxrqz,
qyxydj,
sbzq,
gslx,
ylqylx,
nsrzg,
datbsj,
ssqsbzt,
create_by,
create_time,
update_by,
update_time,
remark,
#{id},
#{gmfsbh},
#{sbh},
#{jgmfsbh},
#{gmfmc},
#{dqskssq},
#{gxrqq},
#{gxrqz},
#{qyxydj},
#{sbzq},
#{gslx},
#{ylqylx},
#{nsrzg},
#{datbsj},
#{ssqsbzt},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update income_invoice_auth_enterprise_archives
gmfsbh = #{gmfsbh},
sbh = #{sbh},
jgmfsbh = #{jgmfsbh},
gmfmc = #{gmfmc},
dqskssq = #{dqskssq},
gxrqq = #{gxrqq},
gxrqz = #{gxrqz},
qyxydj = #{qyxydj},
sbzq = #{sbzq},
gslx = #{gslx},
ylqylx = #{ylqylx},
nsrzg = #{nsrzg},
datbsj = #{datbsj},
ssqsbzt = #{ssqsbzt},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from income_invoice_auth_enterprise_archives where id = #{id}
delete from income_invoice_auth_enterprise_archives where id in
#{id}