|
|
@ -103,7 +103,7 @@ public class LaKaLaLedgerService { |
|
|
|
|
|
|
|
|
|
|
|
BsMerLedgerApply merLedgerApply = new BsMerLedgerApply(); |
|
|
|
BsMerLedgerApply merLedgerApply = new BsMerLedgerApply(); |
|
|
|
merLedgerApply.setMerLedgerId(merLedger.getId()); |
|
|
|
merLedgerApply.setMerLedgerId(merLedger.getId()); |
|
|
|
merLedgerApply.setMerId(merLedger.getId()); |
|
|
|
merLedgerApply.setMerId(merLedger.getMerId()); |
|
|
|
merLedgerApply.setOrderNo(orderNo); |
|
|
|
merLedgerApply.setOrderNo(orderNo); |
|
|
|
merLedgerApply.setRequestBody(JSONObject.toJSONString(requestMap)); |
|
|
|
merLedgerApply.setRequestBody(JSONObject.toJSONString(requestMap)); |
|
|
|
|
|
|
|
|
|
|
@ -111,6 +111,9 @@ public class LaKaLaLedgerService { |
|
|
|
if (!responseBody.getString("retCode").equals("000000")) { |
|
|
|
if (!responseBody.getString("retCode").equals("000000")) { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, responseBody.getString("retMsg")); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, responseBody.getString("retMsg")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
merLedger.setStatus(MerLedgerStatusEnum.status2.getNumber()); |
|
|
|
|
|
|
|
merLedgerService.editMerLedger(merLedger); |
|
|
|
|
|
|
|
|
|
|
|
System.out.println("body:" + JSONObject.toJSONString(commonParam)); |
|
|
|
System.out.println("body:" + JSONObject.toJSONString(commonParam)); |
|
|
|
System.out.println("response:" + responseBody.toJSONString()); |
|
|
|
System.out.println("response:" + responseBody.toJSONString()); |
|
|
|
merLedgerApply.setApplyId(responseBody.getJSONObject("respData").getString("applyId")); |
|
|
|
merLedgerApply.setApplyId(responseBody.getJSONObject("respData").getString("applyId")); |
|
|
|