/queryListByInfoId接口str形参改为非必填

This commit is contained in:
caozhen
2023-09-20 10:55:48 +08:00
parent 597f82208f
commit 56fff0fa45
@@ -178,7 +178,7 @@ public class SarFileCompareResCommentController extends JeroController<SarFileCo
@ApiOperation(value = "文档对比信息结果评论表-根据infoId查询列表", notes = "文档对比信息结果评论表-根据infoId查询列表")
@GetMapping(value = "/queryListByInfoId")
public Result<List<SarFileCompareResComVO>> queryListByInfoId(@RequestParam(name = "id", required = true) String id,
@RequestParam(name = "str") String str) {
@RequestParam(name = "str", required = false) String str) {
List<SarFileCompareResComVO> list = sarFileCompareResCommentService.queryListByInfoId(id, str);
return Result.OK(list);
}