Browse Source

비행계획서 수정 시 PlanSno가 같으면 유효성검사 발동하지 않도록 변경(수정하려는 글의 내용까지 포함해서 필터링하지 않도록)

feature/auth
박재우 2 years ago
parent
commit
6af48dc9b6
  1. 4
      src/main/java/com/palnet/biz/api/bas/flight/service/BasFlightService.java

4
src/main/java/com/palnet/biz/api/bas/flight/service/BasFlightService.java

@ -115,7 +115,9 @@ public class BasFlightService {
List<BasFlightPlanModel> effectivePlanList = fltPlanQueryRepository.CoordCheck(rq); List<BasFlightPlanModel> effectivePlanList = fltPlanQueryRepository.CoordCheck(rq);
List<BasFlightPlanAreaCoordRq> effectivePlanCount = fltPlanQueryRepository.CoordCount(rq); List<BasFlightPlanAreaCoordRq> effectivePlanCount = fltPlanQueryRepository.CoordCount(rq);
for(BasFlightPlanModel i : effectivePlanList) {
if(rq.getPlanSno().equals(i.getPlanSno()))return;
}
if(effectivePlanList != null && !effectivePlanList.isEmpty()) { if(effectivePlanList != null && !effectivePlanList.isEmpty()) {
for(BasFlightPlanModel plan : effectivePlanList) { for(BasFlightPlanModel plan : effectivePlanList) {
// 1. 구역 조회 // 1. 구역 조회

Loading…
Cancel
Save