Commit 01dc286d authored by nie'hong's avatar nie'hong

完善工时统计

parent 64a7fab0
......@@ -484,13 +484,13 @@ public class StatisticsServiceImpl implements StatisticsService {
cell.setCellStyle(cellStyle);
}
// 获取单元格中的工时,当日总工时小于8,则单元格底色为红色
// String cellValue = ExcelUtils.getCellValue(cell, true);
// if (StringUtil.isNotEmpty(cellValue)) {
// Integer numberOfString = this.getNumberOfString(cellValue);
// if (numberOfString != null && numberOfString < 8) {
// cell.setCellStyle(cellStyle2);
// }
// }
String cellValue = ExcelUtils.getCellValue(cell, true);
if (StringUtil.isNotEmpty(cellValue)) {
Integer numberOfString = this.getNumberOfString(cellValue);
if (numberOfString != null && numberOfString < 8) {
cell.setCellStyle(cellStyle2);
}
}
}
}
return sheets;
......
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