优化发邮件功能
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
|
|||||||
for (CaseAttach caseAttach : caseAttachList) {
|
for (CaseAttach caseAttach : caseAttachList) {
|
||||||
if (caseAttach.getAnnexType() == 3) {
|
if (caseAttach.getAnnexType() == 3) {
|
||||||
String annexName = caseAttach.getAnnexName();
|
String annexName = caseAttach.getAnnexName();
|
||||||
String prefix = "/profile/upload/";
|
String prefix = "/profile/upload";
|
||||||
int startIndex = prefix.length();
|
int startIndex = prefix.length();
|
||||||
String path = caseAttach.getAnnexPath() + annexName.substring(startIndex);
|
String path = caseAttach.getAnnexPath() + annexName.substring(startIndex);
|
||||||
file = new File(path);
|
file = new File(path);
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
AND c.case_num = #{caseNum}
|
AND c.case_num = #{caseNum}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by s.send_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="saveSendMailRecord">
|
<insert id="saveSendMailRecord">
|
||||||
|
|||||||
Reference in New Issue
Block a user