Pārlūkot izejas kodu

修改统计时间最新的五条

tags/v1.0.0^2
chengwang pirms 1 gada
vecāks
revīzija
d83c3407d6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java Parādīt failu

@@ -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()){

Notiek ielāde…
Atcelt
Saglabāt