Selaa lähdekoodia

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

xiaof 4 vuotta sitten
vanhempi
commit
dc5f478cfe

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