记得上下班打卡 | 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
6ecb093f
Commit
6ecb093f
authored
Jun 19, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改演出订单
parent
7670952f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
69 deletions
+3
-69
KylinOrderTicketsMapper.xml
...iquidnet.service.kylin.mapper/KylinOrderTicketsMapper.xml
+3
-0
KylinPerformancesMapper.xml
...iquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
+0
-69
No files found.
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinOrderTicketsMapper.xml
View file @
6ecb093f
...
...
@@ -165,6 +165,9 @@
<if
test=
"createdAt != null "
>
and kot.created_at = #{createdAt}
</if>
<if
test=
"updatedAt != null "
>
and kot.updated_at = #{updatedAt}
</if>
<if
test=
"orderSource != null and orderSource != ''"
>
and kot.order_source = #{orderSource}
</if>
<if
test=
"sponsor!=null and sponsor!=''"
>
AND kp.sponsor = #{sponsor}
</if>
</where>
<!-- <if test="orderItem!=''">-->
<!-- ORDER BY ${orderItem} ${orderSc}-->
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
View file @
6ecb093f
...
...
@@ -415,75 +415,6 @@
) t
) AS ut ON ut.performance_id = kp.performances_id
</select>
<select
id=
"orderList"
resultMap=
"performanceOrderListDaoResult"
>
SELECT
kot.order_tickets_id,
kp.sponsor,
kot.order_code,
kp.title,
kots.status,
kot.get_ticket_type,
kot.pay_type,
kot.payment_type,
'无' as tied,
kot.price,
kot.number,
kot.price_member,
kot.price_total,
kot.price_voucher,
kot.price_actual,
kot.price_express,
kot.price_refund,
kot.refund_number,
kot.user_id,
kot.user_name,
kot.user_mobile
FROM kylin_order_tickets kot
inner join kylin_order_ticket_status kots on kot.order_tickets_id = kots.order_id
inner join kylin_order_ticket_relations kotr on kot.order_tickets_id = kotr.order_id
inner join kylin_performances kp on kotr.performance_id = kp.performances_id
<where>
<if
test=
"orderTicketsId != null and orderTicketsId != ''"
>
and order_tickets_id = #{orderTicketsId}
</if>
<if
test=
"userId != null and userId != ''"
>
and user_id = #{userId}
</if>
<if
test=
"userName != null and userName != ''"
>
and user_name like concat('%', #{userName}, '%')
</if>
<if
test=
"userMobile != null and userMobile != ''"
>
and user_mobile = #{userMobile}
</if>
<if
test=
"performanceTitle != null and performanceTitle != ''"
>
and performance_title LIKE concat('%', #{performanceTitle}, '%')
</if>
<if
test=
"orderCode != null and orderCode != ''"
>
and order_code = #{orderCode}
</if>
<if
test=
"payCode != null and payCode != ''"
>
and pay_code = #{payCode}
</if>
<if
test=
"qrCode != null and qrCode != ''"
>
and qr_code = #{qrCode}
</if>
<if
test=
"orderType != null and orderType != ''"
>
and order_type = #{orderType}
</if>
<if
test=
"orderVersion != null and orderVersion != ''"
>
and order_version = #{orderVersion}
</if>
<if
test=
"number != null "
>
and number = #{number}
</if>
<if
test=
"price != null "
>
and price = #{price}
</if>
<if
test=
"priceMember != null "
>
and price_member = #{priceMember}
</if>
<if
test=
"priceTotal != null "
>
and price_total = #{priceTotal}
</if>
<if
test=
"priceVoucher != null "
>
and price_voucher = #{priceVoucher}
</if>
<if
test=
"priceActual != null "
>
and price_actual = #{priceActual}
</if>
<if
test=
"priceExpress != null "
>
and price_express = #{priceExpress}
</if>
<if
test=
"priceRefund != null "
>
and price_refund = #{priceRefund}
</if>
<if
test=
"refundNumber != null "
>
and refund_number = #{refundNumber}
</if>
<if
test=
"payType != null and payType != ''"
>
and pay_type = #{payType}
</if>
<if
test=
"paymentType != null and paymentType != ''"
>
and payment_type = #{paymentType}
</if>
<if
test=
"timePay != null and timePay != ''"
>
and time_pay = #{timePay}
</if>
<if
test=
"expressContacts != null and expressContacts != ''"
>
and express_contacts = #{expressContacts}
</if>
<if
test=
"expressAddress != null and expressAddress != ''"
>
and express_address = #{expressAddress}
</if>
<if
test=
"expressPhone != null and expressPhone != ''"
>
and express_phone = #{expressPhone}
</if>
<if
test=
"couponType != null and couponType != ''"
>
and coupon_type = #{couponType}
</if>
<if
test=
"getTicketType != null and getTicketType != ''"
>
and get_ticket_type = #{getTicketType}
</if>
<if
test=
"getTicketDescribe != null and getTicketDescribe != ''"
>
and get_ticket_describe = #{getTicketDescribe}
</if>
<if
test=
"payCountdownMinute != null "
>
and pay_countdown_minute = #{payCountdownMinute}
</if>
<if
test=
"comment != null and comment != ''"
>
and comment = #{comment}
</if>
<if
test=
"createdAt != null "
>
and created_at = #{createdAt}
</if>
<if
test=
"updatedAt != null "
>
and updated_at = #{updatedAt}
</if>
<if
test=
"orderSourece != null and orderSourece != ''"
>
and order_sourece = #{orderSourece}
</if>
<if
test=
"sponsor!=null and sponsor!=''"
>
AND kp.sponsor = #{sponsor}
</if>
</where>
<if
test=
"orderItem!=''"
>
ORDER BY ${orderItem} ${orderSc}
</if>
</select>
<select
id=
"getPerformanceSponsorList"
resultMap=
"performanceSponsorDaoResult"
>
select distinct kp.sponsor_id, kp.sponsor, kp.sponsor_type
from kylin_performances kp
...
...
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