From 0a61b6eca828ff3a131a4f2d5251612872f1f6bc Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 20 十二月 2024 17:15:34 +0800 Subject: [PATCH] 运行调整 --- inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java index 8a506b9..dbb5e93 100644 --- a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java +++ b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/InsReportServiceImpl.java @@ -85,6 +85,9 @@ @Resource private InsReportMapper insReportMapper; + @Resource + ProcessReportMapper processReportMapper; + @Value("${wordUrl}") private String wordUrl; @@ -244,6 +247,10 @@ put("seal2", Pictures.ofLocal(imgUrl + "/" + sealUrl).create()); }}, finalUrl); wordToPdf(finalUrl, sealUrl); + /*鏂板cnas7.8鎶ュ憡缁撴灉*/ + ProcessReport processReport = new ProcessReport(); + processReport.setInsReportCode(insReport.getCode()); + processReportMapper.insert(processReport); return insReportMapper.updateById(insReport); } -- Gitblit v1.9.3