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
09de8d79
Commit
09de8d79
authored
Oct 18, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qwuserid不能关联2个成员
parent
11bc9e4b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
OpenStaffApiServiceImpl.java
...age/service/service/out/impl/OpenStaffApiServiceImpl.java
+5
-0
OpenStaffMapper.xml
...ge3-service/src/main/resources/mapper/OpenStaffMapper.xml
+1
-0
TabHaobanMenuMapper.xml
...ce/src/main/resources/mapper/role/TabHaobanMenuMapper.xml
+0
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/OpenStaffApiServiceImpl.java
View file @
09de8d79
...
...
@@ -134,6 +134,11 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
log
.
info
(
"只能托管一个企业={},{}"
,
uuid
,
corpName
);
return
ServiceResponse
.
failure
(
"9999"
,
"只能托管一个企业"
);
}
if
(!
openStaff
.
getStaffId
().
equals
(
staff
.
getStaffId
()))
{
this
.
openStaffService
.
logout
(
uuid
,
"userid不能关联2个成员"
,
0
,
null
);
log
.
info
(
"userid不能关联2个成员={},{},{}"
,
openStaff
.
getStaffId
(),
staff
.
getStaffId
(),
qwUserId
);
return
ServiceResponse
.
failure
(
"9999"
,
"userid不能关联2个成员"
);
}
openStaff
.
setWxCorpId
(
qwCorpId
);
openStaff
.
setQwUserId
(
qwUserId
);
if
(
null
==
openStaff
.
getFirstAuthTime
())
{
...
...
haoban-manage3-service/src/main/resources/mapper/OpenStaffMapper.xml
View file @
09de8d79
...
...
@@ -205,6 +205,7 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_open_staff where qw_user_id = #{qwUserId} and delete_flag = 0
order by status_flag , update_time desc limit 1
</select>
<select
id=
"listAllStaffId"
resultType=
"java.lang.String"
>
...
...
haoban-manage3-service/src/main/resources/mapper/role/
OpenStaff
Mapper.xml
→
haoban-manage3-service/src/main/resources/mapper/role/
TabHaobanMenu
Mapper.xml
View file @
09de8d79
File moved
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