超级版主
- 积分
- 668
- 金钱
- 224
- 贡献
- 345
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
& ~: u7 F6 g) ] L/ H% B
& l P. F. k j( s: D9 g. Y5 i上线送时间
9 V. Q$ t; ?0 E用查询分析器 必须在billing执行
: Q( ?4 i7 o; G0 A- CREATE TRIGGER [free] ON [dbo].[user_account] Q8 |$ j7 o6 g
- after Insert
( j; ]# n# O, v2 k' } - as
% y" T; B- _/ G+ z/ q - Update [user_account] set: m0 r" C P4 x# h1 u1 p1 L: ^
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
7 H1 y2 |1 i! L( M' G - From Inserted6 K# f. X# y- r3 O8 W/ U
- Where [user_account].user_id=inserted.user_id
) y" ?" x* T$ s7 A - and [user_account].group_id=inserted.group_id
' N1 \$ M3 g& R( v. e9 B, B - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9" B/ y9 D$ E( A3 a! ^
- where expire_freetime =2006-1-9
复制代码
: x$ n/ Y: A U3 o* o0 H% Y( B
上线送商币. l; B; g) U) s D9 m) ^7 z
用查询分析器 必须在 cash, U& C' r( r! _& o( n, g
7 i0 }) z* P8 R `. c+ t4 o
- CREATE TRIGGER [free] ON [dbo].[user_cash]
1 N/ s; b1 u/ ~9 a1 \, B - after Insert # e1 q. D6 J- f& C' e/ ^
- as / B. A6 K$ N0 s! U4 Q
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
0 t# a; ~8 s; Z% y. h' w2 e& B - From Inserted
' m( A( T9 R9 |2 Q& j6 m' c' ~ - Where [user_cash].group_id=inserted.group_id
4 g2 X" Q7 a. M7 l - and [user_cash].id=inserted.id
" x' s( C4 _4 e
复制代码 5 _$ c# T. {8 |; h8 m! T, i; h
: b, N- z% x' \6 [# r6 ?; d
查询GM号
& g) x/ y$ K& ^& ? X- L- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
, |4 @7 q& [8 J2 p9 S( W5 O8 N+ ~. D/ `& i& S/ K" ?
. {- t+ y8 P% y! [: Q
: a A* o- |7 M6 u6 S
|
|