package org.jeecg.modules.spare.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.modules.spare.entity.SparePartReceive;
|
import org.jeecg.modules.spare.entity.SparePartReceiveDeatil;
|
|
import java.io.Serializable;
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* @Description: 备件领用申请单
|
* @Author: jeecg-boot
|
* @Date: 2023-06-26
|
* @Version: V1.0
|
*/
|
public interface ISparePartReceiveService extends IService<SparePartReceive> {
|
|
/**
|
* 添加一对多
|
*
|
* @param sparePartReceive
|
* @param sparePartReceiveDeatilList
|
*/
|
public void saveMain(SparePartReceive sparePartReceive,List<SparePartReceiveDeatil> sparePartReceiveDeatilList) ;
|
|
/**
|
* 修改一对多
|
*
|
* @param sparePartReceive
|
* @param sparePartReceiveDeatilList
|
*/
|
public void updateMain(SparePartReceive sparePartReceive,List<SparePartReceiveDeatil> sparePartReceiveDeatilList);
|
|
/**
|
* 删除一对多
|
*
|
* @param id
|
*/
|
public void delMain (String id);
|
|
/**
|
* 批量删除一对多
|
*
|
* @param idList
|
*/
|
public void delBatchMain (Collection<? extends Serializable> idList);
|
|
|
/**
|
*
|
* @param sparePartReceive
|
*/
|
void approval(SparePartReceive sparePartReceive);
|
|
/**
|
*
|
* @param sparePartReceive
|
*/
|
void reject(SparePartReceive sparePartReceive);
|
|
/**
|
* 撤回
|
* @param id
|
*/
|
void revocation(String id);
|
|
}
|