有些数据存在关仓库BUG运行语句
有些数据存在关仓库BUG运行语句: CREATE procedure Close_warehouse
@Items varbinar防盛大传奇私服y(1200),
@uid varchar(10)
AS
set nocount on
declare @ec int
set 网通传奇3私服@ec=0
declare @stat int
declare @num int
select @stat=OpenExt ,@num=ExtCKNu英雄合击传奇私发服m from warehouse where AccountID=@uid
set @ec=@@error | @ec
if @stat is not null --正常情君临天下传奇况是不应该为空的
begin
if @stat=@num begin --主仓库
UPDATE warehouse SET Items=@Items where AccountID=@uid
set @ec=@@error | @ec
end else begin
UPDATE ExtWareHouse SET Items=@Ite长期传奇私服ms where 传奇3 1 45 13魔法AccountID=@uid and Number=@stat
set @ec=@@error | @ec
end
end
set nocount off
标签:jjj73影视
上一篇: 架设SF185虎威传奇时都会出现连接…
下一篇: her烈焰sf发布网o引擎攻沙奖励脚本…