| | |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | |
| | | public R<List<XpCheckLocation>> getList(){ |
| | | return R.ok(xpCheckLocationService.lambdaQuery().eq(XpCheckLocation::getStatus, DisabledEnum.YES.getCode()).list()); |
| | | } |
| | | |
| | | @GetMapping("/inner/check-location/queryById") |
| | | @ApiOperation(value = "根据ID查询打卡地址", tags = {"内部接口"}) |
| | | public R<XpCheckLocation> queryById(@RequestParam Long id) { |
| | | return R.ok(xpCheckLocationService.getById(id)); |
| | | } |
| | | } |