新权限分发代码调整
This commit is contained in:
parent
4c1ce8e593
commit
d454a2a51c
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package club.joylink.rtss.services.permission;
|
||||
|
||||
public interface IPermissionSubjectService {
|
||||
}
|
@ -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;
|
||||
|
||||
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user