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

PDF - TODO占位

parent 958b2fab
...@@ -165,7 +165,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe ...@@ -165,7 +165,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
document.close(); document.close();
// 上传到Minio // 上传到Minio
return uploadMinio(outputStream, "企业留档文件"); return uploadMinio(outputStream, "企业留档文件" + "_" + taskId);
} }
/** /**
......
...@@ -83,8 +83,7 @@ public class PdfTemplateManagementController { ...@@ -83,8 +83,7 @@ public class PdfTemplateManagementController {
case 0: case 0:
url = task.getVehicleInformationUrl(); url = task.getVehicleInformationUrl();
if (StrUtil.isBlank(url)) { if (StrUtil.isBlank(url)) {
// 新生成 // TODO 生成整车
System.out.println("0");
} }
break; break;
case 1: case 1:
...@@ -99,11 +98,10 @@ public class PdfTemplateManagementController { ...@@ -99,11 +98,10 @@ public class PdfTemplateManagementController {
case 2: case 2:
url = task.getModelTestUrl(); url = task.getModelTestUrl();
if (StrUtil.isBlank(url)) { if (StrUtil.isBlank(url)) {
System.out.println("2"); // TODO 生成车型
} }
break; break;
default: default:
System.out.println("default");
break; break;
} }
} catch (Exception e) { } catch (Exception e) {
...@@ -125,8 +123,7 @@ public class PdfTemplateManagementController { ...@@ -125,8 +123,7 @@ public class PdfTemplateManagementController {
try { try {
switch (request.getType()) { switch (request.getType()) {
case 0: case 0:
// 更新 // TODO 更新整车
System.out.println("0");
break; break;
case 1: case 1:
// 根据任务ID新生成 // 根据任务ID新生成
...@@ -136,10 +133,9 @@ public class PdfTemplateManagementController { ...@@ -136,10 +133,9 @@ public class PdfTemplateManagementController {
break; break;
case 2: case 2:
// 更新 // 更新
System.out.println("2"); // TODO 更新车型
break; break;
default: default:
System.out.println("default");
break; break;
} }
} catch (Exception e) { } 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