Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
haoban3.0
haoban-manage3.0
Commits
4b6bdede
Commit
4b6bdede
authored
May 14, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进记录去除服务校验
parent
5ad6b319
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
ContactFollowApiServiceImpl.java
...service/out/impl/contact/ContactFollowApiServiceImpl.java
+0
-14
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/contact/ContactFollowApiServiceImpl.java
View file @
4b6bdede
...
...
@@ -33,15 +33,9 @@ public class ContactFollowApiServiceImpl implements ContactFollowApiService {
private
ContactFollowService
contactFollowService
;
@Autowired
private
ClerkService
clerkService
;
@Autowired
private
EnterpriseAdaptor
enterpriseAdaptor
;
@Override
public
ServiceResponse
<
Void
>
saveFollow
(
ContactFollowQDTO
qdto
)
{
boolean
hasRight
=
enterpriseAdaptor
.
checkEnterpriseHasRight
(
qdto
.
getEnterpriseId
(),
EnterpriseServiceEnum
.
POTENTIAL
.
getRightMenuCode
());
if
(!
hasRight
)
{
return
ServiceResponse
.
success
();
}
contactFollowService
.
saveFollow
(
qdto
);
return
ServiceResponse
.
success
();
}
...
...
@@ -51,10 +45,6 @@ public class ContactFollowApiServiceImpl implements ContactFollowApiService {
if
(
CollectionUtils
.
isEmpty
(
list
))
{
return
ServiceResponse
.
success
();
}
boolean
hasRight
=
enterpriseAdaptor
.
checkEnterpriseHasRight
(
list
.
get
(
0
).
getEnterpriseId
(),
EnterpriseServiceEnum
.
POTENTIAL
.
getRightMenuCode
());
if
(!
hasRight
)
{
return
ServiceResponse
.
success
();
}
contactFollowService
.
saveBatchFollow
(
list
);
return
ServiceResponse
.
success
();
}
...
...
@@ -65,10 +55,6 @@ public class ContactFollowApiServiceImpl implements ContactFollowApiService {
return
ServiceResponse
.
success
();
}
ContactFollowBatchQDTO
qdto
=
JSONObject
.
parseObject
(
message
,
ContactFollowBatchQDTO
.
class
);
boolean
hasRight
=
enterpriseAdaptor
.
checkEnterpriseHasRight
(
qdto
.
getEnterpriseId
(),
EnterpriseServiceEnum
.
POTENTIAL
.
getRightMenuCode
());
if
(!
hasRight
)
{
return
ServiceResponse
.
success
();
}
List
<
ContactFollowBatchQDTO
.
MemberFollow
>
memberList
=
qdto
.
getMemberList
();
if
(
CollectionUtils
.
isEmpty
(
memberList
))
{
return
ServiceResponse
.
success
();
...
...
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