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
6e461c76
Commit
6e461c76
authored
Nov 09, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并客户时比较客户的客户经理属性值,当两个客户都不为公海池客户时才判断是否相等,否则抛出错误不能合并,公海池客户客户经理都时失效的,只保留主客户的过期客户经理
parent
c9f8bdc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CustomerController.java
...ustomer/controller/admin/customer/CustomerController.java
+1
-1
No files found.
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customer/CustomerController.java
View file @
6e461c76
...
@@ -387,7 +387,7 @@ public class CustomerController {
...
@@ -387,7 +387,7 @@ public class CustomerController {
if
(
customerDODeleted
==
null
)
{
if
(
customerDODeleted
==
null
)
{
throw
exception
(
ErrorCodeConstants
.
CUSTOMER_DELETED_NOT_EXISTS
);
throw
exception
(
ErrorCodeConstants
.
CUSTOMER_DELETED_NOT_EXISTS
);
}
}
if
(!
Objects
.
equals
(
customerDOSaved
.
getCustomerService
(),
customerDODeleted
.
getCustomerService
()))
{
if
(!
Objects
.
equals
(
customerDOSaved
.
getCustomerService
(),
customerDODeleted
.
getCustomerService
())
&&
!
customerDOSaved
.
getIsInOpenSea
()
&&
!
customerDODeleted
.
getIsInOpenSea
()
)
{
throw
exception
(
ErrorCodeConstants
.
CUSTOMER_MERGE_CUSTOMER_SERVICE_NOT_SAME
);
throw
exception
(
ErrorCodeConstants
.
CUSTOMER_MERGE_CUSTOMER_SERVICE_NOT_SAME
);
}
}
...
...
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