jybm,bdbm,bdh,apcc,sl,je,lsxz,lsxzmc,lslb,lslbmc,dwbm,dwmc,lxdh,bzj,sxfl,bmrq,fjid,
spr,shzt,shztmc,shyj,shsj,hkje,hksj,hkdwbm,hkdwmc,hkpz,skzt,skztmc,tkzt,tkztmc,remark
,lspzbm,lspzmc
bm.jybm as jybm,
bm.dwmc as dwmc,
bm.jyfx as jyfx,
bm.jyfxmc as jyfxmc,
bm.jyfs as jyfs,
bm.jyfsmc as jyfsmc,
bm.bmrq as bmrq,
bm.lxdh as lxdh,
bm.sxfl as sxfl,
bm.shzt as shzt,
bm.shztmc as shztmc,
bm.fjid as fjid,
bm.wtbm as wtbm,
bm.ccbm as ccbm,
bm.bdh as bdh,
bm.sl as sl,
bm.yxsl as yxsl,
bm.apcc as apcc,
bm.jybzj as jybzj,
bm.lybzj as lybzj,
bm.jkje jkje
bm.jybm as jybm,
bm.dwmc as dwmc,
bm.bmrq as bmrq,
bm.lxdh as lxdh,
bm.sxfl as sxfl,
bm.shzt as shzt,
bm.skzt as skzt,
bm.skztmc as skztmc,
bm.shztmc as shztmc,
bm.fjid as fjid,
bm.wtbm as wtbm,
cc.ccbm as ccbm,
cc.zt as zt,
bm.bdh as bdh,
cc.sl as sl,
cc.apcc as apcc,
cc.bzj as bzj,
wt.jyrq as jyrq,
wt.pzmc as lspzmc
INSERT INTO ty_jybm(
jybm,bdbm,bdh,apcc,sl,je,lsxz,lsxzmc,lslb,lslbmc,dwbm,dwmc,lxdh,bzj,sxfl,bmrq,fjid,spr,shzt,shztmc,shyj,shsj,hkje,hksj,hkdwbm,hkdwmc,hkpz,skzt,skztmc,tkzt,tkztmc,remark,lspzbm,lspzmc)
VALUES (
#{jybm},#{bdbm},#{bdh},#{apcc},#{sl},#{je},#{lsxz},#{lsxzmc},#{lslb},#{lslbmc},#{dwbm},#{dwmc},#{lxdh},#{bzj},#{sxfl},#{bmrq},#{fjid},#{spr},#{shzt},#{shztmc},#{shyj},#{shsj},#{hkje},#{hksj},#{hkdwbm},#{hkdwmc},#{hkpz},#{skzt},#{skztmc},#{tkzt},#{tkztmc},#{remark},#{lspzbm},#{lspzmc})
UPDATE ty_jybm SET
jybm = #{jybm},bdbm = #{bdbm},bdh = #{bdh},apcc = #{apcc},sl = #{sl},je = #{je},lsxz = #{lsxz},lsxzmc = #{lsxzmc},lslb = #{lslb},lslbmc = #{lslbmc},dwbm = #{dwbm},dwmc = #{dwmc},lxdh = #{lxdh},bzj = #{bzj},sxfl = #{sxfl},bmrq = #{bmrq},fjid = #{fjid},spr = #{spr},shzt = #{shzt},shztmc = #{shztmc},shyj = #{shyj},shsj = #{shsj},hkje = #{hkje},hksj = #{hksj},hkdwbm = #{hkdwbm},hkdwmc = #{hkdwmc},hkpz = #{hkpz},skzt = #{skzt},skztmc = #{skztmc},tkzt = #{tkzt},tkztmc = #{tkztmc},remark = #{remark},lspzbm = #{lspzbm},lspzmc = #{lspzmc}
WHERE jybm = #{jybm}
DELETE FROM ty_jybm
WHERE jybm = #{jybm}
UPDATE ty_jybm SET
tkzt = #{tkzt},tkztmc = #{tkztmc}
WHERE apcc = #{apcc}