记得上下班打卡 | 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
7b639ae5
Commit
7b639ae5
authored
Jan 07, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运单信息
parent
f2758142
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
68 deletions
+73
-68
refund.html
...ain/resources/templates/zhengzai/kylin/refund/refund.html
+26
-21
KylinOrderRefundsMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderRefundsMapper.xml
+47
-47
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/refund/refund.html
View file @
7b639ae5
...
...
@@ -376,30 +376,35 @@
field
:
'mailno'
,
title
:
'运单信息'
,
formatter
:
function
(
value
,
row
)
{
let
sendExpressTypeName
=
""
;
if
(
row
.
sendExpressType
==
1
)
{
sendExpressTypeName
=
"上门取件"
;
}
else
if
(
row
.
sendExpressType
==
2
)
{
sendExpressTypeName
=
"自主发货"
;
}
else
{
sendExpressTypeName
=
"未知"
;
}
if
(
row
.
type
==
3
&&
null
!=
value
)
{
let
sendExpressTypeName
=
""
;
if
(
row
.
sendExpressType
==
1
)
{
sendExpressTypeName
=
"上门取件"
;
}
else
if
(
row
.
sendExpressType
==
2
)
{
sendExpressTypeName
=
"自主发货"
;
}
else
{
sendExpressTypeName
=
"未知"
;
}
let
expressStatusName
=
""
;
if
(
row
.
expressStatus
==
1
)
{
expressStatusName
=
"下单失败"
;
}
else
if
(
row
.
expressStatus
==
2
)
{
expressStatusName
=
"已下单"
;
}
else
if
(
row
.
expressStatus
==
3
)
{
expressStatusName
=
"已取消"
;
}
else
if
(
row
.
expressStatus
==
80
)
{
expressStatusName
=
"已签收"
;
}
else
if
(
row
.
expressStatus
==
8000
)
{
expressStatusName
=
"已签收"
;
let
expressStatusName
=
""
;
if
(
row
.
expressStatus
==
1
)
{
expressStatusName
=
'<span style="color: red">下单失败</span>'
;
}
else
if
(
row
.
expressStatus
==
2
)
{
expressStatusName
=
"已下单"
;
}
else
if
(
row
.
expressStatus
==
3
)
{
expressStatusName
=
"已取消"
;
}
else
if
(
row
.
expressStatus
==
80
)
{
expressStatusName
=
"已签收"
;
}
else
if
(
row
.
expressStatus
==
8000
)
{
expressStatusName
=
"已签收"
;
}
else
{
expressStatusName
=
"运输中"
;
}
return
value
+
'<br>'
+
sendExpressTypeName
+
'<br>'
+
expressStatusName
+
'<br>'
+
row
.
remark
}
else
{
expressStatusName
=
"运输中
"
;
return
"
"
;
}
return
value
+
'<br>'
+
sendExpressTypeName
+
'<br>'
+
expressStatusName
+
'<br>'
+
row
.
remark
}
},
{
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderRefundsMapper.xml
View file @
7b639ae5
...
...
@@ -81,55 +81,55 @@
<select
id=
"misRefundList"
resultType=
"com.liquidnet.service.kylin.dao.OrderRefundDao"
resultMap=
"misRefundListResult"
>
select t.*, b.order_code, b.performance_title, b.get_ticket_type from
(select a.*, d.mailno, d.send_express_type,d.remark,d.express_status
from kylin_order_refunds a
LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id
<where>
<if
test=
"expressStatus != '' and expressStatus != 70 and expressStatus != 80"
>
AND oe.express_status =
${expressStatus}
</if>
<if
test=
"expressStatus == 70"
>
AND (oe.express_status > 3 AND oe.express_status != 80 AND oe.express_status
!= 8000)
</if>
<if
test=
"expressStatus == 80"
>
AND (oe.express_status = 80 OR oe.express_status = 8000)
</if>
<if
test=
"orderTicketsId!=''"
>
AND a.order_tickets_id = #{orderTicketsId}
</if>
<if
test=
"type!='' and type != 4"
>
AND a.type = #{type}
</if>
<if
test=
"type!='' and type == 4"
>
AND a.type = 0
</if>
<choose>
<when
test=
"roleType!=''"
>
<if
test=
"roleType == 1"
>
AND a.type = 3 AND a.status = 1
(select a.*, d.mailno, d.send_express_type,d.remark,d.express_status
from kylin_order_refunds a
LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id
<where>
<if
test=
"expressStatus != '' and expressStatus != 70 and expressStatus != 80"
>
AND d.express_status =
${expressStatus}
</if>
<if
test=
"expressStatus == 70"
>
AND (d.express_status > 3 AND d.express_status != 80 AND d.express_status
!= 8000)
</if>
<if
test=
"expressStatus == 80"
>
AND (d.express_status = 80 OR d.express_status = 8000)
</if>
<if
test=
"orderTicketsId!=''"
>
AND a.order_tickets_id = #{orderTicketsId}
</if>
<if
test=
"type!='' and type != 4"
>
AND a.type = #{type}
</if>
<if
test=
"type!='' and type == 4"
>
AND a.type = 0
</if>
<choose>
<when
test=
"roleType!=''"
>
<if
test=
"roleType == 1"
>
AND a.type = 3 AND a.status = 1
</if>
<if
test=
"roleType == 2"
>
<if
test=
"statusStr == '9'"
>
AND a.status = 9
</if>
<if
test=
"roleType == 2"
>
<if
test=
"statusStr == '9'"
>
AND a.status = 9
</if>
<if
test=
"statusStr != '1'"
>
AND a.status = 1 AND a.type != 3
</if>
<if
test=
"statusStr != '1' and statusStr != '9'"
>
AND (a.status = 9 OR (a.status = 1 AND a.type != 3)
</if>
<if
test=
"statusStr != '1'"
>
AND a.status = 1 AND a.type != 3
</if>
</when>
<otherwise>
<if
test=
"status!=''"
>
AND a.status IN
<foreach
collection=
"statusStr"
item=
"status"
index=
"index"
open=
"("
close=
")"
separator=
","
>
${status}
</foreach>
<if
test=
"statusStr != '1' and statusStr != '9'"
>
AND (a.status = 9 OR (a.status = 1 AND a.type != 3)
</if>
</otherwise>
</choose>
</where>
ORDER BY a.mid DESC
) t
</if>
</when>
<otherwise>
<if
test=
"status!=''"
>
AND a.status IN
<foreach
collection=
"statusStr"
item=
"status"
index=
"index"
open=
"("
close=
")"
separator=
","
>
${status}
</foreach>
</if>
</otherwise>
</choose>
</where>
ORDER BY a.mid DESC
) t
JOIN kylin_order_tickets AS b ON t.order_tickets_id = b.order_tickets_id
JOIN kylin_order_ticket_relations AS c ON t.order_tickets_id = c.order_id
<where>
...
...
@@ -143,7 +143,7 @@
AND b.get_ticket_type = #{getTicketType}
</if>
</where>
ORDER BY
b
.mid DESC
ORDER BY
t
.mid DESC
</select>
<select
id=
"selectRefundingCount"
resultType=
"java.lang.Integer"
>
...
...
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