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

import com.skua.modules.erp.entity.ErpSettlement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.vo.ErpSettlementVO;

import java.util.List;

/**
 * 药剂结算单详情
 */
public interface IErpSettlementService extends IService<ErpSettlement> {

    /***
     * 校验供应商
     * @param ids
     * @return
     */
    List<ErpSettlementVO> checkSupplierByIds(String ids);

    /***
     * 校验水厂
     * @param ids
     * @return
     */
    List<ErpSettlementVO> checkWaterDepartByIds(String ids);
    /**
     * 新增结算单
     * @param erpSettlementVO
     */
    void saveSettlement(ErpSettlementVO erpSettlementVO);

    /**
     * 修改结算单
     * @param erpSettlementVO
     */
    boolean updateSettlement(ErpSettlementVO erpSettlementVO);

    //根据编号查询结算单
    ErpSettlementVO queryById(String id);

    // 删除
    void delById(String id);

    //供应商结算清单
    ErpSettlementVO supplierSettlementByMaterialIds(String materialIds);
    //水厂结束清单
    ErpSettlementVO waterDepartSettlementByMaterialIds(String materialIds);

}