记得上下班打卡 | 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
7d991800
Commit
7d991800
authored
Mar 09, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order 增加超时支付自动退款逻辑[商铺]
parent
f48f69e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
GoblinBackOrderVo.java
...om/liquidnet/service/goblin/dto/vo/GoblinBackOrderVo.java
+32
-0
GoblinOrderUtils.java
...a/com/liquidnet/service/order/utils/GoblinOrderUtils.java
+1
-2
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinBackOrderVo.java
View file @
7d991800
package
com
.
liquidnet
.
service
.
goblin
.
dto
.
vo
;
import
com.liquidnet.service.goblin.entity.GoblinBackOrder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -90,6 +91,37 @@ public class GoblinBackOrderVo implements Serializable, Cloneable {
this
.
expireAt
=
LocalDateTime
.
parse
(
createdAt
,
DTF_YMD_HMS
).
plusDays
(
7
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
));
}
public
GoblinBackOrderVo
copy
(
GoblinBackOrder
source
)
{
this
.
setBackOrderId
(
source
.
getBackOrderId
());
this
.
setBackCode
(
source
.
getBackCode
());
this
.
setOrderId
(
source
.
getBackOrderId
());
this
.
setOrderCode
(
source
.
getOrderCode
());
this
.
setStoreId
(
source
.
getStoreId
());
this
.
setUserId
(
source
.
getUserId
());
this
.
setType
(
source
.
getType
());
this
.
setReason
(
source
.
getReason
());
this
.
setRefuseReason
(
source
.
getRefuseReason
());
this
.
setErrorReason
(
source
.
getErrorReason
());
this
.
setDescribes
(
source
.
getDescribes
());
this
.
setCredential
(
source
.
getCredential
());
this
.
setBackType
(
source
.
getBackType
());
this
.
setRealBackPrice
(
source
.
getRealBackPrice
());
this
.
setBackPriceExpress
(
source
.
getBackPriceExpress
());
this
.
setPics
(
source
.
getPics
());
this
.
setStatus
(
source
.
getStatus
());
this
.
setPreDepositPay
(
source
.
getPreDepositPay
());
this
.
setPayType
(
source
.
getBackOrderId
());
this
.
setLogisCompanyName
(
source
.
getLogisCompanyName
());
this
.
setMailNo
(
source
.
getMailNo
());
this
.
setRefundAt
(
source
.
getRefundAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
this
.
setRefuseAt
(
source
.
getRefuseAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
this
.
setRefuseSize
(
source
.
getRefusedSize
());
this
.
setAuditAt
(
source
.
getAuditAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
this
.
setCreatedAt
(
source
.
getCreatedAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
this
.
setExpireAt
(
source
.
getExpireAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
return
this
;
}
private
static
final
GoblinBackOrderVo
obj
=
new
GoblinBackOrderVo
();
public
static
GoblinBackOrderVo
getNew
()
{
...
...
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/order/utils/GoblinOrderUtils.java
View file @
7d991800
...
...
@@ -357,8 +357,7 @@ public class GoblinOrderUtils {
goblinBackOrder
.
setStatus
(
GoblinStatusConst
.
Status
.
ORDER_BACK_STATUS_0
.
getValue
());
goblinBackOrder
.
setAuditAt
(
now
);
goblinBackOrder
.
setCreatedAt
(
now
);
GoblinBackOrderVo
backOrderVo
=
GoblinBackOrderVo
.
getNew
();
BeanUtils
.
copyProperties
(
goblinBackOrder
,
backOrderVo
);
GoblinBackOrderVo
backOrderVo
=
GoblinBackOrderVo
.
getNew
().
copy
(
goblinBackOrder
);
backOrderVo
.
setCreatedAt
(
nowStr
);
backOrderVo
.
setBackOrderSkuVos
(
orderSkuVoList
);
//添加日志
...
...
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