/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package com.fjhx.paymentgoods.service; import com.baomidou.mybatisplus.extension.service.IService; import com.fjhx.paymentgoods.entity.PaymentGoodsDetails; import java.math.BigDecimal; import java.util.List; import java.util.Map; /** * 付款账单明细 服务类 * * @author BladeX * @since 2022-12-12 */ public interface IPaymentGoodsDetailsService extends IService { /** * 根据付款ID查询数据 * * @param paymentGoodsIds 付款ID集合 * @return */ List getByPaymentGoodsIds(List paymentGoodsIds); /** * 根据付款ID查询数据 * * @param paymentGoodsIds 付款ID集合 * @return */ Map> getByPaymentGoodsIdsToMap(List paymentGoodsIds); /** * 根据采购合同编码查询已付货款 * * @param purchaseCodes 采购合同编码集合 * @return */ List getByPurchaseCodes(List purchaseCodes); /** * 根据采购合同编码查询已付货款 * * @param purchaseCodes 采购合同编码集合 * @return */ Map> getByPurchaseCodesToMap(List purchaseCodes); /** * 通过采购合同ID获取总付款金额 * @param purchaseContractId * @return */ BigDecimal getSumMoney(String purchaseContractId); }