lxw
2022-08-02 fe8814117bbacd597ca5486d749420a6e6dbe1dc
src/main/java/com/whyc/controller/ProductBomHistoryController.java
@@ -17,9 +17,15 @@
    @Autowired
    private ProductBomHistoryService service;
    @ApiOperation(value = "根据子件名称和母料编号查询历史版本记录")
    @GetMapping("getBomByPCodeAndSName")
    public Response getBomByPCodeAndSName(@RequestParam int pcode, @RequestParam int sname){
        return service.getBomByPCodeAndSName(pcode,sname);
    @ApiOperation(value = "根据子件名称和母料型号查询历史版本记录")
    @GetMapping("getBomHistoryByPModelAndSName")
    public Response getBomHistoryByPModelAndSName(@RequestParam String pmodel, @RequestParam String sname){
        return service.getBomHistoryByPModelAndSName(pmodel,sname);
    }
    @ApiOperation(tags="产品管理",value = "查询产品的最大版本信息")
    @GetMapping("getMaxBoom")
    public Response getMaxBoom(@RequestParam String parentCode,@RequestParam String parentName,@RequestParam String parentModel){
        return service.getMaxBoom(parentCode,parentName,parentModel);
    }
}