From d454a2a51c9f2b5fd3e432da762dd114b903c11b Mon Sep 17 00:00:00 2001 From: tiger_zhou <123456> Date: Wed, 19 Oct 2022 13:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=9D=83=E9=99=90=E5=88=86=E5=8F=91?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/permission/PermissionSubject.java | 13 +++++------- .../IPermissionDistributeService.java | 20 ------------------- .../permission/IPermissionSubjectService.java | 4 ---- .../PermissionDistributeServiceImpl.java | 20 ------------------- .../PermissionSubjectServiceImpl.java | 14 ------------- 5 files changed, 5 insertions(+), 66 deletions(-) delete mode 100644 src/main/java/club/joylink/rtss/services/permission/IPermissionDistributeService.java delete mode 100644 src/main/java/club/joylink/rtss/services/permission/IPermissionSubjectService.java delete mode 100644 src/main/java/club/joylink/rtss/services/permission/PermissionDistributeServiceImpl.java delete mode 100644 src/main/java/club/joylink/rtss/services/permission/PermissionSubjectServiceImpl.java diff --git a/src/main/java/club/joylink/rtss/entity/permission/PermissionSubject.java b/src/main/java/club/joylink/rtss/entity/permission/PermissionSubject.java index 386a62f5a..80f4aca45 100644 --- a/src/main/java/club/joylink/rtss/entity/permission/PermissionSubject.java +++ b/src/main/java/club/joylink/rtss/entity/permission/PermissionSubject.java @@ -1,6 +1,7 @@ package club.joylink.rtss.entity.permission; import java.io.Serializable; +import java.time.LocalDateTime; import java.util.Date; import lombok.Data; @@ -53,27 +54,23 @@ public class PermissionSubject implements Serializable { /** * 开始时间 */ - private Date startTime; + private LocalDateTime startTime; /** * 结束时间 */ - private Date endTime; + private LocalDateTime endTime; /** * 创建时间 */ - private Date createTime; - - /** - * 来自对应的分发id(rts_permission_distribute) - */ - private Long distributeId; + private LocalDateTime createTime; /** * 来自对应的分发id(rts_permission_distribute) */ private Long distributeId; +; private static final long serialVersionUID = 1L; } diff --git a/src/main/java/club/joylink/rtss/services/permission/IPermissionDistributeService.java b/src/main/java/club/joylink/rtss/services/permission/IPermissionDistributeService.java deleted file mode 100644 index 5fe6d353e..000000000 --- a/src/main/java/club/joylink/rtss/services/permission/IPermissionDistributeService.java +++ /dev/null @@ -1,20 +0,0 @@ -package club.joylink.rtss.services.permission; - -import club.joylink.rtss.vo.LoginUserInfoVO; -import club.joylink.rtss.vo.permission.PermissionDistributeVO; - -public interface IPermissionDistributeService { - - /** - * 分发权限 - * @param vo - * @param userInfoVO - */ - void distributePermission(PermissionDistributeVO vo , LoginUserInfoVO userInfoVO); - - /** - * 领取权限 - */ - void requestDistributePer(); - -} diff --git a/src/main/java/club/joylink/rtss/services/permission/IPermissionSubjectService.java b/src/main/java/club/joylink/rtss/services/permission/IPermissionSubjectService.java deleted file mode 100644 index 203327a77..000000000 --- a/src/main/java/club/joylink/rtss/services/permission/IPermissionSubjectService.java +++ /dev/null @@ -1,4 +0,0 @@ -package club.joylink.rtss.services.permission; - -public interface IPermissionSubjectService { -} diff --git a/src/main/java/club/joylink/rtss/services/permission/PermissionDistributeServiceImpl.java b/src/main/java/club/joylink/rtss/services/permission/PermissionDistributeServiceImpl.java deleted file mode 100644 index 8ddea4d15..000000000 --- a/src/main/java/club/joylink/rtss/services/permission/PermissionDistributeServiceImpl.java +++ /dev/null @@ -1,20 +0,0 @@ -package club.joylink.rtss.services.permission; - -import club.joylink.rtss.dao.permission.PermissionDistributeDAO; -import club.joylink.rtss.services.QRCodeManager; -import lombok.extern.slf4j.Slf4j; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; - -@Service -@Slf4j -public class PermissionDistributeServiceImpl implements IPermissionDistributeService{ - @Resource - private PermissionDistributeDAO distributeDAO; - @Resource - private QRCodeManager qrCodeManager; - - - -} diff --git a/src/main/java/club/joylink/rtss/services/permission/PermissionSubjectServiceImpl.java b/src/main/java/club/joylink/rtss/services/permission/PermissionSubjectServiceImpl.java deleted file mode 100644 index 143bd6f77..000000000 --- a/src/main/java/club/joylink/rtss/services/permission/PermissionSubjectServiceImpl.java +++ /dev/null @@ -1,14 +0,0 @@ -package club.joylink.rtss.services.permission; - -import club.joylink.rtss.dao.permission.PermissionSubjectDAO; -import lombok.extern.slf4j.Slf4j; -import org.springframework.stereotype.Service; - -import javax.annotation.Resource; - -@Service -@Slf4j -public class PermissionSubjectServiceImpl implements IPermissionSubjectService{ - @Resource - private PermissionSubjectDAO subjectDAO; -}