IPurchasePlanService.java 1.2 KB
package com.skua.modules.erp.service;

import com.skua.modules.erp.entity.PurchasePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.PurchasePlanItem;
import com.skua.modules.erp.vo.PurchasePlanVO;

import java.util.List;

/**
 * erp采购计划表
 */
public interface IPurchasePlanService extends IService<PurchasePlan> {

    /***
     * 新增
     * @param purchasePlanVO
     * @return
     */
    public int  savePurchasePlan(PurchasePlanVO purchasePlanVO);

    /***
     * 修改
     * @param purchasePlanVO
     * @return
     */
    public boolean updatePurchasePlan(PurchasePlanVO purchasePlanVO);

    /***
     * 删除
     * @param planId
     * @return
     */
    public int  delPurchasePlan(String planId);

    /***
     * 根据编号获取采购计划
     * @param planId
     * @return
     */
    public PurchasePlanVO queryById(String planId);

    /**
     * 根据编号获取采购清单集合
     * @param planId
     * @return
     */
    public List<PurchasePlanItem> queryItemListByPlanId(String planId);

    /***
     *  审批 采购计划
     * @param purchasePlanVO
     */
    public  void auditPurchasePlan(PurchasePlanVO purchasePlanVO);
}