feature/jp-0331 #526

Open
jungpyo2001 wants to merge 998 commits from feature/jp-0331 into main
Showing only changes of commit 86d3f794e5 - Show all commits

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;
}