50 lines
1.6 KiB
Java
50 lines
1.6 KiB
Java
package com.fuyuanshen.app.controller;
|
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
import com.fuyuanshen.app.domain.bo.AppUserBo;
|
|
import com.fuyuanshen.app.domain.vo.AppUserVo;
|
|
import com.fuyuanshen.app.domain.vo.DeviceVo;
|
|
import com.fuyuanshen.app.service.DeviceService;
|
|
import com.fuyuanshen.app.service.IAppUserService;
|
|
import com.fuyuanshen.common.core.domain.R;
|
|
import com.fuyuanshen.common.core.validate.AddGroup;
|
|
import com.fuyuanshen.common.core.validate.EditGroup;
|
|
import com.fuyuanshen.common.excel.utils.ExcelUtil;
|
|
import com.fuyuanshen.common.idempotent.annotation.RepeatSubmit;
|
|
import com.fuyuanshen.common.log.annotation.Log;
|
|
import com.fuyuanshen.common.log.enums.BusinessType;
|
|
import com.fuyuanshen.common.mybatis.core.page.PageQuery;
|
|
import com.fuyuanshen.common.mybatis.core.page.TableDataInfo;
|
|
import com.fuyuanshen.common.web.core.BaseController;
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
import jakarta.validation.constraints.NotEmpty;
|
|
import jakarta.validation.constraints.NotNull;
|
|
import lombok.RequiredArgsConstructor;
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* APP 设备信息管理
|
|
* @date 2025-06-27
|
|
*/
|
|
@Validated
|
|
@RequiredArgsConstructor
|
|
@RestController
|
|
@RequestMapping("/app/device")
|
|
public class AppDeviceController extends BaseController {
|
|
|
|
private final DeviceService deviceService;
|
|
|
|
/**
|
|
* 查询设备信息列表
|
|
*/
|
|
@GetMapping("/list")
|
|
public TableDataInfo<DeviceVo> list(AppUserBo bo, PageQuery pageQuery) {
|
|
return deviceService.queryPageList(bo, pageQuery);
|
|
}
|
|
|
|
|
|
}
|