Ver código fonte

项目场景为空,列表返回为空

lyhzzz 1 ano atrás
pai
commit
95a55a007f

+ 2 - 2
src/main/resources/mapper/manage_jp/ProjectSceneGpsMapper.xml

@@ -5,12 +5,12 @@
     <select id="getNotGpsScene" resultType="com.fdkankan.manage_jp.vo.response.SceneGpsDb">
         SELECT s.num,s.scene_source,s.web_site,s.gps,s.data_source ,'v3' as scene_version FROM t_scene_pro s
                 LEFT JOIN t_project_scene_gps gps on s.num = gps.num
-        WHERE s.rec_status = 'A' and is_upgrade = 0 and s.gps is not null and s.`status` = -2 and scene_source in (4,5) and gps.num is null
+        WHERE s.rec_status = 'A' and is_upgrade = 0 and s.gps is not null and s.`status` = -2 and s.scene_source in (4,5) and gps.num is null
         UNION
         SELECT s.num,s.scene_source,e.web_site,e.gps,e.data_source ,'v4' as scene_version FROM t_scene_plus s
                 LEFT JOIN t_scene_plus_ext e on s.id = e.plus_id
                 LEFT JOIN t_project_scene_gps gps on s.num = gps.num
-        WHERE s.rec_status = 'A' and e.gps is not null and s.scene_status = -2 and scene_source in (4,5) and gps.num is null
+        WHERE s.rec_status = 'A' and e.gps is not null and s.scene_status = -2 and s.scene_source in (4,5) and gps.num is null
 
         LIMIT 1000
     </select>