package com.steerinfo.dil.mapper; import com.steerinfo.dil.model.AmsSaleOrderMaterial; 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 AmsSaleOrderMaterialMapper extends IBaseMapper { //查询主键最大值 @Select("select seq_AMS_SALE_ORDER_MATERIAL.nextval from dual") BigDecimal selectMaxId(); //查询收货地址主键最大值 BigDecimal selectMaxIdReceive(); //新增收货地址 int insertReceiveAddress(Map map); //获取要渲染的值 List> selectBySaleOrderMaterialId(BigDecimal saleOrderMaterialId); //通过主键获得收货地址 String getAddress(BigDecimal saleOrderMaterialId); //获取收货地址id BigDecimal getReceiveAddressId(String saleShippingAddress); //获取收货地址 List> getAddressDeliveryAddress(); List> getSaleMaterial(Map mapValue); Integer selectById(BigDecimal saleOrderMaterialId); Integer selectByCxh(Map m); // 车序号信息 List> getTruckNoList(Map mapValue); // 物资详情 List> getTruckNoMaterialList(BigDecimal saleOrderMaterialId); // 销售订单下的 List> getSaleMaterialList(BigDecimal saleOrderId); }