lxw
2023-10-20 7256cfae5c075ee4b353a96d864963373e05946c
src/main/java/com/whyc/controller/ProductController.java
@@ -156,7 +156,7 @@
    @ApiOperation(value = "验证母料编码是否存在产品中")
    @GetMapping("judgeParentCode")
    public Response judgeParentCode(@RequestParam String parentCode){
        return service.judgeParentCode(parentCode);
    public Response judgeParentCode(@RequestParam String parentCode,@RequestParam(required = false) String customCode){
        return service.judgeParentCode(parentCode,customCode);
    }
}