관리자 > (메인)검수등록대기건수 > 검수등록완료 목록 - 검색 동작(페이지 안 넘어가는 현상) 수정
- list 에 조건 처리 추가하여 count와 목록 건수 맞춤main
parent
4e571c6525
commit
4b8c156220
|
|
@ -89,9 +89,27 @@
|
|||
TEMP_MANAGE_STATE OB
|
||||
WHERE T.PROJECT_CODE = OB.PROJECT_CODE(+)
|
||||
|
||||
<if test="srchReportType != null and srchReportType != '' and srchReportType != 'null'">
|
||||
AND T.REPORT_TYPE = #{srchReportType}
|
||||
</if>
|
||||
<if test="searchProjectName != null and searchProjectName != '' and searchProjectName != 'null'">
|
||||
AND T.PROJECT_NAME LIKE '%${searchProjectName}%'
|
||||
</if>
|
||||
<if test="searchProjectCode != null and searchProjectCode != '' and searchProjectCode != 'null'">
|
||||
AND T.PROJECT_CODE LIKE '%${searchProjectCode}%'
|
||||
</if>
|
||||
<if test="searchUserName != null and searchUserName != '' and searchUserName != 'null'">
|
||||
AND T.USER_NAME = #{searchUserName}
|
||||
</if>
|
||||
<if test="searchCreateName != null and searchCreateName != '' and searchCreateName != 'null'">
|
||||
AND T.CREATE_NAME = #{searchCreateName}
|
||||
</if>
|
||||
<if test="searchHistSeq != null and searchHistSeq != '' and searchHistSeq != 'null'">
|
||||
AND OB.HIST_SEQ = #{searchHistSeq}
|
||||
</if>
|
||||
<if test="LoginUserId != 'admin_user' and LoginUserId != null and LoginUserId != '' and cls != 65535 ">
|
||||
AND T.PROJECT_MASTER_COMPANY_O_CODE = (SELECT MASTER_COMPANY_CODE FROM WEB_MEMBER_IN WHERE USERID = #{LoginUserId})
|
||||
</if>
|
||||
) A
|
||||
WHERE
|
||||
A.RNK BETWEEN #{firstIndex} + 1 AND #{firstIndex} + #{recordCountPerPage}
|
||||
|
|
|
|||
Loading…
Reference in New Issue