소스 검색

[sql][修改][积分规则与成长值规则添加业态]

release_toaliyun_real
gongbiao 7 년 전
부모
커밋
3032e37334
1개의 변경된 파일과 4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      mallinkAdmin/src/main/resources/db/migration/V201907301905__ALTER_SCORE.sql

+ 4
- 0
mallinkAdmin/src/main/resources/db/migration/V201907301905__ALTER_SCORE.sql 파일 보기

@@ -0,0 +1,4 @@
update wx_score_rules set rules =JSON_ARRAY_APPEND(rules,'$[1].childs','{"desc": "线上交易0元", "step": 1, "limit": 0, "score": 0, "title": "数码家电", "businessId": 11}')
where type=2 and json_contains_path(rules,'one','$[1].childs')=1;
update wx_score_rules set rules =JSON_ARRAY_APPEND(rules,'$[1].childs','{"desc": "线上交易0元", "step": 1, "limit": 0, "score": 0, "title": "数码家电", "businessId": 11}')
where type=1 and json_contains_path(rules,'one','$[1].childs')=1;

불러오는 중...
취소
저장