瀏覽代碼

课程班级

大数据与最优化研究所 9 月之前
父節點
當前提交
5d43d30285
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/base/BaseClassCourse.xml

+ 1 - 1
src/main/resources/mapper/base/BaseClassCourse.xml

@@ -32,7 +32,7 @@
         LEFT JOIN base_major_set t3 ON t3.id = t2.major_set_id
         LEFT JOIN xjr_department t4 ON t4.id = t.org_id
         WHERE t.delete_mark = 0
-        <if test="dto.className != null dto.className != ''">
+        <if test="dto.className != null and dto.className != ''">
             and t.name = #{dto.className}
         </if>
         <if test="dto.deptId != null">