package incheon.ags.ias.authrtAplyMng.service;

import incheon.ags.ias.authrtAplyMng.vo.AuthrtAplyMngSearchVO;
import incheon.ags.ias.authrtAplyMng.vo.AuthrtAplyMngVO;

import java.util.List;
import java.util.Map;

public interface AuthrtAplyMngService {
    List<Map<String, Object>> selectUserRoleAplyList(AuthrtAplyMngSearchVO authrtAplyMngSearchVO) throws Exception;

    int selectUserRoleAplyTotalCnt(AuthrtAplyMngSearchVO authrtAplyMngSearchVO) throws Exception;

    int approveUserRoleAplyAll(List<Long> aplySnList, List<String> sysCdList, String currentUserId, String rvwOpnnCn) throws Exception;

    int rejectUserRoleAplyAll(List<Long> aplySnList, List<String> sysCdList, String currentUserId, String rvwOpnnCn) throws Exception;

    AuthrtAplyMngVO selectUserRoleAplyDetail(AuthrtAplyMngVO authrtAplyMngVO) throws Exception;

    int updateUserRoleAply(Long aplySn, List<String> roleCdList, AuthrtAplyMngVO authrtAplyMngVO, String currentUserId) throws Exception;
}
