Commit 8489f554 by jinxin

Merge remote-tracking branch 'origin/developer-2023-02-15' into developer

parents 019e3724 1a89265a
...@@ -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
...@@ -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);
......
...@@ -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);
} }
......
...@@ -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{
//企微转移失败,记录失败明细 //企微转移失败,记录失败明细
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment