|
|
@@ -157,7 +157,7 @@ public class GxtOrderHourServiceImpl implements IGxtOrderHourService {
|
|
|
// 处理时间范围参数
|
|
|
processTimeRange(repairOrder, workOrder, timeRange, beginDate, endDate);
|
|
|
|
|
|
- // 添加业务特定的数据权限过滤
|
|
|
+ /*// 添加业务特定的数据权限过滤
|
|
|
addBusinessDataScopeFilter(repairOrder, workOrder);
|
|
|
|
|
|
// 设置创建人,用于数据权限过滤
|
|
|
@@ -169,7 +169,7 @@ public class GxtOrderHourServiceImpl implements IGxtOrderHourService {
|
|
|
if (workOrder.getCreateBy() == null || workOrder.getCreateBy().isEmpty()) {
|
|
|
workOrder.setCreateBy(SecurityUtils.getUsername());
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
// 对所有人,只统计个人参与的工单工时
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
@@ -238,7 +238,7 @@ public class GxtOrderHourServiceImpl implements IGxtOrderHourService {
|
|
|
statistics.put("repairCount", repairCount);
|
|
|
statistics.put("orderCount", orderList.size());
|
|
|
|
|
|
- // 如果用户的数据权限是"仅本人数据",则计算排名
|
|
|
+ /*// 如果用户的数据权限是"仅本人数据",则计算排名
|
|
|
if (isCurrentUserDataScopeSelf()) {
|
|
|
int rank = calculateUserRankInStation(repairOrder, workOrder, orderType, timeRange, beginDate, endDate, keyword);
|
|
|
statistics.put("rank", rank);
|
|
|
@@ -252,7 +252,7 @@ public class GxtOrderHourServiceImpl implements IGxtOrderHourService {
|
|
|
statistics.put("totalRankingUsers", totalUsersInStation);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
return statistics;
|
|
|
}
|