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
453d0100
Commit
453d0100
authored
Sep 04, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单相关业务逻辑变动
parent
b1b1b70d
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
123 additions
and
12 deletions
+123
-12
20240904.sql
sql/v2.1/20240904.sql
+1
-1
OrderDO.java
...oder/yudao/module/order/dal/dataobject/order/OrderDO.java
+9
-3
OrderConsigneeDO.java
...order/dal/dataobject/orderConsignee/OrderConsigneeDO.java
+4
-0
OrderConsignorDO.java
...order/dal/dataobject/orderConsignor/OrderConsignorDO.java
+4
-0
OrderBackInfoDto.java
...a/cn/iocoder/yudao/module/order/dto/OrderBackInfoDto.java
+9
-0
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+22
-0
OrderBackPageVO.java
.../iocoder/yudao/module/order/vo/order/OrderBackPageVO.java
+9
-3
OrderBackVO.java
...a/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
+9
-0
OrderBaseVO.java
...a/cn/iocoder/yudao/module/order/vo/order/OrderBaseVO.java
+9
-0
OrderQueryVO.java
.../cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
+21
-2
OrderConsigneeBackVO.java
.../module/order/vo/orderConsignee/OrderConsigneeBackVO.java
+4
-0
OrderConsigneeBaseVO.java
.../module/order/vo/orderConsignee/OrderConsigneeBaseVO.java
+3
-0
OrderConsigneeQueryVO.java
...module/order/vo/orderConsignee/OrderConsigneeQueryVO.java
+3
-0
OrderConsignorBackVO.java
.../module/order/vo/orderConsignor/OrderConsignorBackVO.java
+7
-2
OrderConsignorBaseVO.java
.../module/order/vo/orderConsignor/OrderConsignorBaseVO.java
+4
-0
OrderConsignorQueryVO.java
...module/order/vo/orderConsignor/OrderConsignorQueryVO.java
+5
-1
No files found.
sql/v2.1/20240904.sql
View file @
453d0100
...
@@ -9,6 +9,6 @@ alter table `ecw_order_consignee`
...
@@ -9,6 +9,6 @@ alter table `ecw_order_consignee`
alter
table
`ecw_order`
alter
table
`ecw_order`
add
column
`pick_state`
tinyint
DEFAULT
0
COMMENT
'提货状态:0 未提货 1 部分提货 2 已提货'
;
add
column
`pick_state`
tinyint
DEFAULT
0
COMMENT
'提货状态:0 未提货 1 部分提货 2 已提货'
;
alter
table
`ecw_order`
alter
table
`ecw_order`
add
column
`pick_ratio`
VARCHAR
(
50
)
DEFAULT
'0'
COMMENT
'提货率'
;
add
column
`pick_ratio`
int
DEFAULT
0
COMMENT
'提货率'
;
alter
table
`ecw_order`
alter
table
`ecw_order`
add
column
`pick_num`
int
DEFAULT
0
COMMENT
'提货箱数'
;
add
column
`pick_num`
int
DEFAULT
0
COMMENT
'提货箱数'
;
\ No newline at end of file
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/dataobject/order/OrderDO.java
View file @
453d0100
...
@@ -533,9 +533,15 @@ public class OrderDO extends BaseDO {
...
@@ -533,9 +533,15 @@ public class OrderDO extends BaseDO {
@ApiModelProperty
(
value
=
"放货锁定收货人天数"
)
@ApiModelProperty
(
value
=
"放货锁定收货人天数"
)
private
Integer
lockConsigneeDay
;
private
Integer
lockConsigneeDay
;
//
// @ApiModelProperty(value = "拆单子订单是否变更运输方式")
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
// private Boolean splitChangeTransport = false;
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
String
pickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
@ApiModelProperty
(
value
=
"订单商品项列表"
)
@ApiModelProperty
(
value
=
"订单商品项列表"
)
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/dataobject/orderConsignee/OrderConsigneeDO.java
View file @
453d0100
...
@@ -92,6 +92,10 @@ public class OrderConsigneeDO extends BaseDO {
...
@@ -92,6 +92,10 @@ public class OrderConsigneeDO extends BaseDO {
* 客户id
* 客户id
*/
*/
private
Long
customerId
;
private
Long
customerId
;
/**
* 客户编号
*/
private
String
customerNumber
;
/**
/**
* 客户联系人id
* 客户联系人id
*/
*/
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/dataobject/orderConsignor/OrderConsignorDO.java
View file @
453d0100
...
@@ -75,6 +75,10 @@ public class OrderConsignorDO extends BaseDO {
...
@@ -75,6 +75,10 @@ public class OrderConsignorDO extends BaseDO {
*
*
*/
*/
private
Long
customerId
;
private
Long
customerId
;
/**
* 客户编号
*/
private
String
customerNumber
;
/**
/**
*
*
*/
*/
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dto/OrderBackInfoDto.java
View file @
453d0100
...
@@ -530,6 +530,15 @@ public class OrderBackInfoDto {
...
@@ -530,6 +530,15 @@ public class OrderBackInfoDto {
@ApiModelProperty
(
value
=
"是否在公海"
)
@ApiModelProperty
(
value
=
"是否在公海"
)
private
Boolean
isInOpenSea
;
private
Boolean
isInOpenSea
;
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
Integer
pickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
public
void
setExceptionReason
(
String
exceptionReason
)
{
public
void
setExceptionReason
(
String
exceptionReason
)
{
this
.
exceptionReason
=
exceptionReason
;
this
.
exceptionReason
=
exceptionReason
;
if
(
StringUtils
.
isNotBlank
(
exceptionReason
)
&&
Objects
.
nonNull
(
this
.
lang
))
{
if
(
StringUtils
.
isNotBlank
(
exceptionReason
)
&&
Objects
.
nonNull
(
this
.
lang
))
{
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
453d0100
...
@@ -526,6 +526,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -526,6 +526,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
consignorCustomerDO
!=
null
)
{
if
(
consignorCustomerDO
!=
null
)
{
orderConsignorDO
.
setCompany
(
consignorCustomerDO
.
getCompany
());
orderConsignorDO
.
setCompany
(
consignorCustomerDO
.
getCompany
());
orderConsignorDO
.
setCompanyEn
(
consignorCustomerDO
.
getCompanyEn
());
orderConsignorDO
.
setCompanyEn
(
consignorCustomerDO
.
getCompanyEn
());
orderConsignorDO
.
setCustomerNumber
(
consignorCustomerDO
.
getNumber
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorCustomerDO
.
getCountry
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorCustomerDO
.
getCountry
());
if
(
consignorCountryDO
!=
null
)
{
if
(
consignorCountryDO
!=
null
)
{
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
...
@@ -648,6 +649,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -648,6 +649,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
orderConsigneeDO
.
setCustomerId
(
consignee
.
getCustomerId
());
orderConsigneeDO
.
setCustomerId
(
consignee
.
getCustomerId
());
orderConsigneeDO
.
setCustomerContactsId
(
consignee
.
getId
());
orderConsigneeDO
.
setCustomerContactsId
(
consignee
.
getId
());
CustomerDO
consigneeDO
=
customerService
.
getCustomer
(
consignee
.
getCustomerId
());
if
(
Objects
.
nonNull
(
consigneeDO
))
{
orderConsignorDO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
}
}
else
{
}
else
{
// 客户不存在,新增客户联系人信息 orderConsigneeDO中有值
// 客户不存在,新增客户联系人信息 orderConsigneeDO中有值
// 20230511 收货人无客户档案时 判断发货人有无客户经理,没有 生成客户档案,进入待分配。
// 20230511 收货人无客户档案时 判断发货人有无客户经理,没有 生成客户档案,进入待分配。
...
@@ -710,6 +715,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -710,6 +715,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
}
}
noConsignee
=
consignorDO
.
getNoConsignee
();
noConsignee
=
consignorDO
.
getNoConsignee
();
orderConsignorDO
.
setCustomerNumber
(
consignorDO
.
getNumber
());
}
}
CustomerContactsDO
consignorContactsDO
=
CustomerContactsDO
consignorContactsDO
=
customerContactsService
.
getCustomerContacts
(
customerContactsService
.
getCustomerContacts
(
...
@@ -822,6 +828,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -822,6 +828,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
orderConsigneeDO
.
setCompanyEn
(
consigneeDO
.
getCompanyEn
());
orderConsigneeDO
.
setCompanyEn
(
consigneeDO
.
getCompanyEn
());
orderConsigneeDO
.
setAddress
(
consigneeDO
.
getAddress
());
orderConsigneeDO
.
setAddress
(
consigneeDO
.
getAddress
());
orderConsigneeDO
.
setCustomerId
(
consigneeDO
.
getId
());
orderConsigneeDO
.
setCustomerId
(
consigneeDO
.
getId
());
orderConsigneeDO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
CountryDO
consigneeCountryDO
=
countryService
.
getById
(
consigneeDO
.
getCountry
());
CountryDO
consigneeCountryDO
=
countryService
.
getById
(
consigneeDO
.
getCountry
());
if
(
consigneeCountryDO
!=
null
)
{
if
(
consigneeCountryDO
!=
null
)
{
orderConsignorDO
.
setCountryAbbreviation
(
consigneeCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
consigneeCountryDO
.
getNameShort
());
...
@@ -1848,6 +1855,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -1848,6 +1855,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
// 发货人控货无收货人属性设置变动,需要变动客户业绩
// 发货人控货无收货人属性设置变动,需要变动客户业绩
vo
.
setIsCharge
(
true
);
vo
.
setIsCharge
(
true
);
}
}
orderConsignorBackVO
.
setCustomerNumber
(
consignorDO
.
getNumber
());
}
}
this
.
compareConsignorInfo
(
updateReqVO
,
consignorContactsDO
,
orderConsignorBackVO
,
applyInfoList
,
vo
);
this
.
compareConsignorInfo
(
updateReqVO
,
consignorContactsDO
,
orderConsignorBackVO
,
applyInfoList
,
vo
);
}
}
...
@@ -1856,6 +1864,9 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -1856,6 +1864,9 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
CustomerContactsDO
consigneeContactsDO
=
customerContactsService
.
getCustomerContacts
(
updateReqVO
.
getConsigneeContactsId
());
CustomerContactsDO
consigneeContactsDO
=
customerContactsService
.
getCustomerContacts
(
updateReqVO
.
getConsigneeContactsId
());
OrderConsigneeBackVO
orderConsigneeBackVO
=
vo
.
getConsigneeVO
();
OrderConsigneeBackVO
orderConsigneeBackVO
=
vo
.
getConsigneeVO
();
CustomerDO
consigneeDO
=
customerService
.
getById
(
updateReqVO
.
getConsigneeId
());
CustomerDO
consigneeDO
=
customerService
.
getById
(
updateReqVO
.
getConsigneeId
());
if
(
Objects
.
nonNull
(
consigneeDO
))
{
orderConsigneeBackVO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
}
if
(
vo
.
getIsCargoControl
()
&&
!
noConsignee
)
{
if
(
vo
.
getIsCargoControl
()
&&
!
noConsignee
)
{
if
(
Objects
.
isNull
(
consigneeContactsDO
))
{
if
(
Objects
.
isNull
(
consigneeContactsDO
))
{
//todo 需要判断手机号唯一性,判断规则:1.区号相同,2.先判断手机号码是否存在,然后再判断:a.如果是0开头,判断是否存在非0开头号码;b.如果非0开头,判断是否存在0开头号码
//todo 需要判断手机号唯一性,判断规则:1.区号相同,2.先判断手机号码是否存在,然后再判断:a.如果是0开头,判断是否存在非0开头号码;b.如果非0开头,判断是否存在0开头号码
...
@@ -2937,6 +2948,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -2937,6 +2948,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
consignorCustomerDO
!=
null
)
{
if
(
consignorCustomerDO
!=
null
)
{
orderConsignorDO
.
setCompany
(
consignorCustomerDO
.
getCompany
());
orderConsignorDO
.
setCompany
(
consignorCustomerDO
.
getCompany
());
orderConsignorDO
.
setCompanyEn
(
consignorCustomerDO
.
getCompanyEn
());
orderConsignorDO
.
setCompanyEn
(
consignorCustomerDO
.
getCompanyEn
());
orderConsignorDO
.
setCustomerNumber
(
consignorCustomerDO
.
getNumber
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorCustomerDO
.
getCountry
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorCustomerDO
.
getCountry
());
if
(
consignorCountryDO
!=
null
)
{
if
(
consignorCountryDO
!=
null
)
{
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
consignorCountryDO
.
getNameShort
());
...
@@ -3077,6 +3089,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -3077,6 +3089,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
Objects
.
nonNull
(
consignee
)
&&
Objects
.
nonNull
(
consignee
.
getCustomerId
()))
{
if
(
Objects
.
nonNull
(
consignee
)
&&
Objects
.
nonNull
(
consignee
.
getCustomerId
()))
{
orderConsigneeDO
.
setCustomerId
(
consignee
.
getCustomerId
());
orderConsigneeDO
.
setCustomerId
(
consignee
.
getCustomerId
());
orderConsigneeDO
.
setCustomerContactsId
(
consignee
.
getId
());
orderConsigneeDO
.
setCustomerContactsId
(
consignee
.
getId
());
CustomerDO
consigneeDO
=
customerService
.
getCustomer
(
consignee
.
getCustomerId
());
if
(
Objects
.
nonNull
(
consigneeDO
))
{
orderConsignorDO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
}
}
else
{
}
else
{
// 客户不存在,新增客户联系人信息 orderConsigneeDO中有值
// 客户不存在,新增客户联系人信息 orderConsigneeDO中有值
// 20230511 收货人无客户档案时 判断发货人有无客户经理,没有 生成客户档案,进入待分配。 有客户经理,则暂时不生成客户档案。(放在入仓时处理)
// 20230511 收货人无客户档案时 判断发货人有无客户经理,没有 生成客户档案,进入待分配。 有客户经理,则暂时不生成客户档案。(放在入仓时处理)
...
@@ -3086,6 +3102,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -3086,6 +3102,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
consigeeCustomer
!=
null
)
{
if
(
consigeeCustomer
!=
null
)
{
orderConsigneeDO
.
setCustomerId
(
consigeeCustomer
.
getCustomerId
());
orderConsigneeDO
.
setCustomerId
(
consigeeCustomer
.
getCustomerId
());
orderConsigneeDO
.
setCustomerContactsId
(
consigeeCustomer
.
getId
());
orderConsigneeDO
.
setCustomerContactsId
(
consigeeCustomer
.
getId
());
CustomerDO
consigneeDO
=
customerService
.
getCustomer
(
consigeeCustomer
.
getCustomerId
());
if
(
Objects
.
nonNull
(
consigneeDO
))
{
orderConsignorDO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
}
}
}
}
}
}
}
...
@@ -3136,6 +3156,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -3136,6 +3156,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if
(
Objects
.
nonNull
(
consignorDO
))
{
if
(
Objects
.
nonNull
(
consignorDO
))
{
orderConsignorDO
.
setCompany
(
consignorDO
.
getCompany
());
orderConsignorDO
.
setCompany
(
consignorDO
.
getCompany
());
orderConsignorDO
.
setCompanyEn
(
consignorDO
.
getCompanyEn
());
orderConsignorDO
.
setCompanyEn
(
consignorDO
.
getCompanyEn
());
orderConsignorDO
.
setCustomerNumber
(
consignorDO
.
getNumber
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorDO
.
getCountry
());
CountryDO
consignorCountryDO
=
countryService
.
getById
(
consignorDO
.
getCountry
());
orderConsignorDO
.
setCountryAbbreviation
(
Objects
.
isNull
(
consignorCountryDO
)
?
null
:
consignorCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
Objects
.
isNull
(
consignorCountryDO
)
?
null
:
consignorCountryDO
.
getNameShort
());
noConsignee
=
consignorDO
.
getNoConsignee
();
noConsignee
=
consignorDO
.
getNoConsignee
();
...
@@ -3258,6 +3279,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -3258,6 +3279,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
orderConsigneeDO
.
setCompany
(
consigneeDO
.
getCompany
());
orderConsigneeDO
.
setCompany
(
consigneeDO
.
getCompany
());
orderConsigneeDO
.
setCompanyEn
(
consigneeDO
.
getCompanyEn
());
orderConsigneeDO
.
setCompanyEn
(
consigneeDO
.
getCompanyEn
());
orderConsigneeDO
.
setAddress
(
consigneeDO
.
getAddress
());
orderConsigneeDO
.
setAddress
(
consigneeDO
.
getAddress
());
orderConsigneeDO
.
setCustomerNumber
(
consigneeDO
.
getNumber
());
CountryDO
consigneeCountryDO
=
countryService
.
getById
(
consigneeDO
.
getCountry
());
CountryDO
consigneeCountryDO
=
countryService
.
getById
(
consigneeDO
.
getCountry
());
if
(
consigneeCountryDO
!=
null
)
{
if
(
consigneeCountryDO
!=
null
)
{
orderConsignorDO
.
setCountryAbbreviation
(
consigneeCountryDO
.
getNameShort
());
orderConsignorDO
.
setCountryAbbreviation
(
consigneeCountryDO
.
getNameShort
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBackPageVO.java
View file @
453d0100
...
@@ -345,6 +345,15 @@ public class OrderBackPageVO {
...
@@ -345,6 +345,15 @@ public class OrderBackPageVO {
@ApiModelProperty
(
value
=
"放货锁定收货人天数"
)
@ApiModelProperty
(
value
=
"放货锁定收货人天数"
)
private
Integer
lockConsigneeDay
;
private
Integer
lockConsigneeDay
;
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
Integer
pickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
/**
/**
* 渠道名称
* 渠道名称
*/
*/
...
@@ -488,9 +497,6 @@ public class OrderBackPageVO {
...
@@ -488,9 +497,6 @@ public class OrderBackPageVO {
@ApiModelProperty
(
value
=
"业绩归属客户名称"
)
@ApiModelProperty
(
value
=
"业绩归属客户名称"
)
private
String
customerName
;
private
String
customerName
;
@ApiModelProperty
(
value
=
"提货数量"
)
private
Integer
pickNum
;
// -----------end -----------
// -----------end -----------
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
View file @
453d0100
...
@@ -627,6 +627,15 @@ public class OrderBackVO {
...
@@ -627,6 +627,15 @@ public class OrderBackVO {
*/
*/
private
BigDecimal
calVValue
;
private
BigDecimal
calVValue
;
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
Integer
pickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
public
void
setExternalWarehouseJson
(
String
externalWarehouseJson
)
{
public
void
setExternalWarehouseJson
(
String
externalWarehouseJson
)
{
this
.
externalWarehouseJson
=
externalWarehouseJson
;
this
.
externalWarehouseJson
=
externalWarehouseJson
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBaseVO.java
View file @
453d0100
...
@@ -355,6 +355,15 @@ public class OrderBaseVO {
...
@@ -355,6 +355,15 @@ public class OrderBaseVO {
@ApiModelProperty
(
value
=
"是否在公海"
)
@ApiModelProperty
(
value
=
"是否在公海"
)
private
Boolean
isInOpenSea
;
private
Boolean
isInOpenSea
;
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
Integer
pickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
public
void
setExceptionReason
(
String
exceptionReason
)
{
public
void
setExceptionReason
(
String
exceptionReason
)
{
this
.
exceptionReason
=
StringUtils
.
isNotBlank
(
exceptionReason
)
?
I18nMessage
.
getMessage
(
exceptionReason
)
:
exceptionReason
;
this
.
exceptionReason
=
StringUtils
.
isNotBlank
(
exceptionReason
)
?
I18nMessage
.
getMessage
(
exceptionReason
)
:
exceptionReason
;
}
}
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
View file @
453d0100
...
@@ -538,6 +538,23 @@ public class OrderQueryVO {
...
@@ -538,6 +538,23 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
private
Integer
asStatus
;
private
Integer
asStatus
;
@ApiModelProperty
(
value
=
"提货状态:0 未提货 1 部分提货 2 已提货"
)
private
Integer
pickState
;
@ApiModelProperty
(
value
=
"'提货率'"
)
private
Integer
pickRatio
;
@ApiModelProperty
(
value
=
"小于等于提货率"
)
private
String
lePickRatio
;
@ApiModelProperty
(
value
=
"等于提货率"
)
private
String
eqPickRatio
;
@ApiModelProperty
(
value
=
"大于等于提货率"
)
private
String
gePickRatio
;
@ApiModelProperty
(
value
=
"'提货箱数'"
)
private
Integer
pickNum
;
@ApiModelProperty
(
value
=
"是否在公海"
)
@ApiModelProperty
(
value
=
"是否在公海"
)
private
Boolean
isInOpenSea
;
private
Boolean
isInOpenSea
;
...
@@ -548,7 +565,6 @@ public class OrderQueryVO {
...
@@ -548,7 +565,6 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
private
List
<
Long
>
objectiveIds
;
private
List
<
Long
>
objectiveIds
;
@ApiModelProperty
(
value
=
"始发仓IDs"
)
@ApiModelProperty
(
value
=
"始发仓IDs"
)
private
List
<
Long
>
startWarehouseIds
;
private
List
<
Long
>
startWarehouseIds
;
...
@@ -578,6 +594,10 @@ public class OrderQueryVO {
...
@@ -578,6 +594,10 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"审核类型(字典 order_approval_type) 0 为正常"
)
@ApiModelProperty
(
value
=
"审核类型(字典 order_approval_type) 0 为正常"
)
private
List
<
Integer
>
auditTypeList
;
private
List
<
Integer
>
auditTypeList
;
@ApiModelProperty
(
value
=
"订单状态详情见字典:pick_state 提货状态:0 未提货 1 部分提货 2 已提货"
)
private
List
<
Integer
>
pickStateList
;
@ApiModelProperty
(
value
=
"订单状态详情见字典:order_status"
)
@ApiModelProperty
(
value
=
"订单状态详情见字典:order_status"
)
private
List
<
Integer
>
statusList
;
private
List
<
Integer
>
statusList
;
...
@@ -599,7 +619,6 @@ public class OrderQueryVO {
...
@@ -599,7 +619,6 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"0 控货中;1 已放完货;2 部分控货 3 放货中(此状态值为组合状态,当已放完货,但未全部复核完毕时为此状态,仅供查询条件传参使用)"
)
@ApiModelProperty
(
value
=
"0 控货中;1 已放完货;2 部分控货 3 放货中(此状态值为组合状态,当已放完货,但未全部复核完毕时为此状态,仅供查询条件传参使用)"
)
private
List
<
Integer
>
cargoControlStatusList
;
private
List
<
Integer
>
cargoControlStatusList
;
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
@ApiModelProperty
(
value
=
"内部转换状态字段"
)
private
List
<
Integer
>
asStatusList
;
private
List
<
Integer
>
asStatusList
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignee/OrderConsigneeBackVO.java
View file @
453d0100
...
@@ -91,6 +91,10 @@ public class OrderConsigneeBackVO {
...
@@ -91,6 +91,10 @@ public class OrderConsigneeBackVO {
@ApiModelProperty
(
value
=
"客户id"
,
required
=
true
)
@ApiModelProperty
(
value
=
"客户id"
,
required
=
true
)
private
Long
customerId
;
private
Long
customerId
;
@ExcelProperty
(
"客户编号"
)
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ExcelProperty
(
"客户联系人id"
)
@ExcelProperty
(
"客户联系人id"
)
@ApiModelProperty
(
value
=
"客户联系人id"
,
required
=
true
)
@ApiModelProperty
(
value
=
"客户联系人id"
,
required
=
true
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignee/OrderConsigneeBaseVO.java
View file @
453d0100
...
@@ -61,6 +61,9 @@ public class OrderConsigneeBaseVO {
...
@@ -61,6 +61,9 @@ public class OrderConsigneeBaseVO {
@NotNull
(
message
=
"客户id不能为空"
)
@NotNull
(
message
=
"客户id不能为空"
)
private
Long
customerId
;
private
Long
customerId
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
"客户联系人id"
,
required
=
true
)
@ApiModelProperty
(
value
=
"客户联系人id"
,
required
=
true
)
@NotNull
(
message
=
"客户联系人id不能为空"
)
@NotNull
(
message
=
"客户联系人id不能为空"
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignee/OrderConsigneeQueryVO.java
View file @
453d0100
...
@@ -61,6 +61,9 @@ public class OrderConsigneeQueryVO {
...
@@ -61,6 +61,9 @@ public class OrderConsigneeQueryVO {
@ApiModelProperty
(
value
=
"客户id"
)
@ApiModelProperty
(
value
=
"客户id"
)
private
Long
customerId
;
private
Long
customerId
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
"客户联系人id"
)
@ApiModelProperty
(
value
=
"客户联系人id"
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignor/OrderConsignorBackVO.java
View file @
453d0100
...
@@ -64,10 +64,15 @@ public class OrderConsignorBackVO {
...
@@ -64,10 +64,15 @@ public class OrderConsignorBackVO {
@ApiModelProperty
(
value
=
"国家区号"
,
required
=
true
)
@ApiModelProperty
(
value
=
"国家区号"
,
required
=
true
)
private
String
countryCode
;
private
String
countryCode
;
@ExcelProperty
(
""
)
@ExcelProperty
(
"
客户id
"
)
@ApiModelProperty
(
value
=
""
,
required
=
true
)
@ApiModelProperty
(
value
=
"
客户id
"
,
required
=
true
)
private
Long
customerId
;
private
Long
customerId
;
@ExcelProperty
(
"客户编号"
)
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ExcelProperty
(
""
)
@ExcelProperty
(
""
)
@ApiModelProperty
(
value
=
""
,
required
=
true
)
@ApiModelProperty
(
value
=
""
,
required
=
true
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignor/OrderConsignorBaseVO.java
View file @
453d0100
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
orderConsignor
;
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
orderConsignor
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.*
;
import
lombok.*
;
import
java.util.*
;
import
java.util.*
;
import
io.swagger.annotations.*
;
import
io.swagger.annotations.*
;
...
@@ -51,6 +52,9 @@ public class OrderConsignorBaseVO {
...
@@ -51,6 +52,9 @@ public class OrderConsignorBaseVO {
@NotNull
(
message
=
"不能为空"
)
@NotNull
(
message
=
"不能为空"
)
private
Long
customerId
;
private
Long
customerId
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
"发货客户联系人ID"
,
required
=
true
)
@ApiModelProperty
(
value
=
"发货客户联系人ID"
,
required
=
true
)
@NotNull
(
message
=
"不能为空"
)
@NotNull
(
message
=
"不能为空"
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderConsignor/OrderConsignorQueryVO.java
View file @
453d0100
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
orderConsignor
;
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
orderConsignor
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.*
;
import
lombok.*
;
import
java.util.*
;
import
java.util.*
;
import
io.swagger.annotations.*
;
import
io.swagger.annotations.*
;
...
@@ -46,9 +47,12 @@ public class OrderConsignorQueryVO {
...
@@ -46,9 +47,12 @@ public class OrderConsignorQueryVO {
@ApiModelProperty
(
value
=
"国家区号"
)
@ApiModelProperty
(
value
=
"国家区号"
)
private
String
countryCode
;
private
String
countryCode
;
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
"
客户id
"
)
private
Long
customerId
;
private
Long
customerId
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
""
)
@ApiModelProperty
(
value
=
""
)
private
Long
customerContactsId
;
private
Long
customerContactsId
;
...
...
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