From 11bc9c5453ef32df0be2c3d9c549b04910b8fbca Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 03 六月 2025 17:10:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
index fe1048b..6a606b5 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml
@@ -290,10 +290,10 @@
             <if test="nurseName != null ">and nurse_name = #{nurseName}</if>
             <if test="score != null">and score = #{score}</if>
 <!--            <if test="visitCount != null">and visit_count = #{visitCount}</if>-->
-            <if test="visit_count_flag != null and visit_count_flag == 0">
+            <if test="visitCount != null and visitCount == 1">
                 AND visit_count = 1
             </if>
-            <if test="visit_count_flag != null and visit_count_flag == 1">
+            <if test="visitCount != null and visitCount > 1">
                 AND visit_count > 1
             </if>
             <if test="remark != null">and remark = #{remark}</if>

--
Gitblit v1.9.3