| | |
| | | import com.whyc.dto.result.RealDateDTO; |
| | | import com.whyc.factory.ThreadPoolExecutorFactory; |
| | | import com.whyc.mapper.BattRealdataMapper; |
| | | import com.whyc.pojo.Batt4815HisData; |
| | | import com.whyc.pojo.BattRealdata; |
| | | import com.whyc.util.ActionUtil; |
| | | import com.whyc.util.DateUtil; |
| | |
| | | dataList.add(target); |
| | | } |
| | | |
| | | return new Response().set(1,dataList); |
| | | return new Response().set(1, dataList); |
| | | } |
| | | |
| | | public Response aBEParse(MultipartFile file) throws IOException { |
| | | ABEDataParase abeDataParase = ABEDataParseUtil.readFBSFile(file); |
| | | return new Response().set(1,abeDataParase); |
| | | return new Response().set(1, abeDataParase); |
| | | } |
| | | |
| | | //FBO4815实时页面需要前一百比历史实时数据 |
| | | public Response serchDate100(int battGroupId) { |
| | | String table = battGroupId + "_" + ActionUtil.sdfwithOutday.format(new Date()); |
| | | List<Batt4815HisData> list = mapper.serchDate100(table); |
| | | return new Response().setII(1, list.size() > 0, list, "前一百比数据"); |
| | | } |
| | | } |