package com.steerinfo.dil.service; import com.steerinfo.dil.model.BmstruckDetailsOrder; import java.math.BigDecimal; import java.util.List; import java.util.Map; /** * @Description: * @Author:HuJianGuo * @GreateTime:2021/9/24 17:34 * @Version:V2.0 */ public interface IBmstruckDetailsOrderService { /** * 展示汽运详单 * @param mapVal * @return */ List> getTruckDetailsOrderList(Map mapVal,Integer orderType); /** * 新增汽运详单 * @param orderId * @return */ int insertSelective(BigDecimal orderId) throws Exception; /** * 查询最大id * @return */ BigDecimal selectMaxId(); /** * 展示汽运实绩 * @param mapVal * @return */ List> getTruckResultList(Map mapVal); /** * 查询计算因子 * @param orderId * @return */ BigDecimal getFormulaMembers(BigDecimal orderId); /** * 得到价格id * @return */ List> getPriceId(); /** * 得到价格 * @return */ BigDecimal getPriceValue(BigDecimal priceId); /** * 得到到厂湿重 * @param orderId * @return */ BigDecimal getNetWeight(BigDecimal orderId); /** * 展示未转成账单的销售详单 * @param mapVal * @param orderType * @return */ List> getUnFinishedTruckDetailsOrderList(Map mapVal, Integer orderType); List> getUnFinishedConvertedTruckDetailsOrderList(Map mapVal, Integer orderType); /** * 新增内转汽运详单 * @param orderId * @return */ int addConvertedDetailsOrder(BigDecimal orderId) throws Exception; //通过运单id获取需求类型(需求类型(0:计重;1:计时;2:计次;3:包月)) Map getSettlement(BigDecimal orderId); //通过物资id与需求类型获取单价 BigDecimal getPriceByWz(String requirementType, Integer materialId); }