超级版主
- 积分
- 738
- 金钱
- 228
- 贡献
- 411
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
' z7 Z) D- O/ z% @
+ U" `7 v) \; L3 @$ J上线送时间
3 c1 K* `0 ~- u8 `$ J$ ^7 s7 }- V9 z用查询分析器 必须在billing执行
' U6 [" W) E9 ^( w" U* M- CREATE TRIGGER [free] ON [dbo].[user_account]# p; g0 v' [( X+ S- }+ \
- after Insert
1 j; } K, [, H' S; W: u - as( {9 u1 G. f3 @7 v7 q0 I6 M
- Update [user_account] set
0 w8 D3 [4 M9 E6 b3 s3 m - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
% J- k' c- S& d+ l# D; p. o - From Inserted* E" V- [6 f/ }9 G
- Where [user_account].user_id=inserted.user_id# u$ Y3 u# O! ~5 [/ y1 G" t9 b
- and [user_account].group_id=inserted.group_id6 M, i/ g! {* F y" a
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9
! E+ c/ d7 S. \; g! l - where expire_freetime =2006-1-9
复制代码
5 {! P, P2 q! M8 ^; F4 x
6 _- y$ r; o& q: |$ k G上线送商币
' E- {8 s: p G% p! s% M+ x5 G$ l用查询分析器 必须在 cash
; o! ^! b- k8 c. o& x
! p' J0 _" g0 @& p' c& q! N- CREATE TRIGGER [free] ON [dbo].[user_cash]
. ~" n3 ^! s3 [$ q% S - after Insert 0 `( Q& ?% ^( m0 R0 Q3 N
- as
3 y- E, R; m# N4 G/ B0 `/ G" p - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
, Y1 L- k# w, A$ B3 y - From Inserted
" T) Y, g1 }3 o* n8 [8 Y5 \' v - Where [user_cash].group_id=inserted.group_id
! ~$ M4 t1 ^8 R! C O6 T - and [user_cash].id=inserted.id! U W% R: P( A/ y; |9 ]" l
复制代码 - Y4 r6 v, y. v% h) j
, x" G+ |4 L: n+ B: f( Q
查询GM号" K* E" F- ]/ I1 i6 t$ `, ^. @
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
1 `2 f; s1 o) }! |3 l1 F
: t9 Y! \5 f* B% v
) ?1 P! [: y, R1 Q' Z4 |/ T0 i ~; a0 V$ I0 Y% L
|
|