bug修改
parent
c37bdeca55
commit
c027bddd43
|
|
@ -216,6 +216,14 @@ public class AppUserServiceImpl implements IAppUserService {
|
|||
AppUser appUser = appUserMapper.selectAppUserById(id);
|
||||
AppRegister appRegister = appRegisterMapper.selectAppRegisterByphone(appUser.getPhone());
|
||||
appRegisterMapper.deleteAppRegisterById(appRegister.getId());
|
||||
AppUserDynamic appUserDynamic = new AppUserDynamic();
|
||||
appUserDynamic.setUserId(id);
|
||||
List<AppUserDynamic> list = appUserDynamicMapper.selectAppUserDynamicList(appUserDynamic);
|
||||
if (list != null && list.size() > 0) {
|
||||
for (AppUserDynamic userDynamic : list) {
|
||||
appUserDynamicMapper.deleteAppUserDynamicById(userDynamic.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
return appUserMapper.deleteAppUserByIds(ids);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue