lxw
2022-07-19 a6b95ba7ada955df04b7e87a1b3096b7f3472f9e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.pojo.ProductBom;
import com.whyc.service.ProductBomService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@Api(tags = "图纸管理")
@RestController
@RequestMapping("productBom")
public class ProductBomController {
    @Autowired
    private ProductBomService service;
 
    @ApiOperation("图纸查询分类检索")
    @PostMapping("searchCadDrawer")
    private Response searchCadDrawer(@RequestBody ProductBom productBom, @RequestParam int pageCurr, @RequestParam int pageSize){
        return service.searchCadDrawer(productBom,pageCurr,pageSize);
    }
 
}