IMaterialWarningService.java 802 Bytes
package com.huaheng.pc.config.materialWarnning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.config.materialWarnning.domain.MaterialWarning;

import java.util.List;

/**
 * 物料报警 服务层
 *
 * @author huaheng
 * @date 2020-07-17
 */
public interface IMaterialWarningService extends IService<MaterialWarning> {

    AjaxResult addSave(MaterialWarning materialWarning);

    /**
     * 物料预警
     *
     * @param materialCode 物料编码
     * @param companyCode  货主编码
     */
    void materialWarning(String materialCode, String companyCode, String warehouseCode);

    String insertExcelData(List<MaterialWarning> materialWarnings, boolean updateSupport, String operName);
}