package com.yh.saas.plugin.yiliangyiyun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.GrainDeliveryRegistration;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 送粮登记管理 服务类
 * </p>
 *
 * @author Gdc
 * @since 2021-11-26
 */
public interface IGrainDeliveryRegistrationService extends IService<GrainDeliveryRegistration> {

    /**
     * 送粮登记
     * @param grainDeliveryRegistration
     * @return
     */
    String insertInfo(GrainDeliveryRegistration grainDeliveryRegistration);

    /**
     * 送粮记录列表
     * @param commonId
     * @return
     */
    List<GrainDeliveryRegistration> selectGrainDeliveryRegistration(String commonId);

    /**
     * 删除送粮记录
     * @param id
     */
    void deleteInfo(String id);

    /**
     *
     * 登记客户下拉列表
     * @param grainDeliveryRegistration
     */
    List<GrainDeliveryRegistration> grainDeliveryRegistrationCustomer(GrainDeliveryRegistration grainDeliveryRegistration);
}
