whyclxw
3 天以前 12154b62b42df29173cdc54d7fd35d02d9a6422b
src/main/java/com/whyc/controller/BOMFeedbakController.java
@@ -62,7 +62,15 @@
    @ApiOperation(value = "根据文件路径下载")
    @GetMapping("downLoadFileByFilePath")
    public void downLoadFileByFilePath(HttpServletRequest req, HttpServletResponse resp, @RequestParam String filePath){
        service.downLoadFileByFilePath(req,resp,filePath);
    public void downLoadFileByFilePath(HttpServletRequest req, HttpServletResponse resp, @RequestParam String filePath
            , @RequestParam String oprateReason, @RequestParam String oprateInfo, @RequestParam String oprateVersion, @RequestParam int type){
        service.downLoadFileByFilePath(req,resp,filePath,oprateReason,oprateInfo,oprateVersion,type);
    }
    @ApiOperation("查询分页")
    @PostMapping("getListPage")
    public Response getListPage(@RequestBody BOMFeedback feedback,@RequestParam int pageNum,@RequestParam int pageSize){
        return service.getListPage(feedback,pageNum,pageSize);
    }
}