xiangpei
2024-07-08 9f993243bcb602b80d110c598c838ed92d72de6f
去重
1个文件已修改
2 ■■■ 已修改文件
src/main/resources/mapper/SubjectMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/SubjectMapper.xml
@@ -116,7 +116,7 @@
    <select id="allSubject" resultMap="BaseResultMap">
        select
        ts.id, ts.name
        DISTINCT ts.id, ts.name
        from t_subject ts
        <if test="admin == false and deptIds != null and deptIds.size > 0">
            INNER JOIN t_subject_dept tsd ON tsd.subject_id = ts.id