| | |
| | | |
| | | C2cUser c2cUser = this.c2cUserService.getById(c2c_user_id); |
| | | if (null == c2cUser) { |
| | | throw new BusinessException("承兑商不存在"); |
| | | throw new BusinessException("Merchant does not exist"); |
| | | } |
| | | |
| | | C2cUserParamBaseSet paramBaseSet = this.c2cUserParamBaseSetService.getByPartyId(c2cUser.getC2cUserPartyId()); |
| | | if (null == paramBaseSet) { |
| | | throw new BusinessException("承兑商参数基础设置不存在"); |
| | | throw new BusinessException("Merchant base settings do not exist"); |
| | | } |
| | | |
| | | if (StringUtils.isNotEmpty(c2cUser.getHeadImg())) { |
| | |
| | | |
| | | User party = userService.getById(c2cUser.getC2cUserPartyId()); |
| | | if (null == party) { |
| | | throw new YamiShopBindException("承兑商的用户信息不存在"); |
| | | throw new YamiShopBindException("Merchant user info does not exist"); |
| | | } |
| | | |
| | | DecimalFormat df = new DecimalFormat("#.########"); |