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/UserMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml index 62be0a3..67c6b80 100644 --- a/src/main/resources/mapper/UserMapper.xml +++ b/src/main/resources/mapper/UserMapper.xml @@ -268,7 +268,7 @@ select <include refid="Base_Column_List"/> from t_user - where id=#{value} and status = 1 and deleted = 0 + where id=#{value} and status = 1 and deleted = 0 and (`condition` = 0 or `condition` is null) </select> <select id="getUserByUserName" resultMap="BaseResultMap"> @@ -497,7 +497,7 @@ <select id="getUserByExam" resultType="com.mindskip.xzs.domain.User"> <![CDATA[ SELECT - d.* + DISTINCT d.* FROM t_exam_paper a left join t_exam_paper_user b on a.id = b.exam_paper_id and b.deleted = 0 left join t_exam_paper_answer c on a.id = c.exam_paper_id and c.create_user = b.user_id -- Gitblit v1.8.0