记得上下班打卡 | 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
ee488323
Commit
ee488323
authored
Sep 14, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
ba55d90d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
KylinRefundPerformancesAdminServiceImpl.java
...service/impl/KylinRefundPerformancesAdminServiceImpl.java
+7
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinRefundPerformancesAdminServiceImpl.java
View file @
ee488323
...
...
@@ -21,6 +21,8 @@ import com.liquidnet.service.kylin.mapper.KylinOrderRefundBatchesMapper;
import
com.liquidnet.service.kylin.mapper.KylinOrderRefundsMapper
;
import
com.liquidnet.service.kylin.mapper.KylinOrderTicketsMapper
;
import
com.liquidnet.service.kylin.mapper.KylinPerformancesMapper
;
import
com.oracle.tools.packager.Log
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.scheduling.annotation.Async
;
...
...
@@ -42,6 +44,7 @@ import java.util.List;
* @since 2021-05-25 11:26 上午
*/
@Service
@Slf4j
public
class
KylinRefundPerformancesAdminServiceImpl
{
@Autowired
...
...
@@ -69,6 +72,8 @@ public class KylinRefundPerformancesAdminServiceImpl {
HashMap
<
String
,
Object
>
orderStatisAlipay
=
kylinOrderTicketsMapper
.
getPerformanceRefundOrderStatis
(
targetId
,
paymentTypeAlipay
);
String
[]
paymentTypeWepay
=
{
"APPWEPAY"
,
"APPLETWEPAY"
,
"WAPWEPAY"
,
"JSWEPAY"
,
"wepay"
};
HashMap
<
String
,
Object
>
orderStatisWepay
=
kylinOrderTicketsMapper
.
getPerformanceRefundOrderStatis
(
targetId
,
paymentTypeWepay
);
log
.
info
(
"orderStatisAlipay {}"
,
orderStatisAlipay
);
log
.
info
(
"orderStatisWepay {}"
,
orderStatisWepay
);
BigDecimal
totalPriceRefundAlipay
=
new
BigDecimal
(
0
);
Integer
totalRefundNumberAlipay
=
0
;
BigDecimal
totalPriceRefundWepay
=
new
BigDecimal
(
0
);
...
...
@@ -85,7 +90,8 @@ public class KylinRefundPerformancesAdminServiceImpl {
Long
totalRefundNumberWepayBigDecimal
=
(
Long
)
orderStatisWepay
.
get
(
"total_refund_number"
);
totalRefundNumberWepay
=
totalRefundNumberWepayBigDecimal
.
intValue
();
}
log
.
info
(
"totalPriceRefundAlipay {}"
,
totalPriceRefundAlipay
);
log
.
info
(
"totalPriceRefundWepay {}"
,
totalPriceRefundWepay
);
if
(
totalPriceRefundAlipay
.
compareTo
(
BigDecimal
.
ZERO
)
<=
0
&&
totalPriceRefundWepay
.
compareTo
(
BigDecimal
.
ZERO
)
<=
0
)
{
return
ResponseDto
.
failure
(
"演出退款金额为0,无需退款"
);
}
...
...
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