1.修正bom生成零件数量时取值错误

2.excel文件名分段不准确,修正文件读取,不再依赖批量和分段
master
董哲奇 3 weeks ago
parent 97db3adac6
commit 8df1f359db

@ -147,7 +147,7 @@ public class ZyjhService extends ServiceImpl<DmYdjhMapper,DmYdjh> {
String pl=keys[1]; String pl=keys[1];
String fd=keys[2]; String fd=keys[2];
File dir = new File("static/upload/" + ch + "/" + pl + "/其他"); File dir = new File("static/upload/" + ch + "/" + pl + "/其他");
String patternStr = pl + "_" + fd + "_分段配套表"; String patternStr = "_分段配套表";
List<File> fileList = FileUtil.loopFiles(dir); List<File> fileList = FileUtil.loopFiles(dir);
fileList.stream() fileList.stream()
.filter(file -> file.getName().contains(patternStr)) .filter(file -> file.getName().contains(patternStr))

Loading…
Cancel
Save