/* * 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.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.extension.service.IService; import com.fjhx.paymentgoods.entity.PaymentGoods; import com.fjhx.purchase.entity.PurchaseContract; import java.util.List; import java.util.Map; /** * 付款账单 服务类 * * @author BladeX * @since 2022-12-12 */ public interface IPaymentGoodsService extends IService { /** * 列表 * * @param condition 查询条件 * @return */ List getList(Map condition); /** * 列表总数 * * @param condition 查询条件 * @return */ Integer getListCount(Map condition); /** * 根据供应商ID查询采购合同 * * @param supplyId 供应商ID * @return */ List getPurchaseContractSelectBySupplyId(String supplyId); /** * 查询银行历史数据 * * @return */ List historyBankData(); /** * 保存草稿 * * @param entity * @return */ void saveOrUpdateDraft(PaymentGoods entity); /** * 删除 * * @param id 数据ID * @return */ boolean deleteLogic(String id); /** * 打款 * * @param entity */ void addPaid(PaymentGoods entity); }