吉安感知网项目-后端
linwei
2026-06-04 ad935c07a6cabf05fed9c615c7bd4f67f6d65293
drone-ops/drone-resource/src/main/java/org/sxkj/resource/service/impl/AttachServiceImpl.java
@@ -131,11 +131,11 @@
      attach.setAreaCode(HeaderUtils.getAreaCodeHeaderAreaCode(attach.getAreaCode()));
      if (Objects.isNull(attach.getResultTypes())) {
         // 使用常量定义避免魔法数字
         attach.setResultTypes(Arrays.asList(TypeOfOutcome.IMAGE.getType(),
            TypeOfOutcome.VIDEO.getType(),
            TypeOfOutcome.AI.getType(),
            TypeOfOutcome.SURVEY.getType(),
            TypeOfOutcome.PANORAMA.getType()));
         // attach.setResultTypes(Arrays.asList(TypeOfOutcome.IMAGE.getType(),
         //    TypeOfOutcome.VIDEO.getType(),
         //    TypeOfOutcome.AI.getType(),
         //    TypeOfOutcome.SURVEY.getType(),
         //    TypeOfOutcome.PANORAMA.getType()));
      }
      List<Long> deptIdList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId()));
      String permissionCondition = permissionBuilder.buildDataPermissionCondition(AuthUtil.getUserId(), "attach");