导出检验规格,表头添加最大值(管理值)、最小值(管理值)

This commit is contained in:
liuchengqian 2022-03-22 09:01:05 +08:00
parent b284577437
commit 18b3ef6318

View File

@ -284,7 +284,7 @@ public class QcSpecServiceImpl implements QcSpecService {
return appearIndexList; return appearIndexList;
} }
List<String> QC_SPEC_HEAD = Arrays.asList("机种号", "工艺项目", "检验项目", "最大值", "最小值", "检验方法"); List<String> QC_SPEC_HEAD = Arrays.asList("机种号", "工艺项目", "检验项目", "最大值", "最小值", "检验方法", "最大值(管理值)", "最小值(管理值)");
/** /**
* 读取表头数据 * 读取表头数据
@ -389,8 +389,8 @@ public class QcSpecServiceImpl implements QcSpecService {
} }
} }
//输出Excel文件 //输出Excel文件
File dirFile = new File("/home/sxy/server/industrial_measurement/excel/"); // File dirFile = new File("/home/sxy/server/industrial_measurement/excel/");
// File dirFile = new File("/Users/liuchengqian/Desktop/DaJiang/"); File dirFile = new File("/Users/liuchengqian/Desktop/DaJiang/");
if (!dirFile.exists()) { if (!dirFile.exists()) {
dirFile.mkdirs(); dirFile.mkdirs();
} }