您现在的位置: > 新手入门

传奇1.76传奇私服发布网开区一条龙传奇版本购买有些数据存在关仓库BUG运清风传奇私服行语句

日期:2020-11-30 13:39:59 地址:http://www.haosf.wiki/Article/xinshourumen/7795.html 作者:

有些数据存在关仓库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 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=@Items where AccountID=@uid and Number=@stat
set @ec=@@error | @ec
end


end
set nocount off

标签:3136最好的传奇私服发布网yy子频道设计1丶80新版火龙8231

以上就是传奇1.76传奇私服发布网开区一条龙传奇版本购买有些数据存在关仓库BUG运清风传奇私服行语句内容,大家还想知道更多传奇私服内容,多多关注好搜服