caozixuan 4 년 전
부모
커밋
99b0021026
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      distributed-print-business/src/main/resources/mapper/ExamDetailMapper.xml

+ 3 - 0
distributed-print-business/src/main/resources/mapper/ExamDetailMapper.xml

@@ -241,6 +241,9 @@
          JOIN
             exam_detail b ON a.id = b.print_plan_id
         <where>
+            <if test="schoolId != null and schoolId > 0">
+                a.school_id = #{schoolId}
+            </if>
             <if test="printPlanId != null and printPlanId != ''">
                 a.id = #{printPlanId}
             </if>