ShipmentHeaderMapper.java 612 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 java.util.List;

public interface ShipmentHeaderMapper extends BaseMapper<ShipmentHeader> {

    /**
     *  生成出库单编码
     * @return
     */
    String createCode(String shipmentType);

    List<ShipmentHeader> selectListByCreated();

    /**
     *  获得最新出库单
     * @return
     */
    List<ShipmentHeader> getLatestShipment();

}