From 25b96c4b510fa4c70511bc99a0e79483acbfd7d9 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 03 六月 2025 15:53:38 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml index 670e726..fe1048b 100644 --- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml @@ -289,7 +289,13 @@ <if test="excep != null ">and excep = #{excep}</if> <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="visitCount != null">and visit_count = #{visitCount}</if>--> + <if test="visit_count_flag != null and visit_count_flag == 0"> + AND visit_count = 1 + </if> + <if test="visit_count_flag != null and visit_count_flag == 1"> + AND visit_count > 1 + </if> <if test="remark != null">and remark = #{remark}</if> <if test="suggest != null">and suggest = #{suggest}</if> <if test="createBy != null">and create_by = #{createBy}</if> -- Gitblit v1.9.3