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
8489f554
Commit
8489f554
authored
Feb 07, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer-2023-02-15' into developer
parents
019e3724
1a89265a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
StaffMapper.java
...com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
+3
-3
StaffService.java
...a/com/gic/haoban/manage/service/service/StaffService.java
+1
-1
StaffServiceImpl.java
.../haoban/manage/service/service/impl/StaffServiceImpl.java
+3
-3
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
View file @
8489f554
...
@@ -148,7 +148,7 @@ public interface StaffMapper {
...
@@ -148,7 +148,7 @@ public interface StaffMapper {
*/
*/
int
updateActiveStatusById
(
@Param
(
"staffId"
)
String
staffId
,
@Param
(
"activeTime"
)
Date
activeTime
,
int
updateActiveStatusById
(
@Param
(
"staffId"
)
String
staffId
,
@Param
(
"activeTime"
)
Date
activeTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"activeCode"
)
String
activeCode
,
@Param
(
"activeStatus"
)
Integer
activeStatus
);
@Param
(
"activeCode"
)
String
activeCode
);
// 初始化激活码信息,先删除
// 初始化激活码信息,先删除
void
deleteActivieInfo
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
)
;
void
deleteActivieInfo
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
)
;
...
@@ -183,7 +183,6 @@ public interface StaffMapper {
...
@@ -183,7 +183,6 @@ public interface StaffMapper {
void
updateStaffInfoByStaffId
(
@Param
(
"staffId"
)
String
staffId
,
void
updateStaffInfoByStaffId
(
@Param
(
"staffId"
)
String
staffId
,
@Param
(
"activeTime"
)
Date
activeTime
,
@Param
(
"activeTime"
)
Date
activeTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"activeCode"
)
String
activeCode
,
@Param
(
"activeCode"
)
String
activeCode
);
@Param
(
"activeStatus"
)
Integer
activeStatus
);
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/StaffService.java
View file @
8489f554
...
@@ -140,7 +140,7 @@ public interface StaffService {
...
@@ -140,7 +140,7 @@ public interface StaffService {
* @return
* @return
* @throws
* @throws
*/
*/
int
updateActiveStatusById
(
String
staffId
,
Date
activeTime
,
Date
expireTime
,
String
activeCode
,
Integer
activeStatus
);
int
updateActiveStatusById
(
String
staffId
,
Date
activeTime
,
Date
expireTime
,
String
activeCode
);
void
updateOpenConcatFlag
(
List
<
String
>
wxUserIdList
,
int
mixFlag
);
void
updateOpenConcatFlag
(
List
<
String
>
wxUserIdList
,
int
mixFlag
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffServiceImpl.java
View file @
8489f554
...
@@ -172,8 +172,8 @@ public class StaffServiceImpl implements StaffService {
...
@@ -172,8 +172,8 @@ public class StaffServiceImpl implements StaffService {
@Override
@Override
public
int
updateActiveStatusById
(
String
staffId
,
Date
activeTime
,
Date
expireTime
,
public
int
updateActiveStatusById
(
String
staffId
,
Date
activeTime
,
Date
expireTime
,
String
activeCode
,
Integer
activeStatus
)
{
String
activeCode
)
{
return
mapper
.
updateActiveStatusById
(
staffId
,
activeTime
,
expireTime
,
activeCode
,
activeStatus
)
;
return
mapper
.
updateActiveStatusById
(
staffId
,
activeTime
,
expireTime
,
activeCode
)
;
}
}
@Override
@Override
...
@@ -244,7 +244,7 @@ public class StaffServiceImpl implements StaffService {
...
@@ -244,7 +244,7 @@ public class StaffServiceImpl implements StaffService {
staff
=
this
.
mapper
.
getDeleteUser
(
userId
,
wxEnterpriseId
)
;
staff
=
this
.
mapper
.
getDeleteUser
(
userId
,
wxEnterpriseId
)
;
}
}
if
(
null
!=
staff
)
{
if
(
null
!=
staff
)
{
this
.
updateActiveStatusById
(
staff
.
getStaffId
(),
start
,
end
,
activeCode
,
1
)
;
this
.
updateActiveStatusById
(
staff
.
getStaffId
(),
start
,
end
,
activeCode
)
;
}
else
{
}
else
{
log
.
info
(
"查询激活账号,用户不存在,userid={}"
,
userId
);
log
.
info
(
"查询激活账号,用户不存在,userid={}"
,
userId
);
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
8489f554
...
@@ -981,9 +981,9 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -981,9 +981,9 @@ public class StaffApiServiceImpl implements StaffApiService {
TabHaobanStaff
handoverStaff
=
collect
.
get
(
map
.
get
(
dto
.
getHandover_userid
()));
TabHaobanStaff
handoverStaff
=
collect
.
get
(
map
.
get
(
dto
.
getHandover_userid
()));
TabHaobanStaff
takeOverStaff
=
collect
.
get
(
map
.
get
(
dto
.
getTakeover_userid
()));
TabHaobanStaff
takeOverStaff
=
collect
.
get
(
map
.
get
(
dto
.
getTakeover_userid
()));
//置空转移成员的许可信息
//置空转移成员的许可信息
staffMapper
.
updateStaffInfoByStaffId
(
handoverStaff
.
getStaffId
(),
null
,
null
,
null
,
0
);
staffMapper
.
updateStaffInfoByStaffId
(
handoverStaff
.
getStaffId
(),
null
,
null
,
null
);
//更新接收成员的许可信息
//更新接收成员的许可信息
staffMapper
.
updateStaffInfoByStaffId
(
takeOverStaff
.
getStaffId
(),
handoverStaff
.
getActiveTime
(),
handoverStaff
.
getExpireTime
(),
handoverStaff
.
getActiveCode
()
,
1
);
staffMapper
.
updateStaffInfoByStaffId
(
takeOverStaff
.
getStaffId
(),
handoverStaff
.
getActiveTime
(),
handoverStaff
.
getExpireTime
(),
handoverStaff
.
getActiveCode
());
}
else
{
}
else
{
//企微转移失败,记录失败明细
//企微转移失败,记录失败明细
...
...
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