📖 CRM:code review CRM 客户逻辑

This commit is contained in:
YunaiV
2024-01-07 22:07:17 +08:00
parent 3c7f63c356
commit 2d1e57554d
17 changed files with 62 additions and 104 deletions

View File

@ -122,6 +122,7 @@ public class LocalDateTimeUtils {
return date.with(TemporalAdjusters.lastDayOfMonth()).with(LocalTime.MAX);
}
// TODO @puhui999加下注释哈
public static Long between(LocalDateTime dateTime) {
return LocalDateTimeUtil.between(dateTime, LocalDateTime.now(), ChronoUnit.DAYS);
}