From f261f8576e47b948e2569b7def21c97e930975a9 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 09 六月 2025 18:49:24 +0800 Subject: [PATCH] 短信功能,只要打开随访页面,就算完成了,现在改成不算完成 --- smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml index 04266b6..0314b0c 100644 --- a/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml @@ -294,7 +294,12 @@ a.telcode, a.id, a.sex - order by b.inhospid desc + <if test="cry==1"> + order by b.endtime desc + </if> + <if test="cry==0"> + order by b.starttime desc + </if> </select> <select id="selectPatMedInhospListByCondition" parameterType="com.smartor.domain.PatMedInhospVO" resultMap="PatMedInhospResult"> -- Gitblit v1.9.3