chenrui
5 天以前 3e03f3d957c44ff2e4909b9fb4fff8621d466d10
src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java
@@ -8,6 +8,9 @@
import com.ruoyi.sales.pojo.ReceiptPayment;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface ReceiptPaymentMapper extends BaseMapper<ReceiptPayment> {
    IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, @Param("receiptPaymentDto") ReceiptPaymentDto receiptPaymentDto);
@@ -28,4 +31,23 @@
     * @return
     */
    InvoiceLedgerDto invoiceInfo(Integer id);
    /**
     * 计算前多少条数据回款金额综合
     * @param customerId
     * @param total
     * @return
     */
    BigDecimal getReceiptAmount(@Param("customerId") Integer customerId, @Param("total") long total);
    /**
     * 查询回款记录
     */
    List<ReceiptPaymentDto> receiptPaymentHistoryList(@Param("params") ReceiptPaymentDto receiptPaymentDto);
    /**
     * 查询回款记录分页
     */
    IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page,@Param("params") ReceiptPaymentDto receiptPaymentDto);
}