瀏覽代碼

解决计算费用失败

hurugang 3 年之前
父節點
當前提交
9b9b210634
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/service/impl/his/mz/MzChargeDetailServiceImpl.java

+ 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());