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
546c10de
Commit
546c10de
authored
Jul 27, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业购买历史列表增加查询条件产品类型
parent
97a6d3cd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
QueryProductOrderModel.java
.../com/qkdata/biz/management/vo/QueryProductOrderModel.java
+2
-0
product_orderMapper.xml
...main/resources/mappers/management/product_orderMapper.xml
+3
-0
No files found.
src/main/java/com/qkdata/biz/management/vo/QueryProductOrderModel.java
View file @
546c10de
package
com
.
qkdata
.
biz
.
management
.
vo
;
package
com
.
qkdata
.
biz
.
management
.
vo
;
import
com.qkdata.biz.enums.ProductTypeEnum
;
import
com.qkdata.common.constants.Constants
;
import
com.qkdata.common.constants.Constants
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -10,4 +11,5 @@ public class QueryProductOrderModel {
...
@@ -10,4 +11,5 @@ public class QueryProductOrderModel {
private
String
username
;
private
String
username
;
private
boolean
isEnterprise
=
false
;
private
boolean
isEnterprise
=
false
;
private
Long
orgId
;
private
Long
orgId
;
private
ProductTypeEnum
productType
;
}
}
src/main/resources/mappers/management/product_orderMapper.xml
View file @
546c10de
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
<if
test=
"p.orgId != null"
>
<if
test=
"p.orgId != null"
>
and o.org_id = #{p.orgId}
and o.org_id = #{p.orgId}
</if>
</if>
<if
test=
"p.productType != null"
>
and o.product_type = #{p.productType}
</if>
order by create_time DESC
order by create_time DESC
</select>
</select>
</mapper>
</mapper>
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