Commit c849eda3 authored by liwenbin's avatar liwenbin

fix

parent 828043f4
...@@ -101,7 +101,7 @@ public class NiWoDaiController { ...@@ -101,7 +101,7 @@ public class NiWoDaiController {
return GlobalResponse.success(); return GlobalResponse.success();
} }
// 通过了直接通知资金系统 // 通过了直接通知资金系统
String finance = financeProductService.createSingletonFinanceProduct(vo.getApprovedAmount().toString(), String.valueOf(vo.getApproveTerm()), AidFundConstants.FundId.NIWODAI, null); String finance = financeProductService.createSingletonFinanceProduct(vo.getApprovedAmount().toString(), String.valueOf(vo.getApproveTerm()), AidFundConstants.FundId.NIWODAI, "1052");
assetForm = financeProductService.checkFundResult(assetForm, finance, Long.parseLong(vo.getValidBefore())); assetForm = financeProductService.checkFundResult(assetForm, finance, Long.parseLong(vo.getValidBefore()));
assetForm.setAmount(vo.getApprovedAmount().toString()); assetForm.setAmount(vo.getApprovedAmount().toString());
assetForm.setTerm(String.valueOf(vo.getApproveTerm())); assetForm.setTerm(String.valueOf(vo.getApproveTerm()));
......
...@@ -26,7 +26,7 @@ public class FinanceProductServiceImpl implements IFinanceProductService { ...@@ -26,7 +26,7 @@ public class FinanceProductServiceImpl implements IFinanceProductService {
@Override @Override
public String createSingletonFinanceProduct(String amount, String term, String fundId, String fundProId) { public String createSingletonFinanceProduct(String amount, String term, String fundId, String fundProId) {
JSONArray fundArray = createSingletonFundArr(fundId, null); JSONArray fundArray = createSingletonFundArr(fundId, fundProId);
JSONArray financeProductArray = new JSONArray(); JSONArray financeProductArray = new JSONArray();
JSONObject amountJSON = new JSONObject(); JSONObject amountJSON = new JSONObject();
financeProductArray.add(amountJSON); financeProductArray.add(amountJSON);
......
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