提交代码

yy_dev
胡锐 1 year ago
parent 0bcf674ee5
commit cf287f20a8
  1. 3
      service/src/main/java/com/hfkj/channel/saas/SaasMerService.java
  2. 1
      service/src/main/java/com/hfkj/service/impl/BsMerServiceImpl.java

@ -191,6 +191,9 @@ public class SaasMerService {
feesMap = new HashMap<>();
feesMap.put("feeCode", rate.getRateSaasTypeCode());
feesMap.put("feeValue", rate.getRatePct());
if (StringUtils.isNotBlank(rate.getExt1())) {
feesMap.put("topFee", rate.getExt1());
}
feesMapList.add(feesMap);
}
bizContent.put("fees", feesMapList);

@ -243,6 +243,7 @@ public class BsMerServiceImpl implements BsMerService {
SecDictionary platformNoRate = commonService.mappingSysCode("MER_PLATFORM_NO_RATE", merRate.getRateTypeCode().toString());
merRate.setRateTypeName(platformNoRate.getCodeName());
merRate.setRateSaasTypeCode(platformNoRate.getExt2());
merRate.setExt1(platformNoRate.getExt3());
merRateService.editMerRate(merRate);
}
}

Loading…
Cancel
Save