lxw
2022-09-05 2f7fd48618c9ad9999d4f3bf6253daffef6f15fe
src/main/java/com/whyc/controller/MaterialController.java
@@ -56,7 +56,13 @@
    @ApiOperation(value = "根据物料id查询返回附件文件夹下所有的文件列表",notes = "9.3修改后使用")
    @GetMapping("getAttachByMaterialId")
    public Response getAttachByMaterialId(@RequestParam int MaterialId){
        return service.getAttachByMaterialId(MaterialId);
    public Response getAttachByMaterialId(@RequestParam int materialId){
        return service.getAttachByMaterialId(materialId);
    }
    @ApiOperation(value = "根据物料型号('-','_'之前的部分)查询物料的历史版本",notes = "9.3修改后使用")
    @GetMapping("getMaterialVersion")
    public Response getMaterialVersion(@RequestParam String subModel){
        return service.getMaterialVersion(subModel);
    }
}