修改查找行业一级分类接口

上级 0788cb8a
......@@ -65,7 +65,7 @@ public class IndustryTypeController {
@ApiOperation(value = "一级行业详情-全部")
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = IndustryTypeDTO.class)})
@GetMapping("getIndustryTypeById")
public IndustryTypeDTO getIndustryTypeById(@RequestParam Integer id, @RequestParam Integer inspectionId) {
public IndustryTypeDTO getIndustryTypeById(@RequestParam Integer id, @RequestParam(required = false) Integer inspectionId) {
return industryTypeService.getIndustryTypeById(id, inspectionId);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论