ErpSettlementMapper.java 1.4 KB
package com.skua.modules.erp.mapper;

import java.util.List;

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 com.skua.modules.erp.entity.ErpSettlement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 药剂结算单详情
 */
public interface ErpSettlementMapper extends BaseMapper<ErpSettlement> {
    //供应商结算
    List<ErpSettlementVO> supplierSettlement(@Param("ids") String ids);
    //水厂结算
    List<ErpSettlementVO> waterDepartSettlement(@Param("ids")String ids);

    // 根据入库单ids,获取【供应商】结算单详情
    List<ErpSettlementItem> querySupplierSettlementByMaterialIds(@Param("ids") String materialIds);

    // 根据入库单ids,获取【水厂】结算单详情
    List<ErpSettlementItem> queryWaterDepartSettlementByMaterialIds(@Param("ids") String materialIds);
    //送货单以及物资验收单
    List<ErpSettlementItemVO> querySettlementFormById(@Param("id")String id);
    //(供应商)送货单以及物资验收单
    List<ErpSettlementItemVO> querySupplierSettlementFormById(@Param("id")String id);
    //(水厂) 送货单以及物资验收单
    List<ErpSettlementItemVO> queryWaterDepartSettlementFormById((@Param("id")String id);
}