whycxzp
2022-08-08 0260054be8b5a7c1ffd0ff646ed8efd722dc8fd9
src/main/java/com/whyc/controller/ComponentController.java
@@ -17,12 +17,12 @@
    @Autowired
    private ComponentService service;
    @ApiOperation(value = "查询所有的散装件信息")
    @ApiOperation(value = "查询所有的散装件信息分页(带上关联的子件信息,status状态不做处理))")
    @GetMapping("getAllComponent")
    public Response getAllComponent(@RequestParam int pageCurr, @RequestParam int pageSize){
        return service.getAllComponent(pageCurr,pageSize);
    }
    @ApiOperation(tags = "产品管理",value = "查询所有的散装件信息不分页(不包含被关联的散装件)")
    @ApiOperation(tags = "产品管理",value = "查询所有的散装件信息不分页(不包含被关联的散装件,status=1可用)")
    @GetMapping("getComponentWithoutSub")
    public Response getComponentWithoutSub(@RequestParam String parentModel, @RequestParam String subName){
        return service.getComponentWithoutSub(parentModel,subName);