|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
- ~. I8 _8 K- S( S) ~( y& o- A: p9 G# W3 Y' ~
上线送时间
& ~$ |7 Z- L# m4 N* w, Z' E+ V用查询分析器 必须在billing执行
+ t- j. [/ J2 B* y! n5 Y5 w5 b! `- CREATE TRIGGER [free] ON [dbo].[user_account]1 o2 [4 _0 U) L' Z, z
- after Insert i* N' J+ O! y' t$ a" y; K
- as
( w# q' _3 p' y$ ^0 b7 z' F - Update [user_account] set
. A, l& v) G# M& W+ j% } - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9. e" M5 u) [7 U2 b2 c' D
- From Inserted/ e4 w( w$ I# C1 f
- Where [user_account].user_id=inserted.user_id
2 ~* W* V" _4 P - and [user_account].group_id=inserted.group_id2 B5 r4 W% g$ k" O& k# f) J* {
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9, s6 H% l1 z) W
- where expire_freetime =2006-1-9
复制代码
$ m# h. c+ V$ M5 V0 E0 K! P% M6 d% r, Y7 m
上线送商币, N0 |$ J1 V, D1 F/ s: K: J
用查询分析器 必须在 cash
, n* o+ u, Y7 [7 G
; C) R8 a! f% f- CREATE TRIGGER [free] ON [dbo].[user_cash] 9 F# k+ F/ r$ N% D# S9 A0 \( Y+ u
- after Insert 5 i% C9 y1 ]7 N* F6 @5 d
- as
2 g* D6 l" {" [9 ]3 [) F - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000$ ^* b$ A; t% {+ ^, y b- L
- From Inserted ! Y& [. B3 U6 K, m W
- Where [user_cash].group_id=inserted.group_id " z$ \+ N' a) I2 T2 r
- and [user_cash].id=inserted.id4 \" G: z O( G- g w- K8 F
复制代码 N; u7 @; U4 O! F! A
, ^' \! I$ Q" c# T: D& f
查询GM号
7 x! x$ a6 v- Q! e: d* u- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 " J7 f J: ]- V1 U$ P/ h3 K2 t7 V
% y6 I0 H2 \9 J/ v9 g
/ h6 W5 W+ J ` z) k. F
8 n2 r; p) S3 F W3 k |
|