Scott 1 жил өмнө
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
-            MAX( appeal_number ) as appealNumber
+            count( appeal_number ) as appealNumber
         FROM
             medical_doctor_appeal_record
         WHERE