czt
2026-01-07 0c8d20900c14651cb50180ade4ccd0e2074796b4
fzzy-igdss-web/src/main/java/com/fzzy/grain/manager/GrainExportBuilder.java
@@ -88,7 +88,7 @@
            }
            result = ContextUtil.getTimeId() + ".xls";
            String tempPath = fileService.getTempFilePath(depot == null ? ContextUtil.getCompanyId() : depot.getCompanyId());
            String tempPath = fileService.getFileSavePath("TEMP");
            FileOutputStream fos = new FileOutputStream(tempPath + "/" + result);
            toWorkbook.write(fos);
            if (null != fos) fos.close();
@@ -104,7 +104,7 @@
    private HSSFWorkbook getFromWorkBook(GrainData data, Depot depot) throws Exception {
        FileInputStream fis = null;
        String filePath = fileService.getConfPath();
        String filePath = fileService.getFileSavePath("CONF");
        try {
            //获取模版的名称,注意筒仓名称配置规则
            if (StringUtils.isEmpty(data.getCableCir())) {