记得上下班打卡 | 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
1c461c17
Commit
1c461c17
authored
Sep 23, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询演出票种信息
parent
a7039593
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
5 deletions
+22
-5
PerformancesExpressController.java
...troller/zhengzai/kylin/PerformancesExpressController.java
+0
-1
performancesList.html
.../zhengzai/kylin/performancesExpress/performancesList.html
+19
-1
KylinTicketsMapper.xml
...com.liquidnet.service.kylin.mapper/KylinTicketsMapper.xml
+3
-3
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/kylin/PerformancesExpressController.java
View file @
1c461c17
...
...
@@ -303,7 +303,6 @@ public class PerformancesExpressController extends BaseController {
* 获取演出票种列表
*/
@Log
(
title
=
"快递管理-演出列表"
,
businessType
=
BusinessType
.
LIST
)
@RequiresPermissions
(
"kylin:performancesExpress:getPerformancesTicketList"
)
@PostMapping
(
"/getPerformancesTicketList"
)
@ResponseBody
public
TableDataInfo
getPerformancesTicketList
(
@RequestParam
(
"ids"
)
String
performanceId
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performancesExpress/performancesList.html
View file @
1c461c17
...
...
@@ -286,6 +286,24 @@
});
}
function
getPerformancesTicketList
(
performanceId
)
{
var
data
=
{
"ids"
:
performanceId
};
var
configPrint
=
{
url
:
prefix
+
"/getPerformancesTicketList"
,
type
:
"post"
,
dataType
:
"json"
,
data
:
data
,
beforeSend
:
function
()
{
$
.
modal
.
loading
(
"正在获取数据中,请稍后..."
);
},
success
:
function
(
result
)
{
$
.
modal
.
closeLoading
();
console
.
log
(
result
)
}
};
$
.
ajax
(
configPrint
)
}
function
exportExcel
(
performancesId
)
{
var
data
=
{
"ids"
:
performancesId
};
$
.
table
.
exportExcel
(
""
,
data
)
...
...
@@ -339,7 +357,7 @@
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
batchPlaceOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
performancesId
+
'
\'
,
\'
确定批量下单吗?
\'
, table.options.batchPlaceOrderUrl)"></i>下单</a> '
);
actions
.
push
(
'<a class="btn btn-warning btn-xs '
+
batchCancelOrderFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
performancesId
+
'
\'
,
\'
确定批量取消吗?
\'
, table.options.batchCancelOrderUrl)"></i>取消</a> '
);
// actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + batchGenerateImageFlag + '"
href
=
"javascript:void(0)"
onclick
=
"generateImage(
\
'' + row.performancesId + '
\
',)"
><
/i>下载快递单</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + batchPrintExpressFlag + '"
href
=
"javascript:void(0)"
onclick
=
"
printExpress
(
\
'' + row.performancesId + '
\
',)"
><
/i>打印快递单</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + batchPrintExpressFlag + '"
href
=
"javascript:void(0)"
onclick
=
"
getPerformancesTicketList
(
\
'' + row.performancesId + '
\
',)"
><
/i>打印快递单</
a
>
');
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + exportExcelFlag + '"
href
=
"javascript:void(0)"
onclick
=
"exportExcel(
\
'' + row.performancesId + '
\
')"
><
/i>导出快递票订单</
a
>
');
return actions.join('');
}
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinTicketsMapper.xml
View file @
1c461c17
...
...
@@ -44,14 +44,14 @@
</select>
<select
id=
"getPerformancesTicketList"
resultType=
"com.liquidnet.service.kylin.dao.PerformancesTicketListDao"
>
SELECT
t
.tickets_id ,
t
.title
a
.tickets_id ,
a
.title
FROM
kylin_tickets AS a
LEFT JOIN kylin_ticket_status AS b ON b.ticket_id = a.tickets_id
LEFT JOIN kylin_ticket_relations AS c ON c.ticket_id = a.tickets_id
LEFT JOIN kylin_ticket_time_relation AS d ON d.times_id = c.times_id
where d.performance_id = ${performanceId}
where
b.is_express = 1
and
b.is_express = 1
</select>
</mapper>
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