From 7d5f9cae5e237c25649ac4b481ace6355447a06c Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 02 八月 2024 17:51:31 +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