package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.OmstruckOrder; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.util.Date; import java.util.List; import java.util.Map; /** * 运输订单第二个 mapper * @ author :TXF * @ time :2021/12/3 13:10 */ @Mapper public interface OmstruckOrderSeparateMapper { //通过订单Id 查询关联的线路子表顺序 List> getLineMesByOrderId(Integer lineId); //通过运输订单Id更改订单状态 int updateOrderStatusByOrderNum(Map map); //通过运输订单Id查询订单所有信息 Map getOmstruckOrderResult(BigDecimal orderId); // 通过总实绩id得到运单id BigDecimal getOrderIdByTotalId(BigDecimal reusltTotalId); // 通过运单id查询运单信息 Map getOrderMessagge(BigDecimal orderId); // 通过运单id查询路段名称 List> getSegmentList(BigDecimal orderId); // 通过运单id查询实绩点 Map getResultPointList(BigDecimal orderId); // 通过运输订单号查询运单id BigDecimal getOrderIdByOrderNumber(String orderNumber); //通过总实绩ID查询物资信息 List getMaterialIdByTotalId(Integer resultTotalId); //通过订单ID查询总实绩ID Integer getTotalIdByOrderId(BigDecimal orderId); //通过总实绩ID和路段顺序号查询进厂实绩数据 Map getEnFactoryMes(Map map); //通过总实绩ID和路段顺序号查询计毛实绩数据 Map getMaoWeightMes(Map map); //通过总实绩ID和路段顺序号查询计毛实绩数据 Map getPiWeightMes(Map map); //通过总实绩ID和路段顺序号查询卸货实绩数据 Map getUnloadMes(Map map); //通过总实绩ID和路段顺序号查询装货实绩数据 Map getLoadMes(Map map); //通过总实绩ID和路段顺序号查询出厂实绩数据 Map getOutFactoryMes(Map map); //通过总实绩ID和路段顺序号查询退货实绩数据 Map getReturnMes(Map map); // 查看承运商所属的订单 List> getInputOrderList(Map mapValue); //查询零星物资出厂订单信息(还未分配车辆)状态:3 13 List> getOthersOrderMesToSend(Map map); // 查询销售订单的物资件数或重量 List> getWeightOrNumber(BigDecimal saleOrderMaterialId); int updateTimes(@Param("orderPlanId") BigDecimal orderPlanId, @Param("times")int times); //查询当前车辆之前所有已完成的订单 List> getCapacityAllOrder(String capacityNumber); //查询订单发货日期(订单类型为2) Integer getDeliveryDate(Object orderId); // int updateTimes(@Param("orderPlanId") BigDecimal orderPlanId, @Param("times")int times); }