package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.DilBatch; import com.steerinfo.framework.mapper.IBaseMapper; import java.math.*; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; @Mapper public interface DilBatchMapper extends IBaseMapper { //获取当前序列值+1 @Select("select seq_DIL_BATCH.nextval from dual") BigDecimal selectBatchId(); }