Ver código fonte

我收到的周日报排序时间修改

zhangjq 1 ano atrás
pai
commit
d987646bd8

+ 1 - 1
zjugis-module-adm/zjugis-module-adm-biz/src/main/java/com/zjugis/module/adm/service/report/ReportServiceImpl.java

@@ -226,7 +226,7 @@ public class ReportServiceImpl implements ReportService {
             }
         });
         queryWrapper.eq(StrUtil.isNotBlank(reqVO.getReportType()), ReportDO::getReportType, reqVO.getReportType());
-        queryWrapper.orderByDesc(ReportDO::getCreateTime);
+        queryWrapper.orderByDesc(ReportDO::getUpdateTime);
         if (reqVO.getReportYear() != null) {
             if (StrUtil.isNotBlank(reqVO.getReportType())) {
                 if ("daily".equals(reqVO.getReportType())) {