You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
846 B
26 lines
846 B
|
7 years ago
|
package cn.redrock.assetmanage.service;
|
||
|
|
|
||
|
|
import cn.redrock.assetmanage.dto.Material;
|
||
|
|
import cn.redrock.assetmanage.entity.AmMaterial;
|
||
|
|
import com.github.pagehelper.PageInfo;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @ Author : lihua
|
||
|
|
* @ Date :
|
||
|
|
* @ Description : 2019/7/23 15:00
|
||
|
|
* @ Modified by :
|
||
|
|
* @ Version : 1.0
|
||
|
|
*/
|
||
|
|
public interface MaterialService {
|
||
|
|
boolean add(Material material);
|
||
|
|
boolean batchAdd(List<Material> materials,boolean isOverride);
|
||
|
|
boolean sub(Material material);
|
||
|
|
void batchSub(List<Material> materials,List<Material> successMaterials,List<Material> failMaterials);
|
||
|
|
List<AmMaterial> search(String field, String content, Integer pageNum, Integer pageSize);
|
||
|
|
boolean update(Material material);
|
||
|
|
boolean delete(String code);
|
||
|
|
PageInfo<AmMaterial> warn(Integer pageNum, Integer pageSize);
|
||
|
|
}
|