| | |
| | | exmRequest.setPatientType( getPatientType(patDetails.getSource()) ); // |
| | | exmRequest.setItem(item); |
| | | hisFeeConfirmReqBody.setExmRequest(exmRequest); |
| | | HisFeeConfirmRespResult result = feeConfirmFeignService.httpFeeApi("UpdateExmRequestStatus", "ECG", "ECG", hisFeeConfirmReqBody); |
| | | log.info( result.getMsgHeader().getStatus() ); |
| | | Integer returnValue = result.getMsgHeader().getStatus().equals("true") ? 0 : 1; |
| | | |
| | | Integer returnValue = 1; |
| | | try { |
| | | HisFeeConfirmRespResult result = feeConfirmFeignService.httpFeeApi("UpdateExmRequestStatus", "ECG", "ECG", hisFeeConfirmReqBody); |
| | | log.info( result.getMsgHeader().getStatus() ); |
| | | returnValue = result.getMsgHeader().getStatus().equals("true") ? 0 : 1; |
| | | } catch (RuntimeException ex) { |
| | | returnValue = 1; |
| | | } |
| | | |
| | | if (0 == returnValue) { |
| | | devRentMapper.setPaid(rentId, isFeeConfirmOrCancel ? 1 : 0); |
| | | } |