|
@@ -4,6 +4,7 @@ import com.steerinfo.dil.model.TmstruckWeightResult;
|
|
|
import com.steerinfo.framework.mapper.IBaseMapper;
|
|
|
import io.swagger.models.auth.In;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
@@ -39,12 +40,13 @@ public interface TmstruckWeightResultMapper extends IBaseMapper<TmstruckWeightRe
|
|
|
|
|
|
//通过物资ID查询应该在哪个汽车衡计量
|
|
|
List<Integer> getCalculateIdByMaterial(BigDecimal material);
|
|
|
+
|
|
|
//通过运输订单id获取路段顺序号、物资类型、计量实绩主键、line_id
|
|
|
- Map<BigDecimal, String> selectByOrderId(BigDecimal orderId);
|
|
|
+ Map<String, BigDecimal> selectByOrderId(BigDecimal orderId);
|
|
|
/**
|
|
|
* 通过物料、性质判断所去的汽车衡
|
|
|
*/
|
|
|
- BigDecimal getTruckCalculateNumber(BigDecimal materialTypeId, BigDecimal bigDecimal);
|
|
|
+ BigDecimal getTruckCalculateNumber(@Param("materialTypeId") BigDecimal materialTypeId, @Param("bigDecimal") BigDecimal bigDecimal);
|
|
|
|
|
|
- List<BigDecimal> getNextStep(BigDecimal lineId, int orderLineSequence);
|
|
|
+ List<BigDecimal> getNextStep(@Param("lineId") BigDecimal lineId, @Param("orderLineSequence") int orderLineSequence);
|
|
|
}
|