whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/FboDataUploadController.java
@@ -9,6 +9,7 @@
import com.google.gson.Gson;
import io.swagger.annotations.Api;
import com.fgkj.util.*;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -23,7 +24,7 @@
@RequestMapping("fboDataUpload")
@RestController
@Api
@Api(tags = "fboDataUpload接口")
public class FboDataUploadController {
   // private String tableRowData;
@@ -37,6 +38,7 @@
   // 文件上传
   @PostMapping("uploadFile")
   @ApiOperation(notes = "",value="文件上传")
   public boolean uploadFile(@RequestParam String tableRowData,@RequestParam int battgroupid,
                       @RequestParam File[] file,@RequestParam String[] fileFileName) {
      boolean res=false;
@@ -60,6 +62,7 @@
   // 停止上传
   @PutMapping("/")
   @ApiOperation(notes = "",value="停止上传")
   public DLG_Progress stopUpload() {
      HttpSession session = ActionUtil.getSession();
      DLG_Progress progress = (DLG_Progress) session.getAttribute("progress");
@@ -71,6 +74,7 @@
   // 查询进度
   @GetMapping("progress")
   @ApiOperation(notes = "",value="查询进度")
   public ServiceModel selectprogress() {
      ServiceModel model = new ServiceModel();
      HttpSession session = ActionUtil.getSession();