认证-参数收集清单-填写人导出导入修改
This commit is contained in:
+6
-2
@@ -2408,7 +2408,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
+ "7.导入系统时,需要将该Excel放入文件夹内,并按照要求正确放置其他附件文件,最后将文件夹压缩为zip格式进行导入\n";
|
+ "7.导入系统时,需要将该Excel放入文件夹内,并按照要求正确放置其他附件文件,最后将文件夹压缩为zip格式进行导入\n";
|
||||||
}
|
}
|
||||||
XSSFRow row2 = sheetItems.createRow(1);
|
XSSFRow row2 = sheetItems.createRow(1);
|
||||||
row2.setHeight((short) 1000);
|
row2.setHeight((short) 2500);
|
||||||
Cell cell2 = row2.createCell(0);
|
Cell cell2 = row2.createCell(0);
|
||||||
cell2.setCellStyle(cellStyle);
|
cell2.setCellStyle(cellStyle);
|
||||||
cell2.setCellValue(new XSSFRichTextString(explanation));
|
cell2.setCellValue(new XSSFRichTextString(explanation));
|
||||||
@@ -3360,7 +3360,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
//获得所有数据
|
//获得所有数据
|
||||||
//从第4行开始获取,第一行是表头,第二行是填写说明, 第三行是填写示例
|
//从第4行开始获取,第一行是表头,第二行是填写说明, 第三行是填写示例
|
||||||
for (int x = 3; x <= totalRowNum; x++) {
|
for (int x = 3; x <= totalRowNum; x++) {
|
||||||
map = new HashMap<String, Object>();
|
map = new LinkedHashMap<String, Object>();
|
||||||
//获得第i行对象
|
//获得第i行对象
|
||||||
Row row= sheet.getRow(x);
|
Row row= sheet.getRow(x);
|
||||||
//如果一行里的所有单元格都为空则不放进list里面
|
//如果一行里的所有单元格都为空则不放进list里面
|
||||||
@@ -3735,6 +3735,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
countError++;
|
countError++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (StringUtils.isNotEmpty(value)) {
|
||||||
//判断是否是单选
|
//判断是否是单选
|
||||||
if (isSingle) {
|
if (isSingle) {
|
||||||
if (StringUtils.isNotBlank(value) && value.contains(",")) {
|
if (StringUtils.isNotBlank(value) && value.contains(",")) {
|
||||||
@@ -3774,6 +3775,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// resultMap.put("value", newValue.toString());
|
// resultMap.put("value", newValue.toString());
|
||||||
resultMap.put("errorMsg", errorMsg);
|
resultMap.put("errorMsg", errorMsg);
|
||||||
@@ -3806,6 +3808,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
countError++;
|
countError++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (StringUtils.isNotEmpty(value)) {
|
||||||
String regex = "";
|
String regex = "";
|
||||||
Boolean result = false;
|
Boolean result = false;
|
||||||
Boolean flag = false;
|
Boolean flag = false;
|
||||||
@@ -3870,6 +3873,7 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
resultMap.put("errorMsg", errorMsg);
|
resultMap.put("errorMsg", errorMsg);
|
||||||
resultMap.put("countError", countError);
|
resultMap.put("countError", countError);
|
||||||
|
|||||||
Reference in New Issue
Block a user