From cf492b0e293506e84e2085947f5037524b75390c Mon Sep 17 00:00:00 2001 From: TaehunPark Date: Mon, 30 Jan 2023 17:18:53 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=82=AC=EA=B1=B4=EB=B3=B4=EA=B3=A0?= =?UTF-8?q?=EC=84=9C=20=EC=97=B0=EA=B4=80=EB=B3=B4=EA=B3=A0=EC=84=9C=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=AC=20=EC=95=88=EB=82=98=EC=98=A4=EB=8A=94?= =?UTF-8?q?=EA=B1=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../faisp/main/ivsgtMgt/boardInvestigation/IvsgtController.java | 2 +- src/main/resources/mybatisMapper/BoardInvestigationMapper.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/dbnt/faisp/main/ivsgtMgt/boardInvestigation/IvsgtController.java b/src/main/java/com/dbnt/faisp/main/ivsgtMgt/boardInvestigation/IvsgtController.java index af3afa0f..5ec9756d 100644 --- a/src/main/java/com/dbnt/faisp/main/ivsgtMgt/boardInvestigation/IvsgtController.java +++ b/src/main/java/com/dbnt/faisp/main/ivsgtMgt/boardInvestigation/IvsgtController.java @@ -85,7 +85,7 @@ public class IvsgtController { ModelAndView mav = new ModelAndView("ivsgt/searchViewModal"); mav.addObject("userSeq",loginUser.getUserSeq()); //메뉴권한 확인 - mav.addObject("accessAuth", authMgtService.selectAccessConfigList(loginUser.getUserSeq(), "/ivsgt/"+boardInvestigation.getIvsgtType()).get(0).getAccessAuth()); + mav.addObject("accessAuth", authMgtService.selectAccessConfigList(loginUser.getUserSeq(), "/ivsgt/arrest").get(0).getAccessAuth()); boardInvestigation.setIvsgtType(null); mav.addObject("boardInvestigationList", boardInvestigationService.selectBoardInvestigationList(boardInvestigation)); diff --git a/src/main/resources/mybatisMapper/BoardInvestigationMapper.xml b/src/main/resources/mybatisMapper/BoardInvestigationMapper.xml index 38925f88..d31fa126 100644 --- a/src/main/resources/mybatisMapper/BoardInvestigationMapper.xml +++ b/src/main/resources/mybatisMapper/BoardInvestigationMapper.xml @@ -6,10 +6,12 @@ + and a.wrt_organ in #{organCd} + AND ivsgt_type = #{ivsgtType}