|
@@ -18,10 +18,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
-import java.util.Arrays;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import java.util.Objects;
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
@Slf4j
|
|
@@ -109,6 +106,17 @@ public class CostIncomeGroupServiceImpl extends ServiceImpl<CostIncomeGroupMappe
|
|
|
}
|
|
|
}
|
|
|
log.info("读取的数据为:{}", list);
|
|
|
+ List<CostIncomeGroup> costIncomeGroupList = new ArrayList<>();
|
|
|
+ List<String> errRowNums = new ArrayList<>();
|
|
|
+ for (int i = 0; i < list.size(); i++) {
|
|
|
+ List<Object> data = list.get(i);
|
|
|
+ log.info("用户输入的数据是{}",data);
|
|
|
+ CostIncomeGroup costIncomeGroup = new CostIncomeGroup();
|
|
|
+ costIncomeGroup.setCreateTime(System.currentTimeMillis());
|
|
|
+ costIncomeGroup.setHospId(hospId);
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
return Result.ok();
|
|
|
}
|
|
|
|