From 3664ff0935aeab26d23926331333a1f55caea1c1 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Mon, 19 Jan 2026 15:23:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditAttachmentController.java | 67 ++++++++++++++++-----------------
1 files changed, 33 insertions(+), 34 deletions(-)
diff --git a/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditAttachmentController.java b/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditAttachmentController.java
index c17d655..11f1bb5 100644
--- a/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditAttachmentController.java
+++ b/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdSupplyDemandAuditAttachmentController.java
@@ -64,10 +64,9 @@
*/
@GetMapping("/detail")
@ApiOperationSupport(order = 1)
- @ApiOperation(value = "详情", notes = "传入gdSupplyDemandAuditAttachment")
- public R<GdSupplyDemandAuditAttachmentVO> detail(GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) {
- GdSupplyDemandAuditAttachmentEntity detail = gdSupplyDemandAuditAttachmentService.getOne(Condition.getQueryWrapper(gdSupplyDemandAuditAttachment));
- return R.data(GdSupplyDemandAuditAttachmentWrapper.build().entityVO(detail));
+ @ApiOperation(value = "详情", notes = "传入demandId")
+ public R<List<GdSupplyDemandAuditAttachmentVO>> detail(@ApiParam(value = "供需需求ID", required = true) @RequestParam Long demandId) {
+ return R.data(gdSupplyDemandAuditAttachmentService.listSupplyDemandAuditAttachments(demandId));
}
/**
* 供需需求审核附件表 分页
@@ -91,25 +90,25 @@
return R.data(pages);
}
- /**
- * 供需需求审核附件表 新增
- */
- @PostMapping("/save")
- @ApiOperationSupport(order = 4)
- @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAuditAttachment")
- public R save(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) {
- return R.status(gdSupplyDemandAuditAttachmentService.save(gdSupplyDemandAuditAttachment));
- }
+// /**
+// * 供需需求审核附件表 新增
+// */
+// @PostMapping("/save")
+// @ApiOperationSupport(order = 4)
+// @ApiOperation(value = "新增", notes = "传入gdSupplyDemandAuditAttachment")
+// public R save(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) {
+// return R.status(gdSupplyDemandAuditAttachmentService.save(gdSupplyDemandAuditAttachment));
+// }
- /**
- * 供需需求审核附件表 修改
- */
- @PostMapping("/update")
- @ApiOperationSupport(order = 5)
- @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAuditAttachment")
- public R update(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) {
- return R.status(gdSupplyDemandAuditAttachmentService.updateById(gdSupplyDemandAuditAttachment));
- }
+// /**
+// * 供需需求审核附件表 修改
+// */
+// @PostMapping("/update")
+// @ApiOperationSupport(order = 5)
+// @ApiOperation(value = "修改", notes = "传入gdSupplyDemandAuditAttachment")
+// public R update(@Valid @RequestBody GdSupplyDemandAuditAttachmentEntity gdSupplyDemandAuditAttachment) {
+// return R.status(gdSupplyDemandAuditAttachmentService.updateById(gdSupplyDemandAuditAttachment));
+// }
/**
* 供需需求审核附件表 新增或修改
@@ -132,20 +131,20 @@
}
- /**
- * 导出数据
- */
- @GetMapping("/export-gdSupplyDemandAuditAttachment")
- @ApiOperationSupport(order = 9)
- @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAuditAttachment")
- public void exportGdSupplyDemandAuditAttachment(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAuditAttachment, BladeUser bladeUser, HttpServletResponse response) {
- QueryWrapper<GdSupplyDemandAuditAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAuditAttachment, GdSupplyDemandAuditAttachmentEntity.class);
+// /**
+// * 导出数据
+// */
+// @GetMapping("/export-gdSupplyDemandAuditAttachment")
+// @ApiOperationSupport(order = 9)
+// @ApiOperation(value = "导出数据", notes = "传入gdSupplyDemandAuditAttachment")
+// public void exportGdSupplyDemandAuditAttachment(@ApiIgnore @RequestParam Map<String, Object> gdSupplyDemandAuditAttachment, BladeUser bladeUser, HttpServletResponse response) {
+// QueryWrapper<GdSupplyDemandAuditAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdSupplyDemandAuditAttachment, GdSupplyDemandAuditAttachmentEntity.class);
//if (!AuthUtil.isAdministrator()) {
// queryWrapper.lambda().eq(GdSupplyDemandAuditAttachment::getTenantId, bladeUser.getTenantId());
//}
- queryWrapper.lambda().eq(GdSupplyDemandAuditAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
- List<GdSupplyDemandAuditAttachmentExcel> list = gdSupplyDemandAuditAttachmentService.exportGdSupplyDemandAuditAttachment(queryWrapper);
- ExcelUtil.export(response, "供需需求审核附件表数据" + DateUtil.time(), "供需需求审核附件表数据表", list, GdSupplyDemandAuditAttachmentExcel.class);
- }
+// queryWrapper.lambda().eq(GdSupplyDemandAuditAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
+// List<GdSupplyDemandAuditAttachmentExcel> list = gdSupplyDemandAuditAttachmentService.exportGdSupplyDemandAuditAttachment(queryWrapper);
+// ExcelUtil.export(response, "供需需求审核附件表数据" + DateUtil.time(), "供需需求审核附件表数据表", list, GdSupplyDemandAuditAttachmentExcel.class);
+// }
}
--
Gitblit v1.9.3