Toggle navigation
Toggle navigation
This project
Loading...
Sign in
zyn
/
cjs-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
bruce
2019-05-31 11:06:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
95ec64d02491b5eb7a6b3eea7e95b6fbdab34b29
95ec64d0
1 parent
18fe5f58
退款通知返回给银联
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/main/java/com/cjs/site/biz/user/pick/PickPayBiz.java
src/main/java/com/cjs/site/biz/user/pick/PickPayBiz.java
View file @
95ec64d
...
...
@@ -55,7 +55,7 @@ public class PickPayBiz {
pickTotal
+=
apply
.
getCurrentAmount
();
}
}
if
(
pickTotal
==
0
){
if
(
pickTotal
==
0
)
{
result
.
put
(
"code"
,
false
);
result
.
put
(
"msg"
,
"库存不足无法提货"
);
return
result
;
...
...
@@ -128,11 +128,18 @@ public class PickPayBiz {
}
catch
(
Exception
e
)
{
transactionManager
.
rollback
(
status
);
}
}
else
if
(
result
.
get
(
"billStatus"
).
equals
(
"REFUND"
))
{
OutpropApplyPayInfo
update
=
new
OutpropApplyPayInfo
();
update
.
setTradeNo
(
result
.
get
(
"billNo"
));
update
.
setStatus
(
"4"
);
//退款
outpropApplyPayDao
.
update
(
update
);
return
true
;
}
else
{
OutpropApplyPayInfo
update
=
new
OutpropApplyPayInfo
();
update
.
setTradeNo
(
result
.
get
(
"billNo"
));
update
.
setStatus
(
"3"
);
update
.
setStatus
(
"3"
);
//支付失败
outpropApplyPayDao
.
update
(
update
);
return
true
;
}
}
return
false
;
...
...
Please
register
or
login
to post a comment