RmsCarDriverMapper.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.RmsCarDriver;
  3. import com.steerinfo.framework.mapper.IBaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Select;
  6. import java.math.BigDecimal;
  7. import java.util.List;
  8. import java.util.Map;
  9. /**
  10. * @Description:
  11. * @Author:ZhouZhou
  12. * @CreateTime:2021/11/6 11:03
  13. * @Version:V1.0
  14. */
  15. @Mapper
  16. public interface RmsCarDriverMapper extends IBaseMapper<RmsCarDriver,BigDecimal> {
  17. //展示司机信息
  18. List<Map<String, Object>> getCarDriverList(Map<String, Object> mapVal);
  19. //id自增
  20. @Select("select seq_RMS_CAR_DRIVER.nextval from dual")
  21. BigDecimal selectCarDriverId();
  22. //根据id查询司机
  23. List<Map<String,Object>> getCarDriverById(BigDecimal id);
  24. //运输类型下拉框
  25. List<Map<String, Object>> getTransportTypeId();
  26. List<Map<String, Object>> getCarrierName(String state);
  27. int selectByIdentityCard(String driverIdentityCardId);
  28. //查询最大的司机id
  29. BigDecimal getMaxDriveId();
  30. //根据司机id查询承运商
  31. Map<String, Object> getCarrierNameByDriverId(BigDecimal id);
  32. }