|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 0 g% y2 @. ~. X9 T2 w( l
& r5 B' l1 M; X ~1 z5 A上线送时间
" [* a: ` L7 e% _用查询分析器 必须在billing执行- ]- I# z" j4 _
- CREATE TRIGGER [free] ON [dbo].[user_account], e4 H9 |- B+ A( x1 P
- after Insert1 m! m# H1 c" R/ y$ M7 C" ^5 G
- as9 C3 G% `8 Y/ {$ v* ~
- Update [user_account] set
& _7 D! s$ L& e: w9 n5 | - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9 ^1 P* k: R) `& i- C0 Y8 w# j+ w
- From Inserted
# W3 O5 V9 y; l& `/ n1 p4 \ - Where [user_account].user_id=inserted.user_id
4 ~& C0 L9 x: j& r1 S - and [user_account].group_id=inserted.group_id
1 q% N1 K% q0 F9 ?+ Y - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9
6 ? r# l/ |2 U: v; {( G; _+ W - where expire_freetime =2006-1-9
复制代码
, W2 ^+ J. ~ P5 r/ [
! s* F) W6 m8 B& M% y7 j& c+ K上线送商币
* ~; c3 s' k; D* F0 X/ l用查询分析器 必须在 cash
' V/ M, x( K- v5 u) c+ l5 b2 B; K6 y4 e
- CREATE TRIGGER [free] ON [dbo].[user_cash]
2 z! T$ \* ^7 N6 m" \; g - after Insert
, c1 E( q5 [0 E9 h& j! o. x - as 9 y4 H" U9 P; h4 ~$ Y
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000. M6 f- Z' V o
- From Inserted : z/ z U5 V7 ~$ c
- Where [user_cash].group_id=inserted.group_id # S6 W ]; c8 {4 I1 g
- and [user_cash].id=inserted.id
6 n' k2 g" f# @. Y. l9 @' Y
复制代码
' l# c/ G K9 R7 z1 W6 f; @1 z# J4 D9 P4 ~
查询GM号
4 U; q3 F( W, K K% b- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 ( F j& j0 d! {. ^% \7 [
$ v+ A1 t$ Y9 @! U" s& k
5 h! T6 Q& p) D: c, Z9 t5 M& S% z* \0 @: K. C
|
|