ソースを参照

优化巡检点问题

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'