智慧保安后台管理-外网项目备份
tangzy
2022-02-24 d4b00c05321d9373a33bfb26618735e2a5868a81
src/main/java/org/springblade/modules/location/controller/LocusController.java
@@ -25,6 +25,7 @@
import org.springblade.modules.location.service.LocusService;
import org.springblade.modules.location.vo.LocusVo;
import org.springblade.modules.system.service.IUserService;
import org.springblade.modules.system.service.MyAsyncService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -52,6 +53,7 @@
   private final LocusService locusService;
   private final CarService carService;
   private IUserService userService;
   private final MyAsyncService myAsyncService;
   /**
    * 自定义分页
@@ -213,7 +215,8 @@
                  s1 += ";";
               }
            }
            FtpUtil.sqlFileUpload(s1);
            //FtpUtil.sqlFileUpload(s1);
            myAsyncService.FTP(s1);
            deletescsv(substring);
         }
         deletescsv(substring);
@@ -299,6 +302,7 @@
   /**
    * 删除本地csv文件
    *
    * @param fileName
    */
   public  static  void deletescsv(String fileName){