|
@@ -46,11 +46,11 @@ public class IndexController {
|
|
|
public R gatherTaskUser() {
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
// 润滑任务
|
|
|
- int maintainTask = checkJobService.countUserTask(userInfo.getUserId(), 3);
|
|
|
- // 保养任务
|
|
|
+ // int maintainTask = checkJobService.countUserTask(userInfo.getUserId(), 3);
|
|
|
+ // 当日待保养任务
|
|
|
int lubricationTask = checkJobService.countUserTask(userInfo.getUserId(), 2);
|
|
|
// 加油任务
|
|
|
- int oilTask = sbOilService.countUserTask(userInfo.getUserId());
|
|
|
+ // int oilTask = sbOilService.countUserTask(userInfo.getUserId());
|
|
|
|
|
|
// 维修任务:所有的未完成的,登录用户需要完成的
|
|
|
List<Integer> repairStatusList = new ArrayList<Integer>();
|
|
@@ -60,8 +60,8 @@ public class IndexController {
|
|
|
|
|
|
// 维修任务
|
|
|
int repairCheckTask = repairApplicationFormService.countUserCheckTask(userInfo.getUserId());
|
|
|
- return R.success(new GatherTaskVO().setMaintainTask(maintainTask)
|
|
|
- .setLubricationTask(lubricationTask).setOilTask(oilTask).setRepairTask(repairTask).setRepairCheckTask(repairCheckTask));
|
|
|
+ return R.success(new GatherTaskVO()
|
|
|
+ .setLubricationTask(lubricationTask).setRepairTask(repairTask).setRepairCheckTask(repairCheckTask));
|
|
|
}
|
|
|
|
|
|
}
|