package com.ycl.service;
|
|
import java.util.List;
|
import com.ycl.system.domain.Purchase;
|
|
/**
|
* 采购Service接口
|
*
|
* @author shenzhanwang
|
* @date 2022-05-28
|
*/
|
public interface IPurchaseService
|
{
|
/**
|
* 查询采购
|
*
|
* @param id 采购主键
|
* @return 采购
|
*/
|
public Purchase selectPurchaseById(Long id);
|
|
/**
|
* 查询采购列表
|
*
|
* @param purchase 采购
|
* @return 采购集合
|
*/
|
public List<Purchase> selectPurchaseList(Purchase purchase);
|
|
/**
|
* 新增采购
|
*
|
* @param purchase 采购
|
* @return 结果
|
*/
|
public int insertPurchase(Purchase purchase);
|
|
/**
|
* 修改采购
|
*
|
* @param purchase 采购
|
* @return 结果
|
*/
|
public int updatePurchase(Purchase purchase);
|
|
/**
|
* 批量删除采购
|
*
|
* @param ids 需要删除的采购主键集合
|
* @return 结果
|
*/
|
public int deletePurchaseByIds(String ids);
|
|
/**
|
* 删除采购信息
|
*
|
* @param id 采购主键
|
* @return 结果
|
*/
|
public int deletePurchaseById(Long id);
|
}
|