瀏覽代碼

修改學時審核

change 3 年之前
父節點
當前提交
e9ced73f60
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/course/CourseSubjectMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseSubjectMapper.xml

@@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="projectId != null and projectId!=0 ">
             and (SELECT COUNT(t.id) FROM course_subject_project t  where t.project_id = #{projectId}) > 0
         </if>
-        <if test="subjectName != null and subjectName!=0 ">
+        <if test="subjectName != null and subjectName!='' ">
             AND s.subject_name = #{subjectName}
         </if>
         <if test="wrong != null and wrong!=0 ">