From bedd0a1cef215538df64470df6b8d4a022189136 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 28 八月 2024 14:05:16 +0800
Subject: [PATCH] 代码提交

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

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
index 9771de5..58fa041 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateMapper.xml
@@ -113,9 +113,10 @@
             <if test="categoryid != null ">and a.categoryid = #{categoryid}</if>
             <if test="svyid != null ">and a.svyid = #{svyid}</if>
             <if test="svyname != null  and svyname != ''">and a.svyname like concat('%', #{svyname}, '%')</if>
-            <if test="description != null  and description != ''">and a.icdname like concat('%', #{description}, '%')
+            <if test="description != null  and description != ''">and  b.icd10name like concat('%', #{description}, '%')
             </if>
         </where>
+        order by a.create_time desc
     </select>
 
     <select id="selectSvyLibTemplateBySvyid" parameterType="Long" resultMap="SvyLibTemplateResult">

--
Gitblit v1.9.3