From cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 25 六月 2025 11:18:22 +0800
Subject: [PATCH] 验收报告修改

---
 src/main/java/com/whyc/service/DefectiveProductsService.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/whyc/service/DefectiveProductsService.java b/src/main/java/com/whyc/service/DefectiveProductsService.java
index 7baf85c..469e625 100644
--- a/src/main/java/com/whyc/service/DefectiveProductsService.java
+++ b/src/main/java/com/whyc/service/DefectiveProductsService.java
@@ -1,6 +1,5 @@
 package com.whyc.service;
 
-import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
 import com.github.pagehelper.PageHelper;
@@ -24,7 +23,6 @@
 import javax.annotation.Resource;
 import java.io.File;
 import java.io.IOException;
-import java.text.ParseException;
 import java.util.Date;
 import java.util.LinkedList;
 import java.util.List;
@@ -117,8 +115,8 @@
         }
 
         String subject = "銆愪笉鑹搧璁板綍銆�-"+senderName;
-        String content = defective.getSenderName()+"涓婁紶浜嗗巶鍟�:"+defective.getProvideName()+",浜у搧:"+defective.getProductName()+",鍨嬪彿:"+defective.getType()+"鐨勪笉鑹搧璁板綍;\n"+
-                "涓嶈壇鍝佹暟閲忎负:"+defective.getBadProduct()+",鍏蜂綋涓嶈壇淇℃伅涓�:"+defective.getContent();
+        String content = senderName+"涓婁紶浜嗕笉鑹搧璁板綍,淇℃伅濡備笅:\n鍘傚晢:"+defective.getProvideName()+"\n浜у搧:"+defective.getProductName()+"\n鍨嬪彿:"+defective.getType()
+                +"\n涓嶈壇鍝佹暟閲�:"+defective.getBadProduct()+"\n鍏蜂綋涓嶈壇淇℃伅:"+defective.getContent();
 
         MailDTO mailDTO = new MailDTO();
         mailDTO.setTitle(subject);
@@ -219,8 +217,8 @@
         }
 
         String subject = "銆愪笉鑹搧澶勭悊璁板綍銆�-"+senderName;
-        String content = defectiveHis.getDelName()+"淇浜嗗巶鍟�:"+defective.getProvideName()+",浜у搧:"+defective.getProductName()+",鍨嬪彿:"+defective.getType()+"鐨勪笉鑹搧璁板綍;\n"+
-                "涓嶈壇鍝佹暟閲忎负:"+defective.getBadProduct()+"淇涓嶈壇鍝佷釜鏁�:"+defectiveHis.getDelProduct()+",鍓╀綑涓嶈壇鍝佷釜鏁�:"+defectiveHis.getRestProduct()+"\n"
+        String content = defectiveHis.getDelName()+"淇浜嗕笉鑹搧,璁板綍淇℃伅濡備笅:\n鍘傚晢:"+defective.getProvideName()+"\n浜у搧:"+defective.getProductName()+"\n鍨嬪彿:"+defective.getType()+
+                "\n涓嶈壇鍝佹暟閲�:"+defective.getBadProduct()+"\n淇涓嶈壇鍝佷釜鏁�:"+defectiveHis.getDelProduct()+"\n鍓╀綑涓嶈壇鍝佷釜鏁�:"+defectiveHis.getRestProduct()+"\n"
                 +"淇鏂瑰紡:"+defectiveHis.getNote();
 
         MailDTO mailDTO = new MailDTO();

--
Gitblit v1.9.1