| | |
| | | @ApiOperation(value = "根据X、Y值查询矩形框", notes = "根据X、Y值查询矩形框") |
| | | @ApiOperationSupport(order = 13) |
| | | @GetMapping("/selectRects") |
| | | public Result selectRects(@RequestParam(value = "x[]") Double[] x, @RequestParam(value = "y[]") Double[] y) { |
| | | public Result selectRects(@RequestParam(value = "x[]", required = true) Double[] x, @RequestParam(value = "y[]", required = true) Double[] y) { |
| | | 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和日期查询溯源700表", notes = "根据ID和日期查询溯源700表") |
| | | @ApiOperationSupport(order = 14) |
| | | @GetMapping("/selectSuYuan700ById") |
| | | public Result selectSuYuan700ById(@RequestParam(value = "id", required = true) String id, @RequestParam(value = "date", required = true) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date date) { |
| | | return Result.OK(suYuanService.selectSuYuan700ById(id, date)); |
| | | } |
| | | } |