이지우 - 관리자 관리(기존 전자조정 소스) 작업 중
This commit is contained in:
parent
c8f0b8e651
commit
d14441b4cc
@ -207,14 +207,9 @@ public class EgovUserManageController {
|
||||
List<?> resultList = userManageService.selectUserList(userSearchVO) ;
|
||||
model.addAttribute("resultList", resultList);
|
||||
//paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((Long)((EgovMap)resultList.get(0)).get("totCnt")).intValue() : 0);
|
||||
paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totCnt")) : 0);
|
||||
paginationInfo.setTotalRecordCount( resultList.size()> 0 ? ((int)((EgovMap)resultList.get(0)).get("totcnt")) : 0);
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
//사용자상태코드를 코드정보로부터 조회
|
||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
||||
vo.setCodeId("COM038");
|
||||
model.addAttribute("emplyrSttusCode_result", cmmUseService.selectCmmCodeDetail(vo));//사용자상태코드목록
|
||||
|
||||
//권한조회
|
||||
AuthorManageVO authorManageVO = new AuthorManageVO();
|
||||
authorManageVO.setFirstIndex(0);
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
<sqlMapConfig>
|
||||
<sqlMap resource="egovframework/sqlmap/let/uss/umt/EgovUserManage_SQL_Oracle.xml"/>
|
||||
<sqlMap resource="egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Oracle.xml"/><!-- 회원가입 config 추가 -->
|
||||
<sqlMap resource="egovframework/sqlmap/let/uss/ion/sign/SignManage_SQL_Oracle.xml"/><!-- 결제 추가 -->
|
||||
<!-- <sqlMap resource="egovframework/sqlmap/let/uss/umt/EgovMberManage_SQL_Oracle.xml"/> --><!-- 회원가입 config 추가 -->
|
||||
<!-- <sqlMap resource="egovframework/sqlmap/let/uss/ion/sign/SignManage_SQL_Oracle.xml"/> --><!-- 결제 추가 -->
|
||||
|
||||
</sqlMapConfig>
|
||||
|
||||
@ -19,83 +19,76 @@
|
||||
</select>
|
||||
|
||||
<select id="userManageDAO.selectUserList_S" parameterClass="userSearchVO" resultClass="egovMap">
|
||||
SELECT
|
||||
COUNT(uniqId) OVER() AS totCnt ,
|
||||
uniqId, userTy, userId , userNm, emailAdres, areaNo, middleTelno, endTelno, moblphonNo, groupId, sttus,
|
||||
offmTelno ,
|
||||
DATE_FORMAT(sbscrbDe, '%Y-%m-%d') sbscrbDe,
|
||||
B.AUTHOR_CODE as authorCode,
|
||||
E.AUTHOR_NM as authorCodeTxt,
|
||||
A.emplyrSttusCode,
|
||||
F.CODE_NM as emplyrSttusCodeTxt,
|
||||
A.PART_IDX AS partIdx ,
|
||||
G.LOC_NM AS partIdxTxt,
|
||||
A.OFCPS_NM AS ofcpsNm,
|
||||
FXNUM AS fxNum ,
|
||||
USER_WORK AS userWork
|
||||
FROM(
|
||||
SELECT
|
||||
ESNTL_ID uniqId,
|
||||
'USR03' userTy,
|
||||
EMPLYR_ID userId,
|
||||
USER_NM userNm,
|
||||
EMAIL_ADRES emailAdres,
|
||||
AREA_NO areaNo,
|
||||
HOUSE_MIDDLE_TELNO middleTelno,
|
||||
HOUSE_END_TELNO endTelno,
|
||||
MBTLNUM moblphonNo,
|
||||
GROUP_ID groupId,
|
||||
EMPLYR_STTUS_CODE sttus,
|
||||
OFFM_TELNO offmTelno,
|
||||
SBSCRB_DE sbscrbDe,
|
||||
C.EMPLYR_STTUS_CODE AS emplyrSttusCode,
|
||||
PART_IDX,
|
||||
OFCPS_NM,
|
||||
FXNUM ,
|
||||
USER_WORK
|
||||
FROM LETTNEMPLYRINFO C
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="emplyrSttusCode">
|
||||
AND C.EMPLYR_STTUS_CODE = #emplyrSttusCode#
|
||||
</isNotEmpty>
|
||||
|
||||
) A LEFT JOIN LETTNEMPLYRSCRTYESTBS B ON A.uniqId = B.SCRTY_DTRMN_TRGET_ID
|
||||
LEFT JOIN LETTNAUTHORINFO E ON B.AUTHOR_CODE = E.AUTHOR_CODE
|
||||
LEFT JOIN
|
||||
( SELECT CODE_NM , CODE FROM LETTCCMMNDETAILCODE WHERE USE_AT = 'Y' /** 회원상태 코드 */
|
||||
AND CODE_ID = 'COM013'
|
||||
) F ON A.emplyrSttusCode = F.CODE
|
||||
LEFT JOIN ITSM_LOC G ON A.PART_IDX = G.LOC_NO
|
||||
WHERE 1=1
|
||||
<isNotEqual prepend="AND" property="sbscrbSttus" compareValue="0">
|
||||
sttus = #sbscrbSttus#
|
||||
</isNotEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="0">
|
||||
userId LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
userNm LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||
( userNm LIKE CONCAT('%',#searchKeyword#,'%') OR userId LIKE CONCAT('%',#searchKeyword#,'%'))
|
||||
</isEqual>
|
||||
<isNotEmpty property="searchConditionSite">
|
||||
AND A.siteId = #searchConditionSite#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="courtYn">
|
||||
<isEqual property="courtYn" compareValue="Y">
|
||||
AND B.AUTHOR_CODE = 'ROLE_COURT_ADMIN'
|
||||
</isEqual>
|
||||
</isNotEmpty>
|
||||
|
||||
ORDER BY 1=1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
,$searchSortCnd$
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchSortOrd">
|
||||
$searchSortOrd$
|
||||
</isNotEmpty>
|
||||
LIMIT #recordCountPerPage# OFFSET #firstIndex#
|
||||
SELECT *
|
||||
FROM (
|
||||
SELECT
|
||||
COUNT(uniqId) OVER() AS totCnt ,
|
||||
uniqId, userTy, userId , userNm, emailAdres, areaNo, middleTelno, endTelno, moblphonNo, groupId, sttus,
|
||||
offmTelno ,
|
||||
TO_CHAR(sbscrbDe, 'YYYY-MM-DD') sbscrbDe,
|
||||
B.AUTHOR_CODE as authorCode,
|
||||
E.AUTHOR_NM as authorCodeTxt,
|
||||
A.emplyrSttusCode,
|
||||
A.PART_IDX AS partIdx ,
|
||||
A.OFCPS_NM AS ofcpsNm,
|
||||
FXNUM AS fxNum ,
|
||||
USER_WORK AS userWork,
|
||||
ROWNUM AS rnum
|
||||
FROM(
|
||||
SELECT
|
||||
ESNTL_ID uniqId,
|
||||
'USR03' userTy,
|
||||
EMPLYR_ID userId,
|
||||
USER_NM userNm,
|
||||
EMAIL_ADRES emailAdres,
|
||||
AREA_NO areaNo,
|
||||
HOUSE_MIDDLE_TELNO middleTelno,
|
||||
HOUSE_END_TELNO endTelno,
|
||||
MBTLNUM moblphonNo,
|
||||
GROUP_ID groupId,
|
||||
EMPLYR_STTUS_CODE sttus,
|
||||
OFFM_TELNO offmTelno,
|
||||
SBSCRB_DE sbscrbDe,
|
||||
C.EMPLYR_STTUS_CODE AS emplyrSttusCode,
|
||||
PART_IDX,
|
||||
OFCPS_NM,
|
||||
FXNUM ,
|
||||
USER_WORK
|
||||
FROM LETTNEMPLYRINFO C
|
||||
WHERE 1=1
|
||||
<isNotEmpty property="emplyrSttusCode">
|
||||
AND C.EMPLYR_STTUS_CODE = #emplyrSttusCode#
|
||||
</isNotEmpty>
|
||||
|
||||
) A LEFT JOIN LETTNEMPLYRSCRTYESTBS B ON A.uniqId = B.SCRTY_DTRMN_TRGET_ID
|
||||
LEFT JOIN LETTNAUTHORINFO E ON B.AUTHOR_CODE = E.AUTHOR_CODE
|
||||
<![CDATA[
|
||||
WHERE ROWNUM <= (#firstIndex# + #recordCountPerPage#)
|
||||
]]>
|
||||
<isNotEqual prepend="AND" property="sbscrbSttus" compareValue="0">
|
||||
sttus = #sbscrbSttus#
|
||||
</isNotEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="0">
|
||||
userId LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="1">
|
||||
userNm LIKE CONCAT('%',#searchKeyword#,'%')
|
||||
</isEqual>
|
||||
<isEqual prepend="AND" property="searchCondition" compareValue="">
|
||||
( userNm LIKE CONCAT('%',#searchKeyword#,'%') OR userId LIKE CONCAT('%',#searchKeyword#,'%'))
|
||||
</isEqual>
|
||||
<isNotEmpty property="searchConditionSite">
|
||||
AND A.siteId = #searchConditionSite#
|
||||
</isNotEmpty>
|
||||
ORDER BY 1
|
||||
<isNotEmpty property="searchSortCnd">
|
||||
,$searchSortCnd$
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="searchSortOrd">
|
||||
$searchSortOrd$
|
||||
</isNotEmpty>
|
||||
)
|
||||
WHERE rnum > #firstIndex#
|
||||
</select>
|
||||
|
||||
<select id="userManageDAO.selectUserListTotCnt_S" parameterClass="userSearchVO" resultClass="int">
|
||||
|
||||
@ -6,37 +6,6 @@
|
||||
</Console>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Logger name="org.apache" level="ERROR"></Logger>
|
||||
<Logger name="org.springframework" level="ERROR"></Logger>
|
||||
|
||||
<Logger name="egovframework" level="ERROR"></Logger>
|
||||
<Logger name="egovframework.rte" level="ERROR"></Logger>
|
||||
|
||||
<Logger name="com.ibatis.sqlmap" level="ERROR"></Logger>
|
||||
|
||||
|
||||
<Logger name="egovframework.let" level="DEBUG"></Logger>
|
||||
<Logger name="egovframework.com.cmm" level="DEBUG"></Logger>
|
||||
<Logger name="egovframework.kccadr" level="DEBUG"></Logger>
|
||||
|
||||
<Logger name="jdbc.sqlonly" level="DEBUG">
|
||||
<RegexFilter regex="(?s).*NOT_SQL_LOG.*" onMatch="DENY" onMismatch="NEUTRAL" useRawMsg="true" />
|
||||
</Logger>
|
||||
|
||||
<Logger name="jdbc.sqltiming" level="WARN" additivity="false">
|
||||
<AppenderRef ref="console" />
|
||||
</Logger>
|
||||
|
||||
<Logger name="jdbc.audit" level="OFF"></Logger>
|
||||
<Logger name="jdbc.resultset" level="OFF"></Logger>
|
||||
<Logger name="jdbc.resultsettable" level="OFF"></Logger>
|
||||
<Logger name="jdbc.connection" level="OFF"></Logger>
|
||||
<logger name="java.sql.ResultSet" level="OFF"></logger>
|
||||
<logger name="java.sql.PreparedStatement" level="OFF"></logger>
|
||||
<logger name="java.sql.Connection" level="OFF"></logger>
|
||||
<logger name="org.quartz.core.QuartzSchedulerThread" level="OFF"></logger>
|
||||
<logger name="log4jdbc.debug" level="OFF"></logger>
|
||||
<logger name="org.apache.http.impl.conn.PoolingHttpClientConnectionManager" level="OFF"></logger>
|
||||
|
||||
<Root level="DEBUG">
|
||||
<AppenderRef ref="console" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user