소스 검색

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