瀏覽代碼

优化巡检点问题

java110 5 年之前
父節點
當前提交
efde4e940a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      java110-db/src/main/resources/mapper/community/InspectionServiceDaoImplMapper.xml

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

@@ -86,8 +86,8 @@
         locationObjId,m.machine_id machineId,
         d.name locationTypeName
         from inspection_point t
-        inner join machine m on t.machine_id = m.machine_id and m.status_cd = 0
-        inner join t_dict d on d.status_cd = m.location_type_cd
+        left join machine m on t.machine_id = m.machine_id and m.status_cd = 0
+        left join t_dict d on d.status_cd = m.location_type_cd
         <if test="inspectionRouteId != null  and  inspectionRouteId != ''">
             left join inspection_route_point_rel c on t.inspection_id = c.inspection_id
             and c.status_cd = '0'