UPDATE uf_zckp
SET
dqsyr =(case when '{?bghsyr}' = '' then null else '{?bghsyr}' end ),
zcwz = (case when '{?bghbm}' = '' then null else '{?bghbm}' end),
zczt =(case when '{?bghzczt}' = '' then null else '{?bghzczt}' end )
WHERE kpbm = '{?kpbm}'
来源链接:https://www.cnblogs.com/oeuvres/p/18672944
没有回复内容