Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
online-edu
online-edu-backend
Commits
c1417e31
Commit
c1417e31
authored
Jul 29, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业购买记录添加头像属性
parent
2bca78ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ProductOrderModel.java
.../java/com/qkdata/biz/management/vo/ProductOrderModel.java
+5
-0
product_orderMapper.xml
...main/resources/mappers/management/product_orderMapper.xml
+3
-1
No files found.
src/main/java/com/qkdata/biz/management/vo/ProductOrderModel.java
View file @
c1417e31
...
@@ -33,6 +33,11 @@ public class ProductOrderModel {
...
@@ -33,6 +33,11 @@ public class ProductOrderModel {
* 用户手机号
* 用户手机号
*/
*/
private
String
username
;
private
String
username
;
/**
* 头像
*/
private
String
avatar_url
;
/**
/**
* 用户身份
* 用户身份
*/
*/
...
...
src/main/resources/mappers/management/product_orderMapper.xml
View file @
c1417e31
...
@@ -5,9 +5,11 @@
...
@@ -5,9 +5,11 @@
<select
id=
"queryPageList"
resultType=
"com.qkdata.biz.management.vo.ProductOrderModel"
>
<select
id=
"queryPageList"
resultType=
"com.qkdata.biz.management.vo.ProductOrderModel"
>
SELECT o.*,
SELECT o.*,
u.nick_name,
u.nick_name,
u.username
u.username,
ue.avatar_url
FROM product_order o
FROM product_order o
INNER JOIN sys_user u on o.user_id = u.id
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
where 1 = 1
<if
test=
"p.username != null and p.username != ''"
>
<if
test=
"p.username != null and p.username != ''"
>
and u.username like concat ('%',#{p.username},'%')
and u.username like concat ('%',#{p.username},'%')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment