Ver Fonte

解决计算费用失败

hurugang há 3 anos atrás
pai
commit
9b9b210634

+ 1 - 1
src/main/java/cn/hnthyy/thmz/service/impl/his/mz/MzChargeDetailServiceImpl.java

@@ -2015,7 +2015,7 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
                 mzChargeDetail.setGlPercent(BigDecimal.ONE);
                 mzChargeDetail.setDoctorCode(mzPrescriptionVo.getDoctorCode());
                 mzChargeDetail.setName(mzPatientMi.getName());
-                mzChargeDetail.setResponceType(mzPatientMi.getResponseType());
+                mzChargeDetail.setResponceType(mzPatientMi==null?Constants.SELF_PAYING_RESPONCE_TYPE:mzPatientMi.getResponseType());
                 mzChargeDetail.setYbbxFlag("");
                 mzChargeDetail.setTcNo("");
                 mzChargeDetail.setDetailFlag(YesNoEnum.NO.code.toString());