| | |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 电子围栏详情 |
| | | */ |
| | | @GetMapping("/api/v1/electronicFence/queryById") |
| | | R<ElectronicFenceDetailVo> queryById(Long id); |
| | | @PostMapping("/api/v1/electronicFence/queryById") |
| | | R<ElectronicFenceDetailVo> queryById(@RequestParam("id")Long id); |
| | | /** |
| | | * 编辑电子围栏 |
| | | */ |
| | |
| | | /** |
| | | * 复制电子围栏 |
| | | */ |
| | | @PutMapping("/api/v1/electronicFence/copy") |
| | | R copy(Integer id); |
| | | @PostMapping("/api/v1/electronicFence/copy") |
| | | R<Long> copy(@RequestParam("id") Integer id); |
| | | |
| | | /** |
| | | * 根据ID列表批量查询电子围栏 |