From 1510366fa12fafd5197ebcd8d7fbc45d2383218d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 22 Jan 2026 15:49:27 +0800
Subject: [PATCH] 设备管理优化
---
drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdDataObjectionAttachmentController.java | 45 +--------------------------------------------
1 files changed, 1 insertions(+), 44 deletions(-)
diff --git a/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdDataObjectionAttachmentController.java b/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdDataObjectionAttachmentController.java
index 729bd8c..8d7a4cb 100644
--- a/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdDataObjectionAttachmentController.java
+++ b/drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/controller/GdDataObjectionAttachmentController.java
@@ -69,16 +69,7 @@
GdDataObjectionAttachmentEntity detail = gdDataObjectionAttachmentService.getOne(Condition.getQueryWrapper(gdDataObjectionAttachment));
return R.data(GdDataObjectionAttachmentWrapper.build().entityVO(detail));
}
- /**
- * 数据异议申请附件表 分页
- */
- @GetMapping("/list")
- @ApiOperationSupport(order = 2)
- @ApiOperation(value = "分页", notes = "传入gdDataObjectionAttachment")
- public R<IPage<GdDataObjectionAttachmentVO>> list(@ApiIgnore @RequestParam Map<String, Object> gdDataObjectionAttachment, Query query) {
- IPage<GdDataObjectionAttachmentEntity> pages = gdDataObjectionAttachmentService.page(Condition.getPage(query), Condition.getQueryWrapper(gdDataObjectionAttachment, GdDataObjectionAttachmentEntity.class));
- return R.data(GdDataObjectionAttachmentWrapper.build().pageVO(pages));
- }
+
/**
* 数据异议申请附件表 自定义分页
@@ -91,25 +82,6 @@
return R.data(pages);
}
- /**
- * 数据异议申请附件表 新增
- */
- @PostMapping("/save")
- @ApiOperationSupport(order = 4)
- @ApiOperation(value = "新增", notes = "传入gdDataObjectionAttachment")
- public R save(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) {
- return R.status(gdDataObjectionAttachmentService.save(gdDataObjectionAttachment));
- }
-
- /**
- * 数据异议申请附件表 修改
- */
- @PostMapping("/update")
- @ApiOperationSupport(order = 5)
- @ApiOperation(value = "修改", notes = "传入gdDataObjectionAttachment")
- public R update(@Valid @RequestBody GdDataObjectionAttachmentEntity gdDataObjectionAttachment) {
- return R.status(gdDataObjectionAttachmentService.updateById(gdDataObjectionAttachment));
- }
/**
* 数据异议申请附件表 新增或修改
@@ -132,20 +104,5 @@
}
- /**
- * 导出数据
- */
- @GetMapping("/export-gdDataObjectionAttachment")
- @ApiOperationSupport(order = 9)
- @ApiOperation(value = "导出数据", notes = "传入gdDataObjectionAttachment")
- public void exportGdDataObjectionAttachment(@ApiIgnore @RequestParam Map<String, Object> gdDataObjectionAttachment, BladeUser bladeUser, HttpServletResponse response) {
- QueryWrapper<GdDataObjectionAttachmentEntity> queryWrapper = Condition.getQueryWrapper(gdDataObjectionAttachment, GdDataObjectionAttachmentEntity.class);
- //if (!AuthUtil.isAdministrator()) {
- // queryWrapper.lambda().eq(GdDataObjectionAttachment::getTenantId, bladeUser.getTenantId());
- //}
- queryWrapper.lambda().eq(GdDataObjectionAttachmentEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
- List<GdDataObjectionAttachmentExcel> list = gdDataObjectionAttachmentService.exportGdDataObjectionAttachment(queryWrapper);
- ExcelUtil.export(response, "数据异议申请附件表数据" + DateUtil.time(), "数据异议申请附件表数据表", list, GdDataObjectionAttachmentExcel.class);
- }
}
--
Gitblit v1.9.3