记得上下班打卡 | 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
84259615
Commit
84259615
authored
Mar 16, 2026
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
damai admin
parent
609d1843
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
43 deletions
+45
-43
damai.html
...esources/templates/zhengzai/kylin/performances/damai.html
+39
-39
performances.html
...s/templates/zhengzai/kylin/performances/performances.html
+3
-3
KylinPerformancesMapper.xml
...iquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
+3
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/damai.html
View file @
84259615
...
@@ -37,36 +37,36 @@
...
@@ -37,36 +37,36 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
th:each=
"tickets : ${kylinPerformanceDamaiVo.damaiTickets}"
>
<!-- <div th:each="tickets : ${kylinPerformanceDamaiVo.damaiTickets}">--
>
<div
class=
"form-group"
>
<!-- <div class="form-group">--
>
<label
class=
"col-sm-3 control-label is-required"
>
票种名称:
</label
>
<!-- <label class="col-sm-3 control-label is-required">票种名称:</label>--
>
<div
class=
"col-sm-8"
>
<!-- <div class="col-sm-8">--
>
<input
name=
"title"
th:value=
"${tickets.title}"
class=
"form-control"
type=
"text"
readonly
>
<!-- <input name="title" th:value="${tickets.title}" class="form-control" type="text" readonly>--
>
<input
name=
"ticketsId"
th:value=
"${tickets.ticketsId}"
class=
"form-control"
type=
"hidden"
required
>
<!-- <input name="ticketsId" th:value="${tickets.ticketsId}" class="form-control" type="hidden" required>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
<div
class=
"form-group"
>
<!-- <div class="form-group">--
>
<label
class=
"col-sm-3 control-label is-required"
>
是否同步:
</label
>
<!-- <label class="col-sm-3 control-label is-required">是否同步:</label>--
>
<div
class=
"col-sm-8"
th:if=
"${tickets.syncDamai==1}"
>
<!-- <div class="col-sm-8" th:if="${tickets.syncDamai==1}">--
>
<div
class=
"radio check-box"
>
<!-- <div class="radio check-box">--
>
<input
type=
"radio"
value=
"1"
th:name=
"'ticket_syncDamai:'+${tickets.ticketsId}"
<!-- <input type="radio" value="1" th:name="'ticket_syncDamai:'+${tickets.ticketsId}"-->
checked
>
同步
</label
>
<!-- checked>同步</label>--
>
</div
>
<!-- </div>--
>
<div
class=
"radio check-box"
>
<!-- <div class="radio check-box">--
>
<input
type=
"radio"
value=
"0"
th:name=
"'ticket_syncDamai:'+${tickets.ticketsId}"
>
不同步
</label
>
<!-- <input type="radio" value="0" th:name="'ticket_syncDamai:'+${tickets.ticketsId}">不同步</label>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
<div
class=
"col-sm-8"
th:if=
"${tickets.syncDamai==0}"
>
<!-- <div class="col-sm-8" th:if="${tickets.syncDamai==0}">--
>
<div
class=
"radio check-box"
>
<!-- <div class="radio check-box">--
>
<input
type=
"radio"
value=
"1"
th:name=
"'ticket_syncDamai:'+${tickets.ticketsId}"
>
同步
</label
>
<!-- <input type="radio" value="1" th:name="'ticket_syncDamai:'+${tickets.ticketsId}">同步</label>--
>
</div
>
<!-- </div>--
>
<div
class=
"radio check-box"
>
<!-- <div class="radio check-box">--
>
<input
type=
"radio"
value=
"0"
th:name=
"'ticket_syncDamai:'+${tickets.ticketsId}"
checked
>
<!-- <input type="radio" value="0" th:name="'ticket_syncDamai:'+${tickets.ticketsId}" checked>--
>
不同步
</label
>
<!-- 不同步</label>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
<button
type=
"button"
class=
"btn btn-w-m btn-success"
onclick=
"submitHandler()"
>
<button
type=
"button"
class=
"btn btn-w-m btn-success"
onclick=
"submitHandler()"
>
修改
修改
...
@@ -89,15 +89,15 @@
...
@@ -89,15 +89,15 @@
status
:
parseInt
(
$
(
"input[name^='performance_sync_damai']:checked"
).
val
())
status
:
parseInt
(
$
(
"input[name^='performance_sync_damai']:checked"
).
val
())
}
}
paramList
.
push
(
param
)
paramList
.
push
(
param
)
var
ticketObj
=
JSON
.
parse
(
'[[${kylinPerformanceDamaiVo.damaiTickets}]]'
);
//
var ticketObj = JSON.parse('[[${kylinPerformanceDamaiVo.damaiTickets}]]');
$
.
each
(
ticketObj
,
function
(
i
,
damaiTickets
)
{
//
$.each(ticketObj, function (i, damaiTickets) {
var
param
=
{
//
var param = {
id
:
damaiTickets
.
ticketsId
,
//
id:damaiTickets.ticketsId,
type
:
"ticket"
,
//
type:"ticket",
status
:
parseInt
(
$
(
"input[name^='ticket_syncDamai:"
+
damaiTickets
.
ticketsId
+
"']:checked"
).
val
())
//
status:parseInt($("input[name^='ticket_syncDamai:"+damaiTickets.ticketsId+"']:checked").val())
}
//
}
paramList
.
push
(
param
)
//
paramList.push(param)
});
//
});
$
.
operate
.
post
(
prefix
+
"/damai/change"
,
$
.
operate
.
post
(
prefix
+
"/damai/change"
,
{
params
:
JSON
.
stringify
(
paramList
)},
{
params
:
JSON
.
stringify
(
paramList
)},
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/performances.html
View file @
84259615
...
@@ -156,9 +156,9 @@
...
@@ -156,9 +156,9 @@
}
else
{
}
else
{
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="$.operate.detailTab(
\'
'
+
row
.
performancesId
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
detailFlag
+
'" href="javascript:void(0)" onclick="$.operate.detailTab(
\'
'
+
row
.
performancesId
+
'
\'
)"><i class="fa fa-edit"></i>查看</a> '
);
}
}
if
(
row
.
syncDamai
==
1
)
{
//
if (row.syncDamai == 1) {
actions
.
push
(
'<a class="btn btn-warning btn-xs '
+
expertFlag
+
'" href="javascript:void(0)" onclick="f(
\'
'
+
row
.
performancesId
+
'
\'
)"><i class="fa fa-remove"></i>同步</a>'
);
//
actions.push('
<
a
class
=
"btn btn-warning btn-xs ' + expertFlag + '"
href
=
"javascript:void(0)"
onclick
=
"f(
\
'' + row.performancesId + '
\
')"
><
i
class
=
"fa fa-remove"
><
/i>同步</
a
>
');
}
//
}
return actions.join('');
return actions.join('');
}
}
}]
}]
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinPerformancesMapper.xml
View file @
84259615
...
@@ -1331,7 +1331,9 @@ GROUP BY user_mobile,tickets_id;
...
@@ -1331,7 +1331,9 @@ GROUP BY user_mobile,tickets_id;
SELECT kps.performance_id, kps.is_damai_basic_synced
SELECT kps.performance_id, kps.is_damai_basic_synced
FROM kylin_performance_status kps
FROM kylin_performance_status kps
LEFT JOIN kylin_performances kp ON kp.performances_id = kps.performance_id
LEFT JOIN kylin_performances kp ON kp.performances_id = kps.performance_id
WHERE kps.status IN (3, 6, 7, 8, 9, 10)
WHERE 1=1
AND kps.sync_damai = 1
-- AND kps.status IN (3, 6, 7, 8, 9, 10)
AND kp.time_end > NOW()
AND kp.time_end > NOW()
</select>
</select>
...
...
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