From 967b8b6529348244f58dd0d95cfdfd077a2b26f8 Mon Sep 17 00:00:00 2001 From: chpark Date: Fri, 24 Oct 2025 15:24:39 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B8=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/view/main/header.jsp | 10 ++++----- WebContent/css/basic_new.css | 6 +++-- .../js/jqGrid-4.7.1/css/jqGrid.overrides.css | 22 ++++++++++++------- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/WebContent/WEB-INF/view/main/header.jsp b/WebContent/WEB-INF/view/main/header.jsp index 5774962..8a103af 100644 --- a/WebContent/WEB-INF/view/main/header.jsp +++ b/WebContent/WEB-INF/view/main/header.jsp @@ -26,14 +26,14 @@ userMenuList = (ArrayList)request.getAttribute("userMenuList"); } */ .menu_off{ - color:#fff !important; padding: 2px 3px; font-size:9px; background-color:#89b4fa; border-radius:2px; - display: inline-block; min-width: 40px; text-align: center; margin: 0px; + color:#fff !important; padding: 4px 8px; font-size:11px; background-color:#89b4fa; border-radius:3px; + display: inline-block; min-width: 55px; text-align: center; margin: 0px; transition: all 0.3s ease; text-decoration: none !important; border: none; cursor: pointer; } .menu_on{ - color:#fff !important; padding: 2px 3px; font-size:9px; background-color:#5e9cff; border-radius:2px; - display: inline-block; min-width: 40px; text-align: center; margin: 0px; + color:#fff !important; padding: 4px 8px; font-size:11px; background-color:#5e9cff; border-radius:3px; + display: inline-block; min-width: 55px; text-align: center; margin: 0px; transition: all 0.3s ease; text-decoration: none !important; border: none; cursor: pointer; } @@ -392,7 +392,7 @@ function fn_setApprovalCnt(){ if("2".equals(lev)){ %> - <%=menuKorName%> + <%=menuKorName%> <% } } diff --git a/WebContent/css/basic_new.css b/WebContent/css/basic_new.css index c88f41f..68d1f97 100644 --- a/WebContent/css/basic_new.css +++ b/WebContent/css/basic_new.css @@ -296,6 +296,7 @@ div.plm_menu_name h2 span, .input_title { background: var(--label-bg); color: var(--text-primary); + border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); font-weight: 500; position: relative; @@ -644,7 +645,7 @@ div.plm_menu_name h2 span, border-collapse: collapse; background: var(--surface); text-align: center; - font-size: 14px; + font-size: 13px; } .plm_table .plm_thead { @@ -658,7 +659,7 @@ div.plm_menu_name h2 span, border-right: 1px solid var(--border-color); padding: 14px 12px; font-weight: 600; - font-size: 14px; + font-size: 13px; } .plm_table .plm_thead td:last-child { @@ -671,6 +672,7 @@ div.plm_menu_name h2 span, border-right: 1px solid var(--border-color); padding: 12px; vertical-align: middle; + font-size: 13px; } .plm_table td:last-child { diff --git a/WebContent/js/jqGrid-4.7.1/css/jqGrid.overrides.css b/WebContent/js/jqGrid-4.7.1/css/jqGrid.overrides.css index bb32629..54947e0 100644 --- a/WebContent/js/jqGrid-4.7.1/css/jqGrid.overrides.css +++ b/WebContent/js/jqGrid-4.7.1/css/jqGrid.overrides.css @@ -3,7 +3,7 @@ } .ui-jqgrid .ui-jqgrid-view,.ui-jqgrid .ui-paging-info, .ui-jqgrid .ui-pg-table, .ui-jqgrid .ui-pg-selbox { - font-size: 14px; + font-size: 13px; } .ui-jqgrid .ui-jqgrid-titlebar{ height: 40px; @@ -19,11 +19,12 @@ } .ui-jqgrid .ui-widget-header{ - border-bottom:1px solid #D3D3D3; + border-bottom:1px solid #e0e0e0; + background: #f5f5f5; } .ui-jqgrid .ui-search-toolbar input[type="text"]{ - font-size: 12px; + font-size: 13px; border: 1px solid #CCCCCC; border-radius: 4px; } @@ -41,17 +42,21 @@ /*** Column headers ******/ .ui-jqgrid .ui-jqgrid-hdiv { - /*background: #F9F9F9;*/ - border: 1px solid #D3D3D3; + background: #f5f5f5; + border: 1px solid #e0e0e0; line-height: 15px; /*height: 45px;*/ font-weight: bold; - color: #777777; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + color: #666666; + text-shadow: none; + font-size: 13px; } .ui-jqgrid .ui-jqgrid-htable th { height: auto; + background: #f5f5f5 !important; + border-bottom: 1px solid #e0e0e0 !important; + color: #666666 !important; } .ui-jqgrid .ui-jqgrid-htable th div { @@ -71,6 +76,7 @@ border-bottom: 1px solid #DDDDDD; border-right:none; padding:8px; + font-size: 13px; } @@ -160,5 +166,5 @@ font-weight: bold; display: none; border-width: 2px !important; - font-size:11px; + font-size:13px; } From 2b12fc3f6ed87068f209850c7b38c788bbfc96c6 Mon Sep 17 00:00:00 2001 From: Johngreen Date: Fri, 24 Oct 2025 15:52:14 +0900 Subject: [PATCH 2/3] =?UTF-8?q?E-BOM=20=ED=99=95=EC=9D=B8/=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/com/pms/mapper/partMng.xml | 15 +- .../WEB-INF/view/partMng/structureList.jsp | 2 +- .../view/partMng/structurePopupCenter.jsp | 141 +--- .../view/partMng/structurePopupHeaderFs.jsp | 2 +- .../view/partMng/structurePopupLeft.jsp | 654 ++++++++++-------- .../view/partMng/structurePopupRight.jsp | 210 +++--- .../view/partMng/structurePopupTop.jsp | 217 +++++- rebuild-and-restart.sh | 13 +- src/com/pms/controller/PartMngController.java | 21 + src/com/pms/mapper/partMng.xml | 15 +- 10 files changed, 774 insertions(+), 516 deletions(-) diff --git a/WebContent/WEB-INF/classes/com/pms/mapper/partMng.xml b/WebContent/WEB-INF/classes/com/pms/mapper/partMng.xml index 90d9e45..c76539d 100644 --- a/WebContent/WEB-INF/classes/com/pms/mapper/partMng.xml +++ b/WebContent/WEB-INF/classes/com/pms/mapper/partMng.xml @@ -3210,12 +3210,15 @@ SELECT T1.LEV, T1.BOM_REPORT_OBJID, T1.ROOT_PART_NO, T1.PATH, T1.LEAF, T2.* ,P.OUT_DIAMETER ,P.IN_DIAMETER ,P.LENGTH - ,P.SOURCING_CODE - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('3D_CAD')) AS CU01_CNT - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_DRAWING_CAD')) AS CU02_CNT - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_PDF_CAD')) AS CU03_CNT - - ,V.LEV + ,P.SOURCING_CODE + ,P.HEAT_TREATMENT_HARDNESS + ,P.HEAT_TREATMENT_METHOD + ,P.SURFACE_TREATMENT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('3D_CAD')) AS CU01_CNT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_DRAWING_CAD')) AS CU02_CNT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_PDF_CAD')) AS CU03_CNT + + ,V.LEV ,(SELECT OBJID FROM VIEW_BOM VT WHERE V.BOM_REPORT_OBJID = VT.BOM_REPORT_OBJID AND VT.LEV = 1 ORDER BY SEQ LIMIT 1) AS ROOT_OBJID ,(SELECT OBJID FROM VIEW_BOM VT WHERE V.BOM_REPORT_OBJID = VT.BOM_REPORT_OBJID AND VT.LEV = 1 ORDER BY SEQ LIMIT 1) AS SUB_ROOT_OBJID ,( SELECT diff --git a/WebContent/WEB-INF/view/partMng/structureList.jsp b/WebContent/WEB-INF/view/partMng/structureList.jsp index 14ef481..992a365 100644 --- a/WebContent/WEB-INF/view/partMng/structureList.jsp +++ b/WebContent/WEB-INF/view/partMng/structureList.jsp @@ -462,7 +462,7 @@ function fn_openSetBomCopy(product_code){ * 구조등록 팝업 */ function fn_openSetStructure(objId){ - window.open("/partMng/setStructurePopupMainFS.do?objId="+objId, "", "width=1880, height=900, resizable=no"); + window.open("/partMng/setStructurePopupMainFS.do?objId="+objId, "", "width=1880, height=1100, resizable=no"); } /** * 배포사유 입력 팝업 diff --git a/WebContent/WEB-INF/view/partMng/structurePopupCenter.jsp b/WebContent/WEB-INF/view/partMng/structurePopupCenter.jsp index d270675..8f0b59d 100644 --- a/WebContent/WEB-INF/view/partMng/structurePopupCenter.jsp +++ b/WebContent/WEB-INF/view/partMng/structurePopupCenter.jsp @@ -10,33 +10,31 @@ - - - - -<%=Constants.SYSTEM_NAME%> @@ -240,134 +438,22 @@ function fn_excel() { -
-
(${info.CUSTOMER_NAME}_${info.CUSTOMER_PROJECT_NAME}_${info.UNIT_NAME})_${info.REV}
-
※수량 변경 후, 엔터치시면 저장됩니다.(신규 추가 파트만 가능)
-
- - - <% if(Maxlevel == 0){%> - - <%}else{%> - - <%} - for(int i=0; i< Maxlevel; i++){%> - - <%}%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Level품번품명수량3D2DPDF재질사양(규격)MAKERRevisionEO NoEO DatePART 구분
- - - - <% if(Maxlevel == 0){%> - - <%}else{%> - - <%} - for(int i=0; i< Maxlevel; i++){%> - - <%}%> - - - - - - - - - - - - - - - - - - - - - <% - for(int i=0; i< Maxlevel; i++){ - if(levelarr[z] == (i+1)){%> - - <% }else{ %> - - <% } - } - z++; - %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- *
${item.PART_NO}
${item.PART_NAME}${item.QTY_TEMP}${item.MATERIAL}${item.SPEC}${item.MAKER}${item.REVISION}${item.EO_NO}${item.EO_DATE}${item.PART_TYPE_TITLE}
등록된 구조정보가 없습니다.
-
-
+ + + + + +
+
+ (${info.CUSTOMER_NAME}_${info.CUSTOMER_PROJECT_NAME}_${info.UNIT_NAME})_${info.REV} + +
+
+ ※수량 변경 후, 엔터치시면 저장됩니다.(신규 추가 파트만 가능) +
+ +
- \ No newline at end of file + diff --git a/WebContent/WEB-INF/view/partMng/structurePopupRight.jsp b/WebContent/WEB-INF/view/partMng/structurePopupRight.jsp index 20d577e..31386eb 100644 --- a/WebContent/WEB-INF/view/partMng/structurePopupRight.jsp +++ b/WebContent/WEB-INF/view/partMng/structurePopupRight.jsp @@ -8,6 +8,8 @@ <%=Constants.SYSTEM_NAME%> + + -
+

- 구조등록 + E-BOM 확인/수정

+ + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+ + +
+
+
   CSV uploadTemplate Download
+
+
+
Drag & Drop 엑셀 템플릿
+
+ + + + + + +
CSV 첨부파일
+
+
+
+
+
\ No newline at end of file diff --git a/rebuild-and-restart.sh b/rebuild-and-restart.sh index 67a94f7..bf645be 100755 --- a/rebuild-and-restart.sh +++ b/rebuild-and-restart.sh @@ -24,8 +24,9 @@ echo "" # 2단계: 도커 중지 및 삭제 echo -e "${YELLOW}[2/3] 기존 도커 컨테이너 중지 및 삭제 중...${NC}" -docker-compose -f docker-compose.dev.yml down 2>&1 | grep -v "level=warning" -if [ $? -ne 0 ]; then +docker-compose -f docker-compose.dev.yml down 2>&1 | grep -v "level=warning" || true +# PIPESTATUS[0]로 docker-compose의 실제 종료 코드 확인 +if [ ${PIPESTATUS[0]} -ne 0 ]; then echo -e "${RED}✗ 도커 중지 실패!${NC}" exit 1 fi @@ -34,14 +35,14 @@ echo "" # 3단계: 도커 이미지 재빌드 및 시작 echo -e "${YELLOW}[3/3] 도커 이미지 재빌드 및 시작 중...${NC}" -docker-compose -f docker-compose.dev.yml build --no-cache 2>&1 | grep -v "level=warning" | tail -5 -if [ $? -ne 0 ]; then +docker-compose -f docker-compose.dev.yml build --no-cache 2>&1 | grep -v "level=warning" | tail -5 || true +if [ ${PIPESTATUS[0]} -ne 0 ]; then echo -e "${RED}✗ 도커 빌드 실패!${NC}" exit 1 fi -docker-compose -f docker-compose.dev.yml up -d 2>&1 | grep -v "level=warning" -if [ $? -ne 0 ]; then +docker-compose -f docker-compose.dev.yml up -d 2>&1 | grep -v "level=warning" || true +if [ ${PIPESTATUS[0]} -ne 0 ]; then echo -e "${RED}✗ 도커 시작 실패!${NC}" exit 1 fi diff --git a/src/com/pms/controller/PartMngController.java b/src/com/pms/controller/PartMngController.java index 4202030..f02d690 100644 --- a/src/com/pms/controller/PartMngController.java +++ b/src/com/pms/controller/PartMngController.java @@ -928,6 +928,27 @@ public class PartMngController { return "/partMng/structurePopupLeft"+("excel".equals(actionType) ? "Excel" : ""); } + /** + * 구조등록 좌측 프레임 JSON 데이터 + * @param request + * @param paramMap + * @return + */ + @RequestMapping("/partMng/getStructureTreeJson.do") + @ResponseBody + public List getStructureTreeJson(HttpServletRequest request, @RequestParam Map paramMap){ + List bomTreeList = null; + + try{ + Map info = partMngService.getBOMStructureStandardInfo(request,paramMap); + bomTreeList = partMngService.getBOMPartTreeList(info); + }catch(Exception e){ + e.printStackTrace(); + } + + return bomTreeList != null ? bomTreeList : new ArrayList(); + } + @RequestMapping("/partMng/structurePopupCenter.do") public String structurePopupCenter(HttpServletRequest request, @RequestParam Map paramMap){ diff --git a/src/com/pms/mapper/partMng.xml b/src/com/pms/mapper/partMng.xml index 90d9e45..c76539d 100644 --- a/src/com/pms/mapper/partMng.xml +++ b/src/com/pms/mapper/partMng.xml @@ -3210,12 +3210,15 @@ SELECT T1.LEV, T1.BOM_REPORT_OBJID, T1.ROOT_PART_NO, T1.PATH, T1.LEAF, T2.* ,P.OUT_DIAMETER ,P.IN_DIAMETER ,P.LENGTH - ,P.SOURCING_CODE - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('3D_CAD')) AS CU01_CNT - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_DRAWING_CAD')) AS CU02_CNT - ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_PDF_CAD')) AS CU03_CNT - - ,V.LEV + ,P.SOURCING_CODE + ,P.HEAT_TREATMENT_HARDNESS + ,P.HEAT_TREATMENT_METHOD + ,P.SURFACE_TREATMENT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('3D_CAD')) AS CU01_CNT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_DRAWING_CAD')) AS CU02_CNT + ,(SELECT COUNT(1) FROM ATTACH_FILE_INFO F WHERE P.OBJID = F.TARGET_OBJID AND F.DOC_TYPE IN ('2D_PDF_CAD')) AS CU03_CNT + + ,V.LEV ,(SELECT OBJID FROM VIEW_BOM VT WHERE V.BOM_REPORT_OBJID = VT.BOM_REPORT_OBJID AND VT.LEV = 1 ORDER BY SEQ LIMIT 1) AS ROOT_OBJID ,(SELECT OBJID FROM VIEW_BOM VT WHERE V.BOM_REPORT_OBJID = VT.BOM_REPORT_OBJID AND VT.LEV = 1 ORDER BY SEQ LIMIT 1) AS SUB_ROOT_OBJID ,( SELECT From 63043f69097b5611f23ff3af954e980db851cc69 Mon Sep 17 00:00:00 2001 From: Johngreen Date: Fri, 24 Oct 2025 16:56:00 +0900 Subject: [PATCH 3/3] =?UTF-8?q?E-BOM=20=ED=99=95=EC=9D=B8/=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/view/partMng/structureList.jsp | 2 +- .../view/partMng/structurePopupHeaderFs.jsp | 2 +- .../view/partMng/structurePopupLeft.jsp | 27 +-- .../view/partMng/structurePopupTop.jsp | 193 ++++-------------- src/com/pms/controller/PartMngController.java | 8 + 5 files changed, 66 insertions(+), 166 deletions(-) diff --git a/WebContent/WEB-INF/view/partMng/structureList.jsp b/WebContent/WEB-INF/view/partMng/structureList.jsp index 992a365..b4dccbd 100644 --- a/WebContent/WEB-INF/view/partMng/structureList.jsp +++ b/WebContent/WEB-INF/view/partMng/structureList.jsp @@ -462,7 +462,7 @@ function fn_openSetBomCopy(product_code){ * 구조등록 팝업 */ function fn_openSetStructure(objId){ - window.open("/partMng/setStructurePopupMainFS.do?objId="+objId, "", "width=1880, height=1100, resizable=no"); + window.open("/partMng/setStructurePopupMainFS.do?objId="+objId, "", "width=1880, height=900, resizable=yes"); } /** * 배포사유 입력 팝업 diff --git a/WebContent/WEB-INF/view/partMng/structurePopupHeaderFs.jsp b/WebContent/WEB-INF/view/partMng/structurePopupHeaderFs.jsp index 70cac52..8bd425e 100644 --- a/WebContent/WEB-INF/view/partMng/structurePopupHeaderFs.jsp +++ b/WebContent/WEB-INF/view/partMng/structurePopupHeaderFs.jsp @@ -1,7 +1,7 @@ <% java.util.Map map = (java.util.HashMap)request.getAttribute("info"); %> - + "> diff --git a/WebContent/WEB-INF/view/partMng/structurePopupLeft.jsp b/WebContent/WEB-INF/view/partMng/structurePopupLeft.jsp index 02760f1..c61edc8 100644 --- a/WebContent/WEB-INF/view/partMng/structurePopupLeft.jsp +++ b/WebContent/WEB-INF/view/partMng/structurePopupLeft.jsp @@ -404,25 +404,30 @@ function getSelectedRowData() { // 필터 적용 함수 function fn_applyFilter() { - var partType = $("#filterPartType").val(); var partNo = $("#filterPartNo").val().trim(); var partName = $("#filterPartName").val().trim(); - var version = $("#filterVersion").val().trim(); - _tabulGrid.setFilter([ - {field: "PART_TYPE_TITLE", type: "like", value: partType}, - {field: "PART_NO", type: "like", value: partNo}, - {field: "PART_NAME", type: "like", value: partName}, - {field: "REVISION", type: "like", value: version} - ]); + // 빈 값이 아닌 필터만 추가 + var filters = []; + if(partNo) { + filters.push({field: "PART_NO", type: "like", value: partNo}); + } + if(partName) { + filters.push({field: "PART_NAME", type: "like", value: partName}); + } + + // 필터가 있으면 적용, 없으면 전체 표시 + if(filters.length > 0) { + _tabulGrid.setFilter(filters); + } else { + _tabulGrid.clearFilter(); + } } // 필터 초기화 함수 function fn_resetFilter() { - $("#filterPartType").val(""); $("#filterPartNo").val(""); $("#filterPartName").val(""); - $("#filterVersion").val(""); _tabulGrid.clearFilter(); } @@ -439,10 +444,8 @@ function fn_resetFilter() { - -
(${info.CUSTOMER_NAME}_${info.CUSTOMER_PROJECT_NAME}_${info.UNIT_NAME})_${info.REV} diff --git a/WebContent/WEB-INF/view/partMng/structurePopupTop.jsp b/WebContent/WEB-INF/view/partMng/structurePopupTop.jsp index e794449..1fdca80 100644 --- a/WebContent/WEB-INF/view/partMng/structurePopupTop.jsp +++ b/WebContent/WEB-INF/view/partMng/structurePopupTop.jsp @@ -11,9 +11,8 @@ body, html { margin: 0; padding: 0; - overflow-y: auto; - overflow-x: hidden; - height: 100%; + overflow: visible; + height: auto; } .plm_menu_name { margin: 5px 15px 0 15px !important; @@ -22,140 +21,67 @@ body, html { margin: 5px 0 !important; padding: 5px 0; } -/* global CSS에서 #plmSearchZon 스타일을 가져오므로 추가 스타일만 정의 */ -#csvImportList { - margin-top: 10px; +#plmSearchZon { + margin-bottom: 0 !important; + padding-bottom: 5px !important; + overflow: visible !important; + position: relative; + z-index: 1000; } -#csvImportTable { - width: 100%; - border-collapse: collapse; +.select2-container { + z-index: 9999 !important; } -#csvImportTable thead td { - background-color: #f0f0f0; - padding: 8px; - font-weight: bold; - border: 1px solid #ddd; -} -#csvImportTable tbody td { - padding: 8px; - border: 1px solid #ddd; -} -#excelUploadPopupForm .dropzone { - width: 99.8% !important; +.select2-dropdown { + z-index: 9999 !important; } @@ -172,17 +98,6 @@ function fn_resetFilter() {
- - - - - -
- - @@ -193,11 +108,6 @@ function fn_resetFilter() { - - @@ -205,27 +115,6 @@ function fn_resetFilter() {
- - -
-
-
   CSV uploadTemplate Download
-
-
-
Drag & Drop 엑셀 템플릿
-
- - - - - - -
CSV 첨부파일
-
-
-
-
-
\ No newline at end of file diff --git a/src/com/pms/controller/PartMngController.java b/src/com/pms/controller/PartMngController.java index f02d690..e62c205 100644 --- a/src/com/pms/controller/PartMngController.java +++ b/src/com/pms/controller/PartMngController.java @@ -875,6 +875,14 @@ public class PartMngController { @RequestMapping("/partMng/structureHeaderPopup.do") public String structureHeaderPopup(HttpServletRequest request, @RequestParam Map paramMap){ + Map code_map = new HashMap(); + try { + // 제품구분 (PART_TYPE) + code_map.put("product_cd", commonService.bizMakeOptionList("0000001", CommonUtils.nullToEmpty((String)paramMap.get("product")),"common.getCodeselect")); + } catch (Exception e) { + e.printStackTrace(); + } + request.setAttribute("code_map", code_map); return "/partMng/structurePopupTop"; }