@@ -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