设备厂家信息表
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user