이지우 - 대시보드 내용 변경

This commit is contained in:
JIWOO 2025-02-05 16:57:50 +09:00
parent 082cc1da84
commit 36e34ba34c
2 changed files with 90 additions and 90 deletions

View File

@ -22,6 +22,7 @@
<include refid="Header2"/> <include refid="Header2"/>
SELECT SELECT
A.RCEPT_NO AS RCEPT_NO, A.RCEPT_NO AS RCEPT_NO,
C.CASE_NO AS CASE_NO,
A.APPLCNT_NM AS APPLCNT_NM, A.APPLCNT_NM AS APPLCNT_NM,
(SELECT COMPANY_CEO FROM C_APPLCNT B WHERE B.RCEPT_NO = A.RCEPT_NO AND ROWNUM = 1) AS COMPANY_CEO, (SELECT COMPANY_CEO FROM C_APPLCNT B WHERE B.RCEPT_NO = A.RCEPT_NO AND ROWNUM = 1) AS COMPANY_CEO,
(SELECT APPLCNT_COMPANY FROM C_APPLCNT B WHERE B.RCEPT_NO = A.RCEPT_NO AND ROWNUM = 1) AS APPLCNT_COMPANY, (SELECT APPLCNT_COMPANY FROM C_APPLCNT B WHERE B.RCEPT_NO = A.RCEPT_NO AND ROWNUM = 1) AS APPLCNT_COMPANY,
@ -42,52 +43,54 @@
ON A.RCEPT_NO = B.VIEW_TARGET ON A.RCEPT_NO = B.VIEW_TARGET
AND B.MEMBER_ID = #{memberId} AND B.MEMBER_ID = #{memberId}
AND B.VIEW_TYPE = 'case' AND B.VIEW_TYPE = 'case'
LEFT JOIN C_MASTER C
ON C.RCEPT_NO = A.RCEPT_NO
<where> <where>
REQUEST_CHECK = '1602000000' A.REQUEST_CHECK = '1602000000'
AND (DEL_GUBUN = 'N' OR DEL_GUBUN = 'R') AND (A.DEL_GUBUN = 'N' OR A.DEL_GUBUN = 'R')
AND RCEPT_NO IS NOT NULL AND A.RCEPT_NO IS NOT NULL
<choose> <choose>
<when test='memberDept eq "1030000000" and memberPosition neq "0911000000"'><!-- 유통팀 팀장아닌 --> <when test='memberDept eq "1030000000" and memberPosition neq "0911000000"'><!-- 유통팀 팀장아닌 -->
<choose> <choose>
<when test='searchMa == "Y"'> <when test='searchMa == "Y"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NOT NULL AND A.EXAMINER_ASSIGN IS NOT NULL
</when> </when>
<when test='searchMa == "P"'> <when test='searchMa == "P"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</when> </when>
<otherwise> <otherwise>
AND STATE = '0301000000' AND A.STATE = '0301000000'
AND PRESIDENT_ASSIGN IS NULL AND A.PRESIDENT_ASSIGN IS NULL
AND PRESIDENT_ASSIGN_DT IS NULL AND A.PRESIDENT_ASSIGN_DT IS NULL
AND SCCHF_ASSIGN IS NULL AND A.SCCHF_ASSIGN IS NULL
AND SCCHF_ASSIGN_DT IS NULL AND A.SCCHF_ASSIGN_DT IS NULL
AND TIMHDER_ASSIGN IS NULL AND A.TIMHDER_ASSIGN IS NULL
AND TIMHDER_ASSIGN_DT IS NULL AND A.TIMHDER_ASSIGN_DT IS NULL
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</otherwise> </otherwise>
</choose> </choose>
</when> </when>
<when test='memberDept eq "1010000000"'><!-- 민원상담센터 --> <when test='memberDept eq "1010000000"'><!-- 민원상담센터 -->
<choose> <choose>
<when test='searchMa == "Y"'> <when test='searchMa == "Y"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NOT NULL AND A.EXAMINER_ASSIGN IS NOT NULL
</when> </when>
<when test='searchMa == "P"'> <when test='searchMa == "P"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</when> </when>
<otherwise> <otherwise>
AND STATE = '0301000000' AND A.STATE = '0301000000'
AND PRESIDENT_ASSIGN IS NULL AND A.PRESIDENT_ASSIGN IS NULL
AND PRESIDENT_ASSIGN_DT IS NULL AND A.PRESIDENT_ASSIGN_DT IS NULL
AND SCCHF_ASSIGN IS NULL AND A.SCCHF_ASSIGN IS NULL
AND SCCHF_ASSIGN_DT IS NULL AND A.SCCHF_ASSIGN_DT IS NULL
AND TIMHDER_ASSIGN IS NULL AND A.TIMHDER_ASSIGN IS NULL
AND TIMHDER_ASSIGN_DT IS NULL AND A.TIMHDER_ASSIGN_DT IS NULL
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</otherwise> </otherwise>
</choose> </choose>
</when> </when>
@ -104,57 +107,57 @@
<when test='memberDept eq "1001000000" and memberPosition eq "0903000000"'><!-- 공정거래조정원 부원장 --> <when test='memberDept eq "1001000000" and memberPosition eq "0903000000"'><!-- 공정거래조정원 부원장 -->
<choose> <choose>
<when test='searchMa == "Y"'> <when test='searchMa == "Y"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NOT NULL AND A.EXAMINER_ASSIGN IS NOT NULL
</when> </when>
<when test='searchMa == "P"'> <when test='searchMa == "P"'>
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</when> </when>
<otherwise> <otherwise>
AND STATE = '0301000000' AND A.STATE = '0301000000'
AND PRESIDENT_ASSIGN IS NULL AND A.PRESIDENT_ASSIGN IS NULL
AND PRESIDENT_ASSIGN_DT IS NULL AND A.PRESIDENT_ASSIGN_DT IS NULL
AND SCCHF_ASSIGN IS NULL AND A.SCCHF_ASSIGN IS NULL
AND SCCHF_ASSIGN_DT IS NULL AND A.SCCHF_ASSIGN_DT IS NULL
AND TIMHDER_ASSIGN IS NULL AND A.TIMHDER_ASSIGN IS NULL
AND TIMHDER_ASSIGN_DT IS NULL AND A.TIMHDER_ASSIGN_DT IS NULL
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</otherwise> </otherwise>
</choose> </choose>
</when> </when>
<when test='memberDept eq "1003000000" and memberPosition eq "0910000000"'><!-- 분쟁조정실 실장 --> <when test='memberDept eq "1003000000" and memberPosition eq "0910000000"'><!-- 분쟁조정실 실장 -->
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND PRESIDENT_ASSIGN IS NOT NULL AND A.PRESIDENT_ASSIGN IS NOT NULL
AND PRESIDENT_ASSIGN_DT IS NOT NULL AND A.PRESIDENT_ASSIGN_DT IS NOT NULL
AND SCCHF_ASSIGN IS NULL AND A.SCCHF_ASSIGN IS NULL
AND SCCHF_ASSIGN_DT IS NULL AND A.SCCHF_ASSIGN_DT IS NULL
AND TIMHDER_ASSIGN IS NULL AND A.TIMHDER_ASSIGN IS NULL
AND TIMHDER_ASSIGN_DT IS NULL AND A.TIMHDER_ASSIGN_DT IS NULL
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</when> </when>
<when test='memberPosition eq "0911000000"'><!-- 팀장 --> <when test='memberPosition eq "0911000000"'><!-- 팀장 -->
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND PRESIDENT_ASSIGN IS NOT NULL AND A.PRESIDENT_ASSIGN IS NOT NULL
AND PRESIDENT_ASSIGN_DT IS NOT NULL AND A.PRESIDENT_ASSIGN_DT IS NOT NULL
AND SCCHF_ASSIGN IS NOT NULL AND A.SCCHF_ASSIGN IS NOT NULL
AND SCCHF_ASSIGN_DT IS NOT NULL AND A.SCCHF_ASSIGN_DT IS NOT NULL
AND TIMHDER_ASSIGN = #{memberDept} AND A.TIMHDER_ASSIGN = #{memberDept}
AND EXAMINER_ASSIGN IS NULL AND A.EXAMINER_ASSIGN IS NULL
</when> </when>
<when test='memberPosition eq "0912000000"'><!-- 조사관 --> <when test='memberPosition eq "0912000000"'><!-- 조사관 -->
AND STATE = '0302000000' AND A.STATE = '0302000000'
AND PRESIDENT_ASSIGN IS NOT NULL AND A.PRESIDENT_ASSIGN IS NOT NULL
AND PRESIDENT_ASSIGN_DT IS NOT NULL AND A.PRESIDENT_ASSIGN_DT IS NOT NULL
AND SCCHF_ASSIGN IS NOT NULL AND A.SCCHF_ASSIGN IS NOT NULL
AND SCCHF_ASSIGN_DT IS NOT NULL AND A.SCCHF_ASSIGN_DT IS NOT NULL
AND SCCHF_ASSIGN = #{memberDept} AND A.SCCHF_ASSIGN = #{memberDept}
AND EXAMINER_ASSIGN IS NOT NULL AND A.EXAMINER_ASSIGN IS NOT NULL
</when> </when>
</choose> </choose>
<if test="selectPage eq 'dashboard' and memberPosition eq '0912000000'"> <!-- 조사관 대시보드 - 자기 사건만 조회 --> <if test="selectPage eq 'dashboard' and memberPosition eq '0912000000'"> <!-- 조사관 대시보드 - 자기 사건만 조회 -->
AND EXAMINER_ASSIGN = #{memberId} AND A.EXAMINER_ASSIGN = #{memberId}
</if> </if>
<if test="searchVal != null and searchVal != ''"> <if test="searchVal != null and searchVal != ''">
@ -173,10 +176,10 @@
</if> </if>
</if> </if>
<if test="searchGubun != null and searchGubun != ''"> <if test="searchGubun != null and searchGubun != ''">
AND CASE_GUBUN = #{searchGubun} AND A.CASE_GUBUN = #{searchGubun}
</if> </if>
</where> </where>
ORDER BY RCEPT_NO DESC ORDER BY A.RCEPT_NO DESC
<include refid="bottom2"/> <include refid="bottom2"/>
</select> </select>

