Commit 23077060 by guojuxing

Merge remote-tracking branch 'origin/developer' into developer

parents d6601ff3 b120b1b7
package com.gic.store.utils.field;
import org.apache.commons.collections.CollectionUtils;
import java.util.List;
/**
......@@ -58,7 +60,7 @@ public class FieldBase {
if (msg != null) {
return msg;
}
if (value != null && !"".equals(value)) {
if (value != null && !"".equals(value.trim()) && CollectionUtils.isNotEmpty(nameList)) {
String[] values = value.split(",");
for (String val : values) {
boolean exist = false;
......
......@@ -132,6 +132,9 @@ public class ExcelUtils {
}
}
cell.setCellStyle(style); // 设置单元格样式
if (j != 0) {
cell.setCellType(XSSFCell.CELL_TYPE_STRING);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment