123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- /*
- * 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<PaymentGoodsDetails> {
- /**
- * 根据付款ID查询数据
- *
- * @param paymentGoodsIds 付款ID集合
- * @return
- */
- List<PaymentGoodsDetails> getByPaymentGoodsIds(List<String> paymentGoodsIds);
- /**
- * 根据付款ID查询数据
- *
- * @param paymentGoodsIds 付款ID集合
- * @return
- */
- Map<String, List<PaymentGoodsDetails>> getByPaymentGoodsIdsToMap(List<String> paymentGoodsIds);
- /**
- * 根据采购合同编码查询已付货款
- *
- * @param purchaseCodes 采购合同编码集合
- * @return
- */
- List<PaymentGoodsDetails> getByPurchaseCodes(List<String> purchaseCodes);
- /**
- * 根据采购合同编码查询已付货款
- *
- * @param purchaseCodes 采购合同编码集合
- * @return
- */
- Map<String, List<PaymentGoodsDetails>> getByPurchaseCodesToMap(List<String> purchaseCodes);
- /**
- * 通过采购合同ID获取总付款金额
- * @param purchaseContractId
- * @return
- */
- BigDecimal getSumMoney(String purchaseContractId);
- }
|