This commit is contained in:
77
2024-08-20 15:23:15 +08:00
parent 0b0822e8ef
commit ea50a0a436

View File

@@ -125,9 +125,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select
t1.user_id,t1.id as anchor_id,
case
when t1.open_video_status = 1 then 3
when t1.open_video_status = 1 and t1.video_status = 0 and t2.status = 1 then 1
when t1.video_status = 1 then 2
when t2.status = 1 then 1
when t2.open_video_status = 0 then 3
ELSE 0
end as anchor_status
from cai_anchor t1