clean code
This commit is contained in:
parent
ff32992c8d
commit
97227974e4
|
|
@ -13,14 +13,12 @@ import org.aspectj.lang.ProceedingJoinPoint;
|
|||
import org.aspectj.lang.annotation.Around;
|
||||
import org.aspectj.lang.annotation.Aspect;
|
||||
import org.aspectj.lang.reflect.MethodSignature;
|
||||
import org.junit.jupiter.api.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Aspect
|
||||
@Component
|
||||
@Order(1)
|
||||
public class FilePermissionCheckAspect {
|
||||
|
||||
@Resource
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import org.aspectj.lang.ProceedingJoinPoint;
|
|||
import org.aspectj.lang.annotation.Around;
|
||||
import org.aspectj.lang.annotation.Aspect;
|
||||
import org.aspectj.lang.reflect.MethodSignature;
|
||||
import org.junit.jupiter.api.Order;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.StopWatch;
|
||||
|
|
@ -20,7 +19,6 @@ import java.util.Objects;
|
|||
@Aspect
|
||||
@Component
|
||||
@Slf4j
|
||||
@Order(0)
|
||||
public class ServiceAspect {
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ import org.springframework.transaction.annotation.Transactional;
|
|||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.File;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
|
|
|
|||
|
|
@ -379,6 +379,7 @@ public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements Ro
|
|||
|
||||
/**
|
||||
* 获取系统层级和库层级
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
private List<EdFileInfo> getSysAndRepo() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue