记得上下班打卡 | 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
bcac5047
Commit
bcac5047
authored
Oct 14, 2021
by
刘喆
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pre' into 'k8s-test'
Pre See merge request
!84
parents
a8fdaf50
b71733aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
1 deletion
+52
-1
KylinOrderRefundsMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderRefundsMapper.xml
+52
-1
No files found.
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderRefundsMapper.xml
View file @
bcac5047
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<result
column=
"price"
property=
"price"
/>
<result
column=
"price"
property=
"price"
/>
<result
column=
"created_at"
property=
"createdAt"
/>
<result
column=
"created_at"
property=
"createdAt"
/>
</resultMap>
</resultMap>
<select
id=
"misRefundList"
resultType=
"com.liquidnet.service.kylin.dao.OrderRefundDao"
resultMap=
"misRefundListResult"
>
<select
id=
"misRefundList
1
"
resultType=
"com.liquidnet.service.kylin.dao.OrderRefundDao"
resultMap=
"misRefundListResult"
>
SELECT a.*, b.order_code, b.performance_title, d.mailno
SELECT a.*, b.order_code, b.performance_title, d.mailno
FROM kylin_order_refunds AS a
FROM kylin_order_refunds AS a
JOIN kylin_order_tickets AS b ON a.order_tickets_id = b.order_tickets_id
JOIN kylin_order_tickets AS b ON a.order_tickets_id = b.order_tickets_id
...
@@ -78,6 +78,57 @@
...
@@ -78,6 +78,57 @@
</where>
</where>
ORDER BY a.mid DESC
ORDER BY a.mid DESC
</select>
</select>
<select
id=
"misRefundList"
resultType=
"com.liquidnet.service.kylin.dao.OrderRefundDao"
resultMap=
"misRefundListResult"
>
select t.*, b.order_code, b.performance_title from
(select a.*, d.mailno
from kylin_order_refunds a
LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id
<where>
<if
test=
"orderTicketsId!=''"
>
AND a.order_tickets_id = #{orderTicketsId}
</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=
"statusStr 1= '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>
</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>
<if
test=
"performancesId!=''"
>
AND c.performance_id = #{performancesId}
</if>
<if
test=
"orderCode!=''"
>
AND b.order_code = #{orderCode}
</if>
</where>
</select>
<select
id=
"selectRefundingCount"
resultType=
"java.lang.Integer"
>
<select
id=
"selectRefundingCount"
resultType=
"java.lang.Integer"
>
SELECT COUNT(*)
SELECT COUNT(*)
FROM kylin_order_refunds AS a
FROM kylin_order_refunds AS a
...
...
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