From c410c133f21297fc2bf6fc32335652eb07eb6d52 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 08 七月 2025 11:20:38 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml index 5b846e7..31c47bc 100644 --- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml @@ -393,12 +393,13 @@ a.leavehospitaldistrictcode, a.leavehospitaldistrictname, a.diagname - <if test="serviceType != null and serviceType != ''and serviceType != '2'and serviceType != '3'">order by - a.long_send_time desc + order by a.visit_time desc + <if test="serviceType != null and serviceType != ''and serviceType != '2'and serviceType != '3'"> + ,a.long_send_time desc </if> - <if test="serviceType != null and serviceType != ''and serviceType == '2'">order by a.endtime desc</if> - <if test="serviceType != null and serviceType != ''and serviceType == '3'">order by a.admindate desc</if> - -- order by update_time desc,id desc + <if test="serviceType != null and serviceType != ''and serviceType == '2'">,a.endtime desc</if> + <if test="serviceType != null and serviceType != ''and serviceType == '3'">,a.admindate desc</if> + </select> @@ -715,6 +716,7 @@ <if test="suggest != null ">suggest=#{suggest},</if> <if test="inhospid != null ">inhospid=#{inhospid},</if> <if test="visitTime != null ">visitTime=#{visitTime},</if> + <if test="delFlag != null ">del_flag=#{delFlag},</if> </trim> <where> <if test="patid != null ">patid=#{patid}</if> -- Gitblit v1.9.3