Browse Source

dir_id bug

wuweihao 2 years ago
parent
commit
c0845c9036

+ 1 - 1
720yun_fd_manage/gis_service/src/main/java/com/gis/service/impl/FodderServiceImpl.java

@@ -476,7 +476,7 @@ public class FodderServiceImpl extends IBaseServiceImpl<FodderEntity, Long> impl
     public List<String> getSceneCodeByParentIds(String dirs) {
         if (StrUtil.isNotBlank(dirs)){
             return entityMapper.getListStr(StrUtil.format("select scene_code from tb_fodder " +
-                    "where is_delete=0 and type='pano' and parent_id in ({})  ", dirs));
+                    "where is_delete=0 and type='pano' and dir_id in ({})  ", dirs));
         }
         return new ArrayList<>();
     }