mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-12 01:34:19 +09:00
배치 모니터링 리스트 백엔드
This commit is contained in:
@@ -248,5 +248,12 @@ public class SysMgtController {
|
||||
|
||||
return sysService.updateAuth(updateAuthReqDto, regId);
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping(value = "/batchList", method = {RequestMethod.POST})
|
||||
@ResponseBody
|
||||
public Object batchList() {
|
||||
return sysService.batchList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package kr.co.uplus.ez.api.sysMgt;
|
||||
|
||||
import kr.co.uplus.ez.api.comm.dto.BatchChkDto;
|
||||
import kr.co.uplus.ez.api.sysMgt.dto.*;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@@ -44,4 +45,8 @@ public interface SysMgtMapper {
|
||||
int deleteAuthMenu(Map<String, Object> paramMap); // 권한메뉴 삭제
|
||||
|
||||
int checkAdmin(Map<String, Object> paramMap);
|
||||
|
||||
public List<BatchList> batchListSelect();
|
||||
|
||||
public List<BatchChkDto> batchDetailSelect();
|
||||
}
|
||||
@@ -404,4 +404,18 @@ public class SysMgtService {
|
||||
return new UpdateAuthResDto(ApiResponseCode.SUCCESS);
|
||||
}
|
||||
|
||||
public BatchListResDto batchList() {
|
||||
|
||||
SysMgtMapper sysmgtmapper = sqlSessionSlave.getMapper(SysMgtMapper.class);
|
||||
|
||||
List<BatchList> batchLists = sysmgtmapper.batchListSelect();
|
||||
|
||||
BatchListRes batchListRes = new BatchListRes();
|
||||
batchListRes.setList(batchLists);
|
||||
|
||||
|
||||
return new BatchListResDto(ApiResponseCode.SUCCESS, batchListRes);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user