Commit 33b710a7 authored by xiaozhe.chen's avatar xiaozhe.chen

Merge branch 'features/mo' of http://git.quantgroup.cn/QG/cash-loan-flow-boss into features/mo

parents ff734be7 dc8e60e9
......@@ -233,7 +233,7 @@ public class ChannelConfUtil {
channelConfBaseModel.setEnv("");
channelConfBaseModel.setFundId(0);
channelConfBaseModel.setP2pFundId(0);
if(channelConfiguration.getXyqbProductId() != null){
if(StringUtils.isNotEmpty(channelConfiguration.getXyqbProductId())){
channelConfBaseModel.setBizType(Integer.valueOf(channelConfiguration.getXyqbProductId()));
}
channelConfBaseModel.setAesKey(channelConfiguration.getAesKey());
......
......@@ -629,7 +629,9 @@ public class OrderServiceImpl implements OrderService {
}
RepaymentPlansResultModel repaymentPlansVo = serviceResult.getData();
repaymentPlansVo.setLoanId(loanId);
if(Objects.nonNull(repaymentPlansVo)){
repaymentPlansVo.setLoanId(loanId);
}
log.info("[findRepaymentPlan] 查询还款计划,返回信息 channelOrderNumber={},loanId={},repaymentPlansVo={}", channelOrderNumber, loanId, repaymentPlansVo);
return repaymentPlansVo;
}
......
......@@ -65,7 +65,7 @@ public class ApplicationSecurityHandler implements SecurityHandler {
if (hasPrivilege) {
return new Tuple<>(Boolean.TRUE, null);
} else {
log.info("权限不足,userName={},authorityId={}" + principal.getUserInfo().getUsername(), authorityId);
log.info("权限不足,userName={},authorityId={}" ,principal.getUserInfo().getUsername(), authorityId);
return new Tuple<>(Boolean.FALSE, ApplicationStatus.INVALID_AUTHORITY);
}
......
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