봄 복사기능 추가
This commit is contained in:
@@ -1587,6 +1587,9 @@ public class PartMngController {
|
||||
param.put("parentCodeId", "0000062");
|
||||
code_map.put("part_type", commonService.getJqGridSelectBoxJsonData("common.getCodeList2", param, "선택"));
|
||||
code_map.put("sup_code", commonService.getJqGridSelectBoxJsonData("common.getmatersupplyselect", param, "선택"));
|
||||
|
||||
// 활성화된 BOM 목록 전달 (복사용) - bizMakeOptionList 사용
|
||||
code_map.put("bom_list", commonService.bizMakeOptionList("", "", "partMng.getActiveBomList"));
|
||||
|
||||
bomInfo = partMngService.getBOMStructureStandardInfo(request, paramMap);
|
||||
if(bomInfo == null) bomInfo = new HashMap();
|
||||
@@ -1650,6 +1653,21 @@ public class PartMngController {
|
||||
return parsingPartList;
|
||||
}
|
||||
|
||||
/**
|
||||
* BOM 복사를 위한 데이터 조회 (엑셀 파싱 형식과 동일하게 반환)
|
||||
*/
|
||||
@RequestMapping("/partMng/getBomDataForCopy.do")
|
||||
@ResponseBody
|
||||
public ArrayList getBomDataForCopy(HttpServletRequest request, @RequestParam Map<String, Object> paramMap){
|
||||
ArrayList bomDataList = new ArrayList();
|
||||
try{
|
||||
bomDataList = (ArrayList)partMngService.getBomDataForCopy(request, paramMap);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
return bomDataList;
|
||||
}
|
||||
|
||||
/**
|
||||
* BOM 파트&구조 저장
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user