用户管理界面更新用户信息bug修改
This commit is contained in:
parent
e799f3c5da
commit
712b08d450
@ -107,8 +107,9 @@ public class CompanyService implements ICompanyService {
|
||||
|
||||
@Override
|
||||
public void deleteUserCompanyRel(Long userId) {
|
||||
UserCompanyRel ucr = getUserCompanyRelEntity(userId);
|
||||
userCompanyRelDAO.deleteByPrimaryKey(ucr.getId());
|
||||
UserCompanyRelExample example = new UserCompanyRelExample();
|
||||
example.createCriteria().andUserIdEqualTo(userId);
|
||||
userCompanyRelDAO.deleteByExample(example);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user