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
7e30666b
Commit
7e30666b
authored
Oct 27, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充订单到仓业务数据字段
parent
07d85bde
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
90 additions
and
8 deletions
+90
-8
20241027.sql
sql/v2.1/20241027.sql
+9
-0
OrderDO.java
...oder/yudao/module/order/dal/dataobject/order/OrderDO.java
+10
-0
OrderBackInfoDto.java
...a/cn/iocoder/yudao/module/order/dto/OrderBackInfoDto.java
+12
-0
OrderBackPageVO.java
.../iocoder/yudao/module/order/vo/order/OrderBackPageVO.java
+11
-0
OrderBackVO.java
...a/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
+11
-0
OrderBaseVO.java
...a/cn/iocoder/yudao/module/order/vo/order/OrderBaseVO.java
+13
-0
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+24
-8
No files found.
sql/v2.1/20241027.sql
0 → 100644
View file @
7e30666b
-- 增加订单的到仓数据字段
alter
table
ecw_order
add
COLUMN
`check_num`
int
DEFAULT
'0'
COMMENT
'到仓件数'
,
alter
table
ecw_order
add
COLUMN
`check_volume`
decimal
(
10
,
2
)
DEFAULT
'0.00'
COMMENT
'到仓体积'
,
alter
table
ecw_order
add
COLUMN
`check_quantity`
int
DEFAULT
'0'
COMMENT
'到仓数量'
,
alter
table
ecw_order
add
COLUMN
`check_weight`
decimal
(
10
,
2
)
DEFAULT
'0.00'
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 @
7e30666b
...
...
@@ -669,7 +669,17 @@ public class OrderDO extends BaseDO {
private
Boolean
isInOpenSea
;
@ApiModelProperty
(
value
=
"到仓件数"
)
private
Integer
checkNum
;
@ApiModelProperty
(
value
=
"到仓数量"
)
private
Integer
checkQuantity
;
@ApiModelProperty
(
value
=
"到仓体积"
)
private
BigDecimal
checkVolume
;
@ApiModelProperty
(
value
=
"到仓重量"
)
private
BigDecimal
checkWeight
;
@ApiModelProperty
(
value
=
"订单修改是否变动了归属客户,此字段用来判定订单是否需要重置归属客户经理,下单后归属客户的客户经理是固定的,除非订单归属客户变动,才需要重置客户经理"
)
@TableField
(
exist
=
false
)
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dto/OrderBackInfoDto.java
View file @
7e30666b
...
...
@@ -549,6 +549,18 @@ public class OrderBackInfoDto {
@ApiModelProperty
(
value
=
"放货箱数"
)
private
Integer
releaseNum
;
@ApiModelProperty
(
value
=
"到仓件数"
)
private
Integer
checkNum
;
@ApiModelProperty
(
value
=
"到仓数量"
)
private
Integer
checkQuantity
;
@ApiModelProperty
(
value
=
"到仓体积"
)
private
BigDecimal
checkVolume
;
@ApiModelProperty
(
value
=
"到仓重量"
)
private
BigDecimal
checkWeight
;
public
void
setExceptionReason
(
String
exceptionReason
)
{
this
.
exceptionReason
=
exceptionReason
;
if
(
StringUtils
.
isNotBlank
(
exceptionReason
)
&&
Objects
.
nonNull
(
this
.
lang
))
{
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBackPageVO.java
View file @
7e30666b
...
...
@@ -545,6 +545,17 @@ public class OrderBackPageVO {
private
String
customerServiceName
;
// -----------end -----------
@ApiModelProperty
(
value
=
"到仓件数"
)
private
Integer
checkNum
;
@ApiModelProperty
(
value
=
"到仓数量"
)
private
Integer
checkQuantity
;
@ApiModelProperty
(
value
=
"到仓体积"
)
private
BigDecimal
checkVolume
;
@ApiModelProperty
(
value
=
"到仓重量"
)
private
BigDecimal
checkWeight
;
public
void
setGuanLianOrderStatus
(
String
guanLianOrderStatus
)
{
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderBackVO.java
View file @
7e30666b
...
...
@@ -647,6 +647,17 @@ public class OrderBackVO {
@ApiModelProperty
(
value
=
"放货箱数"
)
private
Integer
releaseNum
;
@ApiModelProperty
(
value
=
"到仓件数"
)
private
Integer
checkNum
;
@ApiModelProperty
(
value
=
"到仓数量"
)
private
Integer
checkQuantity
;
@ApiModelProperty
(
value
=
"到仓体积"
)
private
BigDecimal
checkVolume
;
@ApiModelProperty
(
value
=
"到仓重量"
)
private
BigDecimal
checkWeight
;
public
void
setExternalWarehouseJson
(
String
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 @
7e30666b
...
...
@@ -389,6 +389,19 @@ public class OrderBaseVO {
@ApiModelProperty
(
value
=
"是否有收货人,1-是,0-否"
)
private
Boolean
hasConsignee
=
true
;
@ApiModelProperty
(
value
=
"到仓件数"
)
private
Integer
checkNum
;
@ApiModelProperty
(
value
=
"到仓数量"
)
private
Integer
checkQuantity
;
@ApiModelProperty
(
value
=
"到仓体积"
)
private
BigDecimal
checkVolume
;
@ApiModelProperty
(
value
=
"到仓重量"
)
private
BigDecimal
checkWeight
;
public
void
setExceptionReason
(
String
exceptionReason
)
{
this
.
exceptionReason
=
StringUtils
.
isNotBlank
(
exceptionReason
)
?
I18nMessage
.
getMessage
(
exceptionReason
)
:
exceptionReason
;
}
...
...
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
7e30666b
...
...
@@ -1522,6 +1522,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -1667,6 +1670,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -4467,8 +4473,6 @@
o.audit_result,
o.guan_lian_order_status,
o.transport_id,
-- (select ifnull(sum(ccp.pick_num),0) from ecw_order_cargo_control_pick ccp where ccp.order_id = o.order_id and
-- ccp.status in(1,2,3,4) ) as release_num,
o.release_num,
o.release_ratio,
o.is_cargo_control,
...
...
@@ -4480,6 +4484,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -4593,8 +4600,6 @@
o.audit_result,
o.guan_lian_order_status,
o.transport_id,
-- (select ifnull(sum(ccp.pick_num),0) from ecw_order_cargo_control_pick ccp where ccp.order_id = o.order_id and
-- ccp.status in(1,2,3,4) ) as release_num,
o.release_num,
o.release_ratio,
o.is_cargo_control,
...
...
@@ -4606,6 +4611,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -4745,8 +4753,6 @@
o.audit_result,
o.guan_lian_order_status,
o.transport_id,
-- (select ifnull(sum(ccp.pick_num),0) from ecw_order_cargo_control_pick ccp where ccp.order_id = o.order_id and
-- ccp.status in(1,2,3,4) ) as release_num,
o.release_num,
o.release_ratio,
o.is_cargo_control,
...
...
@@ -4758,6 +4764,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -4879,8 +4888,6 @@
o.audit_result,
o.guan_lian_order_status,
o.transport_id,
-- (select ifnull(sum(ccp.pick_num),0) from ecw_order_cargo_control_pick ccp where ccp.order_id = o.order_id and
-- ccp.status in(1,2,3,4) ) as release_num,
o.release_num,
o.release_ratio,
o.is_cargo_control,
...
...
@@ -4892,6 +4899,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -5000,6 +5010,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
@@ -5128,6 +5141,9 @@
o.sum_num,
o.sum_volume,
o.sum_weight,
o.check_num,
o.check_volume,
o.check_weight,
o.sum_weight_finished_warehouse_in,
o.sum_volume_finished_warehouse_in,
o.packing_list_url,
...
...
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