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