|
@@ -491,7 +491,7 @@ public class PointCheckServiceImpl extends ServiceImpl<PointCheckDao, PointCheck
|
|
|
//3.获取点检记录模板
|
|
|
String fullPath = pointCheckItemService.getExcelTempPath(excelData.getPagePartId(),excelData.getFileTemplateName());
|
|
|
|
|
|
- // fullPath="C:\\360安全浏览器下载\\"+excelData.getFileTemplateName();
|
|
|
+ fullPath="C:\\360安全浏览器下载\\"+excelData.getFileTemplateName();
|
|
|
XSSFWorkbook workbook =null;
|
|
|
|
|
|
try {
|
|
@@ -596,12 +596,12 @@ public class PointCheckServiceImpl extends ServiceImpl<PointCheckDao, PointCheck
|
|
|
sheet.getRow(indexstart+2).getCell(0).setCellValue(pointCheckVo.getCheckitemname()); //设备名称
|
|
|
sheet.getRow(indexstart+2).getCell(2).setCellValue(pointCheckVo.getCheckitemcode()); //设备编号
|
|
|
sheet.getRow(indexstart+2).getCell(4).setCellValue(pointCheckVo.getTemplatetypename()); //检查类型
|
|
|
- sheet.getRow(indexstart+3).getCell(0).setCellValue(pointCheckVo.getCreateusername()); //点检人员
|
|
|
- sheet.getRow(indexstart+3).getCell(2).setCellValue(pointCheckVo.getChecktime()); // 点检时间
|
|
|
+ sheet.getRow(indexstart+3).getCell(0).setCellValue("点检人:"+(pointCheckVo.getCreateusername()==null?"":pointCheckVo.getCreateusername())); //点检人员
|
|
|
+ sheet.getRow(indexstart+3).getCell(2).setCellValue("点检时间:"+(pointCheckVo.getChecktime()==null?"":pointCheckVo.getChecktimestr())); // 点检时间
|
|
|
sheet.getRow(indexstart+3).getCell(4).setCellValue(pointCheckVo.getShiftname()); //班次
|
|
|
- sheet.getRow(indexstart+4).getCell(0).setCellValue(pointCheckVo.getConfirmoruser()); //点检确认人
|
|
|
- sheet.getRow(indexstart+4).getCell(2).setCellValue("点检时是否停机:"+pointCheckVo.getClosingdownname()==null?"":pointCheckVo.getClosingdownname()); //点检是否停机
|
|
|
- sheet.getRow(indexstart+4).getCell(4).setCellValue("结果:"+pointCheckVo.getCheckresultname()==null?"":pointCheckVo.getCheckresultname()); //点检结果
|
|
|
+ sheet.getRow(indexstart+4).getCell(0).setCellValue("确认人:"+(pointCheckVo.getConfirmoruser()==null?"":pointCheckVo.getConfirmoruser())); //点检确认人
|
|
|
+ sheet.getRow(indexstart+4).getCell(2).setCellValue("点检时是否停机:"+(pointCheckVo.getClosingdownname()==null?"":pointCheckVo.getClosingdownname())); //点检是否停机
|
|
|
+ sheet.getRow(indexstart+4).getCell(4).setCellValue("结果:"+(pointCheckVo.getCheckresultname()==null?"":pointCheckVo.getCheckresultname())); //点检结果
|
|
|
|
|
|
for (int i = 0; i <7; i++) {
|
|
|
sheet.getRow(indexstart+5).getCell(i).setCellValue(detailTieleRow.getCell(i).getStringCellValue());
|