generated from root/miduo_server
邮件,文件上传bug修改
parent
663f53810a
commit
70612fc0a9
|
|
@ -82,6 +82,7 @@ public class ExcelUtil {
|
||||||
Cell cell = row.getCell(0);
|
Cell cell = row.getCell(0);
|
||||||
// 单元格不为空
|
// 单元格不为空
|
||||||
if (cell != null) {
|
if (cell != null) {
|
||||||
|
cell.setCellType(Cell.CELL_TYPE_STRING);
|
||||||
// 第一列数据
|
// 第一列数据
|
||||||
String materialCode = cell.getStringCellValue();
|
String materialCode = cell.getStringCellValue();
|
||||||
if (!"".equals(materialCode) && !materialCode.contains("userId")) {
|
if (!"".equals(materialCode) && !materialCode.contains("userId")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue