提交 0cafdd27 作者: 洪东保

debug

父级 13827460
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -229,25 +229,25 @@ ...@@ -229,25 +229,25 @@
<version>1.34.0</version> <version>1.34.0</version>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>com.util</groupId> <!-- <groupId>com.util</groupId>-->
<artifactId>llm-api</artifactId> <!-- <artifactId>llm-api</artifactId>-->
<version>1.0-SNAPSHOT</version> <!-- <version>1.0-SNAPSHOT</version>-->
<exclusions> <!-- <exclusions>-->
<exclusion> <!-- <exclusion>-->
<groupId>com.fasterxml.jackson.core</groupId> <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
<artifactId>jackson-databind</artifactId> <!-- <artifactId>jackson-databind</artifactId>-->
</exclusion> <!-- </exclusion>-->
<exclusion> <!-- <exclusion>-->
<groupId>com.fasterxml.jackson.core</groupId> <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
<artifactId>jackson-annotations</artifactId> <!-- <artifactId>jackson-annotations</artifactId>-->
</exclusion> <!-- </exclusion>-->
<exclusion> <!-- <exclusion>-->
<groupId>com.fasterxml.jackson.core</groupId> <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
<artifactId>jackson-core</artifactId> <!-- <artifactId>jackson-core</artifactId>-->
</exclusion> <!-- </exclusion>-->
</exclusions> <!-- </exclusions>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
......
...@@ -229,7 +229,7 @@ public class MeetingInfoController { ...@@ -229,7 +229,7 @@ public class MeetingInfoController {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
List<EmailPush.Attachment> attachments = new ArrayList<>(); List<EmailPush.Attachment> attachments = new ArrayList<>();
EmailPush.Attachment attachment = EmailPush.Attachment.builder().name(meetingInfo.getSubject()+"_数据网络中心").bytes(meetingMinutesBytes).build(); EmailPush.Attachment attachment = EmailPush.Attachment.builder().name(meetingInfo.getSubject()+"_" + meetingRecordTemplate.getName()).bytes(meetingMinutesBytes).build();
attachments.add(attachment); attachments.add(attachment);
String hostUid = meetingInfo.getHostUid(); String hostUid = meetingInfo.getHostUid();
String userCode = userIdMapper.getWidByTid(hostUid); String userCode = userIdMapper.getWidByTid(hostUid);
......
...@@ -100,7 +100,7 @@ public class EmailPushTask { ...@@ -100,7 +100,7 @@ public class EmailPushTask {
List<EmailPush.Attachment> attachments = new ArrayList<>(); List<EmailPush.Attachment> attachments = new ArrayList<>();
try(InputStream is = new FileInputStream(dataNetworkMinutesPath)){ try(InputStream is = new FileInputStream(dataNetworkMinutesPath)){
byte[] meetingMinutesBytes = IOUtils.toByteArray(is); byte[] meetingMinutesBytes = IOUtils.toByteArray(is);
EmailPush.Attachment attachment = EmailPush.Attachment.builder().name(meetingInfo.getSubject()+"会议纪要_数据网络中心").bytes(meetingMinutesBytes).build(); EmailPush.Attachment attachment = EmailPush.Attachment.builder().name(meetingInfo.getSubject()+"会议纪要_" + meetingRecordTemplate.getName()).bytes(meetingMinutesBytes).build();
attachments.add(attachment); attachments.add(attachment);
}catch (Exception e){ }catch (Exception e){
throw new RuntimeException(e); throw new RuntimeException(e);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论