设备厂家信息表

This commit is contained in:
zhumeixiao
2024-11-13 14:40:20 +08:00
parent 56e1c37852
commit 087e975490
16 changed files with 624 additions and 89 deletions

View File

@ -0,0 +1,25 @@
package com.fastbee.data.controller.renKe;
import com.fastbee.common.core.domain.AjaxResult;
import com.fastbee.deviceData.api.renke.service.RenKeUserDeviceOverview;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/renke")
public class RenKeUserDeviceOverviewController {
@Autowired
private RenKeUserDeviceOverview renkeUserDeviceOverview;
/**
* 统计全部设备数量,并且按照不同设备分类统计
*/
@GetMapping (value = "/all/device")
public AjaxResult getsysAllUserDevice(){
return AjaxResult.success(renkeUserDeviceOverview.getsysAllUserDevice());
}
}