Commit 36691b51 authored by 盖献康's avatar 盖献康

PDF - TODO占位

parent 958b2fab
......@@ -165,7 +165,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document.close();
// 上传到Minio
return uploadMinio(outputStream, "企业留档文件");
return uploadMinio(outputStream, "企业留档文件" + "_" + taskId);
}
/**
......
......@@ -83,8 +83,7 @@ public class PdfTemplateManagementController {
case 0:
url = task.getVehicleInformationUrl();
if (StrUtil.isBlank(url)) {
// 新生成
System.out.println("0");
// TODO 生成整车
}
break;
case 1:
......@@ -99,11 +98,10 @@ public class PdfTemplateManagementController {
case 2:
url = task.getModelTestUrl();
if (StrUtil.isBlank(url)) {
System.out.println("2");
// TODO 生成车型
}
break;
default:
System.out.println("default");
break;
}
} catch (Exception e) {
......@@ -125,8 +123,7 @@ public class PdfTemplateManagementController {
try {
switch (request.getType()) {
case 0:
// 更新
System.out.println("0");
// TODO 更新整车
break;
case 1:
// 根据任务ID新生成
......@@ -136,10 +133,9 @@ public class PdfTemplateManagementController {
break;
case 2:
// 更新
System.out.println("2");
// TODO 更新车型
break;
default:
System.out.println("default");
break;
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment