물건 저장시 플랜 자동생성 제거
This commit is contained in:
parent
7e4a240e2a
commit
86d3f794e5
@ -261,6 +261,7 @@ public class ObjectService {
|
|||||||
result += objectMapper.updateObjectDelivery(objectRequest);
|
result += objectMapper.updateObjectDelivery(objectRequest);
|
||||||
|
|
||||||
// 디폴트 Plan 등록
|
// 디폴트 Plan 등록
|
||||||
|
/*
|
||||||
PlanRequest planRequest = new PlanRequest();
|
PlanRequest planRequest = new PlanRequest();
|
||||||
planRequest.setObjectNo(objectNo);
|
planRequest.setObjectNo(objectNo);
|
||||||
planRequest.setRoofKindId("0");
|
planRequest.setRoofKindId("0");
|
||||||
@ -273,6 +274,7 @@ public class ObjectService {
|
|||||||
planRequest.setTempFlg("1");
|
planRequest.setTempFlg("1");
|
||||||
planRequest.setUserId(objectRequest.getUserId());
|
planRequest.setUserId(objectRequest.getUserId());
|
||||||
result += objectMapper.insertPlan(planRequest);
|
result += objectMapper.insertPlan(planRequest);
|
||||||
|
*/
|
||||||
|
|
||||||
// 플랜번호 존재 시 물건번호 업데이트
|
// 플랜번호 존재 시 물건번호 업데이트
|
||||||
if ("0".equals(objectRequest.getTempFlg())
|
if ("0".equals(objectRequest.getTempFlg())
|
||||||
@ -305,7 +307,6 @@ public class ObjectService {
|
|||||||
// 결과 데이터 리턴
|
// 결과 데이터 리턴
|
||||||
ObjectResponse objectResponse = new ObjectResponse();
|
ObjectResponse objectResponse = new ObjectResponse();
|
||||||
objectResponse.setObjectNo(objectNo);
|
objectResponse.setObjectNo(objectNo);
|
||||||
objectResponse.setPlanNo(planRequest.getPlanNo());
|
|
||||||
|
|
||||||
return objectResponse;
|
return objectResponse;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user