|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
" F" w4 [0 ^+ `9 c
( H9 [8 T+ S$ O7 h k上线送时间
' i# e. i/ n( p0 U, O用查询分析器 必须在billing执行! _+ ^! n2 n2 ?9 r6 `9 @) k' E* `3 F
- CREATE TRIGGER [free] ON [dbo].[user_account]
2 H3 \! S7 c: G - after Insert* m& a/ i0 L3 O
- as! k" j; u- {0 _# y( U0 Z
- Update [user_account] set
( }( G2 G& O9 g. f - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
- F4 q6 d5 O# _2 b - From Inserted
( }* I' j2 p( s2 ?" l - Where [user_account].user_id=inserted.user_id+ u; |9 e' |/ c% N. M3 I
- and [user_account].group_id=inserted.group_id9 V- {$ ]4 b2 }% B/ L3 Y4 m4 X/ f
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9
/ b8 o. V( K! ^/ x; e$ [4 m - where expire_freetime =2006-1-9
复制代码 ) y5 `, F e. M' L! M2 Z
0 {! H, q4 ]; S4 j K上线送商币# }/ s! h( a( M2 w
用查询分析器 必须在 cash
& H( U+ H8 F7 }6 b$ ?7 n( ]5 R7 l2 v9 \
- CREATE TRIGGER [free] ON [dbo].[user_cash] : s+ Y) _$ Z( M# k7 t# ]
- after Insert
: X+ ]4 d" m4 A2 w: ^9 Y0 J - as 6 f5 l) ~: O7 J8 H$ }4 ^' k# i7 }/ F
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000& U# W8 ^- V' O& x
- From Inserted
2 T7 H/ j7 s8 f - Where [user_cash].group_id=inserted.group_id
+ W0 N! _+ p) I& w4 _ - and [user_cash].id=inserted.id
+ D# d. T b( Q9 z
复制代码
( R; \! N- B: R" D/ O
6 o2 g4 h" |5 ^查询GM号
7 ^& @, W! [' M: o9 |$ Z2 B" y7 k- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
/ H% y1 x; J0 T4 u0 ~4 ]2 [7 |
% p4 k7 g {0 O1 Z j" Z- L4 j
& c! c. Q/ U; r: V h& u
/ ?$ N. H6 T; j# C* {8 P |
|