Kaynağa Gözat

优化发邮件功能

qitz 2 yıl önce
ebeveyn
işleme
6b1ee10b33

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java Dosyayı Görüntüle

556
             for (CaseAttach caseAttach : caseAttachList) {
556
             for (CaseAttach caseAttach : caseAttachList) {
557
                 if (caseAttach.getAnnexType() == 3) {
557
                 if (caseAttach.getAnnexType() == 3) {
558
                     String annexName = caseAttach.getAnnexName();
558
                     String annexName = caseAttach.getAnnexName();
559
-                    String prefix = "/profile/upload/";
559
+                    String prefix = "/profile/upload";
560
                     int startIndex = prefix.length();
560
                     int startIndex = prefix.length();
561
                     String path = caseAttach.getAnnexPath() + annexName.substring(startIndex);
561
                     String path = caseAttach.getAnnexPath() + annexName.substring(startIndex);
562
                     file = new File(path);
562
                     file = new File(path);

+ 1
- 0
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/SendMailRecordMapper.xml Dosyayı Görüntüle

25
                 AND c.case_num = #{caseNum}
25
                 AND c.case_num = #{caseNum}
26
             </if>
26
             </if>
27
         </where>
27
         </where>
28
+        order by s.send_time desc
28
     </select>
29
     </select>
29
 
30
 
30
     <insert id="saveSendMailRecord">
31
     <insert id="saveSendMailRecord">