订单中心报错

This commit is contained in:
2025-01-06 20:50:07 +08:00
parent 0093701f80
commit 8f48ea47a9
2 changed files with 7 additions and 3 deletions

View File

@@ -94,9 +94,8 @@
</insert>
<select id="selectOrdersByOrdersNo" resultType="com.sqx.modules.orders.entity.Orders">
select o.*,u.user_name as userName,c.title as title,s.username as sysUserName,s.qd_code as qdCode from orders o
select o.*,u.user_name as userName,s.username as sysUserName,s.qd_code as qdCode from orders o
left join tb_user u on o.user_id=u.user_id
left join course c on c.course_id=o.course_id
left join sys_user s on s.user_id=o.sys_user_id
where 1=1
<if test="userName!=null and userName!=''">