From c77c1064dc93bc7d4f0a402dd0285082bb354450 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 10 九月 2025 18:25:02 +0800
Subject: [PATCH] HTTP接口修改
---
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 1dc9730..ce7292e 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -519,6 +519,8 @@
</if>
</where>
order by a.update_time desc
+ <if test="pn != null and ps != null"> limit ${pn},${ps} </if>
+
</select>
@@ -659,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"
@@ -749,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"
@@ -841,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"
@@ -985,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