@Override
	public int deleteKeys(String[] ids) throws Exception {
		return seriesMapper.deleteByPrimaryKeys(ids);
	}
	@Override
    public int update(Series record) throws Exception {
    	return seriesMapper.updateByPrimaryKey(record);
    }
	@Override
	public int deleteKey(String id) throws Exception {
		return seriesMapper.deleteByPrimaryKey(id);
	}
	@Override
    public int insertSelective(Series record) throws Exception {
    	record.setSeriesId(UUID.randomUUID().toString());
    	return seriesMapper.insertSelective(record);
    }
	@Override
    public int insert(Series record) throws Exception {
    	return seriesMapper.insert(record);
    }
	@Override
	public List<Series> getAllList(Map<String, Object> map) {
		return seriesMapper.getAllSeriesList(map);
	}
	@Override
	public Series getSeries(String id) {
		return seriesMapper.selectByPrimaryKey(id);
	}
	@Override
	public int getCounts() {
		return seriesMapper.getTotalNumber();
	}