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); /** * 新增汽运详单 * @param orderId * @return */ int insertSelective(BigDecimal orderId) throws Exception; /** * 新增汽运详单(专为计费详单服务) * @param orderId * @return */ int insertSelectiveNew(BigDecimal orderId) throws Exception; /** * 查询最大id * @return */ BigDecimal selectMaxId(); /** * 展示汽运实绩 * @param mapVal * @return */ List> getTruckResultList(Map mapVal); /** * 查询计算因子 * @param orderId * @return */ BigDecimal getFormulaMembers(BigDecimal orderId); /** * 得到价格id * @return */ Map getPriceId(BigDecimal orderId); /** * 得到价格 * @return */ BigDecimal getPriceValue(BigDecimal priceId); /** * 得到到厂湿重 * @param weightTaskResultId * @return */ BigDecimal getNetWeight(BigDecimal weightTaskResultId); /** * 展示未转成账单的销售详单 * @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); // 修改详单 int updateDetailsOrder(Map mapValue); //修改车序号单价 int updateAsomPriceId(Map mapValue); // 查询承运商id BigDecimal getCarrierIdBySSO(String carrierSsoId); // 查询价格和地址 Map findAddressAndPrice(Integer priceId); // 增加焦炭途损费 int addLossFeeOfCoke(Map map); List> getInwardWeightDetailsOrder(Map mapValue,Integer orderType); int inserInwardOrder(Map mapVal); int updateDetails(); List> getInwardWeightTimeDetailsOrder(Map mapValue,Integer orderType); List> getNoInwardDetails(Map mapValue); List> getSteelTruckDetailsOrder(Map mapValue); int newInwardSettle(List> orderIds); int updateDetailsStatus(List mapList); //查询订单状态 int getSaleOrderStatus(BigDecimal orderId); //新增单价信息 int insertPriceValue(List> mapList); }