| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
- oracle
- 스크래치
- 라즈베리파이
- 파주
- 코딩
- Spring Security
- 잡토이 메이킹 코딩 학원
- 운정
- 톰캣
- html5
- MSSQL
- jsp
- 유니티
- 오라클
- jobtoy
- 리브레캐드
- 설정
- mysql
- librecad
- Android
- 예제
- Unity
- 아두이노
- 강좌
- 시작하기
- 설치
- s4a
- 잡토이
- tomcat
- 안드로이드
- Today
- Total
랩제이
ibatis 쿼리 순서 본문
<!-- auth grp cd 목록 -->
<select id="authGrpCd" parameterClass="java.util.Map" resultClass="hashmap">
<![CDATA[
select auth_grp_cd, auth_grp_nm, auth_type from auth_grp
where use_yn = 'Y'
order by app_gubun asc
]]>
</select>
@SuppressWarnings("unchecked")
@Override
public List<HashMap<String,Object>> getAuthGrpCdList(Map<String, Object> condition) throws Exception {
return (List<HashMap<String,Object>>)sqlMap.queryForList("admin.authGrpCd",condition);
}
public List<HashMap<String,Object>> getAuthGrpCdList(Map<String, Object> condition) throws Exception {
return adminDao.getAuthGrpCdList(condition);
}
// auth grp cd 목록 가져오기
List<HashMap<String, Object>> authGrpCdList = adminService.getAuthGrpCdList(condition);
<c:set var="authGrpCd_sel" value="${authGrpCd_sel}" />
<c:forEach items="${authGrpCdList}" var="authGrpCd">
<option value="${authGrpCd.auth_grp_cd}" <c:if test="${auth_grp_cd eq authGrpCd.auth_grp_cd}" >selected="selected"</c:if> >${authGrpCd.auth_grp_nm}</option>
</c:forEach>
'programming > spring_security' 카테고리의 다른 글
| 생각하나 (0) | 2017.07.12 |
|---|---|
| [Spring Security] JSP에서 userRealName 가져오기 (0) | 2017.06.09 |
| [Spring Security] MySQL 테이블 만들기 insert, Select하기 (0) | 2016.09.29 |
| [Spring Security] 페이지 이동에 대해서 (0) | 2016.09.05 |
| [Spring Security] DB에서 로그인 정보 가져오기 (5) | 2016.08.18 |