[步骤]
Update RB_Procurement_List set ProcurementListState =8,FinishStatus=1,UpdateTime=getdate() ,FinishTime=getdate() where CustomerID =1 and P_Code in(select P_Code from RB_Procurement_Detail with(nolock) where CustomerID =1 and ID = '23634528')
‘’ ID 添加了引号 容易造成 类型转换混乱 语句慢 导致卡顿
[结果]
[期望]
ID = '23634528' 去掉ID 的引号