记得上下班打卡 | 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
ac94df69
Commit
ac94df69
authored
Jun 04, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交演出数据
parent
035ff8fd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
280 additions
and
207 deletions
+280
-207
KylinPerformancesController.java
...ontroller/zhengzai/kylin/KylinPerformancesController.java
+21
-0
performancesStatic.html
...lates/zhengzai/kylin/performances/performancesStatic.html
+193
-195
PerformanceOrderStatisCountResp.java
...n/zhengzai/kylin/dto/PerformanceOrderStatisCountResp.java
+30
-0
KylinPerformancesAdminServiceImpl.java
...kylin/service/impl/KylinPerformancesAdminServiceImpl.java
+18
-1
PerformanceOrderStatisticalDao.java
...net/service/kylin/dao/PerformanceOrderStatisticalDao.java
+2
-1
KylinPerformancesMapper.xml
...iquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
+16
-10
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/kylin/KylinPerformancesController.java
View file @
ac94df69
...
@@ -4,6 +4,7 @@ import com.github.pagehelper.PageInfo;
...
@@ -4,6 +4,7 @@ import com.github.pagehelper.PageInfo;
import
com.liquidnet.client.admin.common.core.controller.BaseController
;
import
com.liquidnet.client.admin.common.core.controller.BaseController
;
import
com.liquidnet.client.admin.common.core.domain.AjaxResult
;
import
com.liquidnet.client.admin.common.core.domain.AjaxResult
;
import
com.liquidnet.client.admin.common.core.page.TableDataInfo
;
import
com.liquidnet.client.admin.common.core.page.TableDataInfo
;
import
com.liquidnet.client.admin.zhengzai.kylin.dto.PerformanceOrderStatisCountResp
;
import
com.liquidnet.client.admin.zhengzai.kylin.service.impl.KylinPerformancesAdminServiceImpl
;
import
com.liquidnet.client.admin.zhengzai.kylin.service.impl.KylinPerformancesAdminServiceImpl
;
import
com.liquidnet.service.kylin.dao.PerformanceAdminListDao
;
import
com.liquidnet.service.kylin.dao.PerformanceAdminListDao
;
import
com.liquidnet.service.kylin.dao.PerformanceMemberAuditDao
;
import
com.liquidnet.service.kylin.dao.PerformanceMemberAuditDao
;
...
@@ -17,6 +18,7 @@ import org.springframework.stereotype.Controller;
...
@@ -17,6 +18,7 @@ import org.springframework.stereotype.Controller;
import
org.springframework.ui.ModelMap
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
java.math.BigDecimal
;
import
java.util.List
;
import
java.util.List
;
...
@@ -95,7 +97,26 @@ public class KylinPerformancesController extends BaseController {
...
@@ -95,7 +97,26 @@ public class KylinPerformancesController extends BaseController {
@RequiresPermissions
(
"kylin:performances:performanceStatic"
)
@RequiresPermissions
(
"kylin:performances:performanceStatic"
)
@GetMapping
(
value
=
"/performanceStatic/{performancesId}"
)
@GetMapping
(
value
=
"/performanceStatic/{performancesId}"
)
public
String
performanceStatic
(
@PathVariable
(
"performancesId"
)
String
performancesId
,
ModelMap
mmap
)
{
public
String
performanceStatic
(
@PathVariable
(
"performancesId"
)
String
performancesId
,
ModelMap
mmap
)
{
//获取演出详情
KylinPerformanceMisVo
performanceMisVo
=
kylinPerformancesService
.
performanceDetails
(
performancesId
);
List
<
PerformanceOrderStatisticalDao
>
result
=
kylinPerformancesService
.
getPerformanceOrderStatisticalList
(
performancesId
);
List
<
PerformanceOrderStatisticalDao
>
result
=
kylinPerformancesService
.
getPerformanceOrderStatisticalList
(
performancesId
);
//构造top统计数据
PerformanceOrderStatisCountResp
perCountResp
=
new
PerformanceOrderStatisCountResp
();
perCountResp
.
setPerformanceTitle
(
performanceMisVo
.
getTitle
());
if
(
result
.
size
()>=
2
){
PerformanceOrderStatisticalDao
resdao
=
result
.
get
(
result
.
size
()-
1
);
perCountResp
.
setTotalSalePrice
(
resdao
.
getTotalSalePrice
());
perCountResp
.
setSaleGeneral
(
resdao
.
getSaleGeneral
());
perCountResp
.
setTotalGeneral
(
resdao
.
getTotalGeneral
());
perCountResp
.
setTotalExchange
(
resdao
.
getTotalExchange
());
perCountResp
.
setSurplusExchange
(
resdao
.
getSurplusGeneral
());
perCountResp
.
setTotalBuyUsers
(
resdao
.
getTotalBuyUsers
());
perCountResp
.
setTotalDisPrice
(
BigDecimal
.
ONE
);
perCountResp
.
setTotalRefundGeneral
(
resdao
.
getTotalRefundGeneral
());
}
mmap
.
put
(
"perCountResp"
,
perCountResp
);
mmap
.
put
(
"perOrderStaticList"
,
result
);
mmap
.
put
(
"perOrderStaticList"
,
result
);
return
prefix
+
"/performancesStatic"
;
return
prefix
+
"/performancesStatic"
;
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/performancesStatic.html
View file @
ac94df69
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
<body
class=
"gray-bg"
>
<body
class=
"gray-bg"
>
<div
class=
"container-div"
>
<div
class=
"container-div"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 select-table table-bordered"
>
<div
class=
"col-sm-12 select-table table-bordered"
th:object=
"${perCountResp}"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
<div>
<div>
<div>
我用什么把你留住(二)——福禄寿FloruitShow音乐会上海(7月24日)
</div>
<div
th:text=
"*{performanceTitle}"
>
我用什么把你留住(二)——福禄寿FloruitShow音乐会上海(7月24日)
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -20,287 +20,285 @@
...
@@ -20,287 +20,285 @@
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
总销售票款(元)
</div>
<div>
总销售票款(元)
</div>
<div>
28700
</div>
<div
th:text=
"*{totalSalePrice}"
>
28700
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
实销总数(张)
</div>
<div>
实销总数(张)
</div>
<div>
55
</div>
<div
th:text=
"*{saleGeneral}"
>
55
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
销售库存(张)
</div>
<div>
销售库存(张)
</div>
<div>
80
</div>
<div
th:text=
"*{totalGeneral}"
>
80
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
已兑换总数(张)
</div>
<div>
已兑换总数(张)
</div>
<div>
0
</div>
<div
th:text=
"*{totalExchange}"
>
0
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
兑换库存(张)
</div>
<div>
兑换库存(张)
</div>
<div>
0
</div>
<div
th:text=
"*{totalExchange}"
>
0
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
购买人数(人)
</div>
<div>
购买人数(人)
</div>
<div>
39
</div>
<div
th:text=
"*{totalBuyUsers}"
>
39
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
小家伙分销(元)
</div>
<div>
小家伙分销(元)
</div>
<div>
0
</div>
<div
th:text=
"*{totalDisPrice}"
>
0
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<div
class=
"col-lg-1"
>
<div>
<div>
<div>
退票数量(张)
</div>
<div>
退票数量(张)
</div>
<div>
24
</div>
<div
th:text=
"*{totalRefundGeneral}"
>
24
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<button
type=
"button"
class=
"el-button main el-button--primary el-button--medium"
>
<!---->
<!---->
<span>
查看数据统计图表
</span></button>
<!---->
<div
style=
"display: none;"
>
<div
class=
"main"
style=
"display: none;"
>
暂无省份/年龄/性别统计数据
</div>
<div
class=
"chart-main"
>
<div>
<button
type=
"button"
class=
"el-button el-button--primary el-button--mini"
>
<!---->
<!---->
<span>
导出统计数据表格
</span></button>
</div>
<div
id=
"provinceChart"
class=
"chartProvince"
></div>
<div
id=
"cityChart"
class=
"chartAge"
></div>
<div
id=
"timeChart"
class=
"chartSex"
></div>
<div
id=
"ageChart"
class=
"chartAge"
></div>
<div
id=
"sexChart"
class=
"chartSex"
></div>
</div>
</div>
</div>
</div>
<table
class=
"col-sm-12 select-table table-bordered"
>
<table
class=
"col-sm-12 select-table table-bordered"
>
<thead>
<thead>
<tr>
<tr>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_32 is-leaf"
>
<th>
<div
class=
"cell"
>
票种名
</div>
<div
class=
"cell"
>
票种名
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_33 is-leaf"
>
<th>
<div
class=
"cell"
>
单价
</div>
<div
class=
"cell"
>
单价
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_34 is-leaf"
>
<th>
<div
class=
"cell"
>
类型
</div>
<div
class=
"cell"
>
类型
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_35 is-leaf"
>
<th>
<div
class=
"cell"
>
适用时间
</div>
<div
class=
"cell"
>
适用时间
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_36 is-leaf"
>
<th>
<div
class=
"cell"
>
销售总数量
</div>
<div
class=
"cell"
>
销售总数量
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_37 is-leaf"
>
<th>
<div
class=
"cell"
>
会员销售数量
</div>
<div
class=
"cell"
>
会员销售数量
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_38 is-leaf"
>
<th>
<div
class=
"cell"
>
库存数量
</div>
<div
class=
"cell"
>
库存数量
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_39 is-leaf"
>
<th>
<div
class=
"cell"
>
正在支付数量
</div>
<div
class=
"cell"
>
正在支付数量
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_40 is-leaf"
>
<th>
<div
class=
"cell"
>
退票数量
</div>
<div
class=
"cell"
>
退票数量
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_41 is-leaf"
>
<th>
<div
class=
"cell"
>
销售额(元)
</div>
<div
class=
"cell"
>
销售额(元)
</div>
</th>
</th>
<th
colspan=
"1"
rowspan=
"1"
class=
"el-table_5_column_42 is-leaf"
>
<!-- <th colspan="1" rowspan="1" class="el-table_5_column_42 is-leaf">-->
<div
class=
"cell"
>
兑换数量
</div>
<!-- <div class="cell">兑换数量</div>-->
</th>
<!-- </th>-->
<th
class=
"gutter"
style=
"width: 0px; display: none;"
></th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr
th:each=
"respBean,respBeanStat:${perOrderStaticList}"
>
<td>
<td>
<div
class=
"cell"
>
180元区
</div>
<div
class=
"cell"
th:text=
"${respBean.title}"
>
180元区
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
180.00
</div>
<div
class=
"cell"
th:text=
"${respBean.price}"
>
180.00
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
单日票
</div>
<div
class=
"cell"
th:text=
"${respBean.type}"
>
单日票
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
2021-03-06
</div>
<div
class=
"cell"
th:text=
"${respBean.useStart}"
>
2021-03-06
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.saleGeneral}"
>
0
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.totalMemberNumber}"
>
0
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.surplusGeneral}"
>
0
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.totalPayingNumber}"
>
0
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.totalRefundGeneral}"
>
0
</div>
</td>
</td>
<td>
<td>
<div
class=
"cell"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.totalSalePrice}"
>
0
</div>
</td>
<td>
<div
class=
"cell"
>
0
</div>
</td>
</tr>
<tr
class=
"el-table__row el-table__row--striped"
>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_32 "
>
<div
class=
"cell"
>
680元区
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_33 "
>
<div
class=
"cell"
>
680.00
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_34 "
>
<div
class=
"cell"
>
单日票
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_35 "
>
<div
class=
"cell"
>
2021-03-06
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_36 "
>
<div
class=
"cell"
>
19
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_37 "
>
<div
class=
"cell"
>
9
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_38 "
>
<div
class=
"cell"
>
1
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_39 "
>
<div
class=
"cell"
>
0
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_40 "
>
<div
class=
"cell"
>
10
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_41 "
>
<div
class=
"cell"
>
12920
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_42 "
>
<div
class=
"cell"
>
0
</div>
</td>
</tr>
<tr
class=
"el-table__row"
>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_32 "
>
<div
class=
"cell"
>
480元区
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_33 "
>
<div
class=
"cell"
>
480.00
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_34 "
>
<div
class=
"cell"
>
单日票
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_35 "
>
<div
class=
"cell"
>
2021-03-06
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_36 "
>
<div
class=
"cell"
>
21
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_37 "
>
<div
class=
"cell"
>
3
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_38 "
>
<div
class=
"cell"
>
0
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_39 "
>
<div
class=
"cell"
>
0
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_40 "
>
<div
class=
"cell"
>
9
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_41 "
>
<div
class=
"cell"
>
10080
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_42 "
>
<div
class=
"cell"
>
0
</div>
</td>
</tr>
<tr
class=
"el-table__row el-table__row--striped"
>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_32 "
>
<div
class=
"cell"
>
380元区
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_33 "
>
<div
class=
"cell"
>
380.00
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_34 "
>
<div
class=
"cell"
>
单日票
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_35 "
>
<div
class=
"cell"
>
2021-03-06
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_36 "
>
<div
class=
"cell"
>
15
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_37 "
>
<div
class=
"cell"
>
8
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_38 "
>
<div
class=
"cell"
>
0
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_39 "
>
<div
class=
"cell"
>
0
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_40 "
>
<div
class=
"cell"
>
5
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_41 "
>
<div
class=
"cell"
>
5700
</div>
</td>
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_42 "
>
<div
class=
"cell"
>
0
</div>
</td>
</td>
<!-- <td>-->
<!-- <div class="cell" th:text="${respBean.price}">0</div>-->
<!-- </td>-->
</tr>
</tr>
<tr
class=
"el-table__row"
>
<!-- <tr class="el-table__row el-table__row--striped">-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_32 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_32 ">-->
<div
class=
"cell"
>
总计
</div>
<!-- <div class="cell">680元区</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_33 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_33 ">-->
<div
class=
"cell"
></div>
<!-- <div class="cell">680.00</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_34 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_34 ">-->
<div
class=
"cell"
></div>
<!-- <div class="cell">单日票</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_35 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_35 ">-->
<div
class=
"cell"
></div>
<!-- <div class="cell">2021-03-06</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_36 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_36 ">-->
<div
class=
"cell"
>
55
</div>
<!-- <div class="cell">19</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_37 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_37 ">-->
<div
class=
"cell"
>
20
</div>
<!-- <div class="cell">9</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_38 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_38 ">-->
<div
class=
"cell"
>
25
</div>
<!-- <div class="cell">1</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_39 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_39 ">-->
<div
class=
"cell"
>
0
</div>
<!-- <div class="cell">0</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_40 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_40 ">-->
<div
class=
"cell"
>
24
</div>
<!-- <div class="cell">10</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_41 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_41 ">-->
<div
class=
"cell"
>
28700
</div>
<!-- <div class="cell">12920</div>-->
</td>
<!-- </td>-->
<td
rowspan=
"1"
colspan=
"1"
class=
"el-table_5_column_42 "
>
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_42 ">-->
<div
class=
"cell"
>
0
</div>
<!-- <div class="cell">0</div>-->
</td>
<!-- </td>-->
</tr>
<!---->
<!-- </tr>-->
<!-- <tr class="el-table__row">-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_32 ">-->
<!-- <div class="cell">480元区</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_33 ">-->
<!-- <div class="cell">480.00</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_34 ">-->
<!-- <div class="cell">单日票</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_35 ">-->
<!-- <div class="cell">2021-03-06</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_36 ">-->
<!-- <div class="cell">21</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_37 ">-->
<!-- <div class="cell">3</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_38 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_39 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_40 ">-->
<!-- <div class="cell">9</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_41 ">-->
<!-- <div class="cell">10080</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_42 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr class="el-table__row el-table__row--striped">-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_32 ">-->
<!-- <div class="cell">380元区</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_33 ">-->
<!-- <div class="cell">380.00</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_34 ">-->
<!-- <div class="cell">单日票</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_35 ">-->
<!-- <div class="cell">2021-03-06</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_36 ">-->
<!-- <div class="cell">15</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_37 ">-->
<!-- <div class="cell">8</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_38 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_39 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_40 ">-->
<!-- <div class="cell">5</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_41 ">-->
<!-- <div class="cell">5700</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_42 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- </tr>-->
<!-- <tr class="el-table__row">-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_32 ">-->
<!-- <div class="cell">总计</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_33 ">-->
<!-- <div class="cell"></div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_34 ">-->
<!-- <div class="cell"></div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_35 ">-->
<!-- <div class="cell"></div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_36 ">-->
<!-- <div class="cell">55</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_37 ">-->
<!-- <div class="cell">20</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_38 ">-->
<!-- <div class="cell">25</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_39 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_40 ">-->
<!-- <div class="cell">24</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_41 ">-->
<!-- <div class="cell">28700</div>-->
<!-- </td>-->
<!-- <td rowspan="1" colspan="1" class="el-table_5_column_42 ">-->
<!-- <div class="cell">0</div>-->
<!-- </td>-->
<!-- </tr><!––>-->
</tbody>
</tbody>
</table>
</table>
<div
style=
"display: none;"
></div>
<div
style=
"display: none;"
>
<button
type=
"button"
class=
"el-button main el-button--primary el-button--medium"
>
<!---->
<!---->
<span>
查看数据统计图表
</span></button>
<!---->
<div
class=
"main"
style=
"display: none;"
>
暂无省份/年龄/性别统计数据
</div>
<div
class=
"chart-main"
>
<div>
<button
type=
"button"
class=
"el-button el-button--primary el-button--mini"
>
<!---->
<!---->
<span>
导出统计数据表格
</span></button>
</div>
<div
id=
"provinceChart"
class=
"chartProvince"
></div>
<div
id=
"cityChart"
class=
"chartAge"
></div>
<div
id=
"timeChart"
class=
"chartSex"
></div>
<div
id=
"ageChart"
class=
"chartAge"
></div>
<div
id=
"sexChart"
class=
"chartSex"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/dto/PerformanceOrderStatisCountResp.java
0 → 100644
View file @
ac94df69
package
com
.
liquidnet
.
client
.
admin
.
zhengzai
.
kylin
.
dto
;
import
lombok.Data
;
import
java.math.BigDecimal
;
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @version V1.0
* @Description: TODO
* @class: PerformanceCalendarReq
* @Package com.liquidnet.client.admin.zhengzai.kylin.dto
* @Copyright: LightNet @ Copyright (c) 2021
* @date 2021/6/1 15:47
*/
@Data
public
class
PerformanceOrderStatisCountResp
{
/**
* 销售总金额
*/
String
performanceTitle
;
BigDecimal
totalSalePrice
;
BigDecimal
saleGeneral
;
BigDecimal
totalGeneral
;
BigDecimal
totalExchange
;
BigDecimal
surplusExchange
;
BigDecimal
totalBuyUsers
;
BigDecimal
totalDisPrice
;
//分销金额
BigDecimal
totalRefundGeneral
;
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinPerformancesAdminServiceImpl.java
View file @
ac94df69
...
@@ -634,6 +634,23 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
...
@@ -634,6 +634,23 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
@Override
@Override
public
List
<
PerformanceOrderStatisticalDao
>
getPerformanceOrderStatisticalList
(
String
performancesId
)
{
public
List
<
PerformanceOrderStatisticalDao
>
getPerformanceOrderStatisticalList
(
String
performancesId
)
{
return
performancesMapper
.
getPerformanceOrderStatisticalList
(
performancesId
);
PerformanceOrderStatisticalDao
countBean
=
new
PerformanceOrderStatisticalDao
();
countBean
.
setTitle
(
"总计:"
);
List
<
PerformanceOrderStatisticalDao
>
dtoList
=
performancesMapper
.
getPerformanceOrderStatisticalList
(
performancesId
);
dtoList
.
forEach
(
dto
->
{
countBean
.
setTotalGeneral
(
countBean
.
getTotalGeneral
().
add
(
dto
.
getTotalGeneral
()));
countBean
.
setSaleGeneral
(
countBean
.
getSaleGeneral
().
add
(
dto
.
getSaleGeneral
()));
countBean
.
setSurplusGeneral
(
countBean
.
getSurplusGeneral
().
add
(
dto
.
getSurplusGeneral
()));
countBean
.
setTotalSalePrice
(
countBean
.
getTotalSalePrice
().
add
(
dto
.
getTotalSalePrice
()));
countBean
.
setTotalExchange
(
countBean
.
getTotalExchange
().
add
(
dto
.
getTotalExchange
()));
countBean
.
setTotalRefundGeneral
(
countBean
.
getTotalRefundGeneral
().
add
(
dto
.
getTotalRefundGeneral
()));
countBean
.
setTotalRefundPrice
(
countBean
.
getTotalRefundPrice
().
add
(
dto
.
getTotalRefundPrice
()));
countBean
.
setTotalMemberNumber
(
countBean
.
getTotalMemberNumber
().
add
(
dto
.
getTotalMemberNumber
()));
countBean
.
setTotalPayingNumber
(
countBean
.
getTotalPayingNumber
().
add
(
dto
.
getTotalPayingNumber
()));
countBean
.
setTotalBuyUsers
(
dto
.
getTotalBuyUsers
());
});
dtoList
.
add
(
countBean
);
return
dtoList
;
}
}
}
}
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/dao/PerformanceOrderStatisticalDao.java
View file @
ac94df69
...
@@ -30,5 +30,6 @@ public class PerformanceOrderStatisticalDao {
...
@@ -30,5 +30,6 @@ public class PerformanceOrderStatisticalDao {
private
BigDecimal
totalRefundGeneral
;
private
BigDecimal
totalRefundGeneral
;
private
BigDecimal
totalRefundPrice
;
private
BigDecimal
totalRefundPrice
;
private
BigDecimal
totalMemberNumber
;
private
BigDecimal
totalMemberNumber
;
private
BigDecimal
totalpayingNumber
;
private
BigDecimal
totalPayingNumber
;
private
BigDecimal
totalBuyUsers
;
}
}
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
View file @
ac94df69
...
@@ -74,17 +74,22 @@
...
@@ -74,17 +74,22 @@
</resultMap>
</resultMap>
<resultMap
id=
"performanceOrderStatisticalDaoResult"
type=
"com.liquidnet.service.kylin.dao.PerformanceOrderStatisticalDao"
>
<resultMap
id=
"performanceOrderStatisticalDaoResult"
type=
"com.liquidnet.service.kylin.dao.PerformanceOrderStatisticalDao"
>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"tickets_id"
property=
"ticketsId"
/>
<result
column=
"tickets_id"
property=
"ticketsId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"use_start"
property=
"useStart"
/>
<result
column=
"status"
property=
"status"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
<result
column=
"price"
property=
"price"
/>
<result
column=
"price"
property=
"price"
/>
<result
column=
"price_discount_member"
property=
"priceDiscountMember"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"advance_minute_member"
property=
"advanceMinuteMember"
/>
<result
column=
"use_start"
property=
"useStart"
/>
<result
column=
"member_limit_count"
property=
"memberLimitCount"
/>
<result
column=
"total_general"
property=
"totalGeneral"
/>
<result
column=
"is_member"
property=
"isMember"
/>
<result
column=
"sale_general"
property=
"saleGeneral"
/>
<result
column=
"is_exclusive"
property=
"isExclusive"
/>
<result
column=
"surplus_general"
property=
"surplusGeneral"
/>
<result
column=
"total_sale_price"
property=
"totalSalePrice"
/>
<result
column=
"total_exchange"
property=
"totalExchange"
/>
<result
column=
"total_refund_general"
property=
"totalRefundGeneral"
/>
<result
column=
"total_refund_price"
property=
"totalRefundPrice"
/>
<result
column=
"total_member_number"
property=
"totalMemberNumber"
/>
<result
column=
"total_paying_number"
property=
"totalPayingNumber"
/>
<result
column=
"total_buy_users"
property=
"totalBuyUsers"
/>
</resultMap>
</resultMap>
<!-- 第三方演出列表 (不包含退票信息) -->
<!-- 第三方演出列表 (不包含退票信息) -->
...
@@ -350,7 +355,8 @@
...
@@ -350,7 +355,8 @@
IFNULL(ot.total_refund_general , 0) AS 'total_refund_general',
IFNULL(ot.total_refund_general , 0) AS 'total_refund_general',
IFNULL(ot.total_refund_price , 0) AS 'total_refund_price',
IFNULL(ot.total_refund_price , 0) AS 'total_refund_price',
IFNULL(ot.total_member_number , 0) AS 'total_member_number',
IFNULL(ot.total_member_number , 0) AS 'total_member_number',
IFNULL(ot.total_member_number , 0) AS 'total_paying_number'
IFNULL(ot.total_paying_number , 0) AS 'total_paying_number',
IFNULL(ut.total_buy_users , 0) AS 'total_buy_users'
FROM
FROM
(select t.performances_id from kylin_performances t where t.performances_id = ${performancesId}) AS kp
(select t.performances_id from kylin_performances t where t.performances_id = ${performancesId}) AS kp
inner JOIN(
inner JOIN(
...
@@ -373,7 +379,7 @@
...
@@ -373,7 +379,7 @@
inner join kylin_tickets kt on kt.tickets_id = ot.ticket_id
inner join kylin_tickets kt on kt.tickets_id = ot.ticket_id
inner join kylin_ticket_status kts on kts.ticket_id = kt.tickets_id
inner join kylin_ticket_status kts on kts.ticket_id = kt.tickets_id
inner JOIN(
inner JOIN(
select t.performance_id,count(t.user_id) from(
select t.performance_id,count(t.user_id)
as 'total_buy_users'
from(
SELECT
SELECT
kotr.performance_id,
kotr.performance_id,
kot.user_id
kot.user_id
...
...
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