From fe29db7a08e9da70ca3c78db27a11e48fa5f6f43 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 15 五月 2024 22:24:47 +0800 Subject: [PATCH] springboot静态文件配置。删除dist --- src/main/resources/mapper/SubjectMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/SubjectMapper.xml b/src/main/resources/mapper/SubjectMapper.xml index 965f9c1..e7a6bcd 100644 --- a/src/main/resources/mapper/SubjectMapper.xml +++ b/src/main/resources/mapper/SubjectMapper.xml @@ -178,5 +178,9 @@ id IN <foreach collection="ids" open="(" separator="," close=")" item="id">#{id}</foreach> </select> + <select id="selectSubjectNameById" resultType="string"> + SELECT name FROM t_subject WHERE id = #{id} AND deleted = 0 + </select> + </mapper> -- Gitblit v1.8.0