RmsCapacityMapper.java 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. package com.steerinfo.dil.mapper;
  2. import com.steerinfo.dil.model.RmsCapacity;
  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. @Mapper
  10. public interface RmsCapacityMapper extends IBaseMapper<RmsCapacity, BigDecimal> {
  11. //展示运力信息
  12. List<Map<String, Object>> getCapacityList(Map<String, Object> mapVal);
  13. //根据运力id获取运力信息
  14. List<Map<String, Object>> getCapacityById(BigDecimal id);
  15. //运力下拉框
  16. List<Map<String,Object>> getCapacityTypeId();
  17. //运力id自增
  18. @Select("select seq_RMS_CAPACITY.nextval from dual")
  19. BigDecimal selectCapacityId();
  20. //承运商下拉框
  21. List<Map<String, Object>> getCarrierId();
  22. //通过车牌号查询是否存在重复值
  23. Integer selectBycapacityNumber(String number);
  24. //根据ssoId查询承运商名称
  25. Map<String, Object> getCarrierNameBySSOId(String carrierSSOId);
  26. }