|
|
@@ -337,7 +337,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService { |
|
|
|
//今日 |
|
|
|
DateTime endTime = DateUtil.endOfDay(DateUtil.date()); |
|
|
|
//一周前的时间 |
|
|
|
DateTime startTime = DateUtil.offset(DateUtil.beginOfDay(DateUtil.date()), DateField.WEEK_OF_MONTH, -1); |
|
|
|
DateTime startTime = DateUtil.offset(DateUtil.beginOfDay(DateUtil.date()), DateField.DAY_OF_WEEK, -4); |
|
|
|
List<InspectionFileCountVo> result = new ArrayList<>(); |
|
|
|
//判断角色 1超级管理员 2部门管理员 3普通用户 |
|
|
|
if(UserTypeEnum.SUPER_ADMIN.getCode() == user.getType()){ |