Procházet zdrojové kódy

Merge branch 'dev-2.11.0' of depot-qinghai/depot-device-qinghai into dev

hujianchun před 1 rokem
rodič
revize
197fff3a17

+ 2 - 2
src/main/java/com/chinaitop/depot/device/controller/BusinessImPurchaseSaleController.java

@@ -94,9 +94,9 @@ public class BusinessImPurchaseSaleController {
94 94
         return ResponseEntity.ok(businessImPurchaseSaleService.deleteData(id));
95 95
     }
96 96
 
97
-    @GetMapping("/getById/{id}")
97
+    @GetMapping("/getById")
98 98
     @ApiOperation(value = "采购销售管理-详情", notes = "id获取详情")
99
-    public ResponseEntity<BusinessImPurchaseSale> getById(@PathVariable("id") String id) {
99
+    public ResponseEntity<BusinessImPurchaseSale> getById(String id) {
100 100
         return ResponseEntity.ok(businessImPurchaseSaleService.getById(id));
101 101
     }
102 102