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