|
@@ -187,7 +187,7 @@ public class DutyWorkbenchServiceImpl implements IDutyWorkbenchService {
|
|
|
list.add(log);
|
|
|
});
|
|
|
|
|
|
- weekMap.put(timeVo.getEndTime(),statisticsService.queryWeekStatus(timeVo.getEndTime()));
|
|
|
+ weekMap.put(timeVo.getEndTime(),statisticsService.queryWeekStatus(deptId, timeVo.getEndTime()));
|
|
|
});
|
|
|
|
|
|
checkCalender.setDateList(list);
|
|
@@ -299,10 +299,10 @@ public class DutyWorkbenchServiceImpl implements IDutyWorkbenchService {
|
|
|
int count = unitMapper.queryCount();
|
|
|
day.setTotal(String.valueOf(count));
|
|
|
day.setCqRate(String.format("%.2f", Double.parseDouble(day.getCq())/count*100));
|
|
|
- day.setDayRate(statisticsService.queryRate(startTime, null, null, "2"));
|
|
|
+ day.setDayRate(statisticsService.queryRateDay(startTime, null, null, "2"));
|
|
|
|
|
|
int endDayOfWeek = localDate.get(WeekFields.ISO.weekOfWeekBasedYear());
|
|
|
- String rate = statisticsService.queryRate(startTime, null, null, "3");
|
|
|
+ String rate = statisticsService.queryRateDay(startTime, null, null, "3");
|
|
|
if (StringUtils.isEmpty(rate)) {
|
|
|
rate = "0.00";
|
|
|
}
|
|
@@ -383,11 +383,11 @@ public class DutyWorkbenchServiceImpl implements IDutyWorkbenchService {
|
|
|
int count = unitMapper.queryCount();
|
|
|
day.setTotal(String.valueOf(count));
|
|
|
day.setCqRate(String.format("%.2f", Double.parseDouble(day.getCq())/count*100));
|
|
|
- day.setDayRate(statisticsService.queryRate(startTime, null, null, "2"));
|
|
|
+ day.setDayRate(statisticsService.queryRateDay(startTime, null, null, "2"));
|
|
|
|
|
|
int endDayOfWeek = localDate.get(WeekFields.ISO.weekOfWeekBasedYear());
|
|
|
// day.setWeekRate(statisticsService.queryRate(startTime, null, null, "3"));
|
|
|
- String rate = statisticsService.queryRate(startTime, null, null, "3");
|
|
|
+ String rate = statisticsService.queryRateDay(startTime, null, null, "3");
|
|
|
if (StringUtils.isEmpty(rate)) {
|
|
|
rate = "0.00";
|
|
|
}
|