fix : 사건보고서 연관보고서 모달 안나오는거 수정

master
TaehunPark 2023-01-30 17:18:53 +09:00
parent 315db4b5cf
commit cf492b0e29
2 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class IvsgtController {
ModelAndView mav = new ModelAndView("ivsgt/searchViewModal"); ModelAndView mav = new ModelAndView("ivsgt/searchViewModal");
mav.addObject("userSeq",loginUser.getUserSeq()); 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); boardInvestigation.setIvsgtType(null);
mav.addObject("boardInvestigationList", boardInvestigationService.selectBoardInvestigationList(boardInvestigation)); mav.addObject("boardInvestigationList", boardInvestigationService.selectBoardInvestigationList(boardInvestigation));

View File

@ -6,10 +6,12 @@
<mapper namespace="com.dbnt.faisp.main.ivsgtMgt.boardInvestigation.mapper.BoardInvestigationMapper"> <mapper namespace="com.dbnt.faisp.main.ivsgtMgt.boardInvestigation.mapper.BoardInvestigationMapper">
<sql id="selectBoardInvestigationListWhere"> <sql id="selectBoardInvestigationListWhere">
<where> <where>
<if test='downOrganCdList != null'>
and a.wrt_organ in and a.wrt_organ in
<foreach collection="downOrganCdList" item="organCd" separator="," open="(" close=")"> <foreach collection="downOrganCdList" item="organCd" separator="," open="(" close=")">
#{organCd} #{organCd}
</foreach> </foreach>
</if>
<if test='ivsgtType != null and ivsgtType != ""'> <if test='ivsgtType != null and ivsgtType != ""'>
AND ivsgt_type = #{ivsgtType} AND ivsgt_type = #{ivsgtType}
</if> </if>