Пример #1
0
 @Override
 @Transactional
 @Secured({"ROLE_SAVE"})
 @LogWrite(modelName = "角色修改", option = "update")
 public int updateByPrimaryKey(Role record) {
   return roleMapper.updateByPrimaryKey(record);
 }
Пример #2
0
 @Override
 @Transactional
 @Secured({"ROLE_SAVE"})
 @LogWrite(modelName = "角色保存", option = "save")
 public int insertSelective(Role record) {
   return roleMapper.insertSelective(record);
 }
Пример #3
0
 @Override
 @Transactional
 @Secured({"ROLE_DEL"})
 @LogWrite(modelName = "角色删除", option = "delete")
 public int deleteByPrimaryKey(Long id) {
   return roleMapper.deleteByPrimaryKey(id);
 }
Пример #4
0
 @Override
 @Secured({"ROLE_LIST"})
 public List<Role> selectListPage(List<String> roleNames, PageInfo pageInfo) {
   return roleMapper.selectListPage(roleNames, pageInfo);
 }
Пример #5
0
 @Override
 public Role selectByPrimaryKey(Long id) {
   return roleMapper.selectByPrimaryKey(id);
 }