|
@@ -602,9 +602,9 @@ public class TaskLogicServiceImpl implements TaskLogicService {
|
|
|
// createPdfUtil.deleteAttachment(attachmentIds, ftlList);
|
|
|
} catch (Exception e) {
|
|
|
log.error(SystemConstant.LOG_ERROR, e);
|
|
|
-// if (Objects.nonNull(dictionaryConfig.sysDomain()) && dictionaryConfig.sysDomain().isOss()) {
|
|
|
- basicAttachmentService.batchDeleteAttachment(basicAttachmentList);
|
|
|
-// }
|
|
|
+ if (Objects.nonNull(dictionaryConfig.sysDomain()) && dictionaryConfig.sysDomain().isOss()) {
|
|
|
+ basicAttachmentService.batchDeleteAttachment(basicAttachmentList);
|
|
|
+ }
|
|
|
if (e instanceof ApiException) {
|
|
|
ResultUtil.error((ApiException) e, e.getMessage());
|
|
|
} else {
|