java110 лет назад: 6
Родитель
Сommit
864a930382

+ 0 - 3
java110-db/src/main/resources/mapper/community/InspectionServiceDaoImplMapper.xml

@@ -205,11 +205,9 @@
         where 1 =1
 
         <if test="relationship != null  and  relationship == 1">
-
             and c.inspection_id is not null
         </if>
         <if test="relationship != null  and  relationship == 0">
-            and c.inspection_route_id = #{inspectionRouteId}
             and c.inspection_id is null
         </if>
         <if test="inspectionId !=null and inspectionId != ''">
@@ -254,7 +252,6 @@
             and c.inspection_id is not null
         </if>
         <if test="relationship != null  and  relationship == 0">
-            and c.inspection_route_id = #{inspectionRouteId}
             and c.inspection_id is null
         </if>
         <if test="inspectionId !=null and inspectionId != ''">