|
@@ -44,6 +44,8 @@ import java.io.*;
|
|
|
import java.lang.reflect.InvocationTargetException;
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
+
|
|
|
+import static com.rongwei.safecommon.utils.SaveConstans.COMPANY_MAP;
|
|
|
import static com.rongwei.sfcommon.utils.CommonUtil.streamCodeGeneration;
|
|
|
|
|
|
@Service("pointCheckService")
|
|
@@ -588,7 +590,7 @@ public class PointCheckServiceImpl extends ServiceImpl<PointCheckDao, PointCheck
|
|
|
|
|
|
//填充主表数据
|
|
|
sheet.getRow(indexstart+0).getCell(0).setCellValue(pointCheckVo.getPointcheckname()); //点检名称
|
|
|
- sheet.getRow(indexstart+1).getCell(0).setCellValue(pointCheckVo.getTenantid()); //所属工厂
|
|
|
+ sheet.getRow(indexstart+1).getCell(0).setCellValue(COMPANY_MAP.get(pointCheckVo.getTenantid())); //所属工厂
|
|
|
sheet.getRow(indexstart+1).getCell(2).setCellValue(pointCheckVo.getWorkshopname()); //车间名称
|
|
|
sheet.getRow(indexstart+1).getCell(4).setCellValue(pointCheckVo.getPointcheckcode()); //记录编号
|
|
|
sheet.getRow(indexstart+2).getCell(0).setCellValue(pointCheckVo.getCheckitemname()); //设备名称
|