|
@@ -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);
|
|
|
}
|
|
|
}
|