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
ad16caa0
Commit
ad16caa0
authored
Dec 26, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into release
parents
ed989fe3
5dd632cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ProductBrandEmpowerServiceImpl.java
...e/productbrandempower/ProductBrandEmpowerServiceImpl.java
+2
-2
No files found.
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/service/productbrandempower/ProductBrandEmpowerServiceImpl.java
View file @
ad16caa0
...
...
@@ -323,7 +323,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
Long
norCustomerId
=
productBrankMapper
.
getNorCustomerIdByOrderId
(
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
();
norProductBrandEmpowerBaseVO
.
setProductBrandId
(
reqVO
.
getBrandId
());
...
...
@@ -338,7 +338,7 @@ public class ProductBrandEmpowerServiceImpl extends AbstractService<ProductBrand
neeProductBrandEmpowerBaseVO
.
setCustomerId
(
Objects
.
isNull
(
neeCustomerId
)
?
0
:
neeCustomerId
);
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
))
{
//未授权要查看品牌的授权模式,以及当前客户是否有特殊设置
...
...
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