记得上下班打卡 | 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
66a8f10a
Commit
66a8f10a
authored
Nov 01, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码退款
parent
95b89bef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
AliPayRefundReturnCallBackDto.java
...gon/channel/wepay/resp/AliPayRefundReturnCallBackDto.java
+11
-1
DragonOrderRefundsServiceImpl.java
...ce/dragon/service/impl/DragonOrderRefundsServiceImpl.java
+8
-0
No files found.
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/dragon/channel/wepay/resp/AliPayRefundReturnCallBackDto.java
View file @
66a8f10a
package
com
.
liquidnet
.
service
.
dragon
.
channel
.
wepay
.
resp
;
package
com
.
liquidnet
.
service
.
dragon
.
channel
.
wepay
.
resp
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
import
com.liquidnet.service.goblin.dto.vo.GoblinOrderSkuVo
;
import
lombok.Data
;
import
lombok.Data
;
@Data
@Data
public
class
AliPayRefundReturnCallBackDto
{
public
class
AliPayRefundReturnCallBackDto
implements
Cloneable
{
@JsonProperty
(
"gmt_create"
)
@JsonProperty
(
"gmt_create"
)
private
String
gmtCreate
;
private
String
gmtCreate
;
@JsonProperty
(
"charset"
)
@JsonProperty
(
"charset"
)
...
@@ -54,4 +55,13 @@ public class AliPayRefundReturnCallBackDto {
...
@@ -54,4 +55,13 @@ public class AliPayRefundReturnCallBackDto {
@JsonProperty
(
"seller_id"
)
@JsonProperty
(
"seller_id"
)
private
String
sellerId
;
private
String
sellerId
;
private
static
final
AliPayRefundReturnCallBackDto
obj
=
new
AliPayRefundReturnCallBackDto
();
public
static
AliPayRefundReturnCallBackDto
getNew
()
{
try
{
return
(
AliPayRefundReturnCallBackDto
)
obj
.
clone
();
}
catch
(
CloneNotSupportedException
e
)
{
return
new
AliPayRefundReturnCallBackDto
();
}
}
}
}
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/dragon/service/impl/DragonOrderRefundsServiceImpl.java
View file @
66a8f10a
...
@@ -608,6 +608,14 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
...
@@ -608,6 +608,14 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
contentDto
.
setRequest
(
JSON
.
toJSONString
(
response
.
getParams
()));
contentDto
.
setRequest
(
JSON
.
toJSONString
(
response
.
getParams
()));
contentDto
.
setResponse
(
response
.
getBody
());
contentDto
.
setResponse
(
response
.
getBody
());
channelDto
.
setContent
(
contentDto
);
channelDto
.
setContent
(
contentDto
);
if
(
DragonConstant
.
REFUND_TYPE_MICROPAY_ALIPAY
.
equals
(
paymentType
)
&&
response
.
getFundChange
().
equals
(
"Y"
))
{
AliPayRefundReturnCallBackDto
map
=
AliPayRefundReturnCallBackDto
.
getNew
();
map
.
setOutBizNo
(
response
.
getOutTradeNo
());
map
.
setTradeNo
(
response
.
getTradeNo
());
map
.
setOutTradeNo
(
response
.
getOutTradeNo
());
map
.
setGmtRefund
(
DateUtil
.
format
(
response
.
getGmtRefundPay
(),
DateUtil
.
Formatter
.
yyyyMMddHHmmss
));
aliPayRefundCallBack
(
JSON
.
toJSONString
(
map
));
}
return
channelDto
;
return
channelDto
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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