|
|
|
@ -55,8 +55,8 @@ public class HighMerchantTripartitePlatformController { |
|
|
|
|
|
|
|
|
|
if (body.getBoolean("profitSharingStatus") == true && |
|
|
|
|
(body.getBigDecimal("profitSharingRatio") == null || |
|
|
|
|
StringUtils.isBlank(body.getString("profitSharingReceiversNumber"))) || |
|
|
|
|
StringUtils.isBlank(body.getString("profitSharingReceiversName"))) { |
|
|
|
|
StringUtils.isBlank(body.getString("profitSharingReceiversNumber")) || |
|
|
|
|
StringUtils.isBlank(body.getString("profitSharingReceiversName")))) { |
|
|
|
|
log.error("HighMerchantController -> insertMerchantStore() error!",""); |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
|
} |
|
|
|
@ -74,8 +74,8 @@ public class HighMerchantTripartitePlatformController { |
|
|
|
|
platform.setProfitSharingReceiversNumber(body.getString("profitSharingReceiversNumber")); |
|
|
|
|
platform.setProfitSharingReceiversName(body.getString("profitSharingReceiversName")); |
|
|
|
|
|
|
|
|
|
// 微信平台
|
|
|
|
|
if (platform.getPlatformType().equals(1)) { |
|
|
|
|
// 微信平台 增加分账关系
|
|
|
|
|
if (platform.getPlatformType().equals(1) && platform.getProfitSharingStatus().equals(true)) { |
|
|
|
|
WxSharingReceiversVO receiversVO = new WxSharingReceiversVO(); |
|
|
|
|
receiversVO.setAccount(platform.getProfitSharingReceiversNumber()); |
|
|
|
|
receiversVO.setType("MERCHANT_ID"); |
|
|
|
|