package com.bonus.material.expectations.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.material.expectations.domain.ExpectationsEntity;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;
import java.util.Objects;

public interface ExpectationsService {

    /**
     * 在库，在用列表
     *
     * @param entity 条件
     * @return 集合
     */
    List<ExpectationsEntity> getExpectationsList(ExpectationsEntity entity);

    /**
     * 获取数量
     */
    AjaxResult getCountExpectations(ExpectationsEntity entity);

    List<ExpectationsEntity> getListDetails(ExpectationsEntity entity);
}
