记得上下班打卡 | 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
8ff0b231
Commit
8ff0b231
authored
Nov 03, 2023
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 申请退票时间文案,增加配置阶梯时间超出可退款时间范围提示
parent
9a79fe6d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
refundPoundage.html
...templates/zhengzai/kylin/performances/refundPoundage.html
+2
-2
KylinPerformancesAdminServiceImpl.java
...kylin/service/impl/KylinPerformancesAdminServiceImpl.java
+13
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/refundPoundage.html
View file @
8ff0b231
...
...
@@ -95,7 +95,7 @@
refundPoundageList
[
i
].
index
=
i
dom
+=
`<div class="ladder_items" id="ladder_items
${
i
}
" style="width: 100%; display: flex; align-items: center; margin-bottom: 12px;">
<div class="" style="display: flex; align-items: center; margin-right: 12px; width: 260px;">
<span class="control-label is-required" style="padding-top: 0px; width: 106px;">
申请退票日期
:</span>
<span class="control-label is-required" style="padding-top: 0px; width: 106px;">
截至退票时间
:</span>
<input type="text" class="layui-input form-control test" id="test
${
i
}
" value="
${
refundPoundageList
[
i
].
day
}
" style="width: 154px">
</div>
<div class="" style="display: flex; align-items: center; margin-right: 12px; width: 202px;">
...
...
@@ -126,7 +126,7 @@
let
num
=
refundPoundageList
.
length
let
dom
=
`<div class="ladder_items" id="ladder_items
${
num
}
" style="width: 100%; display: flex; align-items: center; margin-bottom: 12px;">
<div class="" style="display: flex; align-items: center; margin-right: 12px; width: 260px;">
<span class="control-label is-required" style="padding-top: 0px; width: 106px;">
申请退票日期
:</span>
<span class="control-label is-required" style="padding-top: 0px; width: 106px;">
截至退票时间
:</span>
<input type="text" class="layui-input form-control test" id="test
${
num
}
" value="" style="width: 154px">
</div>
<div class="" style="display: flex; align-items: center; margin-right: 12px; width: 202px;">
...
...
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 @
8ff0b231
...
...
@@ -772,6 +772,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
@Override
public
String
setRefundPoundageAll
(
List
<
OrderRefundPoundage
>
orderRefundPoundageArrayList
,
String
performanceId
)
{
if
(
orderRefundPoundageArrayList
.
size
()
>
10
)
{
return
"阶梯不能大于10"
;
}
...
...
@@ -797,6 +798,17 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
}
nextTime
=
curTime
;
}
if
(
orderRefundPoundageArrayList
.
size
()
>
1
)
{
LocalDateTime
st
=
LocalDateTime
.
parse
(
configVo
.
getRefundOpenTime
(),
DTF_YMD_HMS
);
LocalDateTime
et
=
LocalDateTime
.
parse
(
configVo
.
getRefundCloseTime
(),
DTF_YMD_HMS
);
LocalDateTime
ft
=
LocalDateTime
.
parse
(
orderRefundPoundageArrayList
.
get
(
0
).
getDay
(),
DTF_YMD_HMS
);
LocalDateTime
lt
=
LocalDateTime
.
parse
(
orderRefundPoundageArrayList
.
get
(
orderRefundPoundageArrayList
.
size
()
-
1
).
getDay
(),
DTF_YMD_HMS
);
if
(
ft
.
isBefore
(
st
))
{
return
orderRefundPoundageArrayList
.
get
(
0
).
getDay
()
+
"超出退款时间范围"
;
}
else
if
(
lt
.
isAfter
(
et
))
{
return
orderRefundPoundageArrayList
.
get
(
orderRefundPoundageArrayList
.
size
()
-
1
).
getDay
()
+
"超出退款时间范围"
;
}
}
dataUtils
.
setRefundPoundage
(
orderRefundPoundageArrayList
,
performanceId
);
return
"操作成功"
;
}
...
...
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