DESKTOP-6GG29MI\dell
2025-10-30 6030c322f89f3c933b4b6efb42e59e0d6f9fa486
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/contract/repository/ContractInvoiceRepository.java
@@ -45,4 +45,10 @@
     */
    @Query(value = "SELECT SUM(after_tax_amount) AS totalAmount FROM contract_invoice WHERE contract_id = ?1",nativeQuery = true)
    BigDecimal countTotalAmountByContractId(Long contractId);
    /**
     * 根据合同ID删除
     * @param contractId
     */
    void deleteByContractId(Long contractId);
}