package com.njyunzhi.pet_identity.service.impl;

import com.njyunzhi.pet_identity.entity.TaSequence;
import com.njyunzhi.pet_identity.mapper.TaSequenceMapper;
import com.njyunzhi.pet_identity.service.ITaSequenceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 序列表 服务实现类
 * </p>
 *
 * @author yansen
 * @since 2022-05-25
 */
@Service
public class TaSequenceServiceImpl extends ServiceImpl<TaSequenceMapper, TaSequence> implements ITaSequenceService {

    @Override
    public Integer getNextVal(String seqName) {
        return baseMapper.getNextVal(seqName);
    }
}
