src/main/java/com/yssh/controller/SuYuanController.java
@@ -193,5 +193,14 @@ if (null == x || null == y || x.length == 0 || x.length != y.length) return Result.OK(null); return Result.OK(suYuanService.selectRects(x, y)); } @ApiOperation(value = "根据名称查询溯源ID", notes = "根据名称查询溯源ID") @ApiOperationSupport(order = 16) @GetMapping("/selectSuYuanIdByName") public Result selectSuYuanIdByName(@RequestParam(value = "name") String name) { if (null == name || name.length() == 0) return Result.OK(null); return Result.OK(suYuanService.selectSuYuanIdByName(name)); } }