...
|
...
|
@@ -41,14 +41,14 @@ public class HomePageController extends BaseController { |
41
|
41
|
@ApiOperation(value = "获取左侧顶部信息")
|
42
|
42
|
public HomePageLeftTopDTO getLeftTopInfo()
|
43
|
43
|
throws ThingsboardException, ExecutionException, InterruptedException {
|
|
44
|
+ String customerId = null != getCurrentUser().getCustomerId() ? getCurrentUser().getCustomerId().getId().toString():null;
|
44
|
45
|
return homePageService.getHomePageLeftTopInfo(
|
45
|
46
|
getCurrentUser().isPtSysadmin(),
|
46
|
47
|
getCurrentUser().isPtAdmin(),
|
47
|
48
|
getCurrentUser().isPtTenantAdmin(),
|
48
|
49
|
getCurrentUser().isPtCommonTenant(),
|
49
|
50
|
getCurrentUser().getCurrentTenantId(),
|
50
|
|
- getCurrentUser().getCurrentUserId(),
|
51
|
|
- getCurrentUser().getCustomerId().getId().toString());
|
|
51
|
+ getCurrentUser().getCurrentUserId(),customerId);
|
52
|
52
|
}
|
53
|
53
|
|
54
|
54
|
@GetMapping("right/overdue")
|
...
|
...
|
|