Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
8673c525
Commit
8673c525
authored
Aug 31, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整订单编辑详情
parent
35def71f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
OrderQueryServiceImpl.java
...odule/order/service/order/impl/OrderQueryServiceImpl.java
+6
-3
OrderBackVO.java
...a/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
+19
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderQueryServiceImpl.java
View file @
8673c525
...
...
@@ -183,9 +183,12 @@ public class OrderQueryServiceImpl implements OrderQueryService {
}
else
{
vo
.
setApplyType
(
ORDER_UPDATE
.
getValue
());
}
// if (vo.getOrderNo().startsWith("DRAFT")) {
// vo.setOrderNo("");
// }
if
(
Objects
.
nonNull
(
vo
.
getConsignorVO
()))
{
CustomerDO
customerDO
=
customerService
.
getCustomer
(
vo
.
getConsignorVO
().
getCustomerId
());
if
(
Objects
.
nonNull
(
customerDO
))
{
vo
.
setNoConsignee
(
customerDO
.
getNoConsignee
());
}
}
return
vo
;
}
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
View file @
8673c525
...
...
@@ -589,6 +589,25 @@ public class OrderBackVO {
private
Boolean
isInOpenSea
;
@ApiModelProperty
(
value
=
"是否有收货人,1-是,0-否"
)
private
Boolean
hasConsignee
=
true
;
@ApiModelProperty
(
value
=
"是否允许无收货人,1-是,0-否"
)
private
Boolean
noConsignee
;
@ApiModelProperty
(
value
=
"是否限制修改收货人"
)
private
Boolean
isLimitUpdateConsignee
;
@ApiModelProperty
(
value
=
"放货锁定收货人到期时间"
)
@DateTimeFormat
(
pattern
=
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
)
@JsonFormat
(
pattern
=
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
)
private
Date
lockConsigneeTime
;
@ApiModelProperty
(
value
=
"放货锁定收货人天数"
)
private
Integer
lockConsigneeDay
;
@ApiModelProperty
(
value
=
"订单修改是否变动了归属客户,此字段用来判定订单是否需要重置归属客户经理,下单后归属客户的客户经理是固定的,除非订单归属客户变动,才需要重置客户经理"
)
@TableField
(
exist
=
false
)
private
Boolean
isChargeCustomer
;
...
...
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