Merge branch 'JIWOO'
This commit is contained in:
commit
926bd534c0
@ -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">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user