记得上下班打卡 | git大法好,push需谨慎

Commit 583d48a0 authored by 张国柄's avatar 张国柄

判断新老会员逻辑调整;

parent d7fc7daa
......@@ -80,7 +80,7 @@ public class AdamUserMemberVo implements Serializable, Cloneable {
public boolean isOldMember() {
LocalDateTime createdAt = this.getCreatedAt();
LocalDateTime updatedAt = this.getUpdatedAt();
// 创建时间在`指定日期`之前,且(更新时间为空或更新时间在`指定时间`之前)
// 创建时间在`指定时间`之前,且(更新时间为空或更新时间在`指定时间`之前)
return createdAt.isBefore(oldMemberSpotTime) && (null == updatedAt || (updatedAt.isBefore(oldMemberSpotTime)));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment