배치 모니터링 리스트 백엔드

This commit is contained in:
Leeminha
2022-10-25 18:20:47 +09:00
parent 466640c419
commit a6201ffd11
4 changed files with 140 additions and 0 deletions

View File

@@ -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();
}
}

View File

@@ -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();
}

View File

@@ -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);
}
}