| | |
| | | /** |
| | | * 查询卡口过车数据一致性列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('platform:platform:list')") |
| | | // @PreAuthorize("@ss.hasPermi('platform:platform:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(VehicleDataMonitor vehicleDataMonitor) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 获取卡口过车数据一致性详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('platform:platform:query')") |
| | | // @PreAuthorize("@ss.hasPermi('platform:platform:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Integer id) { |
| | | return success(vehicleDataMonitorService.selectVehicleDataMonitorById(id)); |
| | |
| | | /** |
| | | * 新增卡口过车数据一致性 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('platform:platform:add')") |
| | | // @PreAuthorize("@ss.hasPermi('platform:platform:add')") |
| | | @Log(title = "卡口过车数据一致性", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody VehicleDataMonitor vehicleDataMonitor) { |
| | |
| | | /** |
| | | * 修改卡口过车数据一致性 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('platform:platform:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('platform:platform:edit')") |
| | | @Log(title = "卡口过车数据一致性", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody VehicleDataMonitor vehicleDataMonitor) { |
| | |
| | | /** |
| | | * 删除卡口过车数据一致性 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('platform:platform:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('platform:platform:remove')") |
| | | @Log(title = "卡口过车数据一致性", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Integer[] ids) { |