bd.bdbm as bdbm,
bd.bdh as bdh,
bd.apbm as apbm
wt.wtbh as wtbh,
wt.wtbm as wtbm,
wt.jyrq as jyrq,
wt.pzmc as pz,
cc.ccbm as ccbm,
cc.wczt as wczt,
cc.sl as sl,
cc.jyxz as jyxz,
cc.apcc as apcc,
cc.jybzj as jybzj,
cc.lybzj as lybzj,
cc.cczt as cczt,
wt.wtfmc,
wt.jyfs,
wt.jyfsmc,
wt.jyfx,
wt.jyfxmc,
wt.fbzt,
wt.fbztmc,
wt.apzt,
wt.apztmc,
cc.jysj
ap.wtbm as wtbm,
ap.ztmc as ztmc,
ap.apbm as apbm,
ap.jylx as jylx,
ap.dwmc as dwmc,
ap.ccdd as ccdd,
ap.pzmc as pzmc,
ap.lssl as lssl,
ap.scnd as scnd,
bd.bdh as bdh,
bd.bdbm as bdbm,
bd.status as status
wt.wtbh as wtbh,
wt.wtbm as wtbm
htbm, htbh, shbh, bdh, bdbm, cmmc, sgmc, qddd, status,
dj, je, jylx, lssl, cdkmc, cckmc, fddbr, pzmc, mtel, sgtel,
wtdlr, khyh, khzh, zh, yzbm, sgbm, cjrq, creator,
creator_code, refresher, refresher_code, refresh_time,
remark, create_date, sgdw, pdfs, lsdj, cmdw, adress,
njhck, nmfcck, nch, nnf, nsflt, nqydj, nzcjl, nckjzrq,
ncfbm, nmfbm, nbz, nqpj, fsdw
UPDATE ty_jybd
status = #{status},
refresher = #{refresher},
refresher_code = #{refresherCode},
refresh_time = #{refreshTime},
apbm = #{apbm},
wtbm = #{wtbm},
bdh = #{bdh},
sl = #{sl},
qbj = #{qbj},
sgkdbm = #{sgkdbm},
sgkdmc = #{sgkdmc},
cckdbm = #{cckdbm},
cckdmc = #{cckdmc},
qydj = #{qydj}
where bdbm = #{bdbm}
delete from ty_jybd where wtbm=#{wtbm} and ccbm is null