|
|
|
@ -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,11 +34,12 @@ public class ApiController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseDeviceTypeService baseDeviceTypeService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseDeviceInfoService baseDeviceInfoService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseCustomerService baseCustomerService;//客户
|
|
|
|
|
|
|
|
|
|
@ApiOperation(tags = {"首页","文档归档"}, value = "客户-列表")
|
|
|
|
|
@ApiOperation(tags = {"首页", "文档归档"}, value = "客户-列表")
|
|
|
|
|
@GetMapping("/home/queryCustomer")
|
|
|
|
|
public AjaxResult queryCustomer() {
|
|
|
|
|
return success(baseCustomerService.selectBaseCustomerList(null));
|
|
|
|
@ -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型脱水机"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|