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

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import com.huaheng.pc.receipt.receiptHeaderHistory.domain.ReceiptHeaderHistory;

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);

    //查找过期的入库单
    List<ReceiptHeader> getExpiredBill();


    List<ReceiptHeader> selectSIComplete();
}