Browse Source

perf: 修复审核次数

Scott 1 year ago
parent
commit
06da728461

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/mapper/xml/MedicalDoctorAppealRecordMapper.xml

@@ -5,7 +5,7 @@
 
 
     <select id="loadMaxAppealNumber" resultType="org.jeecg.modules.medical.entity.MedicalDoctorAppealRecord">
     <select id="loadMaxAppealNumber" resultType="org.jeecg.modules.medical.entity.MedicalDoctorAppealRecord">
         SELECT
         SELECT
-            MAX( appeal_number ) as appealNumber
+            count( appeal_number ) as appealNumber
         FROM
         FROM
             medical_doctor_appeal_record
             medical_doctor_appeal_record
         WHERE
         WHERE