| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @author ard |
| | | * @date 2023-07-20 |
| | | */ |
| | | @Api(tags = "电子围栏管理") |
| | | @RestController |
| | | @RequestMapping("/alarmpoints/wall") |
| | | public class ArdWallController extends BaseController |
| | |
| | | /** |
| | | * 查询电子围栏管理列表 |
| | | */ |
| | | @ApiOperation("查询电子围栏管理列表") |
| | | @PreAuthorize("@ss.hasPermi('alarmpoints:wall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ArdWall ardWall) |
| | |
| | | /** |
| | | * 获取电子围栏管理详细信息 |
| | | */ |
| | | @ApiOperation("获取电子围栏管理详细信息") |
| | | @PreAuthorize("@ss.hasPermi('alarmpoints:wall:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) |
| | |
| | | /** |
| | | * 新增电子围栏管理 |
| | | */ |
| | | @ApiOperation("新增电子围栏管理") |
| | | @PreAuthorize("@ss.hasPermi('alarmpoints:wall:add')") |
| | | @Log(title = "电子围栏管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | |
| | | /** |
| | | * 修改电子围栏管理 |
| | | */ |
| | | @ApiOperation("修改电子围栏管理") |
| | | @PreAuthorize("@ss.hasPermi('alarmpoints:wall:edit')") |
| | | @Log(title = "电子围栏管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | |
| | | /** |
| | | * 删除电子围栏管理 |
| | | */ |
| | | @ApiOperation("删除电子围栏管理") |
| | | @PreAuthorize("@ss.hasPermi('alarmpoints:wall:remove')") |
| | | @Log(title = "电子围栏管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |