diff --git a/src/main/java/geoinfo/drilling/input/service/impl/DrillingInputServiceImpl.java b/src/main/java/geoinfo/drilling/input/service/impl/DrillingInputServiceImpl.java index 687e6816..81690c5a 100644 --- a/src/main/java/geoinfo/drilling/input/service/impl/DrillingInputServiceImpl.java +++ b/src/main/java/geoinfo/drilling/input/service/impl/DrillingInputServiceImpl.java @@ -142,6 +142,10 @@ public class DrillingInputServiceImpl implements DrillingInputService { Long lCid = MyUtil.getLongFromObject( params.get("CID") ); if( lCid == null ) { tbl = drillingInputMapper.getItemByProjectCode( params ); + if( tbl == null ) { + // 발주기관 프로젝트 아님 + return params; + } params.put("CID", tbl.get("cid")); } else { tbl = drillingInputMapper.getItemByCid( params ); @@ -187,7 +191,11 @@ public class DrillingInputServiceImpl implements DrillingInputService { Long lCid = MyUtil.getLongFromObject( params.get("CID") ); if( lCid == null ) { tbl = drillingInputMapper.getItemByProjectCode( params ); - params.put("CID", tbl.get("cid")); + if( tbl != null ) { + params.put("CID", tbl.get("cid")); + } else { + return params; + } } else { tbl = drillingInputMapper.getItemByCid( params ); } diff --git a/src/main/webapp/WEB-INF/views/drilling/home/drilling_index.jsp b/src/main/webapp/WEB-INF/views/drilling/home/drilling_index.jsp index ed078c2c..133ddd5e 100644 --- a/src/main/webapp/WEB-INF/views/drilling/home/drilling_index.jsp +++ b/src/main/webapp/WEB-INF/views/drilling/home/drilling_index.jsp @@ -157,7 +157,7 @@
- +

국가철도공단

@@ -180,7 +180,7 @@
- +
@@ -414,8 +414,8 @@ diff --git a/src/main/webapp/WEB-INF/views/map/left/mapLeft.jsp b/src/main/webapp/WEB-INF/views/map/left/mapLeft.jsp index c6a3c189..60e67329 100644 --- a/src/main/webapp/WEB-INF/views/map/left/mapLeft.jsp +++ b/src/main/webapp/WEB-INF/views/map/left/mapLeft.jsp @@ -1372,7 +1372,7 @@ function table3display(){ }
-
+
지도구분
diff --git a/src/main/webapp/js/map/main/map.js b/src/main/webapp/js/map/main/map.js index 95cc01f9..5a9b1d0c 100644 --- a/src/main/webapp/js/map/main/map.js +++ b/src/main/webapp/js/map/main/map.js @@ -209,8 +209,8 @@ function hole_layerOnOff() { function forceUncheckHoleLayerOnOff() { //33 글자여야한다. //var returnValue = "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNY"; - if( false ) { - var returnValue = "YNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNY"; + if( true ) { + var returnValue = "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNY"; for (i = 1; i <= 33; i++) { var char = returnValue.charAt(i); if( char==='Y') { @@ -317,7 +317,7 @@ var VWORLD_URL = "https://xdworld.vworld.kr/2d/Base/service/${z}/${x}/${y}.png // TBL_HEADER_HOLE 설정 // ------------------------------ var T_HOLE = "TBL_HEADER_HOLE"; -var T_WEB_STEEP_SLOPE = "WEB_STEEP_SLOPE"; // 급경사지 +var T_WEB_STEEP_SLOPE = "WEB_STEEP_SLOPE"; var T_HOLE_M = "TBL_HEADER_HOLE_M"; var F_PROJECT_CODE = "PROJECT_CODE";