记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
0a14e5c0
Commit
0a14e5c0
authored
Sep 26, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
快递订单列表查询展示优化
parent
f1d17722
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
+17
-7
PerformanceExpressSearchAdminParam.java
...e/kylin/dto/param/PerformanceExpressSearchAdminParam.java
+2
-0
performanceOrderList.html
...ngzai/kylin/performancesExpress/performanceOrderList.html
+9
-3
KylinOrderTicketsMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderTicketsMapper.xml
+6
-4
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/param/PerformanceExpressSearchAdminParam.java
View file @
0a14e5c0
...
@@ -28,6 +28,8 @@ public class PerformanceExpressSearchAdminParam {
...
@@ -28,6 +28,8 @@ public class PerformanceExpressSearchAdminParam {
private
String
expressContacts
;
private
String
expressContacts
;
private
String
expressPhone
;
private
String
expressPhone
;
private
String
mailno
;
private
List
<
String
>
ids
;
private
List
<
String
>
ids
;
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performancesExpress/performanceOrderList.html
View file @
0a14e5c0
...
@@ -35,6 +35,10 @@
...
@@ -35,6 +35,10 @@
<label>
收货人姓名:
</label>
<label>
收货人姓名:
</label>
<input
type=
"text"
name=
"expressContacts"
/>
<input
type=
"text"
name=
"expressContacts"
/>
</li>
</li>
<li>
<label>
运单号:
</label>
<input
type=
"text"
name=
"mailno"
/>
</li>
<!--<li>
<!--<li>
<label>订单状态:</label>
<label>订单状态:</label>
<select name="orderStatus" th:with="type=${@dict.getType('zhengzai_order_status')}">
<select name="orderStatus" th:with="type=${@dict.getType('zhengzai_order_status')}">
...
@@ -55,9 +59,11 @@
...
@@ -55,9 +59,11 @@
<label>
快递状态:
</label>
<label>
快递状态:
</label>
<select
name=
"expressStatus"
>
<select
name=
"expressStatus"
>
<option
value=
""
>
所有
</option>
<option
value=
""
>
所有
</option>
<!-- 包含取消的3 未下单null 下单失败1 -->
<option
value=
"1"
>
未下单
</option>
<option
value=
"1"
>
未下单
</option>
<option
value=
"2"
>
已下单
</option>
<option
value=
"2"
>
已下单
</option>
<option
value=
"50"
>
已揽收
</option>
<!-- <option value="50">已揽收</option>-->
<option
value=
"70"
>
运输中
</option>
<option
value=
"80"
>
已签收
</option>
<option
value=
"80"
>
已签收
</option>
</select>
</select>
</li>
</li>
...
@@ -447,9 +453,9 @@
...
@@ -447,9 +453,9 @@
case 3:
case 3:
expressStatusName = '
下单取消
';
expressStatusName = '
下单取消
';
break;
break;
case 50:
/*
case 50:
expressStatusName = '
已揽收
';
expressStatusName = '
已揽收
';
break;
break;
*/
case 80:
case 80:
expressStatusName = '
已签收
';
expressStatusName = '
已签收
';
break;
break;
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderTicketsMapper.xml
View file @
0a14e5c0
...
@@ -308,8 +308,8 @@
...
@@ -308,8 +308,8 @@
LEFT JOIN (SELECT * FROM kylin_order_express WHERE express_status NOT IN (1, 3)) AS oe ON oe.order_tickets_id =
LEFT JOIN (SELECT * FROM kylin_order_express WHERE express_status NOT IN (1, 3)) AS oe ON oe.order_tickets_id =
kot.order_tickets_id
kot.order_tickets_id
LEFT JOIN (SELECT * FROM kylin_order_express_route ORDER BY mid DESC LIMIT 1) AS oer ON oe.order_express_id =
--
LEFT JOIN (SELECT * FROM kylin_order_express_route ORDER BY mid DESC LIMIT 1) AS oer ON oe.order_express_id =
oer.order_express_id
--
oer.order_express_id
<where>
<where>
kotr.performance_id = #{performancesId}
kotr.performance_id = #{performancesId}
AND kot.get_ticket_type = 'express'
AND kot.get_ticket_type = 'express'
...
@@ -328,8 +328,10 @@
...
@@ -328,8 +328,10 @@
<if
test=
"expressContacts != null and expressContacts != ''"
>
AND kot.express_contacts LIKE concat('%',
<if
test=
"expressContacts != null and expressContacts != ''"
>
AND kot.express_contacts LIKE concat('%',
#{expressContacts}, '%')
#{expressContacts}, '%')
</if>
</if>
<if
test=
"expressStatus != '' and expressStatus != 1"
>
AND oe.express_status = ${expressStatus}
</if>
<if
test=
"expressStatus != '' and expressStatus != 1 and expressStatus != 70"
>
AND oe.express_status = ${expressStatus}
</if>
<if
test=
"expressStatus == 1"
>
AND oe.express_status IS NULL
</if>
<if
test=
"expressStatus == 1"
>
AND (oe.express_status IS NULL OR oe.express_status = ${expressStatus})
</if>
<if
test=
"expressStatus == 70"
>
AND (oe.express_status > 3 AND oe.express_status != 80)
</if>
<if
test=
"mailno != ''"
>
AND oe.mailno LIKE concat('%', #{mailno}, '%')
</if>
</where>
</where>
</select>
</select>
...
...
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