超级版主
- 积分
- 786
- 金钱
- 228
- 贡献
- 459
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
2 @6 `% X( T- k; j2 D% o" Q% Z- _) M# q$ z
上线送时间
+ j6 |% w( j% f* `1 h* Y0 }5 S9 |用查询分析器 必须在billing执行
4 @( `& v$ J! y2 j/ K- CREATE TRIGGER [free] ON [dbo].[user_account]
1 m" c, s. E" i# C+ M - after Insert# o: _+ L* N$ F
- as: X" |( Y3 q& C$ F4 T$ F
- Update [user_account] set
+ z3 ^/ ~+ ~+ y6 R( D) d' F- c - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9( }* `/ j: m/ u/ o. R2 b
- From Inserted
6 G1 W$ o1 \- S) R& g9 E - Where [user_account].user_id=inserted.user_id% m% U; U# F, z- B1 P* i$ @
- and [user_account].group_id=inserted.group_id+ m3 E* _; f# m- q
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9) ^* ~9 U$ O1 B/ N( M/ X# T. z
- where expire_freetime =2006-1-9
复制代码 ) U8 Y u9 O0 D0 L6 i- b
) K$ A3 }: M4 z9 V8 o+ C上线送商币4 N0 N% M# `: ~ ]9 n+ F
用查询分析器 必须在 cash, W9 C, U! G8 z; D: D+ x- T
0 i) O% F2 H, h
- CREATE TRIGGER [free] ON [dbo].[user_cash]
4 y8 f- {% ^/ r6 N6 K - after Insert
9 ]3 E& o' M7 ?) C9 [ - as 0 N# w6 l- z: j
- Update [user_cash] set [user_cash].amount=900000000,free_amount=9000000007 Q+ t# A# I7 Z S/ J: _% u
- From Inserted 9 }4 j# z% i/ U1 t0 v% {: d
- Where [user_cash].group_id=inserted.group_id
$ K* N2 q# Z' Z& G7 \ - and [user_cash].id=inserted.id
0 y- d, I4 U$ ?& j2 O+ g+ [
复制代码
' N- g: d& ~. Y3 K. K& `; V
" W1 U' K+ v9 J$ m; H3 z$ I. m' n# q查询GM号
: y; l5 X$ {7 C! g- K& [1 Q' t- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 9 M# \; K# `) j& `4 p/ q2 q
: B' `' V" ^# u% P4 G
/ C4 S9 h2 i, w8 ^# f8 K' D
( Q' k6 y8 o7 z9 L& T6 ?
|
|