feat:调整空域分组详情删除接口
This commit is contained in:
parent
40645de69c
commit
c2cc12eeda
|
|
@ -135,4 +135,15 @@ public class AirlineAreaGroupController extends BaseController {
|
||||||
return toAjax(iAirlineAreaGroupService.insertAreaWithGroup(groupId, dto));
|
return toAjax(iAirlineAreaGroupService.insertAreaWithGroup(groupId, dto));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除空域(软删除)
|
||||||
|
*
|
||||||
|
* @param areaId 空域ID
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@DeleteMapping("/deleteArea/{areaId}")
|
||||||
|
@Operation(summary = "删除空域")
|
||||||
|
public AjaxResult deleteArea(@PathVariable Long areaId) {
|
||||||
|
return toAjax(iAirlineAreaGroupService.deleteArea(areaId));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,4 +53,11 @@ public interface IAirlineAreaGroupService {
|
||||||
* @return 新增结果
|
* @return 新增结果
|
||||||
*/
|
*/
|
||||||
int insertAreaWithGroup(Long groupId, AirlineAreaDTO area);
|
int insertAreaWithGroup(Long groupId, AirlineAreaDTO area);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除空域(软删除)
|
||||||
|
* @param areaId 空域ID
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
int deleteArea(Long areaId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue