E-BOM 확인/수정 품목추가로직수정

This commit is contained in:
Johngreen
2025-10-27 17:11:57 +09:00
parent 588fef91ce
commit af1c73345d
6 changed files with 160 additions and 87 deletions

View File

@@ -615,8 +615,10 @@ public class PartMngController {
paramMap.put("IS_LAST","1");
//paramMap.put("STATUS", "release");
List list = partMngService.getToConnectPartMngList(request, paramMap);
//List list = CommonUtils.keyChangeUpperList(partMngService.getPartMngList(request,paramMap));
request.setAttribute("RESULT", CommonUtils.getJsonArray(list));
// Gson을 사용하여 안전하게 JSON 변환 (특수문자, 이스케이프 처리 자동)
String jsonResult = JsonUtil.ListToJson(list);
request.setAttribute("RESULT", jsonResult);
return "/ajax/ajaxResult";
}
@@ -981,6 +983,10 @@ public class PartMngController {
try{
Map info = partMngService.getBOMStructureStandardInfo(request,paramMap);
// search_type 파라미터를 info에 복사 (adding 상태 조회를 위해)
if(paramMap.containsKey("search_type")) {
info.put("search_type", paramMap.get("search_type"));
}
bomTreeList = partMngService.getBOMPartTreeList(info);
}catch(Exception e){
e.printStackTrace();