瀏覽代碼

3.2.0-bug

xiaof 2 年之前
父節點
當前提交
18d0c3c182
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      distributed-print-business/src/main/resources/mapper/ExamPrintPlanMapper.xml

+ 2 - 2
distributed-print-business/src/main/resources/mapper/ExamPrintPlanMapper.xml

@@ -305,7 +305,7 @@
                 </if>
             </if>
             <if test="orgId != null">
-                AND b.print_house_id = #{orgId}
+                AND (b.print_house_id = #{orgId} or b.print_house_id is null)
             </if>
         </where>
     </select>
@@ -473,7 +473,7 @@
                 and b.exam_end_time &lt; #{examEndTime}
             </if>
             <if test="orgId != null">
-                AND b.print_house_id = #{orgId}
+                AND (b.print_house_id = #{orgId} or b.print_house_id is null)
             </if>
             </where>
         GROUP BY a.id , a.name , b.exam_start_time , b.exam_end_time , b.exam_place