물건 저장시 플랜 자동생성 제거

This commit is contained in:
LAPTOP-L3VE7KK2\USER 2025-01-17 17:43:40 +09:00
parent 7e4a240e2a
commit 86d3f794e5

View File

@ -261,6 +261,7 @@ public class ObjectService {
result += objectMapper.updateObjectDelivery(objectRequest);
// 디폴트 Plan 등록
/*
PlanRequest planRequest = new PlanRequest();
planRequest.setObjectNo(objectNo);
planRequest.setRoofKindId("0");
@ -273,6 +274,7 @@ public class ObjectService {
planRequest.setTempFlg("1");
planRequest.setUserId(objectRequest.getUserId());
result += objectMapper.insertPlan(planRequest);
*/
// 플랜번호 존재 물건번호 업데이트
if ("0".equals(objectRequest.getTempFlg())
@ -305,7 +307,6 @@ public class ObjectService {
// 결과 데이터 리턴
ObjectResponse objectResponse = new ObjectResponse();
objectResponse.setObjectNo(objectNo);
objectResponse.setPlanNo(planRequest.getPlanNo());
return objectResponse;
}