Browse Source

bug修复

wangliang 4 years ago
parent
commit
1c4f025304

+ 2 - 2
teachcloud-report-business/src/main/resources/mapper/TBExamCourseMapper.xml

@@ -61,10 +61,10 @@
             <if test="teacherId != null and teacherId != ''">
                 and tbs.teacher_id = #{teacherId}
             </if>
-            <if test="absent != null and absent != ''">
+            <if test="absent != null">
                 and tbs.absent = #{absent}
             </if>
-            <if test="current != null and current != ''">
+            <if test="current != null">
                 and tbs.student_current = #{current}
             </if>
             <if test="status != null and status != ''">

+ 2 - 2
teachcloud-report-business/src/main/resources/mapper/TBExamStudentMapper.xml

@@ -12,10 +12,10 @@
         <if test="courseCode != null and courseCode != ''">
             and tbes.course_code = #{courseCode}
         </if>
-        <if test="absent != null and absent != ''">
+        <if test="absent != null">
             and tbes.absent = #{absent}
         </if>
-        <if test="current != null and current != ''">
+        <if test="current != null">
             and tbes.student_current = #{current}
         </if>
         <if test="status != null and status != ''">