이지우 - 권한관리 목록 조회 수정

This commit is contained in:
JIWOO 2024-07-26 11:08:01 +09:00
parent c89b177447
commit bacb865ebd

View File

@ -27,31 +27,31 @@
<select id="authorManageDAO.selectAuthorList" parameterClass="AuthorManageVO" resultMap="author"> <select id="authorManageDAO.selectAuthorList" parameterClass="AuthorManageVO" resultMap="author">
/* authorManageDAO.selectAuthorList */ /* authorManageDAO.selectAuthorList */
SELECT * FROM ( SELECT *
FROM (
SELECT SELECT
AUTHOR_CODE, a.*
AUTHOR_NM, , ROWNUM AS rnum
AUTHOR_DC, FROM(
AUTHOR_CREAT_DE, SELECT
SORT_NUM AUTHOR_CODE,
FROM LETTNAUTHORINFO AUTHOR_NM,
AUTHOR_DC,
AUTHOR_CREAT_DE,
SORT_NUM
FROM LETTNAUTHORINFO
ORDER BY 1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$
</isNotEmpty>
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
) a
<![CDATA[ <![CDATA[
WHERE ROWNUM <= (#firstIndex# + #recordCountPerPage#) WHERE ROWNUM <= (#firstIndex# + #recordCountPerPage#)
]]> ]]>
<isNotEmpty property="authorSet"> )WHERE rnum > #firstIndex#
AND AUTHOR_SET = #authorSet#
</isNotEmpty>
<isEqual prepend="AND" property="searchCondition" compareValue="1">
AUTHOR_NM LIKE '%'||#searchKeyword#||'%'
</isEqual>
ORDER BY 1
<isNotEmpty property="searchSortCnd">
,$searchSortCnd$
</isNotEmpty>
<isNotEmpty property="searchSortOrd">
$searchSortOrd$
</isNotEmpty>
) WHERE rnum > #firstIndex#
</select> </select>
<insert id="authorManageDAO.insertAuthor" parameterClass="AuthorManage"> <insert id="authorManageDAO.insertAuthor" parameterClass="AuthorManage">