Procházet zdrojové kódy

修改學時審核

change před 3 roky
rodič
revize
e9ced73f60

+ 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 ">