From cb6dfdb447afa1df4c9fc02bf3138b294d2ca366 Mon Sep 17 00:00:00 2001 From: zhs <zhs18203887318@163.com> Date: 星期二, 03 六月 2025 15:58:39 +0800 Subject: [PATCH] 05-30 zhs --- 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