LogResultMapper.java 519 B

12345678910111213141516
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.LogResult;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Options;
  6. import org.apache.ibatis.annotations.Select;
  7. import java.math.BigDecimal;
  8. @Mapper
  9. public interface LogResultMapper extends IBaseMapper<LogResult, BigDecimal> {
  10. @Select("select SEQ_LOG_RESULT.nextval from dual")
  11. @Options(flushCache = Options.FlushCachePolicy.TRUE)
  12. BigDecimal nextId();
  13. }