whycxzp
2023-02-06 e0e69bb175c7cafe0c397197ca128157ebbf9a04
src/main/java/com/whyc/service/BOMFeedbakService.java
@@ -110,10 +110,10 @@
     * 2.附件存储
     * 3.邮件发送
     * @param feedback bom问题反馈
     * @param multipartFile
     * @return response
     */
    public Response submitFeedback(BOMFeedback feedback) throws IOException, MessagingException {
        MultipartFile multipartFile = feedback.getMultipartFile();
    public Response submitFeedback(BOMFeedback feedback, MultipartFile multipartFile) throws IOException, MessagingException {
        Date date = new Date();
        if(multipartFile!=null){
            //存储文件