|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
- n2 ]/ Y6 V' U5 d7 F
% h* F7 n9 N$ @上线送时间
5 S8 Q! S; W! Q/ r" Y用查询分析器 必须在billing执行* z* t) i6 a# z* l5 k7 q
- CREATE TRIGGER [free] ON [dbo].[user_account]7 k# Z) Q4 f) D8 r9 A) |
- after Insert; ?# Z* [+ |' B- j5 j, W4 A2 D) J" G
- as
9 m! k ] [2 V: o( i9 s8 A) \ - Update [user_account] set* U. C+ |8 F2 f. C5 b# Q
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
/ m7 e6 n; t8 T+ e2 ? - From Inserted# O2 I, Y& B; b& G
- Where [user_account].user_id=inserted.user_id
3 Q3 j2 C3 q- z- ^; H - and [user_account].group_id=inserted.group_id
! j- p3 D- _4 O, r+ Q$ k1 E - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9. ?5 U2 r0 Z9 D; Q* W( n' i. j
- where expire_freetime =2006-1-9
复制代码 ' c& e X1 O4 \! u
4 h( @. [% R8 h1 Y z* B C上线送商币 E! f/ _% B( ~! S( w" k) S
用查询分析器 必须在 cash
& @5 f# Y# y1 ?& c7 Q
5 f+ X! u1 i% u N0 H- U; X1 |- CREATE TRIGGER [free] ON [dbo].[user_cash] ! x1 l; h# ]* g8 ^, |
- after Insert
; Q$ }8 k3 k) \/ E! Z9 V - as 5 B$ P* j0 V6 ^2 @
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
6 A* f1 C- _4 N8 n - From Inserted x+ H. k/ o2 @; V- }! ^
- Where [user_cash].group_id=inserted.group_id
, l9 M0 Y: N8 O - and [user_cash].id=inserted.id
% e- d7 Q7 d N. x# M7 J
复制代码
2 f: I- ~$ _3 q+ D
F3 Z+ b: U% V* t查询GM号
" n! z8 t/ b+ Y& M- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 6 ] ?5 t: s3 k! d
. ?7 i0 }4 \5 m
$ K; D' K+ L4 o V2 m- E z
5 b4 _4 |5 {& {4 x0 a+ b0 z+ z! _ |
|