[Message]
update wh_stock set stock_qty= case when stock_qty<0 //判断列值小于0时 then 0 更新列值为0 else stock_qty 否则不更新 end
顶端
目录
评价