From b9ff0ede78518a3c7c160f12942acd9410c33ce5 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期五, 28 二月 2025 14:41:01 +0800
Subject: [PATCH] 清除不符合品管理, 调整设备档案和维护保养

---
 inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java |   31 ++-----------------------------
 1 files changed, 2 insertions(+), 29 deletions(-)

diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
index bda6f2e..2f95736 100644
--- a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
+++ b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
@@ -85,7 +85,7 @@
     @GetMapping("/selectOrderManDay")
     public Result<?> selectOrderManDay(Integer id) {
         int day = insProductService.selectOrderManDay(id);
-        return Result.success("鎴愬姛", LocalDateTime.now().plusHours(day).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
+        return Result.success(LocalDateTime.now().plusHours(day).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
     }
 
     @ApiOperation(value = "鏌ヨ妫�楠屼笅鍗曞唴瀹硅鎯�")
@@ -99,7 +99,6 @@
             @ApiImplicitParam(name = "id", value = "妫�楠屽崟id", dataTypeClass = Integer.class),
             @ApiImplicitParam(name = "state", value = "瀹℃牳缁撴灉 1:閫氳繃 2锛氫笉閫氳繃", dataTypeClass = Integer.class)
     })
-
     @PostMapping("/upInsOrderOfState")
     public Result<?> upInsOrderOfState(@RequestBody InsOrder insOrder) {
         return Result.success(insOrderService.upInsOrderOfState(insOrder));
@@ -120,7 +119,7 @@
     @ApiOperation(value = "閫氳繃妫�楠屽崟妯℃澘id鑾峰彇妫�楠屽崟妯℃澘鍐呭")
     @GetMapping("/selectInsOrderTemplateById")
     public Result<?> selectInsOrderTemplateById(Integer id) {
-        return Result.success("鎴愬姛", insOrderTemplateService.selectInsOrderTemplateById(id));
+        return Result.success(insOrderTemplateService.selectInsOrderTemplateById(id));
     }
 
     @ApiOperation(value = "鍒犻櫎妫�楠屽崟妯℃澘")
@@ -133,25 +132,6 @@
     @GetMapping("/selectSampleAndProductByOrderId")
     public Result<?> selectSampleAndProductByOrderId(Page page, SampleProductDto2 sampleProductDto){
         return Result.success(insOrderService.selectSampleAndProductByOrderId(page, sampleProductDto));
-    }
-
-    @ApiOperation(value = "璐圭敤缁熻")
-    @GetMapping("/costStatistics")
-    public Result<?> costStatistics(Page page, CostStatisticsDto costStatisticsDto){
-        return Result.success(insOrderService.costStatistics(page, costStatisticsDto));
-    }
-
-    @ApiOperation(value = "璐圭敤缁熻鑾峰彇鎬讳环")
-    @GetMapping("/costStatistics2")
-    public Result<?> costStatistics2(CostStatisticsDto costStatisticsDto){
-        return Result.success(insOrderService.costStatistics2(costStatisticsDto));
-    }
-
-
-    @ApiOperation(value = "鏍峰搧缂洪櫡鎸囨暟")
-    @GetMapping("/selectSampleDefects")
-    public Result selectSampleDefects(Integer size, Integer current, String inspectionItems, String orderNumber) {
-        return Result.success(insOrderService.selectSampleDefects(new Page<>(current, size),inspectionItems, orderNumber));
     }
 
 
@@ -194,13 +174,6 @@
         Integer state = (Integer) param.get("state");
         insProductService.checkUpdate(orderId,state);
         return Result.success();
-    }
-
-
-    @ApiOperation(value = "璐圭敤缁熻瀵煎嚭")
-    @GetMapping("/export")
-    public void export(CostStatisticsDto costStatisticsDto,HttpServletResponse response) throws ServletException, IOException {
-       insOrderService.export(costStatisticsDto,response);
     }
 
 

--
Gitblit v1.9.3