|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 # G" x6 _4 E/ }8 y" L" y$ X9 J }
3 P- @9 G6 g0 \( z7 Q) N上线送时间: A1 p' Y3 l4 R# p2 E* l
用查询分析器 必须在billing执行
7 ^) H8 B0 W' O% ?- CREATE TRIGGER [free] ON [dbo].[user_account]
: l( K7 u) `$ C' q* h8 x - after Insert
6 M8 [+ X: V- T6 K# T4 _0 ~; ^4 p2 D - as
: p4 E2 G* g3 u6 F3 e5 L - Update [user_account] set/ d0 @8 r* R H. p: l- V9 z6 Y7 d
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
8 d* u; Z& s4 m - From Inserted
7 S- o2 H. ?; \5 D; k8 h( U - Where [user_account].user_id=inserted.user_id( X0 d. m+ [ S. l& h2 f, V. S
- and [user_account].group_id=inserted.group_id! q% ]9 G6 ?8 \1 T8 M* ]
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-99 P8 `7 _- h9 t0 n1 C
- where expire_freetime =2006-1-9
复制代码
+ |4 y# |5 u' N/ p. ^+ n4 N/ h) Z9 T. N" I" L# b
上线送商币7 R8 r* C q# V1 n1 _1 I
用查询分析器 必须在 cash
+ y* k5 `8 O2 F0 i& G/ c# V- T0 ?
9 a4 K! w: Q3 w* b% Z9 j7 |) r& t- CREATE TRIGGER [free] ON [dbo].[user_cash]
3 M) u# v# k: n k, ?( x) e - after Insert 4 V, U+ b* s& d" T6 R& Z1 c
- as 1 T, M m0 W6 B( o2 @
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000 o. U8 V i$ u8 e; R
- From Inserted
8 v5 ~8 {" P) C - Where [user_cash].group_id=inserted.group_id $ r% A. @# O6 G/ {4 O- P3 H [
- and [user_cash].id=inserted.id
/ o; a5 D+ g4 j
复制代码
: l& t, N1 h$ T3 |* D
4 I* ]! [* U. p0 Z( h' r查询GM号# V% a0 k' d: u. Z( j& F3 ]# Z
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
, A) w& F" L" k Q' s; U* B& y# ~. \5 `
, N5 O0 |+ r: ?* H
/ d; i1 j% s& F! ~! z |
|