|
@@ -42,7 +42,7 @@ public class TestFacade {
|
|
|
*/
|
|
|
public Map<String, Object> importExcel(MultipartFile file, TestLineVO testLineVO) {
|
|
|
List<IndicationPushVO> indicationPushVOList = new ArrayList<>();
|
|
|
- List<TestIndicationVO> data = ExcelUtils.importExcel(file, 0, 1, TestIndicationVO.class);
|
|
|
+ List<TestIndicationVO> data = ExcelUtils.importExcelMultiSheets(file, 0, 1, testLineVO.getSheetIndex(), TestIndicationVO.class);
|
|
|
for (TestIndicationVO bean : data) {
|
|
|
if (StringUtil.isNotEmpty(testLineVO.getIdNum()) && !testLineVO.getIdNum().equals(bean.getIdNum())) {
|
|
|
continue;
|
|
@@ -167,13 +167,13 @@ public class TestFacade {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 开单项数据测试
|
|
|
+ * 危急值数据测试
|
|
|
*
|
|
|
* @param file
|
|
|
*/
|
|
|
public Map<String, Object> importCriticalExcel(MultipartFile file, TestLineVO testLineVO) {
|
|
|
List<IndicationPushVO> indicationPushVOList = new ArrayList<>();
|
|
|
- List<TestIndicationVO> data = ExcelUtils.importExcel(file, 0, 1, TestIndicationVO.class);
|
|
|
+ List<TestIndicationVO> data = ExcelUtils.importExcelMultiSheets(file, 0, 1, testLineVO.getSheetIndex(), TestIndicationVO.class);
|
|
|
for (TestIndicationVO bean : data) {
|
|
|
if (StringUtil.isNotEmpty(testLineVO.getIdNum()) && !testLineVO.getIdNum().equals(bean.getIdNum())) {
|
|
|
continue;
|