View File

@ -103,7 +103,7 @@
<div class="box_wrap"> <div class="box_wrap">
<div class="box width3"> <div class="box width3">
<div class="title"> <div class="title">
<h2>최근 접수사건 <span><c:if test="${params.memberPosition == SeedConstants.TIMJANG }">(미배정)</c:if></span></h2> <h2>최근 접수사건 <span><c:if test="${params.memberPosition != SeedConstants.JOSAGWAN }">(미배정)</c:if></span></h2>
<button type="button" class="btn_plus" onclick="location.href='/gtm/case/trublreqstmng/administList/AdministPagingList.do'"><i></i></button> <button type="button" class="btn_plus" onclick="location.href='/gtm/case/trublreqstmng/administList/AdministPagingList.do'"><i></i></button>
</div> </div>
<ul class="box_list recent"> <ul class="box_list recent">
@ -121,8 +121,14 @@
<a href="javascript:goPage('rceptView','${rceptList.rceptNo}', '${rceptList.delGubun}');" class="${newClass}" > <a href="javascript:goPage('rceptView','${rceptList.rceptNo}', '${rceptList.delGubun}');" class="${newClass}" >
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<c:if test="${params.memberPosition == SeedConstants.JOSAGWAN }">
<span class="list_title">${rceptList.caseNo}</span>
</c:if>
<c:if test="${params.memberPosition != SeedConstants.JOSAGWAN }">
<span class="list_title">${rceptList.rceptNo}</span> <span class="list_title">${rceptList.rceptNo}</span>
</c:if>
<span class="list_writer">${rceptList.applcntCompany}</span> <span class="list_writer">${rceptList.applcntCompany}</span>
<span class="list_writer">${rceptList.respondentCompany}</span>
<span class="list_date">${rceptList.regDt}</span> <span class="list_date">${rceptList.regDt}</span>
</a> </a>
</li> </li>
@ -140,30 +146,21 @@
<!-- <a href="#"> --> <!-- <a href="#"> -->
<a href="javascript:void(0);" onclick="goPage('TP_RCEPTEDIT', '${caseList.caseNo}', '')"> <a href="javascript:void(0);" onclick="goPage('TP_RCEPTEDIT', '${caseList.caseNo}', '')">
<span class="list_title">· <c:out value="${caseList.caseNo}"/></span> <span class="list_title">· <c:out value="${caseList.caseNo}"/></span>
<c:if test="${params.memberPosition == SeedConstants.JOSAGWAN }">
<span class="list_writer"> <span class="list_writer">
<!-- 250124 신청인 > 조사관으로 변경 --> <c:out value="${caseList.applcntCompany}"/>
<%-- <c:set var="ceoName" value=""/> </span>
<c:choose> <span class="list_writer">
<c:when test='${caseList.companyGubun eq "1301000000" && caseList.companyCeo ne null && caseList.companyCeo ne ""}'> <c:out value="${caseList.respondentCompany}"/>
<c:set var="ceoName" value="${caseList.companyCeo}"/> </span>
<c:if test='${caseList.applcntCompany ne null}'> <span class="list_date">${caseList.proDate}일</span>
<c:set var="ceoName"><c:out escapeXml="false" value="${ceoName}"/> (<c:out escapeXml="false" value="${caseList.applcntCompany}"/> 대표)</c:set>
</c:if> </c:if>
</c:when> <c:if test="${params.memberPosition != SeedConstants.JOSAGWAN }">
<c:when test='${caseList.companyGubun eq "1302000000" && caseList.companyCeo ne null && caseList.companyCeo ne ""}'> <span class="list_writer">
<c:set var="ceoName" value="${caseList.companyCeo}"/>
<c:if test='${caseList.applcntCompany ne null}'>
<c:set var="ceoName"><c:out escapeXml="false" value="${caseList.applcntCompany}"/> (대표이사 <c:out escapeXml="false" value="${ceoName}"/>)</c:set>
</c:if>
</c:when>
</c:choose>
<c:if test='${fn:length(ceoName)>13}'>
<c:set var="ceoName" value="${fn:substring(ceoName, 0, 13)}.."/>
</c:if>
<c:out value="${ceoName}"/> --%>
<c:out value="${caseList.caseExaminerNm}"/> <c:out value="${caseList.caseExaminerNm}"/>
</span> </span>
<span class="list_date">${caseList.caseDate}</span> <span class="list_date">${caseList.caseDate}</span>
</c:if>
</a> </a>
</li> </li>
</c:forEach> </c:forEach>