Commit 2991310b by jiangxuming

style(ui): 修正公式单元格检查格式

parent 50702e77
......@@ -523,7 +523,7 @@ public class EntrustSampleServiceImpl extends BaseServiceImpl<EntrustSampleMappe
// 遍历所有单元格
for (int k = 0; k < row.getLastCellNum(); k++) {
Cell cell = row.getCell(k);
if (cell != null && cell.getCellType() == CellType.FORMULA) { // 检查单元格是否存在且是公式类型
if (cell != null && cell.getCellType() == CellType.FORMULA) {
try {
evaluator.evaluateFormulaCell(cell);
} catch (Exception e) {
......
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