Commit d463e4ca authored by Quxl's avatar Quxl

x

parent b73b2575
......@@ -601,10 +601,10 @@ public class ExportServiceImpl implements ExportService {
Row row = sheet.getRow(y-1);
Cell cell = row.getCell(x-1);
String tplValue = cell.getStringCellValue();
if(StringUtil.isBlank(tplValue)) {
cell.setCellValue(value);
} else {
if(StringUtil.isNotBlank(tplValue) && tplValue.contains("_")) {
cell.setCellValue(tplValue.replaceFirst("_+", value));
} else {
cell.setCellValue(value);
}
}
wb.write(os);
......
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