吉安感知网项目-后端
linwei
2026-06-09 b486873000ea043f159c8de5c0edb123c0f38a87
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/service/impl/GdPatrolTaskServiceImpl.java
@@ -603,7 +603,7 @@
      attach.setOriginalName(bladeFile.getOriginalName());
      attach.setAttachSize(reportFile.length());
      attach.setExtension(FileUtil.getFileExtension(reportFile.getName()));
      attach.setResultType(JSON.toJSONString(resultType));
      attach.setResultType(resultType);
      attach.setPatrolTaskId(String.valueOf(taskEntity != null ? taskEntity.getId() : null));
      Long createUser = taskEntity != null ? taskEntity.getCreateUser() : null;
      Long updateUser = taskEntity != null ? taskEntity.getUpdateUser() : null;
@@ -814,7 +814,7 @@
      try {
         // 提取省、市、区三级编码
         String provinceCode = cleanCode.substring(0, 2) + "00";      // 省级编码(如:3600)
         String cityCode = cleanCode.substring(0, 4) + "0";           // 市级编码(如:3608)
         String cityCode = cleanCode.substring(0, 4);           // 市级编码(如:3608)
         String districtCode = cleanCode;                             // 区级编码(如:360802)
         return provinceCode + "," + cityCode + "," + districtCode;