|
|
|
@ -4,6 +4,7 @@ import com.haiwei.common.core.domain.AjaxResult;
|
|
|
|
|
|
|
|
|
|
import static com.haiwei.common.core.domain.AjaxResult.*;
|
|
|
|
|
|
|
|
|
|
import com.haiwei.manage.domain.BaseDeviceInfo;
|
|
|
|
|
import com.haiwei.manage.service.IApiService;
|
|
|
|
|
import com.haiwei.manage.service.IBaseCustomerService;
|
|
|
|
|
import com.haiwei.manage.service.IBaseDeviceInfoService;
|
|
|
|
@ -33,7 +34,8 @@ public class ApiController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseDeviceTypeService baseDeviceTypeService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseDeviceInfoService baseDeviceInfoService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseCustomerService baseCustomerService;//客户
|
|
|
|
|
|
|
|
|
@ -67,4 +69,12 @@ public class ApiController {
|
|
|
|
|
public AjaxResult queryPramList(Date beginTime, Date endTime) {
|
|
|
|
|
return success(iApiService.queryPramList(beginTime, endTime));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(tags = {"60脱水机"}, value = "设备介绍")
|
|
|
|
|
@GetMapping("/home/deviceInfo")
|
|
|
|
|
public AjaxResult deviceInfo() {
|
|
|
|
|
return success(baseDeviceInfoService.selectBaseDeviceInfoList("60型脱水机"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|