短剧新需求

This commit is contained in:
Tankaikai 2025-04-02 15:11:27 +08:00
parent 79873fb15c
commit 05efb09fd9
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
left JOIN (select user_id,sum(money) as awardAmount,sum(case when title = '签到奖励' then 1 else 0 end) as signInNum from v_user_money_details where classify = 6 group by user_id) t2 on t1.user_id = t2.user_id
<where>
<if test="keywords != null and keywords != ''">
and (t1.user_name = ${keywords} or t1.phone = ${keywords})
and (t1.user_name = '${keywords}' or t1.phone = '${keywords}')
</if>
</where>
ORDER BY t2.signInNum desc,t1.user_id asc
@ -77,7 +77,7 @@
v_tb_user t1
<where>
<if test="keywords != null and keywords != ''">
and (t1.user_name = ${keywords} or t1.phone = ${keywords})
and (t1.user_name = '${keywords}' or t1.phone = '${keywords}')
</if>
</where>
order by todayUnlocked desc,t1.user_id asc