Commit ff8cdc20 authored by sherlock's avatar sherlock

cell.getStringCellValue()

parent b3973270
......@@ -355,6 +355,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
Row row = temp.getRow(j);
for(int k = row.getFirstCellNum(); k < row.getLastCellNum(); k++){
Cell cell = row.getCell(k);
cell.setCellType(CellType.STRING);
if(!cell.getCellStyle().getLocked() && StringUtils.isNotBlank(cell.getStringCellValue())
&& cell.getStringCellValue().equalsIgnoreCase("${KeyIn}")){
cell.setCellValue("");
......@@ -533,6 +534,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
if (null == cell) {
return false;
}
cell.setCellType(CellType.STRING);
String v = cell.getStringCellValue();
if (StringUtils.isBlank(v)) {
return false;
......
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