diff --git a/dl-module-repair/src/main/java/cn/iocoder/yudao/common/MessageSend.java b/dl-module-repair/src/main/java/cn/iocoder/yudao/common/MessageSend.java deleted file mode 100644 index 6792d8c3..00000000 --- a/dl-module-repair/src/main/java/cn/iocoder/yudao/common/MessageSend.java +++ /dev/null @@ -1,20 +0,0 @@ -package cn.iocoder.yudao.common; - -import cn.iocoder.yudao.module.system.api.notify.NotifyMessageSendApi; -import org.springframework.stereotype.Component; - -import javax.annotation.Resource; - -/** - * 用于发送消息 - * - * @author 小李 - * @date 17:15 2024/10/9 -**/ -@Component -public class MessageSend { - - @Resource - private NotifyMessageSendApi messageSendApi; - -} diff --git a/dl-module-repair/src/main/java/cn/iocoder/yudao/common/dto/MessageDTO.java b/dl-module-repair/src/main/java/cn/iocoder/yudao/common/dto/MessageDTO.java deleted file mode 100644 index b0c9e67a..00000000 --- a/dl-module-repair/src/main/java/cn/iocoder/yudao/common/dto/MessageDTO.java +++ /dev/null @@ -1,21 +0,0 @@ -package cn.iocoder.yudao.common.dto; - -import lombok.Data; - -/** - * 用于发消息 - * - * @author 小李 - * @date 17:34 2024/10/9 -**/ -@Data -public class MessageDTO { - - /** 接收方id 来自system_users */ - private Long userId; - - /** 使用的模板code */ - private String templateCode; - - -} diff --git a/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/utils/RedissonDelayQueue.java b/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/utils/RedissonDelayQueue.java index 0f31807a..4cf692c9 100644 --- a/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/utils/RedissonDelayQueue.java +++ b/dl-module-rescue/src/main/java/cn/iocoder/yudao/module/rescue/utils/RedissonDelayQueue.java @@ -1,18 +1,13 @@ package cn.iocoder.yudao.module.rescue.utils; -import cn.hutool.extra.spring.SpringUtil; import cn.iocoder.yudao.framework.tenant.core.context.TenantContextHolder; import cn.iocoder.yudao.module.appBase.domain.SysAnnouncement; import cn.iocoder.yudao.module.appBase.service.ISysAnnouncementService; import cn.iocoder.yudao.module.constant.UserConstants; import cn.iocoder.yudao.module.rescue.dto.TaskDto; import cn.iocoder.yudao.module.system.api.permission.PermissionApi; -import cn.iocoder.yudao.module.system.api.permission.RoleApi; -import cn.iocoder.yudao.module.system.api.permission.dto.RoleReqDTO; import cn.iocoder.yudao.module.system.dal.dataobject.permission.RoleDO; -import cn.iocoder.yudao.module.system.service.permission.PermissionService; import cn.iocoder.yudao.module.system.service.permission.RoleService; -import cn.iocoder.yudao.module.system.service.user.AdminUserService; import com.alibaba.fastjson.JSON; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j;