| | |
| | | import com.ruoyi.sales.pojo.SalesLedgerProduct; |
| | | import com.ruoyi.sales.service.ISalesLedgerProductService; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/basic/product") |
| | | @Tag(name = "产品管理", description = "产品管理") |
| | | public class ProductController extends BaseController { |
| | | |
| | | private IProductService productService; |
| | |
| | | return productService.listPageProductModel(page, productModel); |
| | | } |
| | | |
| | | @Operation(summary = "分页查询所有产品型号以及数量批号") |
| | | @GetMapping("/pageModelAndQua") |
| | | public IPage<ProductModelVo> pageModelAndQua(Page<ProductModelVo> page, ProductModel productModel) { |
| | | return productService.pageModelAndQua(page, productModel); |
| | | } |
| | | |
| | | /** |
| | | * 导入产品 |
| | | */ |