Commit 871f476b authored by suntao's avatar suntao

FinanceProduct配置缺失 提示错误

parent 1682fc5a
...@@ -226,6 +226,10 @@ public class MoOrderServiceImpl implements OrderService{ ...@@ -226,6 +226,10 @@ public class MoOrderServiceImpl implements OrderService{
} }
Integer fundId = ChannelConfUtil.getFundIdByType(approveVo.getFundType(), channelConf); Integer fundId = ChannelConfUtil.getFundIdByType(approveVo.getFundType(), channelConf);
FinanceProduct financeProduct = xyqbCenterService.getByFundCorpId(Long.valueOf(fundId)); FinanceProduct financeProduct = xyqbCenterService.getByFundCorpId(Long.valueOf(fundId));
if (financeProduct == null) {
log.info("approveOpt审批,FinanceProduct配置缺失,fundProductId={}", financeProduct.getId());
return new Tuple(false, "FinanceProduct配置缺失");
}
log.info("approveOpt审批,fundProductId={}", financeProduct.getId()); log.info("approveOpt审批,fundProductId={}", financeProduct.getId());
// 资方 及 期数额度规则 // 资方 及 期数额度规则
String fundFormat = String.format(OrderUtil.financeProductsFormat, approveVo.getAmount(), approveVo.getAmount(), String fundFormat = String.format(OrderUtil.financeProductsFormat, approveVo.getAmount(), approveVo.getAmount(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment