com.macro.mall.model.UmsAdminRoleRelationExample Java Examples
The following examples show how to use
com.macro.mall.model.UmsAdminRoleRelationExample.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UmsAdminCacheServiceImpl.java From mall with Apache License 2.0 | 5 votes |
@Override public void delResourceListByRoleIds(List<Long> roleIds) { UmsAdminRoleRelationExample example = new UmsAdminRoleRelationExample(); example.createCriteria().andRoleIdIn(roleIds); List<UmsAdminRoleRelation> relationList = adminRoleRelationMapper.selectByExample(example); if (CollUtil.isNotEmpty(relationList)) { String keyPrefix = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":"; List<String> keys = relationList.stream().map(relation -> keyPrefix + relation.getAdminId()).collect(Collectors.toList()); redisService.del(keys); } }
Example #2
Source File: UmsAdminCacheServiceImpl.java From mall with Apache License 2.0 | 5 votes |
@Override public void delResourceListByRole(Long roleId) { UmsAdminRoleRelationExample example = new UmsAdminRoleRelationExample(); example.createCriteria().andRoleIdEqualTo(roleId); List<UmsAdminRoleRelation> relationList = adminRoleRelationMapper.selectByExample(example); if (CollUtil.isNotEmpty(relationList)) { String keyPrefix = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":"; List<String> keys = relationList.stream().map(relation -> keyPrefix + relation.getAdminId()).collect(Collectors.toList()); redisService.del(keys); } }
Example #3
Source File: UmsAdminRoleRelationMapper.java From mall with Apache License 2.0 | votes |
int deleteByExample(UmsAdminRoleRelationExample example);
Example #4
Source File: UmsAdminRoleRelationMapper.java From macrozheng-mall with MIT License | votes |
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #5
Source File: UmsAdminRoleRelationMapper.java From macrozheng-mall with MIT License | votes |
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #6
Source File: UmsAdminRoleRelationMapper.java From macrozheng-mall with MIT License | votes |
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
Example #7
Source File: UmsAdminRoleRelationMapper.java From macrozheng-mall with MIT License | votes |
int deleteByExample(UmsAdminRoleRelationExample example);
Example #8
Source File: UmsAdminRoleRelationMapper.java From macrozheng-mall with MIT License | votes |
int countByExample(UmsAdminRoleRelationExample example);
Example #9
Source File: UmsAdminRoleRelationMapper.java From mall with Apache License 2.0 | votes |
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #10
Source File: UmsAdminRoleRelationMapper.java From mall with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #11
Source File: UmsAdminRoleRelationMapper.java From mall with Apache License 2.0 | votes |
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
Example #12
Source File: UmsAdminRoleRelationMapper.java From mall-swarm with Apache License 2.0 | votes |
long countByExample(UmsAdminRoleRelationExample example);
Example #13
Source File: UmsAdminRoleRelationMapper.java From mall with Apache License 2.0 | votes |
long countByExample(UmsAdminRoleRelationExample example);
Example #14
Source File: UmsAdminRoleRelationMapper.java From macrozheng with Apache License 2.0 | votes |
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #15
Source File: UmsAdminRoleRelationMapper.java From macrozheng with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #16
Source File: UmsAdminRoleRelationMapper.java From macrozheng with Apache License 2.0 | votes |
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
Example #17
Source File: UmsAdminRoleRelationMapper.java From macrozheng with Apache License 2.0 | votes |
int deleteByExample(UmsAdminRoleRelationExample example);
Example #18
Source File: UmsAdminRoleRelationMapper.java From macrozheng with Apache License 2.0 | votes |
int countByExample(UmsAdminRoleRelationExample example);
Example #19
Source File: UmsAdminRoleRelationMapper.java From mall-swarm with Apache License 2.0 | votes |
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #20
Source File: UmsAdminRoleRelationMapper.java From mall-swarm with Apache License 2.0 | votes |
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
Example #21
Source File: UmsAdminRoleRelationMapper.java From mall-swarm with Apache License 2.0 | votes |
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
Example #22
Source File: UmsAdminRoleRelationMapper.java From mall-swarm with Apache License 2.0 | votes |
int deleteByExample(UmsAdminRoleRelationExample example);