package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.AmsContractTransportPrice; import com.steerinfo.framework.mapper.IBaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.math.BigDecimal; import java.util.List; import java.util.Map; @Mapper public interface AmsContractTruckPriceMapper extends IBaseMapper { //查询主键最大值 @Select("select seq_truck_price.nextval from dual") BigDecimal selectMaxId(); //获取汽运单价信息 List> getAmsContractTransportPrice(Map map); //获取承运商名称 List> getCarrierName(); //获取线路编号 List> getLineNo(); //获取运力编号 List> getCapacityNumber(); //获取收货地址 List> getAddressDeliveryAddress(Map map); //获取要渲染的信息 List> selectByPriceId(BigDecimal priceId); //获取所有的油价 List> getOriginAndNowOilPrice(); //通过油价变动率批量修改油价 int batchUpdateTransportPriceByOilPrice(Double updateOilPrice); //通过主键查询参考运距 BigDecimal getLinePathLength(BigDecimal lineId); //获取符合条件运价数值列表 List> getPriceValueList(BigDecimal oilTypeId); //获取运价和吨公里数值列表 List> getPriceValueAndPriceTonKilometer(); //通过主键修改吨公里数 int updatePriceTonKilometer(BigDecimal priceId,BigDecimal priceTonKilometer); //获取焦炭运价计算公式 String getTruckFormula(BigDecimal formulaId); //查询货物名称 String getCargonameValue(BigDecimal cargonameId); //获取货物类型 List> getCargoName(); //获取油品名称 List> getOilTypeName(); // 边输边查具体地址 List> getRealAddressByLike(Map map); BigDecimal selectFormulaId(BigDecimal priceId); }