记得上下班打卡 | 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
4af7e692
Commit
4af7e692
authored
Aug 08, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 客服数据导出增加 票种相关信息
parent
ce55907e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
6 deletions
+36
-6
OrderExportVo.java
...uidnet/client/admin/zhengzai/kylin/dto/OrderExportVo.java
+13
-0
KylinDamaiServiceImpl.java
...in/zhengzai/kylin/service/impl/KylinDamaiServiceImpl.java
+1
-1
OrderExportDao.java
.../java/com/liquidnet/service/kylin/dao/OrderExportDao.java
+10
-0
KylinPerformancesMapper.xml
...iquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
+12
-5
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/dto/OrderExportVo.java
View file @
4af7e692
...
@@ -15,6 +15,15 @@ public class OrderExportVo implements Serializable, Cloneable{
...
@@ -15,6 +15,15 @@ public class OrderExportVo implements Serializable, Cloneable{
@Excel
(
name
=
"姓名"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
@Excel
(
name
=
"姓名"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
userName
;
private
String
userName
;
@Excel
(
name
=
"票种名称"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
title
;
@Excel
(
name
=
"票种适用时间"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
useTime
;
@Excel
(
name
=
"票种适用开始时间"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
useStart
;
@Excel
(
name
=
"票种适用结束时间"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
useEnd
;
private
static
final
OrderExportVo
obj
=
new
OrderExportVo
();
private
static
final
OrderExportVo
obj
=
new
OrderExportVo
();
public
static
OrderExportVo
getNew
()
{
public
static
OrderExportVo
getNew
()
{
...
@@ -30,6 +39,10 @@ public class OrderExportVo implements Serializable, Cloneable{
...
@@ -30,6 +39,10 @@ public class OrderExportVo implements Serializable, Cloneable{
this
.
setPerformanceTitle
(
source
.
getPerformanceTitle
());
this
.
setPerformanceTitle
(
source
.
getPerformanceTitle
());
this
.
setUserMobile
(
source
.
getUserMobile
());
this
.
setUserMobile
(
source
.
getUserMobile
());
this
.
setUserName
(
source
.
getUserName
());
this
.
setUserName
(
source
.
getUserName
());
this
.
setTitle
(
source
.
getTitle
());
this
.
setUseTime
(
source
.
getUseTime
());
this
.
setUseStart
(
source
.
getUseStart
());
this
.
setUseEnd
(
source
.
getUseEnd
());
return
this
;
return
this
;
}
}
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinDamaiServiceImpl.java
View file @
4af7e692
...
@@ -338,7 +338,7 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl
...
@@ -338,7 +338,7 @@ public class KylinDamaiServiceImpl extends ServiceImpl<KylinRoadShowsMapper, Kyl
}
}
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
Long
a
=
IDGenerator
.
getDamaiCode
(
"
625614651458519045936293
"
);
Long
a
=
IDGenerator
.
getDamaiCode
(
"
1360935572095672321307852
"
);
System
.
out
.
println
(
a
);
System
.
out
.
println
(
a
);
}
}
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/dao/OrderExportDao.java
View file @
4af7e692
...
@@ -10,6 +10,16 @@ public class OrderExportDao {
...
@@ -10,6 +10,16 @@ public class OrderExportDao {
private
String
userMobile
;
private
String
userMobile
;
//名称
//名称
private
String
userName
;
private
String
userName
;
//票种名称
private
String
title
;
//适用时间
private
String
useTime
;
//适用开始时间
private
String
useStart
;
//适用结束时间
private
String
useEnd
;
//订单号
//订单号
private
String
orderCode
;
private
String
orderCode
;
//商户订单号
//商户订单号
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
View file @
4af7e692
...
@@ -54,6 +54,11 @@
...
@@ -54,6 +54,11 @@
<result
column=
"user_mobile"
property=
"userMobile"
/>
<result
column=
"user_mobile"
property=
"userMobile"
/>
<result
column=
"user_name"
property=
"userName"
/>
<result
column=
"user_name"
property=
"userName"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"use_time"
property=
"useTime"
/>
<result
column=
"use_start"
property=
"useStart"
/>
<result
column=
"use_end"
property=
"useEnd"
/>
<result
column=
"order_code"
property=
"orderCode"
/>
<result
column=
"order_code"
property=
"orderCode"
/>
<result
column=
"code"
property=
"code"
/>
<result
column=
"code"
property=
"code"
/>
<result
column=
"pay_code"
property=
"payCode"
/>
<result
column=
"pay_code"
property=
"payCode"
/>
...
@@ -626,22 +631,24 @@
...
@@ -626,22 +631,24 @@
</select>
</select>
<select
id=
"exportOrderByPerformanceIdAll"
resultMap=
"OrderExportDaoResult"
>
<select
id=
"exportOrderByPerformanceIdAll"
resultMap=
"OrderExportDaoResult"
>
SELECT performance_title,user_mobile,user_name
SELECT performance_title,user_mobile,user_name
,title,CONCAT(use_start,use_end) as 'use_time',use_start,use_end
FROM kylin_order_tickets kot
FROM kylin_order_tickets kot
INNER JOIN kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id
WHERE performance_id = #{performancesId}
INNER JOIN kylin_tickets as kt on kt.tickets_id = kotr.ticket_id
GROUP BY user_mobile;
WHERE performance_id = #{performancesId}
GROUP BY user_mobile,tickets_id;
</select>
</select>
<select
id=
"exportOrderByPerformanceIdPay"
resultMap=
"OrderExportDaoResult"
>
<select
id=
"exportOrderByPerformanceIdPay"
resultMap=
"OrderExportDaoResult"
>
SELECT performance_title,user_mobile,user_name
SELECT performance_title,user_mobile,user_name
,title,CONCAT(use_start,use_end) as 'use_time',use_start,use_end
FROM kylin_order_tickets kot
FROM kylin_order_tickets kot
INNER JOIN kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id
INNER JOIN kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id
INNER JOIN kylin_tickets as kt on kt.tickets_id = kotr.ticket_id
WHERE performance_id = #{performancesId}
WHERE performance_id = #{performancesId}
AND status IN (1, 3)
AND status IN (1, 3)
GROUP BY user_mobile;
GROUP BY user_mobile
,tickets_id
;
</select>
</select>
<select
id=
"getPerformanceSimpleByTicketId"
resultType=
"com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"
>
<select
id=
"getPerformanceSimpleByTicketId"
resultType=
"com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"
>
<!-- select kp.performances_id as performancesId,-->
<!-- select kp.performances_id as performancesId,-->
...
...
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