ReceiptHeaderMapper.java 575 Bytes
package com.huaheng.pc.receipt.receiptHeader.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;

import java.util.List;

public interface ReceiptHeaderMapper extends BaseMapper<ReceiptHeader> {

    List<ReceiptHeader> selectListByCreated();

    /**
     *  生成入库单编码
     * @return
     */
    String createCode(String receiptType);


    /**
     *  获得最新入库单
     * @return
     */
    List<ReceiptHeader> getLatestReceipt(String warehouseCode, String companyCode);
}