Commit 9160bca0 authored by hanfeng's avatar hanfeng

修改用户管理

parent 8fe0e42d
......@@ -198,7 +198,8 @@ public class AppUserLoginBiz extends BaseBiz<AppUserLoginMapper, AppUserLogin> {
}
return null;
}
@CacheClear(pre = "user{1}")
public void disable(AppUserLogin appUserLogin) {
mapper.updateByPrimaryKeySelective(appUserLogin);
}
......@@ -214,7 +215,7 @@ public class AppUserLoginBiz extends BaseBiz<AppUserLoginMapper, AppUserLogin> {
mapper.deleteByExample(example);
}
// @CacheClear(pre = "appUser{1}")
@CacheClear(pre = "user{1}")
@Transactional(rollbackFor = Exception.class)
public void deleteAppUserById(Integer id) {
AppUserLogin appUserLogin = new AppUserLogin();
......
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