Quellcode durchsuchen

财务报销 功能优化

zhaoxian vor 2 Jahren
Ursprung
Commit
7765b76e53

+ 1 - 9
jeecg-boot-module-system/src/main/java/cn/com/ctop/reimburse/mondule/controller/ReimburseProjectController.java

@@ -147,23 +147,15 @@ public class ReimburseProjectController {
         queryWrapper.eq("apply_id", applyId);
         List<ReimburseProject> list = reimburseProjectService.list(queryWrapper);
         Set<Object> urls = new HashSet<>();
-        Set<Object> excels = new HashSet<>();
         for (ReimburseProject project : list) {
             if (!Check.isNull(project.getFileUrls())) {
                 List<String> fileUrls = JSONArray.parseArray(project.getFileUrls().toString(), String.class);
                 if (!Check.isNull(fileUrls)) {
                     urls.addAll(fileUrls);
                 }
-                List<String> excelUrls = JSONArray.parseArray(project.getExcelUrls().toString(), String.class);
-                if (!Check.isNull(excelUrls)) {
-                    excels.addAll(excelUrls);
-                }
             }
         }
-        JSONObject data = new JSONObject();
-        data.put("fileUrls", urls);
-        data.put("excelUrls", excels);
-        return Result.ok(excels);
+        return Result.ok(urls);
     }
 
     /**