1.部门筛选调整

This commit is contained in:
wr
2023-10-11 13:33:31 +08:00
parent cae7a7f545
commit 93d7a46e72
2 changed files with 14 additions and 24 deletions

View File

@@ -92,8 +92,8 @@ public class DisPhotovoltaicController {
public void import380KV(MultipartFile file, HttpServletResponse response) throws Exception {
List<DisPhotovoltaic380Excel> list = EasyExcel.read(file.getInputStream())
.head(DisPhotovoltaic380Excel.class)
.headRowNumber(1)
.sheet(0).doReadSync();
.headRowNumber(2)
.sheet(3).doReadSync();
list = list.stream()
.filter(t -> StrUtil.isNotBlank(t.getGenerationUserID()))
.filter(t -> StrUtil.isNotBlank(t.getStageID()))