|
@@ -2162,7 +2162,10 @@ public class ZhcxProjectManageServiceImpl extends ServiceImpl<ZhcxProjectManageD
|
|
|
cells.get(rowIndex, colIndex + 2).putValue(rectifyMachineVo.getSubcontractorname());
|
|
|
cells.get(rowIndex, colIndex + 3).putValue(rectifyMachineVo.getDutydeptname());
|
|
|
cells.get(rowIndex, colIndex + 4).putValue(rectifyMachineVo.getDutysubcontractorname());
|
|
|
- cells.get(rowIndex, colIndex + 5).putValue(rectifyMachineVo.getFinishdate());
|
|
|
+ String formattedDate = rectifyMachineVo.getFinishdate() != null
|
|
|
+ ? DateUtil.format(rectifyMachineVo.getFinishdate(), "yyyy.MM.dd")
|
|
|
+ : "";
|
|
|
+ cells.get(rowIndex, colIndex + 5).putValue(formattedDate);
|
|
|
// 设置颜色
|
|
|
for (int j = colIndex; j < colIndex + 6; j++) {
|
|
|
Style cellStyle = cells.get(rowIndex, j).getStyle();
|