package com.huiju.estateagents.mapper;

import com.huiju.estateagents.entity.TaSequence;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 业务序列表  Mapper 接口
 * </p>
 *
 * @author yansen
 * @since 2020-06-11
 */
@Mapper
public interface TaSequenceMapper extends BaseMapper<TaSequence> {

    @Select("select fun_nextval(#{seqName})")
    Integer nextval(String seqName);
}
