新权限分发代码调整

This commit is contained in:
tiger_zhou 2022-10-19 13:39:25 +08:00
parent 4c1ce8e593
commit d454a2a51c
5 changed files with 5 additions and 66 deletions

View File

@ -1,6 +1,7 @@
package club.joylink.rtss.entity.permission; package club.joylink.rtss.entity.permission;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
import lombok.Data; 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; private LocalDateTime createTime;
/**
* 来自对应的分发id(rts_permission_distribute)
*/
private Long distributeId;
/** /**
* 来自对应的分发id(rts_permission_distribute) * 来自对应的分发id(rts_permission_distribute)
*/ */
private Long distributeId; private Long distributeId;
;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
} }

View File

@ -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();
}

View File

@ -1,4 +0,0 @@
package club.joylink.rtss.services.permission;
public interface IPermissionSubjectService {
}

View File

@ -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;
}

View File

@ -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;
}