超级版主
- 积分
- 922
- 金钱
- 228
- 贡献
- 595
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 " }. J! O9 f/ g- U# ~; C. k6 ~9 J2 x
: e3 @: W7 j2 h, Z! q+ [
上线送时间
+ Q( ` j/ T8 g/ j8 }- E2 s用查询分析器 必须在billing执行
* y0 W! n' V4 `( a- CREATE TRIGGER [free] ON [dbo].[user_account]5 J7 N! ?" O' n' c
- after Insert
4 b) O+ B, e3 H& {( V7 ~ - as
/ P O$ u7 b8 q4 b# Q5 _ - Update [user_account] set
. q* A# } q" c: o8 G* \ - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9/ m: j# |$ o9 s& |* I6 {; ]
- From Inserted# {( I/ i; L* N! Z- l; u
- Where [user_account].user_id=inserted.user_id$ O$ y9 P& W; j# F! Q# ]
- and [user_account].group_id=inserted.group_id
Q. D% L. H* t. D - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-99 W8 n: l% a% L5 I6 I
- where expire_freetime =2006-1-9
复制代码 ' y! n' i6 e0 `8 v/ m0 J
z* `; V% _. |: s/ \3 |( o( H$ b8 X+ ~
上线送商币
5 b4 F, Y1 u- h3 Y+ G$ P用查询分析器 必须在 cash
) @: w: U# x# ~
0 ?: I& O8 G$ {) ^* t5 G4 O: W- CREATE TRIGGER [free] ON [dbo].[user_cash]
m. j! G# K8 C% P - after Insert % c' {' F! `2 P; }# I' e6 j4 q
- as 4 z; N7 \; ]6 V2 _5 l r
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000' d8 Z& h1 ?; z- ?
- From Inserted ' g- c) J, U+ s3 p
- Where [user_cash].group_id=inserted.group_id 4 z0 O5 F( Y! t$ I7 W& {+ ^
- and [user_cash].id=inserted.id/ u) D) W8 L8 r w& `8 A
复制代码
+ C1 [+ F- q H9 {3 d- L: E7 v0 X& | N$ Q, R2 u1 Y3 f
查询GM号
# G% Q% u& j) a3 R* A0 I3 v6 G- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
- _3 o$ y( J7 d5 a3 u; Y$ F3 X8 G2 Y b* T
- n7 P& B2 p. L; u
& N+ f( ]- e& R% d" A |
|