|
|
|
@@ -209,7 +209,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoMapper.selectByPrimaryKey(record.getCUserId()); |
|
|
|
if (wxCUser == null && wxCUserBasicInfo == null) { |
|
|
|
//验证此用户是否存在 |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY); |
|
|
|
throw new MallinkException(ErrorCode.USER_NOT_AUTH_PHONE); |
|
|
|
} |
|
|
|
if (StringUtils.isNotEmpty(record.getSpendStr())) { |
|
|
|
record.setSpend(new BigDecimal(record.getSpendStr()).multiply(new BigDecimal(100)).intValue()); |
|
|
|
|