吉安感知网项目-后端
linwei
2026-02-05 08d4bb2bf4bfadc9ab5fcf6b0a2bfb543d22b2a0
drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditController.java
@@ -60,24 +60,35 @@
   private final IGdSupplyDemandAuditService gdSupplyDemandAuditService;
   /**
    * 供需需求审核记录表 列表
    */
   @GetMapping("/list")
   @ApiOperationSupport(order = 1)
   @ApiOperation(value = "列表", notes = "传入demandId")
   public R<List<GdSupplyDemandAuditVO>> list(@ApiParam(value = "供需需求ID", required = true) @RequestParam Long demandId) {
      return R.data(gdSupplyDemandAuditService.listSupplyDemandAudit(demandId));
   }
   /**
    * 供需需求审核记录表 详情
    */
   @GetMapping("/detail")
   @ApiOperationSupport(order = 1)
   @ApiOperation(value = "详情", notes = "传入demandId")
   public R<List<GdSupplyDemandAuditVO>> detail(@ApiParam(value = "供需需求ID", required = true) @RequestParam Long demandId) {
      return R.data(gdSupplyDemandAuditService.listSupplyDemandAudit(demandId));
   }
   /**
    * 供需需求审核记录表 分页
    */
   @GetMapping("/list")
   @ApiOperationSupport(order = 2)
   @ApiOperation(value = "分页", notes = "传入gdSupplyDemandAudit")
   public R<IPage<GdSupplyDemandAuditVO>> list(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAudit, Query query) {
      IPage<GdSupplyDemandAuditEntity> pages = gdSupplyDemandAuditService.page(Condition.getPage(query), Condition.getQueryWrapper(gdSupplyDemandAudit, GdSupplyDemandAuditEntity.class));
      return R.data(GdSupplyDemandAuditWrapper.build().pageVO(pages));
   @ApiOperation(value = "详情", notes = "传入id")
   public R<GdSupplyDemandAuditVO> detail(@ApiParam(value = "主键ID", required = true) @RequestParam Long id) {
      GdSupplyDemandAuditEntity detail = gdSupplyDemandAuditService.getById(id);
      return R.data(GdSupplyDemandAuditWrapper.build().entityVO(detail));
   }
//   /**
//    * 供需需求审核记录表 分页
//    */
//   @GetMapping("/list")
//   @ApiOperationSupport(order = 2)
//   @ApiOperation(value = "分页", notes = "传入gdSupplyDemandAudit")
//   public R<IPage<GdSupplyDemandAuditVO>> list(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAudit, Query query) {
//      IPage<GdSupplyDemandAuditEntity> pages = gdSupplyDemandAuditService.page(Condition.getPage(query), Condition.getQueryWrapper(gdSupplyDemandAudit, GdSupplyDemandAuditEntity.class));
//      return R.data(GdSupplyDemandAuditWrapper.build().pageVO(pages));
//   }
   /**
    * 供需需求审核记录表 自定义分页