MaterialService.java
1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.huaheng.pc.config.material.service;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.mobile.shipment.Materialforecast;
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 getMaterialByCode(String code);
    Material getMaterialByCode(String code, String warehouseCode);
    Material getMaterialByDomain(Material material);
    List<Material> findLatest();
    /**
     * 获得物料联想词
     * @param code
     * @return
     */
    List<Materialforecast> getMaterialForecast(String code);
}