|
@@ -3441,9 +3441,12 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
if (count > 0) {
|
|
|
//PayInfo result=
|
|
|
PayInfo result = tsmzService.retractFees(opId, mzDepositFileVo.getPatientId(), mzDepositFileVo.getTimes(), mzDepositFileVo.getReceiptNo());
|
|
|
- if (result == null || result.getCode() != 0) {
|
|
|
+ if (result == null) {
|
|
|
throw new MzException("退费失败,特门退费失败!");
|
|
|
}
|
|
|
+ if(result.getCode() != 0){
|
|
|
+ throw new MzException(result.getErrorMessage());
|
|
|
+ }
|
|
|
}
|
|
|
mzYpFydlMapper.deleteMzYpFydl(mzDepositFileVo.getPatientId(), mzDepositFileVo.getTimes(), mzDepositFileVo.getReceiptNo());
|
|
|
} else {
|