Commit c1417e31 authored by liuyang's avatar liuyang

企业购买记录添加头像属性

parent 2bca78ac
......@@ -33,6 +33,11 @@ public class ProductOrderModel {
* 用户手机号
*/
private String username;
/**
* 头像
*/
private String avatar_url;
/**
* 用户身份
*/
......
......@@ -5,9 +5,11 @@
<select id="queryPageList" resultType="com.qkdata.biz.management.vo.ProductOrderModel">
SELECT o.*,
u.nick_name,
u.username
u.username,
ue.avatar_url
FROM product_order o
INNER JOIN sys_user u on o.user_id = u.id
INNER JOIN user_ext ue on ue.user_id = u.id
where 1 = 1
<if test="p.username != null and p.username != ''">
and u.username like concat ('%',#{p.username},'%')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment