package com.by4cloud.platformx.business.service; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.by4cloud.platformx.business.dto.ContractInvoiceQueryDTO; import com.by4cloud.platformx.business.dto.ContractQueryDTO; import com.by4cloud.platformx.business.dto.GenInvoiceInfoDTO; import com.by4cloud.platformx.common.core.util.R; public interface ContractInvoiceService { R getContractOutBound(Long contractId); R getContractAdvance(Long contractId); R genInvoiceInfo(GenInvoiceInfoDTO genInvoiceInfoDTO); R toInvoice(GenInvoiceInfoDTO genInvoiceInfoDTO); R getContractInvoiceList(Long contractId); R toRedInvoice(Long invoiceId); R queryBlueInvoice(); R queryRedInvoice(); void takeEffect(Long id); void refuseApproval(Long id); Page pageInvoice(Page page, ContractInvoiceQueryDTO queryDTO); Page pageScope(Page page, ContractQueryDTO queryDTO); R getContractHouseWater(Long contractId); }