超级版主
- 积分
- 684
- 金钱
- 224
- 贡献
- 361
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
+ M& O8 F: M) V& R; h
5 K3 d# M+ H3 |' n上线送时间
7 p9 Q+ U. k/ W h* V3 d) s) e, P* G用查询分析器 必须在billing执行* P3 ~1 x2 x+ Y* Z
- CREATE TRIGGER [free] ON [dbo].[user_account]
% Q! y q+ _ N4 Q - after Insert9 [/ z) ^& m) V1 A
- as
( u0 u6 c% f. ~' X - Update [user_account] set0 a5 c g: M2 p
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
& K x' s; U7 p' s3 i' d - From Inserted, W, m9 J, f% T6 [* W& l; U
- Where [user_account].user_id=inserted.user_id
1 y: I: `1 _2 a0 q - and [user_account].group_id=inserted.group_id
( k8 V% M* h# C1 u) ? - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9 e: t* ?% C1 I* _" {* d' i: V( w
- where expire_freetime =2006-1-9
复制代码
- {$ x/ Q5 S8 g. b# c" O7 B3 y& b
上线送商币
6 G/ w% x4 ~; n( t' q% B/ l; M# I8 _用查询分析器 必须在 cash
6 F0 ^9 \0 }# G1 @! S2 ^5 T: ^: Q0 K s
- CREATE TRIGGER [free] ON [dbo].[user_cash]
. z- I, N7 M( I+ x }7 T: f9 V - after Insert % o: y7 a! J. r1 |2 Q6 w9 O
- as
- j' l+ P6 j5 W& b& f - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000) i" J% {2 a7 q( e/ b! |
- From Inserted
7 x6 s0 z# a+ G - Where [user_cash].group_id=inserted.group_id 2 w$ t4 ^9 W: H5 v* v1 y& b
- and [user_cash].id=inserted.id
2 i# l* G+ S4 B' z; d+ {
复制代码
; `! G, [1 s# d, J- n" r. S/ o/ o( B) M% v7 J5 e- M
查询GM号5 T2 z7 S( |9 J! P) X# c# i
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 # B3 i( c% k1 O
+ o4 t- b: {/ O" H- S, w! J& n/ y. m; Y2 X; }, A8 L
2 e" r7 @' v% V$ A4 j) j; N |
|