IErpSettlementService.java 1.7 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.entity.ErpSettlementItem;
import com.skua.modules.erp.vo.ErpSettlementFormVO;
import com.skua.modules.erp.vo.ErpSettlementItemVO;
import com.skua.modules.erp.vo.ErpSettlementVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 药剂结算单详情
 */
public interface IErpSettlementService extends IService<ErpSettlement> {
    /**
     * 新增结算单
     * @param erpSettlementVO
     */
    void saveSettlement(ErpSettlementVO erpSettlementVO);

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

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

    // 删除
    void delById(String id);


    // 根据入库单ids,获取【供应商】结算单详情
    List<ErpSettlementItemVO> querySupplierSettlementByMaterialIds(String materialInIds);
    // 根据入库单ids,获取【水厂】结算单详情
    List<ErpSettlementItemVO> queryWaterDepartSettlementByMaterialIds( String materialInIds);

    //供应商结算
    List<ErpSettlementVO> supplierSettlement(String materialInIds);
    //水厂结算
    List<ErpSettlementVO> waterDepartSettlement(String materialInIds);

    /***结算*/
    boolean settlement(ErpSettlement erpSettlementEntity);

    // (供应商)送货单以及物资验收单
   // ErpSettlementFormVO querySupplierSettlementFormById(String id);
    //(水厂) 送货单以及物资验收单
   // ErpSettlementFormVO queryWaterDepartSettlementFormById(String id);

}