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
ff2d9355
Commit
ff2d9355
authored
Dec 27, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'jd_dev'
Release分支代码合并到jd分支20241227 See merge request
!60
parents
2c9b794a
ad16caa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+4
-3
ProductBrandEmpowerServiceImpl.java
...e/productbrandempower/ProductBrandEmpowerServiceImpl.java
+2
-2
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
ff2d9355
...
@@ -2748,8 +2748,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -2748,8 +2748,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
}
}
infoVO
=
new
ApplyInfoVO
();
infoVO
=
new
ApplyInfoVO
();
infoVO
.
setName
(
"收货人电话/Consignee's phone number"
);
infoVO
.
setName
(
"收货人电话/Consignee's phone number"
);
infoVO
.
setOrgValue
(
"+"
+
orderConsigneeBackVO
.
getCountryCode
()
+
orderConsigneeBackVO
.
getPhone
(
));
infoVO
.
setOrgValue
(
StringUtils
.
isBlank
(
orderConsigneeBackVO
.
getPhone
())?
"空"
:
(
"+"
+
orderConsigneeBackVO
.
getCountryCode
()
+
orderConsigneeBackVO
.
getPhone
()
));
infoVO
.
setNewValue
(
"+"
+
consigneeContactsDO
.
getAreaCode
()
+
consigneeContactsDO
.
getPhoneNew
(
));
infoVO
.
setNewValue
(
StringUtils
.
isBlank
(
consigneeContactsDO
.
getPhoneNew
())?
"空"
:
(
"+"
+
consigneeContactsDO
.
getAreaCode
()
+
consigneeContactsDO
.
getPhoneNew
()
));
orderConsigneeBackVO
.
setCountryCode
(
consigneeContactsDO
.
getAreaCode
());
orderConsigneeBackVO
.
setCountryCode
(
consigneeContactsDO
.
getAreaCode
());
orderConsigneeBackVO
.
setPhone
(
consigneeContactsDO
.
getPhoneNew
());
orderConsigneeBackVO
.
setPhone
(
consigneeContactsDO
.
getPhoneNew
());
applyInfoList
.
add
(
infoVO
);
applyInfoList
.
add
(
infoVO
);
...
@@ -5914,7 +5914,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
...
@@ -5914,7 +5914,8 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
}
}
}
else
{
}
else
{
if
(
Objects
.
nonNull
(
consigneeDO
))
{
if
(
Objects
.
nonNull
(
consigneeDO
))
{
orderConsigneeService
.
updateById
(
consigneeDO
);
// 这里可能是由无收货人修改为有收货人,主键id为null
orderConsigneeService
.
saveOrUpdate
(
consigneeDO
);
if
(
orderBackVO
.
getIsCargoControl
())
{
if
(
orderBackVO
.
getIsCargoControl
())
{
// 控货订单有收货人则限制修改收货人
// 控货订单有收货人则限制修改收货人
isLimitUpdateConsignee
=
Boolean
.
TRUE
;
isLimitUpdateConsignee
=
Boolean
.
TRUE
;
...
...
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/service/productbrandempower/ProductBrandEmpowerServiceImpl.java
View file @
ff2d9355
...
@@ -323,7 +323,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
...
@@ -323,7 +323,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
Long
norCustomerId
=
productBrankMapper
.
getNorCustomerIdByOrderId
(
reqVO
.
getOrderId
());
Long
norCustomerId
=
productBrankMapper
.
getNorCustomerIdByOrderId
(
reqVO
.
getOrderId
());
Long
neeCustomerId
=
productBrankMapper
.
getNeeCustomerIdByOrderId
(
reqVO
.
getOrderId
());
Long
neeCustomerId
=
productBrankMapper
.
getNeeCustomerIdByOrderId
(
reqVO
.
getOrderId
());
if
(
norCustomerId
!=
null
&&
norCustomerId
!=
0
||
neeCustomerId
!=
null
&&
neeCustomerId
!=
0
)
{
if
(
(
norCustomerId
!=
null
&&
norCustomerId
!=
0
)
||
(
neeCustomerId
!=
null
&&
neeCustomerId
!=
0
)
)
{
//查看品牌与客户授权关系
//查看品牌与客户授权关系
ProductBrandEmpowerBaseVO
norProductBrandEmpowerBaseVO
=
new
ProductBrandEmpowerBaseVO
();
ProductBrandEmpowerBaseVO
norProductBrandEmpowerBaseVO
=
new
ProductBrandEmpowerBaseVO
();
norProductBrandEmpowerBaseVO
.
setProductBrandId
(
reqVO
.
getBrandId
());
norProductBrandEmpowerBaseVO
.
setProductBrandId
(
reqVO
.
getBrandId
());
...
@@ -338,7 +338,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
...
@@ -338,7 +338,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
neeProductBrandEmpowerBaseVO
.
setCustomerId
(
Objects
.
isNull
(
neeCustomerId
)
?
0
:
neeCustomerId
);
neeProductBrandEmpowerBaseVO
.
setCustomerId
(
Objects
.
isNull
(
neeCustomerId
)
?
0
:
neeCustomerId
);
neeProductBrandEmpowerBaseVO
.
setStatus
(
CommonStatusEnum
.
ENABLE
.
getStatus
());
neeProductBrandEmpowerBaseVO
.
setStatus
(
CommonStatusEnum
.
ENABLE
.
getStatus
());
//查询的授权信息
//查询的授权信息
List
<
ProductBrandEmpowerDO
>
neeList
=
getProductBrandEmpowerList
(
n
or
ProductBrandEmpowerBaseVO
);
List
<
ProductBrandEmpowerDO
>
neeList
=
getProductBrandEmpowerList
(
n
ee
ProductBrandEmpowerBaseVO
);
//没有授权的客户
//没有授权的客户
if
((
norList
==
null
||
norList
.
size
()
==
0
)
&&
(
neeList
==
null
||
neeList
.
size
()
==
0
))
{
if
((
norList
==
null
||
norList
.
size
()
==
0
)
&&
(
neeList
==
null
||
neeList
.
size
()
==
0
))
{
//未授权要查看品牌的授权模式,以及当前客户是否有特殊设置
//未授权要查看品牌的授权模式,以及当前客户是否有特殊设置
...
...
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