Commit 6c62f5c6 authored by liwenbin's avatar liwenbin

乐信分支测试

parent b2f7e8e8
......@@ -56,6 +56,8 @@ public class AssetForm implements Serializable{
private String sceneId;
private String amountTermLimits;
private String fundRate;
public Asset transToAsset() {
Asset asset = new Asset();
......@@ -91,6 +93,7 @@ public class AssetForm implements Serializable{
notifyMap.put("otherInformation", this.otherInformation);
notifyMap.put("financeProducts", this.financeProducts);
notifyMap.put("amountTermLimits", this.amountTermLimits);
notifyMap.put("fundRate", fundRate);
Map<String, Object> dataMap = new HashMap<>();
// 目前通知资金方可能有3个模型分
......
......@@ -303,6 +303,8 @@ public class AssetDistributeServiceImpl implements IAssetDistributeService{
fundInfoJSON.put("feeType", channelFundConfig.getFeeType());
fundInfoJSON.put("rateType", channelFundConfig.getRateType());
fundInfoJSON.put("rate", channelFundConfig.getRate());
if (StringUtils.isNotEmpty(assetForm.getFundRate())) { fundInfoJSON.put("fundRate", assetForm.getFundRate()); }
fundArray.add(fundInfoJSON);
log.info("资方模块用户命中资方条件, uuid : {}, assetNo : {}, bizNo : {}, bizChannel : {}, fundId : {}, fundProductId : {}",
assetForm.getUuid(), assetForm.getAssetNo(), assetForm.getBizNo(), assetForm.getBizChannel(), channelFundConfig.getFundId(), channelFundConfig.getFundProductId());
......
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