Fix Bug #562: fallback修复

This commit is contained in:
2026-05-27 05:05:07 +08:00
parent 73b23c68b4
commit b88996277b
5 changed files with 102 additions and 82 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.openhis.application.mapper.MedicalRecordMapper">
<!-- 采用 PageHelper 分页SQL 本身不需要 LIMIT -->
<select id="selectPendingRecords" resultType="com.openhis.application.domain.entity.MedicalRecord">
SELECT *
FROM adm_medical_record
WHERE status = 'PENDING'
ORDER BY create_time DESC
</select>
</mapper>