Commit 96555a41 by 徐高华

Merge branch 'feature/xgh/zq12' into 'developer'

非空判断

See merge request !2361
parents 6c847975 d4cad337
......@@ -476,7 +476,7 @@ public class GroupChatServiceImpl implements GroupChatService {
logger.info("群主离职,刷新群状态,staffId={}", staffId);
TabGroupChatOwner owner = this.groupChatOwnerMapper.selectByStaffId(staffId);
if (null != owner) {
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(staffId);
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKeyNoStatus(staffId);
this.dimissionOwner(staff.getWxEnterpriseId(), staff.getWxUserId(), staff.getWxOpenUseId());
this.updateOwnerCount(staffId);
}
......
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