SaleLogMapper.java 774 B

1234567891011121314151617181920212223242526
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.SaleLog;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.apache.ibatis.annotations.Select;
  7. import java.math.BigDecimal;
  8. import java.util.List;
  9. import java.util.Map;
  10. @Mapper
  11. public interface SaleLogMapper extends IBaseMapper<SaleLog, BigDecimal> {
  12. @Select("select SEQ_SALE_LOG.nextval from dual")
  13. BigDecimal selectMaxId();
  14. //查询所有日志
  15. List<Map<String,Object>> selectAllLog(Map<String,Object> map);
  16. //查询用户名
  17. String getUserNameById(Map<String,Object> map);
  18. //查询所有订单Id
  19. List<BigDecimal> getOrderIds(@Param("orderNumber") String orderNumber);
  20. }