From 6935135cee4cf8116d750f892582ae571e329ac7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 19 六月 2025 20:13:14 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/java/com/smartor/domain/PatArchiveReq.java | 6 ++++++
smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/domain/PatArchiveReq.java b/smartor/src/main/java/com/smartor/domain/PatArchiveReq.java
index d4a267e..0e589cd 100644
--- a/smartor/src/main/java/com/smartor/domain/PatArchiveReq.java
+++ b/smartor/src/main/java/com/smartor/domain/PatArchiveReq.java
@@ -192,4 +192,10 @@
@ApiModelProperty(value = "绉戝缂栫爜")
@Excel(name = " 绉戝缂栫爜 ")
private List<String> deptcodes;
+
+ /**
+ * 鍑哄叆闄㈡爣璇�
+ */
+ @ApiModelProperty("鍑哄叆闄㈡爣璇嗭細0鍏ラ櫌 1鍑洪櫌 ")
+ private Integer cry;
}
diff --git a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
index 49759c8..a349b0f 100644
--- a/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -891,6 +891,8 @@
<if test="endtime != null">
AND d.endtime = #{endtime}
</if>
+ <if test="cry != null and cry == 0 ">and d.endtime is null</if>
+ <if test="cry != null and cry == 1 ">and d.endtime is not null</if>
<if test="visitno != null and visitno != ''">
AND d.inhospno = #{visitno}
</if>
--
Gitblit v1.9.3