Commit 64501107 authored by shangtx's avatar shangtx

fix: 管理端查询估价员接口

parent f3d4a4fb
......@@ -41,7 +41,7 @@ public class ServiceValuatorController {
@ApiOperation(value = "根据姓名查询")
@GetMapping("search")
public Result<List<ServiceValuatorVO>> getDetails(@RequestParam("name") @ApiParam(name = "name", value = "估价员姓名") @PathVariable @NotBlank String name) {
public Result<List<ServiceValuatorVO>> getDetails(@RequestParam(name = "name", required = false) @ApiParam(name = "name", value = "估价员姓名") String name) {
return success(serviceValuatorService.selectByName(name));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment