E-BOM 확인/수정 품목추가로직수정
This commit is contained in:
@@ -1217,10 +1217,15 @@ public class PartMngService extends BaseService {
|
||||
try{
|
||||
System.out.println("standardBOMInfo : "+standardBOMInfo);
|
||||
|
||||
Map sqlParamMap = new HashMap();
|
||||
sqlParamMap.put("bomReportObjId", CommonUtils.checkNull(standardBOMInfo.get("OBJID")));
|
||||
//sqlParamMap.put("search_type", "working"); //bom조회 working조건 231208
|
||||
sqlParamMap.put("search_type", CommonUtils.checkNull(standardBOMInfo.get("actionType")));
|
||||
Map sqlParamMap = new HashMap();
|
||||
sqlParamMap.put("bomReportObjId", CommonUtils.checkNull(standardBOMInfo.get("OBJID")));
|
||||
//sqlParamMap.put("search_type", "working"); //bom조회 working조건 231208
|
||||
// actionType과 search_type 둘 다 체크 (우선순위: search_type > actionType)
|
||||
String searchType = CommonUtils.checkNull(standardBOMInfo.get("search_type"));
|
||||
if(searchType.isEmpty()) {
|
||||
searchType = CommonUtils.checkNull(standardBOMInfo.get("actionType"));
|
||||
}
|
||||
sqlParamMap.put("search_type", searchType);
|
||||
|
||||
resultList = sqlSession.selectList("partMng.getBOMTreeList", sqlParamMap);
|
||||
int maxLevel = 0;
|
||||
|
||||
Reference in New Issue
Block a user