declare @a in update TB_Class set@a=1,name='李小龙' where ID=1 这样就可以像更新哪个就更新哪个了 例如ibatisnet中需要更新的时候: update id=parameterClass=!-- update N_OrderStatusNeedSendToCps set OrderStatus = #OrderStatus#,CpsCode = #CpsCo
declare @a in
update TB_Class set @a=1,name='李小龙' where ID=1
这样就可以像更新哪个就更新哪个了
例如ibatisnet中需要更新的时候:
declare @a int
update N_OrderStatusNeedSendToCps set @a=1
OrderStatus=#OrderStatus#
CpsCode=#CpsCode#
ContentType=#ContentType#
IsSendToCps=#IsSendToCps#
SendTime=getdate()
ErrMessage=#ErrMessage#
where Id=#Id#
,
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn