whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
src/main/java/com/fgkj/services/ResDataUploadService.java
@@ -1,29 +1,27 @@
package com.fgkj.services;
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Battresdata_inf;
import com.fgkj.dto.DLG_Progress;
import com.fgkj.dto.User_inf;
import com.fgkj.fbo.CsvData;
import com.fgkj.mapper.impl.BattInfMapper;
import com.fgkj.mapper.impl.Battresdata_infMapper;
import com.fgkj.mapper.impl.ResDataUploadMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpSession;
import java.io.File;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpSession;
import com.fgkj.mapper.BaseDAO;
import com.fgkj.mapper.impl.BattInfMapper;
import com.fgkj.mapper.impl.Battresdata_infMapper;
import com.fgkj.dto.BattInf;
import com.fgkj.dto.Battresdata_inf;
import com.fgkj.dto.DLG_Progress;
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.User_inf;
import com.fgkj.fbo.CsvData;
import com.fgkj.mapper.impl.ResDataUploadMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class ResDataUploadService extends Thread{
   /*private ServiceModel model;
   /*ServiceModel model = new ServiceModel();
   private User_inf uinf;
   private int bg_id;
   private String[][] tableRowData;
@@ -50,11 +48,11 @@
      session.setAttribute("Resprogress", progress);
   }*/
   @Autowired
   @Resource
   private ResDataUploadMapper mapper;
   @Autowired
   @Resource
   private BattInfMapper battInfMapper;
   @Autowired
   @Resource
   private Battresdata_infMapper battResDataInfMapper;
   public void uploadResFile(User_inf uinf, int bg_id, String[][] tableRowData, File[] file, HttpSession session) {