From a389acecd582e81c34037326d5808152f97efffb Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期三, 03 九月 2025 09:12:58 +0800
Subject: [PATCH] 接口题目层增加answerps字段门诊记录接口新加否已随访的标记

---
 smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 009a676..ce7292e 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -519,7 +519,7 @@
             </if>
         </where>
         order by a.update_time desc
-        <if test="pageSize != null  and pageSize != ''"> limit ${pageNum},${pageSize} </if>
+        <if test="pn != null  and ps != null"> limit ${pn},${ps} </if>
 
     </select>
 
@@ -661,6 +661,7 @@
             </if>
         </where>
         order by a.update_time desc
+        <if test="pn != null  and ps != null"> limit ${pn},${ps} </if>
     </select>
 
     <select id="selectPatArchiveInfoByOuthosp" parameterType="com.smartor.domain.PatArchiveReq"
@@ -751,6 +752,7 @@
             </if>
         </where>
         order by a.update_time desc
+        <if test="pn != null  and ps != null"> limit ${pn},${ps} </if>
     </select>
 
     <select id="selectPatArchiveInfoByPhysical" parameterType="com.smartor.domain.PatArchiveReq"
@@ -843,6 +845,7 @@
             </if>
         </where>
         order by a.update_time desc
+        <if test="pn != null  and ps != null"> limit ${pn},${ps} </if>
     </select>
 
     <select id="selectPatArchiveInfoByInhospQC" parameterType="com.smartor.domain.PatArchiveReq"
@@ -987,6 +990,7 @@
             </if>
         </where>
         order by a.id,a.update_time desc ) as tmp order by endtime desc
+        <if test="pn != null  and ps != null"> limit ${pn},${ps} </if>
     </select>
 
     <select id="selectPatArchiveInfoByOuthospQC" parameterType="com.smartor.domain.PatArchiveReq"

--
Gitblit v1.9.3