吉安感知网项目-后端
linwei
2026-01-19 08a5dc14a53da36b5ba5897ad772706a72a17c9a
drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/controller/GdFlyerController.java
@@ -72,13 +72,13 @@
   /**
    * 飞手表 分页
    */
   @GetMapping("/list")
   @ApiOperationSupport(order = 2)
   @ApiOperation(value = "分页", notes = "传入gdFlyer")
   public R<IPage<GdFlyerVO>> list(@ApiIgnore @RequestParam Map<String, Object> gdFlyer, Query query) {
      IPage<GdFlyerEntity> pages = gdFlyerService.page(Condition.getPage(query), Condition.getQueryWrapper(gdFlyer, GdFlyerEntity.class));
      return R.data(GdFlyerWrapper.build().pageVO(pages));
   }
   // @GetMapping("/list")
   // @ApiOperationSupport(order = 2)
   // @ApiOperation(value = "分页", notes = "传入gdFlyer")
   // public R<IPage<GdFlyerVO>> list(@ApiIgnore @RequestParam Map<String, Object> gdFlyer, Query query) {
   //    IPage<GdFlyerEntity> pages = gdFlyerService.page(Condition.getPage(query), Condition.getQueryWrapper(gdFlyer, GdFlyerEntity.class));
   //    return R.data(GdFlyerWrapper.build().pageVO(pages));
   // }
   /**
    * 飞手表 自定义分页
@@ -94,22 +94,22 @@
   /**
    * 飞手表 新增
    */
   @PostMapping("/save")
   @ApiOperationSupport(order = 4)
   @ApiOperation(value = "新增", notes = "传入gdFlyer")
   public R save(@Valid @RequestBody GdFlyerEntity gdFlyer) {
      return R.status(gdFlyerService.save(gdFlyer));
   }
   // @PostMapping("/save")
   // @ApiOperationSupport(order = 4)
   // @ApiOperation(value = "新增", notes = "传入gdFlyer")
   // public R save(@Valid @RequestBody GdFlyerEntity gdFlyer) {
   //    return R.status(gdFlyerService.save(gdFlyer));
   // }
   /**
    * 飞手表 修改
    */
   @PostMapping("/update")
   @ApiOperationSupport(order = 5)
   @ApiOperation(value = "修改", notes = "传入gdFlyer")
   public R update(@Valid @RequestBody GdFlyerEntity gdFlyer) {
      return R.status(gdFlyerService.updateById(gdFlyer));
   }
   // @PostMapping("/update")
   // @ApiOperationSupport(order = 5)
   // @ApiOperation(value = "修改", notes = "传入gdFlyer")
   // public R update(@Valid @RequestBody GdFlyerEntity gdFlyer) {
   //    return R.status(gdFlyerService.updateById(gdFlyer));
   // }
   /**
    * 飞手表 新增或修改
@@ -138,6 +138,7 @@
   @GetMapping("/export-gdFlyer")
   @ApiOperationSupport(order = 9)
   @ApiOperation(value = "导出数据", notes = "传入gdFlyer")
   @ApiIgnore
   public void exportGdFlyer(@ApiIgnore @RequestParam Map<String, Object> gdFlyer, BladeUser bladeUser, HttpServletResponse response) {
      QueryWrapper<GdFlyerEntity> queryWrapper = Condition.getQueryWrapper(gdFlyer, GdFlyerEntity.class);
      //if (!AuthUtil.isAdministrator()) {