修改查询语句

This commit is contained in:
yangjun 2024-07-01 15:38:47 +08:00
parent 3bf76788c2
commit 4fb430175e
1 changed files with 2 additions and 1 deletions

View File

@ -1029,10 +1029,11 @@
<select id="getChongzhiList" resultType="com.sqx.modules.artificer.entity.Orders">
select
o.*,uu.user_recharge as userRecharge
o.*,uu.user_recharge as userRecharge,b.massage_img
from orders o
left join artificer a on a.artificer_id=o.artificer_id
left join user_recharge uu on uu.orders_id = o.orders_id
left join massage_type b on o.massage_type_id = b.massage_type_id
where o.artificer_id=#{userId} and o.parent_id = 0
and o.status in (3,5)
and o.end_times BETWEEN #{startTime} and #{endTime}