退货数据显示为负数

This commit is contained in:
yijiegong 2024-09-27 14:58:21 +08:00
parent 57e4a9261b
commit a4b1beec18
1 changed files with 2 additions and 0 deletions

View File

@ -45,10 +45,12 @@ public class FileUtils {
cell.setCellValue(value);
if (j == 10 && !"0".equals(value)) {
cell.setCellValue("-" + value);
setCellBackground(cell, IndexedColors.YELLOW, workbook);
}
if (j == 11 && !"0.00".equals(value)) {
cell.setCellValue("-" + value);
setCellBackground(cell, IndexedColors.YELLOW, workbook);
}
}