MaterialService.java
810 Bytes
package com.huaheng.pc.config.material.service;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.config.material.domain.Material;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
public interface MaterialService extends IService<Material>{
/**
* 批量删除物料
* @param ids
* @return
*/
AjaxResult removeByIds(String ids);
/**
* excel导入物料
* @param materialList
* @param updateSupport
* @param operName
* @return
*/
String importMaterial(List<Material> materialList, Boolean updateSupport,String operName);
/**
* 添加物料
* @param material
* @return
*/
AjaxResult addSave(Material material);
Material findAllByCode(String code);
}