有些数据存在关仓库BUG运行语句
有些数据存在关仓库BUG运行语句
有些数据存在关仓库我本沉默BUG运行语句: CREATE procedure Close_warehouse
@Items varbinary(1200),
@uid varchar(10)
AS
set nocount on
declare @ec int
set @ec=0
declare @stat int
declare @num int
select @stat=OpenExt ,@num=ExtCKNum from warehous尸王殿多久刷一次e where AccountID=@uid
set @ec=@@error | @ec
if @stat is not null --正常情况是不应该为空的
begin
if @stat=@num begin --主仓库
UP变态传奇外传D网通传奇私服ATE warehouse SET Items=@Items where AccountID=@uid
set @ec=@@error | @ec传奇私服窗口化工具
end else begin
UPDATE ExtWareHouse SET Items=@Items where AccountID=@uid and 夺宝传奇sfNumber=@stat
set @ec=@@error | @ec
end
end
set nocount off
|