ShipmentHeaderMapper.java
799 Bytes
package com.huaheng.pc.shipment.shipmentHeader.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ShipmentHeaderMapper extends BaseMapper<ShipmentHeader> {
/**
* 生成出库单编码
* @return
*/
String createCode(@Param("shipmentType") String shipmentType,@Param("warehouseCode") String warehouseCode);
List<ShipmentHeader> selectListByCreated();
/**
* 获得最新出库单
* @return
*/
List<ShipmentHeader> getLatestShipment();
//查找过期的出库单
List<ShipmentHeader> getExpiredBill();
}