Commit 43960b1e authored by liwenbin's avatar liwenbin

增加期数额度限制字段

parent 71fdf33e
...@@ -53,6 +53,8 @@ public class AssetForm implements Serializable{ ...@@ -53,6 +53,8 @@ public class AssetForm implements Serializable{
private String sceneId; private String sceneId;
private String amountTermLimits;
public Asset transToAsset() { public Asset transToAsset() {
Asset asset = new Asset(); Asset asset = new Asset();
asset.setAssetNo(this.assetNo); asset.setAssetNo(this.assetNo);
...@@ -85,6 +87,7 @@ public class AssetForm implements Serializable{ ...@@ -85,6 +87,7 @@ public class AssetForm implements Serializable{
notifyMap.put("exData", this.exData); notifyMap.put("exData", this.exData);
notifyMap.put("otherInformation", this.otherInformation); notifyMap.put("otherInformation", this.otherInformation);
notifyMap.put("financeProducts", this.financeProducts); notifyMap.put("financeProducts", this.financeProducts);
notifyMap.put("amountTermLimits", this.amountTermLimits);
Map<String, Object> dataMap = new HashMap<>(); Map<String, Object> dataMap = new HashMap<>();
// 目前通知资金方可能有3个模型分 // 目前通知资金方可能有3个模型分
......
...@@ -46,7 +46,7 @@ public class NotifyServiceImpl implements INotifyService{ ...@@ -46,7 +46,7 @@ public class NotifyServiceImpl implements INotifyService{
} }
Map<String, String> response = httpService.postHasResponse(assetForm.getCallbackUrl(), notifyMap); Map<String, String> response = httpService.postHasResponse(assetForm.getCallbackUrl(), notifyMap);
log.info("通知资金系统结果结束, uuid : {}, bizNo : {}, assetNo : {}, callbackUrl : {}, notifyForm : {}, response : {}", assetForm.getUuid(), assetForm.getBizNo(), assetForm.getAssetNo(), assetForm.getCallbackUrl(), JSON.toJSONString(notifyMap), JSON.toJSONString(response)); log.info("通知资金系统结果结束, uuid : {}, bizNo : {}, assetNo : {}, callbackUrl : {}, notifyForm : {}, response : {}", assetForm.getUuid(), assetForm.getBizNo(), assetForm.getAssetNo(), assetForm.getCallbackUrl(), JSON.toJSONString(notifyMap), JSON.toJSONString(response));
if(response==null || response.size()==0 || !"200".equals(response.get("statusCode")) || (!"success".equals(response.get("response")) && 0 != JSONObject.parseObject(response.get("response")).getInteger("code").intValue())) { if(response==null || response.size()==0 || !"200".equals(response.get("statusCode")) || (!"success".equals(response.get("response")) && (!JSONObject.isValidObject(response.get("response")) || 0 != JSONObject.parseObject(response.get("response")).getInteger("code").intValue()))) {
throw new QGException(QGExceptionType.NOTIFY_FUND_SERVER_ERROR, assetForm.getUuid(), assetForm.getBizNo(), assetForm.getAssetNo()); throw new QGException(QGExceptionType.NOTIFY_FUND_SERVER_ERROR, assetForm.getUuid(), assetForm.getBizNo(), assetForm.getAssetNo());
} }
} }
......
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