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
06826390
Commit
06826390
authored
Sep 27, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:报错调整
parent
c42095e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+2
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
06826390
...
@@ -163,7 +163,6 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -163,7 +163,6 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
@Override
@Override
public
ServiceResponse
bindStaffClerk
(
StaffClerkRelationDTO
staffClerkRelationDTO
,
String
optStaffId
,
int
channelCode
)
{
public
ServiceResponse
bindStaffClerk
(
StaffClerkRelationDTO
staffClerkRelationDTO
,
String
optStaffId
,
int
channelCode
)
{
logger
.
info
(
"绑定clerk:{}"
,
JSONObject
.
toJSONString
(
staffClerkRelationDTO
));
logger
.
info
(
"绑定clerk:{}"
,
JSONObject
.
toJSONString
(
staffClerkRelationDTO
));
ServiceResponse
<
Object
>
response
=
new
ServiceResponse
<>();
StaffClerkRelationDTO
relationDTO
=
staffClerkRelationService
.
getBindByClerkId
(
staffClerkRelationDTO
.
getClerkId
(),
staffClerkRelationDTO
.
getWxEnterpriseId
());
StaffClerkRelationDTO
relationDTO
=
staffClerkRelationService
.
getBindByClerkId
(
staffClerkRelationDTO
.
getClerkId
(),
staffClerkRelationDTO
.
getWxEnterpriseId
());
if
(
null
!=
relationDTO
)
{
if
(
null
!=
relationDTO
)
{
return
ServiceResponse
.
failure
(
"2"
,
"已经被绑定,不能绑定"
);
return
ServiceResponse
.
failure
(
"2"
,
"已经被绑定,不能绑定"
);
...
@@ -192,8 +191,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -192,8 +191,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
}
}
String
relationId
=
staffClerkRelationService
.
bind
(
staffClerkRelationDTO
,
optStaffId
,
channelCode
);
String
relationId
=
staffClerkRelationService
.
bind
(
staffClerkRelationDTO
,
optStaffId
,
channelCode
);
response
.
setResult
(
relationId
);
return
ServiceResponse
.
success
(
relationId
);
return
response
;
}
}
@Override
@Override
...
@@ -212,7 +210,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -212,7 +210,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
@Override
@Override
public
List
<
StaffClerkRelationDTO
>
listByClerkIds
(
List
<
String
>
clerkIds
)
{
public
List
<
StaffClerkRelationDTO
>
listByClerkIds
(
List
<
String
>
clerkIds
)
{
if
(
CollectionUtil
.
isEmpty
(
clerkIds
))
{
if
(
CollectionUtil
.
isEmpty
(
clerkIds
))
{
return
Collections
.
EMPTY_LIST
;
return
Collections
.
emptyList
()
;
}
}
return
tabHaobanStaffClerkRelationMapper
.
listByClerkIds
(
clerkIds
);
return
tabHaobanStaffClerkRelationMapper
.
listByClerkIds
(
clerkIds
);
}
}
...
...
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