관리자 > 건설현장관리 >건설현장 조회 : 목록에 발주처 표시
parent
a04f133118
commit
9ddb7aaee9
|
|
@ -84,7 +84,7 @@
|
|||
</select>
|
||||
|
||||
<select id="spGetTblCsiByKeyword" parameterType="map" resultType="egovMap">
|
||||
SELECT * FROM TABLE(SP_GET_TBL_CSI_BY_KEYWORD(
|
||||
<!-- SELECT * FROM TABLE(SP_GET_TBL_CSI_BY_KEYWORD(
|
||||
#{constTag, jdbcType=VARCHAR},
|
||||
#{constName, jdbcType=VARCHAR},
|
||||
#{constStartDate, jdbcType=VARCHAR},
|
||||
|
|
@ -102,7 +102,59 @@
|
|||
#{sortfield},
|
||||
#{sorttype},
|
||||
#{nCount},
|
||||
#{nPage}))
|
||||
#{nPage})) -->
|
||||
|
||||
SELECT A.*
|
||||
,(/* 발주처명 */
|
||||
SELECT D1.DISTRICT
|
||||
FROM GEOINFO.TBL_DISTRICT D1
|
||||
WHERE D1.GL_CODE = A.MASTER_COMPANY_O_CODE
|
||||
AND D1.GM_CODE IS NULL
|
||||
AND D1.GS_CODE IS NULL
|
||||
AND D1.USE_YN = 'Y'
|
||||
AND D1.DEL_YMD IS NULL
|
||||
AND ROWNUM = 1
|
||||
) AS GL_NAME
|
||||
,(/* 소속산하기관 */
|
||||
SELECT D2.DISTRICT
|
||||
FROM GEOINFO.TBL_DISTRICT D2
|
||||
WHERE D2.GL_CODE = A.MASTER_COMPANY_O_CODE
|
||||
AND D2.GM_CODE = A.MASTER_COMPANY_TW_CODE
|
||||
AND D2.GS_CODE IS NULL
|
||||
AND D2.USE_YN = 'Y'
|
||||
AND D2.DEL_YMD IS NULL
|
||||
AND ROWNUM = 1
|
||||
) AS GM_NAME
|
||||
,(/* 하위기관 */
|
||||
SELECT D3.DISTRICT
|
||||
FROM GEOINFO.TBL_DISTRICT D3
|
||||
WHERE D3.GL_CODE = A.MASTER_COMPANY_O_CODE
|
||||
AND D3.GM_CODE = A.MASTER_COMPANY_TW_CODE
|
||||
AND D3.GS_CODE = A.MASTER_COMPANY_TH_CODE
|
||||
AND D3.USE_YN = 'Y'
|
||||
AND D3.DEL_YMD IS NULL
|
||||
AND ROWNUM = 1
|
||||
) AS GS_NAME
|
||||
FROM TABLE(SP_GET_TBL_CSI_BY_KEYWORD(
|
||||
#{constTag, jdbcType=VARCHAR},
|
||||
#{constName, jdbcType=VARCHAR},
|
||||
#{constStartDate, jdbcType=VARCHAR},
|
||||
#{constEndDate, jdbcType=VARCHAR},
|
||||
#{constStateCode, jdbcType=VARCHAR},
|
||||
#{masterCompanyOCode, jdbcType=VARCHAR},
|
||||
#{masterCompanyTwCode, jdbcType=VARCHAR},
|
||||
#{masterCompanyThCode, jdbcType=VARCHAR},
|
||||
#{masterCompanyName, jdbcType=VARCHAR},
|
||||
#{constCompanyName, jdbcType=VARCHAR},
|
||||
#{constComCodes, jdbcType=VARCHAR},
|
||||
#{constCompanyAdmin, jdbcType=VARCHAR},
|
||||
#{constCompanyTel, jdbcType=VARCHAR},
|
||||
#{projectStateCode, jdbcType=VARCHAR},
|
||||
#{sortfield},
|
||||
#{sorttype},
|
||||
#{nCount},
|
||||
#{nPage})) A
|
||||
|
||||
</select>
|
||||
|
||||
<select id="getComCodes" parameterType="map" resultType="String">
|
||||
|
|
|
|||
|
|
@ -81,14 +81,18 @@
|
|||
const coinstCompanyDept = obj.datas[idx].coinstCompanyDept == null ? '-' : obj.datas[idx].coinstCompanyDept;
|
||||
const constCompanyAdmin = obj.datas[idx].constCompanyAdmin == null ? '-' : obj.datas[idx].constCompanyAdmin;
|
||||
const constCompanyTel = obj.datas[idx].constCompanyTel == null ? '-' : obj.datas[idx].constCompanyTel;
|
||||
const glName = obj.datas[idx].glName == null ? '' : obj.datas[idx].glName + ' ';
|
||||
const gmName = obj.datas[idx].gmName == null ? '' : obj.datas[idx].gmName + ' ';
|
||||
const gsName = obj.datas[idx].gsName == null ? '' : obj.datas[idx].gsName + ' ';
|
||||
|
||||
// content += '<tr onclick="location.href=\'modify.do?CID=' + obj.datas[idx].cid + '\';" data-cid="' + obj.datas[idx].cid + '">';
|
||||
content += '<tr <%--onmousedown="handleMouseDown()" onmousemove="handleMouseMove()" --%> onmouseup="handleRowClick(' + obj.datas[idx].cid + ')" data-cid="' + obj.datas[idx].cid + '">';
|
||||
content += '<td>' + (obj.count - idx - (nCount * (nPage - 1))) + '</td>';
|
||||
content += '<td style="text-align: left; text-indent: 10px;">' + obj.datas[idx].constName + '</td>';
|
||||
content += '<td style="text-align: left; text-indent: 10px;" title="' + obj.datas[idx].constName + '">' + obj.datas[idx].constName + '</td>';
|
||||
content += '<td>' + obj.datas[idx].projectStateCodeName + '</td>';
|
||||
content += '<td>' + constStartDate + ' ~ ' + constEndDate + '</td>';
|
||||
content += '<td>' + obj.datas[idx].constStateCodeName + '</td>';
|
||||
content += '<td>' + glName + gmName + gsName + '</td>';
|
||||
content += '<td>' + masterCompanyDept + '</td>';
|
||||
content += '<td>' + masterCompanyAdmin + '</td>';
|
||||
content += '<td>' + masterCompanyTel + '</td>';
|
||||
|
|
@ -412,8 +416,8 @@ li {
|
|||
position_: absolute;
|
||||
background-color: white;
|
||||
display: none;
|
||||
left: 82px;
|
||||
top: 42px;
|
||||
left: 23px;
|
||||
top: 35px;
|
||||
z-index: 3;
|
||||
}
|
||||
#suggestionList div {
|
||||
|
|
@ -437,6 +441,12 @@ li {
|
|||
padding: 6px 14px;
|
||||
resize: none;
|
||||
}
|
||||
.drilling .table-wrap table td:nth-child(2) {
|
||||
max-width: 230px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -504,10 +514,11 @@ li {
|
|||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 3%;">
|
||||
<col style="width: 27%;">
|
||||
<col style="width: 17%;">
|
||||
<col style="width: 5%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 10%;">
|
||||
<col style="width: 13%;">
|
||||
<col style="width: 5%;">
|
||||
<col style="width: 7%;">
|
||||
|
|
@ -521,12 +532,13 @@ li {
|
|||
<th rowspan="2">사업명</th>
|
||||
<th rowspan="2">입력상태</th>
|
||||
<th colspan="2">사업내용</th>
|
||||
<th colspan="3">발주기관현황</th>
|
||||
<th colspan="4">발주기관현황</th>
|
||||
<th colspan="3">건설사현황</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사업기간</th>
|
||||
<th>사업단계 <br>(설계 시공 준공 유지관리)</th>
|
||||
<th>발주처</th>
|
||||
<th>담당부서</th>
|
||||
<th>담당자</th>
|
||||
<th>담당연락처</th>
|
||||
|
|
|
|||
|
|
@ -1049,7 +1049,7 @@ a:hover {font-family: "굴림체"; font-size: 9pt; color: #FF8000; text-decora
|
|||
text-align: center;
|
||||
color: #333;
|
||||
height: 50px;
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
line-height: 21px;
|
||||
border-top: 2px solid #114672;
|
||||
border-bottom: 2px solid #ddd;
|
||||
|
|
|
|||
|
|
@ -1188,7 +1188,7 @@ a:hover {
|
|||
text-align: center;
|
||||
color: #333;
|
||||
height: 50px;
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
line-height: 21px;
|
||||
border-top: 2px solid #114672;
|
||||
border-bottom: 2px solid #ddd;
|
||||
|
|
|
|||
Loading…
Reference in New Issue