|
@@ -269,6 +269,7 @@ public class PaperService {
|
269
|
269
|
* @date 2020/6/9
|
270
|
270
|
*/
|
271
|
271
|
public Integer delPaper(TPaper paper) {
|
|
272
|
+ Integer result = paperMapper.delPaper(paper.getPaperid());
|
272
|
273
|
List<TPaperFile> pfilelist = paperFileService.listObjsByPaperid(paper.getPaperid());//获取作业文件夹
|
273
|
274
|
if (N_Utils.isListNotEmpty(pfilelist)) {
|
274
|
275
|
List<String> resourceUrls = new ArrayList<>();
|
|
@@ -282,7 +283,7 @@ public class PaperService {
|
282
|
283
|
messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
|
283
|
284
|
}
|
284
|
285
|
|
285
|
|
- return paperMapper.delPaper(paper.getPaperid());
|
|
286
|
+ return result;
|
286
|
287
|
}
|
287
|
288
|
|
288
|
289
|
/**
|