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
7127a074
Commit
7127a074
authored
Nov 04, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改强制到仓和撤销到仓请求参数传值方式
parent
91571354
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
0 deletions
+63
-0
20241104.sql
sql/v2.1/20241104.sql
+10
-0
OrderItemDO.java
...ao/module/order/dal/dataobject/orderItem/OrderItemDO.java
+12
-0
OrderBusinessServiceImpl.java
...le/order/service/order/impl/OrderBusinessServiceImpl.java
+4
-0
OrderWarehouseCheckServiceImpl.java
...e/orderWarehouseCheck/OrderWarehouseCheckServiceImpl.java
+12
-0
OrderItemBackVO.java
...oder/yudao/module/order/vo/orderItem/OrderItemBackVO.java
+12
-0
OrderItemBaseVO.java
...oder/yudao/module/order/vo/orderItem/OrderItemBaseVO.java
+13
-0
No files found.
sql/v2.1/20241104.sql
View file @
7127a074
-- 补充菜单脚本
INSERT
INTO
`system_menu`
(
`name`
,
`permission`
,
`menu_type`
,
`sort`
,
`parent_id`
,
`path`
,
`icon`
,
`component`
,
`status`
,
`creator`
,
`create_time`
,
`updater`
,
`update_time`
,
`deleted`
,
`is_show_in_menu_bar`
,
`name_en`
,
`keepalive`
,
`redirect`
,
`badge_field`
)
VALUES
(
'到仓修改'
,
''
,
2
,
20
,
1559
,
'warehousingTo-update'
,
'#'
,
'ecw/order/warehousingTo'
,
0
,
'2702'
,
'2024-11-03 18:52:39'
,
'2702'
,
'2024-11-03 18:59:08'
,
b
'0'
,
b
'0'
,
'到仓修改'
,
b
'0'
,
NULL
,
NULL
);
-- 补充到仓产品信息
alter
table
ecw_order_item
add
COLUMN
`check_prod_id`
bigint
DEFAULT
NULL
COMMENT
'到仓商品ID'
;
alter
table
ecw_order_item
add
COLUMN
`check_prod_type`
int
DEFAULT
NULL
COMMENT
'到仓产品类型'
;
alter
table
ecw_order_item
add
COLUMN
`check_prod_title_zh`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'到仓产品中文标题'
;
alter
table
ecw_order_item
add
COLUMN
`check_prod_title_en`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'到仓产品英文标题'
;
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dal/dataobject/orderItem/OrderItemDO.java
View file @
7127a074
...
...
@@ -417,6 +417,18 @@ public class OrderItemDO extends BaseDO {
@ApiModelProperty
(
value
=
"是否处理了渠道特性异常"
)
private
Boolean
handlerChannelAttrException
;
@ApiModelProperty
(
value
=
"到仓商品ID"
)
private
Long
checkProdId
;
@ApiModelProperty
(
value
=
"到仓产品类型"
)
private
Integer
checkProdType
;
@ApiModelProperty
(
value
=
"到仓产品中文标题"
)
private
String
checkProdTitleZh
;
@ApiModelProperty
(
value
=
"到仓产品英文标题"
)
private
String
checkProdTitleEn
;
@ApiModelProperty
(
value
=
"到仓材质"
)
private
String
checkMaterial
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderBusinessServiceImpl.java
View file @
7127a074
...
...
@@ -4057,6 +4057,10 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
if
(
orderItemCheckWarehouseVOMap
.
containsKey
(
orderItemDO
.
getOrderItemId
()))
{
OrderItemCheckWarehouseVO
warehouseCheckDO
=
orderItemCheckWarehouseVOMap
.
get
(
orderItemDO
.
getOrderItemId
());
WarehouseCheckInfoVO
warehouseCheckInfoVO
=
warehouseCheckDO
.
getWarehouseCheckInfoVO
();
orderItemDO
.
setCheckProdId
(
warehouseCheckDO
.
getProdId
());
orderItemDO
.
setCheckProdType
(
warehouseCheckDO
.
getProdType
());
orderItemDO
.
setCheckProdTitleZh
(
warehouseCheckDO
.
getProdTitleZh
());
orderItemDO
.
setCheckProdTitleEn
(
warehouseCheckDO
.
getProdTitleEn
());
orderItemDO
.
setCheckBrand
(
warehouseCheckDO
.
getCheckBrand
());
orderItemDO
.
setCheckBrandType
(
warehouseCheckDO
.
getCheckBrandType
());
orderItemDO
.
setCheckMaterial
(
warehouseCheckDO
.
getCheckMaterial
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/orderWarehouseCheck/OrderWarehouseCheckServiceImpl.java
View file @
7127a074
...
...
@@ -194,6 +194,18 @@ public class OrderWarehouseCheckServiceImpl
Map
<
Long
,
OrderItemCheckWarehouseVO
>
orderItemCheckWarehouseVOMap
=
new
HashMap
<>();
OrderItemCheckWarehouseVO
orderItemCheckWarehouseVO
=
new
OrderItemCheckWarehouseVO
();
BeanUtils
.
copyProperties
(
orderItemDO
,
orderItemCheckWarehouseVO
);
if
(
Objects
.
nonNull
(
checkUpdateReqVO
.
getProdId
()))
{
orderItemCheckWarehouseVO
.
setProdId
(
checkUpdateReqVO
.
getProdId
());
}
if
(
Objects
.
nonNull
(
checkUpdateReqVO
.
getProdType
()))
{
orderItemCheckWarehouseVO
.
setProdType
(
checkUpdateReqVO
.
getProdType
());
}
if
(
StringUtils
.
isNotBlank
(
checkUpdateReqVO
.
getProdTitleZh
()))
{
orderItemCheckWarehouseVO
.
setProdTitleZh
(
checkUpdateReqVO
.
getProdTitleZh
());
}
if
(
StringUtils
.
isNotBlank
(
checkUpdateReqVO
.
getProdTitleZh
()))
{
orderItemCheckWarehouseVO
.
setProdTitleEn
(
checkUpdateReqVO
.
getProdTitleEn
());
}
orderItemCheckWarehouseVO
.
setCheckBrand
(
orderItemDO
.
getBrand
());
orderItemCheckWarehouseVO
.
setCheckBrandType
(
orderItemDO
.
getFeeType
());
orderItemCheckWarehouseVO
.
setCheckMaterial
(
orderItemDO
.
getMaterial
());
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderItem/OrderItemBackVO.java
View file @
7127a074
...
...
@@ -440,6 +440,18 @@ public class OrderItemBackVO {
@ApiModelProperty
(
value
=
"入仓记录备注,多个用逗号分隔"
)
private
String
warehouseRecordRemark
;
@ApiModelProperty
(
value
=
"到仓商品ID"
)
private
Long
checkProdId
;
@ApiModelProperty
(
value
=
"到仓产品类型"
)
private
Integer
checkProdType
;
@ApiModelProperty
(
value
=
"到仓产品中文标题"
)
private
String
checkProdTitleZh
;
@ApiModelProperty
(
value
=
"到仓产品英文标题"
)
private
String
checkProdTitleEn
;
@ApiModelProperty
(
value
=
"到仓材质"
)
private
String
checkMaterial
;
...
...
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/orderItem/OrderItemBaseVO.java
View file @
7127a074
...
...
@@ -293,6 +293,18 @@ public class OrderItemBaseVO {
@ApiModelProperty
(
value
=
"是否处理了渠道特性异常"
)
private
Boolean
handlerChannelAttrException
;
@ApiModelProperty
(
value
=
"到仓商品ID"
)
private
Long
checkProdId
;
@ApiModelProperty
(
value
=
"到仓产品类型"
)
private
Integer
checkProdType
;
@ApiModelProperty
(
value
=
"到仓产品中文标题"
)
private
String
checkProdTitleZh
;
@ApiModelProperty
(
value
=
"到仓产品英文标题"
)
private
String
checkProdTitleEn
;
@ApiModelProperty
(
value
=
"到仓材质"
)
private
String
checkMaterial
;
...
...
@@ -304,6 +316,7 @@ public class OrderItemBaseVO {
@ApiModelProperty
(
value
=
"到仓:0 无牌 1 有牌 2 中性"
)
private
Integer
checkBrandType
;
/**
* 到仓信息json
*/
...
...
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