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);
|
}
|
|
}
|