소스 검색

fix business

release_toaliyun_real
lin 3 년 전
부모
커밋
0f46775347
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java

+ 5
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java 파일 보기

@@ -1,5 +1,6 @@
package com.iformall.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.iformall.common.ErrorCode;
@@ -148,6 +149,9 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService {
childsJsonArray.add(businessRuleMap.get(businessId));
}
JSONArray originalJSONArray = JSONArray.parseArray(scoreRules);
if (null != businessObject) {
originalJSONArray.remove(businessObject);
}
JSONObject newJSONObject = new JSONObject();
newJSONObject.put("id",EnumScoreType.CONSUMPTION.getCode());
newJSONObject.put("childs",childsJsonArray);
@@ -156,7 +160,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService {
}
return scoreRules;
}
@Override
public WxScoreRules getCreditRules(String tenantId) {
// String tenantId = "";


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