Commit 19d0d972 authored by KeYong's avatar KeYong

删除冗余代码

parent ca75f8be
...@@ -803,38 +803,4 @@ public class PointController extends AbstractBaseController { ...@@ -803,38 +803,4 @@ public class PointController extends AbstractBaseController {
return CommonResponseUtil.success(iPointService.getRegionTress()); return CommonResponseUtil.success(iPointService.getRegionTress());
} }
// /**
// * 同步点
// *
// * @return
// */
// @TycloudOperation(ApiLevel = UserType.AGENCY)
// @ApiOperation(value = "机场单位同步", notes = "机场单位同步")
// @RequestMapping(value = "/teamInput", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
// public CommonResponse syncSavePoint(
// @ApiParam(value = "同步请求参数") @RequestBody OrgUsrFormDto orgUsrFormDto) {
// ReginParams reginParams = getSelectedOrgInfo();
// iPointService.syncSavePoint(orgUsrFormDto);
// return CommonResponseUtil.success();
// }
/**
* 删除巡检点
*
* @param id
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(value = "同步删除机场单位", notes = "同步删除机场单位")
@PostMapping(value = "/delete", produces = "application/json;charset=UTF-8")
public CommonResponse deleteOwner(@ApiParam(value = "巡检点ID", required = true) @RequestBody Long id) {
try {
iPointService.delPointByPointNo(id);
return CommonResponseUtil.success();
} catch (Exception e) {
log.error(e.getMessage(), e);
return CommonResponseUtil.failure("删除检查点失败");
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment