Przeglądaj źródła

active

release_toaliyun_real
xhxu 5 lat temu
rodzic
commit
50a6e490fa
2 zmienionych plików z 4 dodań i 5 usunięć
  1. +3
    -3
      mallinkAdmin/src/main/resources/db/migration/V202101250001__user_sign_update_wx_score_rules.sql
  2. +1
    -2
      mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicSign.java

+ 3
- 3
mallinkAdmin/src/main/resources/db/migration/V202101250001__user_sign_update_wx_score_rules.sql Wyświetl plik

@@ -1,11 +1,11 @@
--type=2 积分规则,追加签到规则 --type=2 积分规则,追加签到规则
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 17, "desc": "每日签到", "step": 1, "limit": 1, "score": 0}' AS JSON)) update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 17, "desc": "每日签到", "step": 1, "limit": 1, "score": 0}' AS JSON))
where type = 2; where type = 2;
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 18, "desc": "连续签到7天", "step": 1, "limit": 1, "score": 0}' AS JSON))
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 18, "desc": "连续签到7天奖励", "step": 1, "limit": 1, "score": 0}' AS JSON))
where type = 2; where type = 2;
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 19, "desc": "连续签到14天", "step": 1, "limit": 1, "score": 0}' AS JSON))
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 19, "desc": "连续签到14天奖励", "step": 1, "limit": 1, "score": 0}' AS JSON))
where type = 2; where type = 2;
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 20, "desc": "连续签到28天", "step": 1, "limit": 1, "score": 0}' AS JSON))
update wx_score_rules set rules = JSON_ARRAY_APPEND(rules, '$',CAST('{"id": 20, "desc": "连续签到28天奖励", "step": 1, "limit": 1, "score": 0}' AS JSON))
where type = 2; where type = 2;


--type=2 积分规则,每日登陆去掉-- 缓存--缓存--缓存 --type=2 积分规则,每日登陆去掉-- 缓存--缓存--缓存

+ 1
- 2
mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicSign.java Wyświetl plik

@@ -52,8 +52,7 @@ public class WxCUserBasicSign extends TenantEntity {
private String mark; private String mark;






@TableField(exist = false) @TableField(exist = false)
private Date startDate; private Date startDate;




Ładowanie…
Anuluj
Zapisz