whycxzp
2022-10-17 04d13e3a41ef798e07c25c1d3ad2002270a9cb76
src/main/java/com/whyc/controller/MaterialController.java
@@ -62,6 +62,7 @@
        return service.getAttachByMaterialId(materialId);
    }
    @ApiOperation(value = "根据物料型号('-','_'之前的部分)查询物料的历史版本",notes = "9.3修改后使用")
    @GetMapping("getMaterialVersion")
    public Response getMaterialVersion(@RequestParam String subModel){
@@ -82,4 +83,10 @@
        List<MultipartFile> multipartFileList = Arrays.asList(file);
        return service.addAttachment(multipartFileList,material);
    }
    @ApiOperation("物料图纸对比")
    @GetMapping("dwgCompare")
    public Response dwgCompare(@RequestParam int materialId,@RequestParam int materialId2) throws IOException {
        return service.dwgCompare(materialId,materialId2);
    }
}