소스 검색

no guahao

yeguodong 1 개월 전
부모
커밋
479863d3b0

+ 1 - 1
src/main/java/cn/hnthyy/thmz/controller/mz/ClinicController.java

@@ -311,7 +311,7 @@ public class ClinicController {
                 if (deptCodes != null && deptCodes.size() > 0) {
                     for (String code : deptCodes) {
                         ZdUnitCode zdUnitCode = zdUnitCodeService.queryByCode(code);
-                        if (YesNoEnum.NO.code.equals(zdUnitCode.getGhjzFlag())) {
+                        if (String.valueOf(YesNoEnum.YES.code).equals(zdUnitCode.getGhjzFlag())) {
                             resultMap.put("code", 200);
                             resultMap.put("message", "当前科室是免挂号就诊科室!");
                             return resultMap;

+ 1 - 1
src/main/java/cn/hnthyy/thmz/controller/mz/MzChargeDetailController.java

@@ -3130,7 +3130,7 @@ public class MzChargeDetailController {
                 }
             }
             //当前接诊医生所有可接诊科室含有免挂号接诊科室,且转诊id 和分诊流水号同时为空时,是免挂号接诊
-            if (YesNoEnum.NO.code.equals(ghjzFlag) && mzPrescriptionVo.getTurnToConsultationId() == null && StringUtils.isBlank(mzPrescriptionVo.getSerialNo())) {
+            if (YesNoEnum.YES.code.equals(ghjzFlag) && mzPrescriptionVo.getTurnToConsultationId() == null && StringUtils.isBlank(mzPrescriptionVo.getSerialNo())) {
                 //免挂号就诊
                 if (mzPrescriptionVo.getSerialNo().startsWith("clnicId_")) {
                     Long clnicId = Long.valueOf(mzPrescriptionVo.getSerialNo().replace("clnicId_", ""));

+ 1 - 1
src/main/resources/static/js/mz/toll_administration.js

@@ -1160,7 +1160,7 @@ function cardNoChange() {
 function queryUserInfoByCardNo() {
     var cardNo = $("#cardNo").val();
     var index = cardNo.indexOf("-");
-    if ((index > 0 && index === cardNo.length - 2) || cardNo.length === 9) {
+    if ((index > 0 && index === cardNo.length - 2) || true) {
         $("#patientId").val(cardNo);
         initFeeTable();
     } else if (cardNo == '120' || cardNo.length == 8) {