decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,13 @@
|
|||
CREATE PROCEDURE [dbo].[up_update_remaintime_item]
|
||||
@character_id [uniqueidentifier]
|
||||
as begin
|
||||
set nocount on
|
||||
update N_InventoryItem set [remain_time] = [remain_time]-DATEDIFF(second, [create_time], GETDATE()), [update_time] = GETDATE()
|
||||
where character_id = @character_id and [remain_time] > 0
|
||||
|
||||
update N_EquipItem set [remain_time] = [remain_time]-DATEDIFF(second, [create_time], GETDATE()), [update_time] = GETDATE()
|
||||
where character_id = @character_id and [remain_time] > 0
|
||||
|
||||
update N_MailItem set [remain_time] = [remain_time]-DATEDIFF(second, [create_time], GETDATE()), [update_time] = GETDATE()
|
||||
where character_id = @character_id and [remain_time] > 0
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue