Bläddra i källkod

运营绩效,添加排序

zhaoxian 2 år sedan
förälder
incheckning
dc7b1300f5

+ 2 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/service/impl/KuaishouOperationReportServiceImpl.java

@@ -428,7 +428,7 @@ public class KuaishouOperationReportServiceImpl extends ServiceImpl<KuaishouOper
             String quitTime = user.getString("quitTime");
             if (!Check.isNull(quitTime)) {
                 Integer startMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd", dateMap.get("startDate")));
-                Integer endMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd HH:mm:ss", quitTime));
+                Integer endMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd", quitTime));
                 user.put("monthCount", endMonth - startMonth + 1);
             }
         }
@@ -1003,7 +1003,7 @@ public class KuaishouOperationReportServiceImpl extends ServiceImpl<KuaishouOper
             String quitTime = user.getString("quitTime");
             if (!Check.isNull(quitTime)) {
                 Integer startMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd", dateMap.get("startDate")));
-                Integer endMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd HH:mm:ss", quitTime));
+                Integer endMonth = Integer.valueOf(DateUtils.getMonth("yyyy-MM-dd", quitTime));
                 user.put("monthCount", endMonth - startMonth + 1);
             }
         }