Browse Source

--增加设备状态备注

develop
mengff 10 months ago
parent
commit
95d35013d6
  1. 22
      zc-business/src/main/java/com/zc/business/controller/DeviceController.java

22
zc-business/src/main/java/com/zc/business/controller/DeviceController.java

@ -23,7 +23,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.zc.business.service.IDeviceService;
/**
* 请填写功能名称Controller
* 设备状态 Controller
*
* @author ruoyi
* @date 2024-01-20
@ -36,7 +36,7 @@ public class DeviceController extends BaseController
private IDeviceService deviceService;
/**
* 查询请填写功能名称列表
* 查询设备状态列表
*/
@PreAuthorize("@ss.hasPermi('system:device:list')")
@GetMapping("/list")
@ -48,10 +48,10 @@ public class DeviceController extends BaseController
}
/**
* 导出请填写功能名称列表
* 导出设备状态列表
*/
@PreAuthorize("@ss.hasPermi('system:device:export')")
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
@Log(title = "设备状态", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, Device device)
{
@ -61,7 +61,7 @@ public class DeviceController extends BaseController
}
/**
* 获取请填写功能名称详细信息
* 获取设备状态详细信息
*/
@PreAuthorize("@ss.hasPermi('system:device:query')")
@GetMapping(value = "/{id}")
@ -71,10 +71,10 @@ public class DeviceController extends BaseController
}
/**
* 新增请填写功能名称
* 新增设备状态
*/
@PreAuthorize("@ss.hasPermi('system:device:add')")
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
@Log(title = "设备状态", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody Device device)
{
@ -82,10 +82,10 @@ public class DeviceController extends BaseController
}
/**
* 修改请填写功能名称
* 修改设备状态
*/
@PreAuthorize("@ss.hasPermi('system:device:edit')")
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
@Log(title = "设备状态", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody Device device)
{
@ -93,10 +93,10 @@ public class DeviceController extends BaseController
}
/**
* 删除请填写功能名称
* 删除设备状态
*/
@PreAuthorize("@ss.hasPermi('system:device:remove')")
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
@Log(title = "设备状态", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{

Loading…
Cancel
Save