feat: PART 관리 기능 개선 및 Excel 업로드 수정

- PART 관리 목록에 열처리경도, 열처리방법, 표면처리, 공급업체 필드 추가
- Excel 업로드 시 공급업체 및 범주 이름 검증 로직 추가 (띄어쓰기 무시)
- partMng.xml: SUPPLY_CODE 중복 제거 및 쿼리 최적화
- PartMngController: sup_code 코드맵 활성화
- common.js: jqGrid 호환성 개선 (getRows 에러 수정)
- header.jsp, menu.jsp: 메뉴 UI 개선
- CSS: 로고 및 메뉴 스타일 조정
This commit is contained in:
2025-10-21 16:23:07 +09:00
parent ca25e0de56
commit 5794895dcb
13 changed files with 1047 additions and 434 deletions

View File

@@ -133,6 +133,9 @@ public class PartMngController {
}
code_map.put("product_code",commonService.bizMakeOptionList("", (String)paramMap.get("product_code"),"common.getProductCodeselect"));
//고객사
code_map.put("customer_cd",commonService.bizMakeOptionList("", CommonUtils.nullToEmpty((String)paramMap.get("customer_cd")),"common.getmatersupplyselect"));
if("Y".equals(search)){
//list = CommonUtils.keyChangeUpperList(partMngService.getPartMngList(request,paramMap));
}
@@ -371,7 +374,9 @@ public class PartMngController {
code_map.put("CHANGE_OPTION",commonService.bizMakeOptionList("0000318", (String)resultMap.get("CHANGE_OPTION"),"common.getCodeselect"));
code_map.put("CHANGE_TYPE",commonService.bizMakeOptionList("0001054", (String)resultMap.get("CHANGE_TYPE"),"common.getCodeselect"));
code_map.put("PARENT_PART_NO",commonService.bizMakeOptionList("", (String)resultMap.get("PARENT_PART_NO"),"common.getPartNoselect"));
code_map.put("SUPPLY_CODE",commonService.bizMakeOptionList("", (String)resultMap.get("SUPPLY_CODE"),"common.getmatersupplyselect"));
//고객사
code_map.put("SUPPLY_CODE",commonService.bizMakeOptionList("", CommonUtils.nullToEmpty((String)resultMap.get("SUPPLY_CODE")),"common.getmatersupplyselect"));
//code_map.put("SUPPLY_CODE",commonService.bizMakeOptionList("", (String)resultMap.get("SUPPLY_CODE"),"common.getmatersupplyselect"));
}else{
objId = CommonUtils.createObjId();
@@ -425,7 +430,8 @@ public class PartMngController {
code_map.put("CHANGE_OPTION",commonService.bizMakeOptionList("0000318", (String)resultMap.get("CHANGE_OPTION"),"common.getCodeselect"));
code_map.put("CHANGE_TYPE",commonService.bizMakeOptionList("0001054", (String)resultMap.get("CHANGE_TYPE"),"common.getCodeselect"));
code_map.put("PARENT_PART_NO",commonService.bizMakeOptionList("", (String)resultMap.get("PARENT_PART_NO"),"common.getPartNoselect"));
code_map.put("SUPPLY_CODE",commonService.bizMakeOptionList("", CommonUtils.nullToEmpty((String)resultMap.get("SUPPLY_CODE")),"common.getmatersupplyselect"));
//code_map.put("SUPPLY_CODE",commonService.bizMakeOptionList("", (String)resultMap.get("SUPPLY_CODE"),"common.getmatersupplyselect"));
}else{
objId = CommonUtils.createObjId();
@@ -633,6 +639,7 @@ public class PartMngController {
Map param = new HashMap();
param.put("parentCodeId", "0000062");
code_map.put("part_type", commonService.getJqGridSelectBoxJsonData("common.getCodeList2", param, "선택"));
code_map.put("sup_code", commonService.getJqGridSelectBoxJsonData("common.getmatersupplyselect", param, "선택"));
/*
//unit
param.put("parentCodeId", "0000059");