优化发邮件功能

This commit is contained in:
qitz
2023-11-03 10:38:42 +08:00
parent 121ea7c7ae
commit 6b1ee10b33
2 changed files with 2 additions and 1 deletions
@@ -556,7 +556,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
for (CaseAttach caseAttach : caseAttachList) {
if (caseAttach.getAnnexType() == 3) {
String annexName = caseAttach.getAnnexName();
String prefix = "/profile/upload/";
String prefix = "/profile/upload";
int startIndex = prefix.length();
String path = caseAttach.getAnnexPath() + annexName.substring(startIndex);
file = new File(path);
@@ -25,6 +25,7 @@
AND c.case_num = #{caseNum}
</if>
</where>
order by s.send_time desc
</select>
<insert id="saveSendMailRecord">