| | |
| | | * @author sgj |
| | | * @date 2025/12/06 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:view") |
| | | @GetMapping() |
| | | public String patrol() { |
| | | return prefix + "/patrol"; |
| | |
| | | /** |
| | | * 查询电子巡更列表 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:list") |
| | | @PostMapping("/list") |
| | | @ResponseBody |
| | | public TableDataInfo list(Patrol param) { |
| | |
| | | * 导出电子巡更列表 |
| | | */ |
| | | @Log(title = "电子巡更管理", businessType = BusinessType.EXPORT) |
| | | @RequiresPermissions("web:security:patrol:export") |
| | | @PostMapping("/export") |
| | | @ResponseBody |
| | | public AjaxResult export(Patrol param) { |
| | |
| | | /** |
| | | * 新增电子巡更数据 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:add") |
| | | @Log(title = "电子巡更管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @ResponseBody |
| | |
| | | /** |
| | | * 修改电子巡更页面 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:edit") |
| | | @GetMapping("/edit/{id}") |
| | | public String edit(@PathVariable("id") String id, ModelMap mmap) { |
| | | String companyId = ShiroUtils.getLoginUserCompanyId(); |
| | |
| | | /** |
| | | * 修改电子巡更数据 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:edit") |
| | | @Log(title = "电子巡更管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @ResponseBody |
| | |
| | | /** |
| | | * 删除电子巡更数据 |
| | | */ |
| | | @RequiresPermissions("web:security:patrol:remove") |
| | | @Log(title = "电子巡更管理", businessType = BusinessType.DELETE) |
| | | @PostMapping("/remove") |
| | | @ResponseBody |