fix: 생성자주입 annotation fix

VO fix - BaseVO 상속 제거
     import 정리
main
minuk926 2 years ago
parent b0eb4a66da
commit 21f7fcf25f

@ -19,7 +19,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Service
public class AuthAuthorMgtServiceImpl implements AuthAuthorMgtService {
private AuthAuthorMgtMapper mapper;
private final AuthAuthorMgtMapper mapper;
/** 부모 권한코드 */
private static final String PARNTS_AUTHOR = "ROLE_USER";

@ -46,13 +46,12 @@ import lombok.RequiredArgsConstructor;
@RequestMapping("/framework/biz/mng/auth")
public class AuthHierarchyMgtController {
private AuthHierarchyMgtService service;
private AuthAuthorMgtService authAuthorMgtService;
private final AuthHierarchyMgtService service;
private final AuthAuthorMgtService authAuthorMgtService;
private EgovSecuredObjectService egovSecuredObjectService;
private RoleHierarchyImpl roleHierarchyImpl;
private EgovJdbcUserDetailsManager egovJdbcUserDetailsManager;
private final EgovSecuredObjectService egovSecuredObjectService;
private final RoleHierarchyImpl roleHierarchyImpl;
private final EgovJdbcUserDetailsManager egovJdbcUserDetailsManager;
/**

@ -1,14 +1,15 @@
package kr.xit.framework.support.mybatis;
import kr.xit.framework.support.mybatis.paging.domain.Order;
import kr.xit.framework.support.mybatis.paging.domain.PageBounds;
import kr.xit.framework.support.util.Checks;
import org.apache.ibatis.session.RowBounds;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map;
import org.apache.ibatis.session.RowBounds;
import kr.xit.framework.support.mybatis.paging.domain.Order;
import kr.xit.framework.support.mybatis.paging.domain.PageBounds;
import kr.xit.framework.support.util.Checks;
public class MybatisUtils{
public static <T> RowBounds getPagingInfo(Map<String,Object> map){
if(Checks.isEmpty(map)){
@ -30,10 +31,10 @@ public class MybatisUtils{
}
try {
Method pageMethod = cls.getClass().getMethod("getPage");
page = (Integer)pageMethod.invoke(cls, null);
if(!Checks.isEmpty(pageMethod)) page = (Integer)pageMethod.invoke(cls, null);
Method limitMethod = cls.getClass().getMethod("getPerPage");
limit = (Integer)limitMethod.invoke(cls, null);
if(!Checks.isEmpty(limitMethod)) limit = (Integer)limitMethod.invoke(cls, null);
} catch (IllegalAccessException ex) {
throw new RuntimeException(ex);
} catch (NoSuchMethodException e) {

Loading…
Cancel
Save