ERPPurchaseContractMapper.java 775 字节
package com.skua.modules.erp.mapper;

import com.skua.modules.erp.entity.ERPPurchaseContract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skua.modules.erp.vo.MaterialSearchVO;
import com.skua.tool.annotation.Anonymous;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 采购合同
 */
public interface ERPPurchaseContractMapper extends BaseMapper<ERPPurchaseContract> {

    /***
     *  根据分销编号查询采购合同列表
     * @param materialSearchVO
     * @return
     */
    @Anonymous
    List<ERPPurchaseContract> getListByDistributId(MaterialSearchVO materialSearchVO);

    /***
     * 变更合同
     * @param contractId
     */
    void changePurchaseContract(@Param("contractId") String contractId);
}