Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
fangxinjiang
yifu-mvp
Commits
ebd92989
Commit
ebd92989
authored
Apr 18, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单优化修改
parent
db9eca18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
OrderListParam.java
.../com/yifu/cloud/plus/v1/yifu/order/vo/OrderListParam.java
+6
-0
TOrderMapper.xml
...yifu-order-biz/src/main/resources/mapper/TOrderMapper.xml
+3
-2
No files found.
yifu-order/yifu-order-api/src/main/java/com/yifu/cloud/plus/v1/yifu/order/vo/OrderListParam.java
View file @
ebd92989
...
@@ -68,4 +68,10 @@ public class OrderListParam extends BaseEntity {
...
@@ -68,4 +68,10 @@ public class OrderListParam extends BaseEntity {
@Schema
(
description
=
"订单id集合"
)
@Schema
(
description
=
"订单id集合"
)
private
List
<
String
>
idList
;
private
List
<
String
>
idList
;
/**
* 星级
*/
@Schema
(
description
=
"星级"
)
private
String
level
;
}
}
yifu-order/yifu-order-biz/src/main/resources/mapper/TOrderMapper.xml
View file @
ebd92989
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
a.CUSTOMER_NAME as customerName,
a.CUSTOMER_NAME as customerName,
a.DEPT_NAME as deptName,
a.DEPT_NAME as deptName,
a.DEPT_NO as deptNo,
a.DEPT_NO as deptNo,
a.LEVEL as level,
a.ORDER_STATUS as orderStatus
a.ORDER_STATUS as orderStatus
from t_order a
from t_order a
left join t_order_handler h on h.ORDER_NO = a.ORDER_NO
left join t_order_handler h on h.ORDER_NO = a.ORDER_NO
...
@@ -62,7 +63,7 @@
...
@@ -62,7 +63,7 @@
<if
test=
"param.orderStatus != null"
>
<if
test=
"param.orderStatus != null"
>
and a.ORDER_STATUS = #{param.orderStatus}
and a.ORDER_STATUS = #{param.orderStatus}
</if>
</if>
<if
test=
"param.level != null"
>
<if
test=
"param.level != null
and param.level.trim() != ''
"
>
and a.LEVEL = #{param.level}
and a.LEVEL = #{param.level}
</if>
</if>
<if
test=
"param.authSql != null and param.authSql.trim() != ''"
>
<if
test=
"param.authSql != null and param.authSql.trim() != ''"
>
...
@@ -124,7 +125,7 @@
...
@@ -124,7 +125,7 @@
<if
test=
"param.orderStatus != null"
>
<if
test=
"param.orderStatus != null"
>
and a.ORDER_STATUS = #{param.orderStatus}
and a.ORDER_STATUS = #{param.orderStatus}
</if>
</if>
<if
test=
"param.level != null"
>
<if
test=
"param.level != null
and param.level.trim() != ''
"
>
and a.LEVEL = #{param.level}
and a.LEVEL = #{param.level}
</if>
</if>
<if
test=
"param.authSql != null and param.authSql.trim() != ''"
>
<if
test=
"param.authSql != null and param.authSql.trim() != ''"
>
...
...
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