记得上下班打卡 | 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
784485d4
Commit
784485d4
authored
Oct 14, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/new_member' into new_member
parents
c1e84d4b
e9b07c48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
add1.html
...n/resources/templates/zhengzai/candy/coupon/mgt/add1.html
+1
-1
add101.html
...resources/templates/zhengzai/candy/coupon/mgt/add101.html
+10
-3
KylinRefundsStatusServiceImpl.java
...latform/service/refund/KylinRefundsStatusServiceImpl.java
+3
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add1.html
View file @
784485d4
...
...
@@ -172,7 +172,7 @@
<ul
id=
"dataList"
style=
"position: absolute;"
></ul>
</div>
<select
name=
"bindType"
id=
"selectTwo"
placeholder=
"请选择场次"
>
<option
value=
""
>
所有
111
</option>
<option
value=
""
>
所有
</option>
</select>
<select
name=
"bindType"
id=
"selectThree"
placeholder=
"请选择票种"
>
<option
value=
""
>
所有
</option>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/candy/coupon/mgt/add101.html
View file @
784485d4
...
...
@@ -267,9 +267,16 @@
promiseMethods
(
ctx
+
'kylin/base/performance/status'
,
'get'
,
data
,
'application/x-www-form-urlencoded'
).
then
(
res
=>
{
if
(
res
.
value
.
length
>
0
)
{
searchData
=
res
.
value
;
searchData
.
forEach
((
item
,
index
)
=>
{
str
+=
`<li class="selectData" onclick="selectOne('
${
item
.
performancesId
}
','
${
item
.
title
}
')">
${
item
.
title
}
</li>`
})
let
obj
=
{};
searchData
.
reduce
((
cur
,
next
)
=>
{
if
(
!
obj
[
next
.
performancesId
])
{
obj
[
next
.
performancesId
]
=
true
str
+=
`<li class="selectData" onclick="selectOne('
${
next
.
performancesId
}
','
${
next
.
title
}
')">
${
next
.
title
}
</li>`
}
},[])
//设置cur默认类型为数组,并且初始值为空的数组
// searchData.forEach((item,index)=>{
// str+= `
<
li
class
=
"selectData"
onclick
=
"selectOne('${item.performancesId}','${item.title}')"
>
$
{
item
.
title
}
<
/li>
`
// })
$
(
'#dataList'
).
html
(
str
);
}
else
{
$
(
'#dataList'
).
html
(
'<li style="width:100%;text-align:center;color:#ccc;">--- 暂无数据 ---</li>'
);
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/refund/KylinRefundsStatusServiceImpl.java
View file @
784485d4
...
...
@@ -228,6 +228,7 @@ public class KylinRefundsStatusServiceImpl {
dataUtils
.
delOrderRefundVo
(
refundInfo
.
getOrderRefundsId
());
dataUtils
.
delOrderRefundVoByOrderId
(
refundInfo
.
getOrderTicketsId
());
log
.
info
(
"refundCallback数据库更新res: [update1={},update2={},update3={}]"
,
update1
,
update2
,
update3
);
if
(
refundInfo
.
getType
()
!=
KylinTableStatusConst
.
ORDER_REFUND_TYPE_AUTO
&&
update3
>
0
)
{
// 退还库存
for
(
String
entitiesId
:
orderTicketEntitiesIdsArr
)
{
...
...
@@ -235,7 +236,8 @@ public class KylinRefundsStatusServiceImpl {
Wrappers
.
lambdaQuery
(
KylinOrderTicketEntities
.
class
).
eq
(
KylinOrderTicketEntities:
:
getOrderTicketEntitiesId
,
entitiesId
)
);
if
(
entitiesInfo
.
getIsPayment
()
==
KylinTableStatusConst
.
ENTITIES_IS_PAYMENT3
)
{
dataUtils
.
changeSurplusGeneral
(
entitiesInfo
.
getTicketId
(),
1
);
int
surplusGeneral
=
dataUtils
.
changeSurplusGeneral
(
entitiesInfo
.
getTicketId
(),
1
);
log
.
info
(
"refundCallback回滚库存res: [surplusGeneral={},ticketId={},orderRefundCode={}]"
,
surplusGeneral
,
entitiesInfo
.
getTicketId
(),
refundCallbackParam
.
getOrderRefundCode
());
log
.
info
(
UserPathDto
.
setData
(
"changeBuyInfo"
,
"UserId="
+
orderInfo
.
getUserId
()
+
"idCard="
+
entitiesInfo
.
getEnterIdCode
()
+
" PerformanceId="
+
orderRelations
.
getPerformanceId
()
+
" TicketId="
+
entitiesInfo
.
getTicketId
(),
"info"
));
dataUtils
.
changeBuyInfo
(
orderInfo
.
getUserId
(),
entitiesInfo
.
getEnterIdCode
(),
orderRelations
.
getPerformanceId
(),
entitiesInfo
.
getTicketId
(),
-
1
);
}
...
...
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