|
|
|
@@ -203,9 +203,6 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
throw new MallinkException(ErrorCode.USER_IS_EMPTY); |
|
|
|
} |
|
|
|
WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoMapper.selectByPrimaryKey(record.getCUserId()); |
|
|
|
if(wxCUserBasicInfo == null) { |
|
|
|
throw new MallinkException(ErrorCode.USER_NOT_AUTH_PHONE); |
|
|
|
} |
|
|
|
if (StringUtils.isNotEmpty(record.getSpendStr())) { |
|
|
|
record.setSpend(new BigDecimal(record.getSpendStr()).multiply(new BigDecimal(100)).intValue()); |
|
|
|
} |
|
|
|
|