chenrui
2025-04-09 e2c5017787d7fc5eea2afb8bc84bca0db054ad8c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.ruoyi.basic.controller;
 
import com.ruoyi.basic.pojo.IfsInventoryQuantity;
import com.ruoyi.basic.service.IfsInventoryQuantityService;
import com.ruoyi.common.core.domain.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
 
@Api(tags = "原辅材下单")
@AllArgsConstructor
@RestController
@RequestMapping("/ifsInventoryQuantity")
public class IfsInventoryQuantityController {
 
     private IfsInventoryQuantityService ifsInventoryQuantityService;
 
     @PostMapping("/addIfsInventory")
     public Result addIfsInventory(@RequestBody IfsInventoryQuantity ifsInventoryQuantity) {
          return Result.success(ifsInventoryQuantityService.addIfsInventory(ifsInventoryQuantity));
     }
 
     @ApiOperation(value = "删除")
     @DeleteMapping("/delIfsInventory")
     public Result<?> delIfsInventory(Integer id) {
          return Result.success(ifsInventoryQuantityService.delIfsInventory(id));
     }
 
 
}