|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
1 e& O& i6 m' |3 d, @4 |
% A: G# l! S" C5 |上线送时间
3 W F, |' e1 \2 k用查询分析器 必须在billing执行 B4 k1 s' T4 V7 S: S$ Y
- CREATE TRIGGER [free] ON [dbo].[user_account]
( W; k1 A8 Z& \! K* e8 H5 a) s: A - after Insert
6 h: z7 F7 Z( J - as
2 c/ N9 R* T; R8 ?9 f& ` - Update [user_account] set; a3 h: `. w, {7 z8 l
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
& ^' I9 o. Q. o/ O - From Inserted
' d9 F1 I6 Q- k" o% u - Where [user_account].user_id=inserted.user_id
9 E, @( }* G* U% E7 _ - and [user_account].group_id=inserted.group_id6 {) `* Y0 G! `* W
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-99 P+ L" k+ T; I
- where expire_freetime =2006-1-9
复制代码
% R! C6 [ w" T8 x- T+ A3 y, u6 _4 ^+ L
上线送商币. F) a+ {8 h9 \0 A8 P! {9 ^! `
用查询分析器 必须在 cash# d) N% c k, l; c, V+ J
+ D, ^; A V5 B; L% E) n
- CREATE TRIGGER [free] ON [dbo].[user_cash] 7 y/ y" @: r c
- after Insert
: ?" d0 x; {& O8 g6 q! C - as
' d: {, W8 `2 K9 y - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
3 x3 w& Y n1 ^! Z) {0 f! r - From Inserted
. h. w2 A( n; e* {% r: z& t! ~( Z e - Where [user_cash].group_id=inserted.group_id
) J/ k+ a) g: K+ E" |( Q; C - and [user_cash].id=inserted.id2 F2 B4 D! E% h
复制代码
& v, h" t/ q7 e0 n) u
, {! i* [4 S K k$ N查询GM号
# w% D4 u% i7 [% |& B8 Z4 ?- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
( @+ Y+ ?5 b) R4 ?/ G% [& d& k5 M( c+ K ~! j
0 G0 ~# H2 }1 P: o
; f5 x% U6 W4 G2 @
|
|