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