Compare commits
3 Commits
cb50244685
...
d6fc03b199
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6fc03b199 | ||
|
|
04ac449897 | ||
|
|
eff36758c2 |
@@ -87,7 +87,7 @@ public class DeviceInfomationController extends AbstractFileUploadController imp
|
|||||||
@GetMapping("/get")
|
@GetMapping("/get")
|
||||||
@Operation(summary = "获得设备-设备信息")
|
@Operation(summary = "获得设备-设备信息")
|
||||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||||
@PreAuthorize("@ss.hasPermission('resource:device-infomation:query')")
|
// @PreAuthorize("@ss.hasPermission('resource:device-infomation:query')")
|
||||||
public CommonResult<DeviceInfomationRespVO> getDeviceInfomation(@RequestParam("id") Long id) {
|
public CommonResult<DeviceInfomationRespVO> getDeviceInfomation(@RequestParam("id") Long id) {
|
||||||
DeviceInfomationDO deviceInfomation = deviceInfomationService.getDeviceInfomation(id);
|
DeviceInfomationDO deviceInfomation = deviceInfomationService.getDeviceInfomation(id);
|
||||||
return success(BeanUtils.toBean(deviceInfomation, DeviceInfomationRespVO.class));
|
return success(BeanUtils.toBean(deviceInfomation, DeviceInfomationRespVO.class));
|
||||||
@@ -95,7 +95,7 @@ public class DeviceInfomationController extends AbstractFileUploadController imp
|
|||||||
|
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
@Operation(summary = "获得设备-设备信息分页")
|
@Operation(summary = "获得设备-设备信息分页")
|
||||||
@PreAuthorize("@ss.hasPermission('resource:device-infomation:query')")
|
// @PreAuthorize("@ss.hasPermission('resource:device-infomation:query')")
|
||||||
public CommonResult<PageResult<DeviceInfomationRespVO>> getDeviceInfomationPage(@Valid DeviceInfomationPageReqVO pageReqVO) {
|
public CommonResult<PageResult<DeviceInfomationRespVO>> getDeviceInfomationPage(@Valid DeviceInfomationPageReqVO pageReqVO) {
|
||||||
Long productId = pageReqVO.getProductId();
|
Long productId = pageReqVO.getProductId();
|
||||||
if(productId != null){
|
if(productId != null){
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user