|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 $ @# b) r5 C, z/ T) P
' g. e G" |2 P3 D+ \" c上线送时间
9 {% R7 \* _8 ~4 G$ Z0 E用查询分析器 必须在billing执行
; l9 N: T- d; U: Y7 T5 x9 h: n1 l0 e- CREATE TRIGGER [free] ON [dbo].[user_account]* j& c' w. f1 z5 G+ M# B( S7 z
- after Insert/ ]8 e) \ f* L' h) W: y
- as
3 y7 ~, a7 ]" M7 i( i - Update [user_account] set K6 T b- v( M- K. u( O0 S
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9( S5 f+ B" q( a
- From Inserted
, t) M! ?& H1 A6 [2 Y - Where [user_account].user_id=inserted.user_id
4 \+ ~/ }4 C' e/ ?% z& a- e8 w @ - and [user_account].group_id=inserted.group_id
. k9 S* S- A" O3 u0 [+ P5 b - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9
& Z" r+ {+ v$ K2 f4 V, D3 x* h8 w; p - where expire_freetime =2006-1-9
复制代码 ' D1 i" D# D( t- \% p# d8 Q$ q
+ R4 |% h+ s* \0 C/ e上线送商币5 ~! ~) Y0 v8 Q! Q( a- L+ X
用查询分析器 必须在 cash
* C6 g. y; E: ]0 W& o6 ~% I; k
- CREATE TRIGGER [free] ON [dbo].[user_cash] 2 \; \. `6 `8 b$ w! p
- after Insert ' F8 X5 b# x* w: m7 {* L9 I
- as
( W* _/ U, q4 y* z+ h" e% }! ~) G - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
, d. g) n5 [( @. g - From Inserted
+ y+ V# u1 s5 s, y" H/ Y - Where [user_cash].group_id=inserted.group_id
+ E* x' r6 Q+ j' }" t7 y) [/ y - and [user_cash].id=inserted.id9 a3 ]+ t4 L' d4 W" J
复制代码 / q1 G# D6 Q+ g% m) @
" A! B, T5 F- r; g& ~7 z; W: D查询GM号
$ E8 q* l9 e( Q" J- c- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 4 Z4 S9 ~" G/ i/ H9 K
* S. ^& r) c* a2 C2 I: ?( J. C+ A. h8 f4 l5 d9 L
: P9 m' b* e6 y6 z |
|