| | |
| | | MpPaymentRecord mpPaymentRecord = BeanConvertUtil.covertBean(reqJson, MpPaymentRecord.class); |
| | | // 由于BMO接口使用MaintenancePayment,这里需要做适配转换 |
| | | // 注意:这里需要根据实际情况调整,可能需要转换器 |
| | | MpPaymentRecord mpPaymentRecord1 = new MpPaymentRecord(); |
| | | mpPaymentRecord1.setMpId(reqJson.getString("mpId")); |
| | | ResponseEntity<String> stringResponseEntity = getImportFeeDetailBMOImpl.get(mpPaymentRecord1); |
| | | mpPaymentRecord.setPrintCount((JSONObject.parseObject(stringResponseEntity.getBody()).getInteger("total") + 1) + ""); |
| | | return saveImportFeeDetailBMOImpl.save(mpPaymentRecord); |
| | | } |
| | | |