Compare commits

...

2 Commits

Author SHA1 Message Date
유지인 1686ff808b 발주기관 > 건설현장 조회 목록화면 tr 을 드래그하여 텍스트를 긁을때는 상세화면으로 이동하지 않도록 처리
발주기관 > 관리 시추정보 현황 tr 을 드래그하여 텍스트를 긁을때는 지도가 열리지 않도록 처리
2025-10-21 16:34:53 +09:00
유지인 45ef75e1c3 발주기관 > 건설현장 조회 페이지 이동시에 목록이 바뀌지 않음
(기본 정렬필드가 공사 시작일인데, 동일한 값이 존재하여 정렬 동작이 정확하지 않음)
SP_GET_TBL_CSI_BY_KEYWORD 함수에 정렬필드 '0' (CID) 추가함
2025-10-21 16:34:05 +09:00
4 changed files with 23 additions and 8 deletions

View File

@ -67,10 +67,14 @@ public class DrillingInquiryServiceImpl implements DrillingInquiryService {
String masterCompanyTwCode = MyUtil.getStringFromObject( spGetMasterCompanyDistrictParams.get("v_gm") );
String masterCompanyThCode = MyUtil.getStringFromObject( spGetMasterCompanyDistrictParams.get("v_gs") );
String masterCompanyName = MyUtil.getStringFromObject( spGetMasterCompanyDistrictParams.get("v_gf") );
String sortfield = "C".equals(MyUtil.getStringFromObject(params.get("const_tag"))) ? "0" : "2";
String sorttype = "2";
params.put("masterCompanyOCode", masterCompanyOCode);
params.put("masterCompanyTwCode", masterCompanyTwCode);
params.put("masterCompanyThCode", masterCompanyThCode);
params.put("masterCompanyName", masterCompanyName);
params.put("sortfield", sortfield);
params.put("sorttype", sorttype);
try {

View File

@ -39,7 +39,10 @@
#{constCompanyAdmin, jdbcType=VARCHAR},
#{constCompanyTel, jdbcType=VARCHAR},
NULL,
2,2,#{nCount},#{nPage}))
#{sortfield},
#{sorttype},
#{nCount},
#{nPage}))
</select>
<select id="getComCodes" parameterType="map" resultType="String">

View File

@ -403,8 +403,15 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe
});
/**
* 발주기관 목록화면 tr 드래그 시 상세화면 이동 방지처리
* 드래그 이벤트와 클릭이벤트를 구분하여 감지한다.
*/
function handleRowClick(CID) {
if (!isDragging) {
window.location.href = 'modify.do?CID=' + CID;
}
}
</script>
<!-- javascript end-->

View File

@ -123,8 +123,9 @@ function handleMouseDown() {
function handleMouseMove() {
isDragging = true;
}
function handleRowClick(CID) {
if (!isDragging) {
window.location.href = 'modify.do?CID=' + CID;
}
}
// 클릭이벤트는 각 jsp에서 처리한다. (내부 처리가 상이함)
//function handleRowClick(CID) {
// if (!isDragging) {
// window.location.href = 'modify.do?CID=' + CID;
// }
//}