|
|
|
@ -3605,10 +3605,13 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
}
|
|
|
|
|
checkOrgPermission(manager, client);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> listByshortName = sysRpayMerchantApplyMapper.listByShortName(client.getIntValue("client_id"),merchantInfo.getString("company_shortname"));
|
|
|
|
|
List<JSONObject> listByshortName = sysRpayMerchantApplyMapper.listByShortName(merchantInfo.getString("company_shortname"));
|
|
|
|
|
|
|
|
|
|
if (listByshortName.size()>0) {
|
|
|
|
|
throw new BadRequestException("请修改【" + clientMoniker + "】的Company shortName信息(请避免和Rpay+商务号列表内的Company Short Name重复)");
|
|
|
|
|
throw new BadRequestException("请修改【" + clientMoniker + "】的Company shortName信息(Short Name 已被使用)");
|
|
|
|
|
}
|
|
|
|
|
if (client.getString("rpay_enterprise_id") != null) {
|
|
|
|
|
throw new BadRequestException("您已申请成功子商务号,请勿重复申请");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SubRpayMerchantInfo subRpayMerchantInfo = JSONObject.toJavaObject(merchantInfo, SubRpayMerchantInfo.class);
|
|
|
|
|