This commit is contained in:
77
2024-05-29 10:34:43 +08:00
parent c33fb2e699
commit 3b7afaf571
3 changed files with 24 additions and 1 deletions

View File

@@ -30,4 +30,7 @@ public class UserAdminVo extends User {
private String inviteUsercode;
private String inviteNickname;
private String inviteAvatar;
private LocalDateTime regBeginTime;
private LocalDateTime regEndTime;
}

View File

@@ -13,6 +13,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join cai_user t3 on t1.invite_id = t3.id
left join cai_user_online t4 on t1.id = t4.user_id
<where>
<if test="query.regBeginTime != null">
and t2.reg_time >= #{query.regBeginTime}
</if>
<if test="query.regEndTime != null">
<![CDATA[
and t2.reg_time <= #{query.regEndTime}
]]>
</if>
<if test="query.onlineStatus != null">
and t4.status = #{query.onlineStatus}
</if>