瀏覽代碼

印刷任务管理-没加schoolId条件过滤问题修复

xiaof 4 年之前
父節點
當前提交
dc5f478cfe
共有 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

@@ -69,6 +69,9 @@
                 LEFT JOIN
             sys_user d on a.create_id = d.id
             <where>
+                <if test="schoolId != null and schoolId != ''">
+                    and a.school_id = #{schoolId}
+                </if>
                 <if test="printPlanId != null and printPlanId != ''">
                     and a.id = #{printPlanId}
                 </if>