123
This commit is contained in:
@@ -9,6 +9,13 @@ import java.math.BigDecimal;
|
|||||||
@Schema(description = "主播列表信息")
|
@Schema(description = "主播列表信息")
|
||||||
public class AnchorListVo {
|
public class AnchorListVo {
|
||||||
|
|
||||||
|
|
||||||
|
@Schema(description = "价格")
|
||||||
|
private BigDecimal price;
|
||||||
|
|
||||||
|
@Schema(description = "在线状态 0=离线,1=在线")
|
||||||
|
private Integer online;
|
||||||
|
|
||||||
@Schema(description = "用户ID")
|
@Schema(description = "用户ID")
|
||||||
private String userId;
|
private String userId;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
order by t1.create_time desc
|
order by t1.create_time desc
|
||||||
</select>
|
</select>
|
||||||
<select id="pageApp" resultType="com.ruoyi.cai.dto.app.vo.AnchorListVo">
|
<select id="pageApp" resultType="com.ruoyi.cai.dto.app.vo.AnchorListVo">
|
||||||
select t1.id as user_id,t1.avatar,t1.gender,t1.city,t1.nickname,t1.usercode,t1.city_id,t1.city,t2.give_score
|
select t1.id as user_id,t1.avatar,t1.gender,t1.city,t1.nickname,t1.usercode,t1.city_id,t1.city,t2.give_score,
|
||||||
|
t2.price,t3.status as online
|
||||||
from cai_user t1
|
from cai_user t1
|
||||||
join cai_anchor t2 on t1.id = t2.user_id
|
join cai_anchor t2 on t1.id = t2.user_id
|
||||||
join cai_user_online t3 on t1.id = t3.user_id
|
join cai_user_online t3 on t1.id = t3.user_id
|
||||||
|
|||||||
Reference in New Issue
Block a user