package com.ruoyi.finance.mapper; import com.ruoyi.finance.domain.TFee; import com.ruoyi.finance.domain.TWareHouseFees; import com.ruoyi.finance.domain.dto.FeeDTO; import com.ruoyi.finance.domain.vo.FeeVO; import com.ruoyi.finance.excel.Detailed; import com.ruoyi.finance.shipping.FinancialTFee; import com.ruoyi.finance.shipping.HandleExcel; import com.ruoyi.finance.shipping.ProfitExcel; import com.ruoyi.finance.shipping.ReceivableExcel; import com.ruoyi.reportManagement.dto.TWarehousebill; import com.ruoyi.shipping.excel.ExportFinancial; import com.ruoyi.warehouseBusiness.excel.TWareHouseExcelItem; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * 财务数据主Mapper接口 * * @author ruoyi * @date 2021-01-18 */ public interface TFeeMapper { /** * 查询财务数据主 * * @param fId 财务数据主ID * @return 财务数据主 */ public TFee selectTFeeById(Long fId); /** * 查询财务数据主 * * @param fId 财务数据主ID * @return 财务数据主 */ public TFee selectTFeeByIdNew(Long fId); /** * 查询财务数据主列表 * * @param tFee 财务数据主 * @return 财务数据主集合 */ public List selectTFeeList(TFee tFee); public List> selectTFeeList1(TFee tFee); /** * 凯和查询财务信息 * @param tFee * @return */ List selectFinancialTFeeList(TFee tFee); /** * 凯和确认账单查询 * @param tFee * @return */ public List> webVersionTFee(TFee tFee); /** * 新增财务数据主 * * @param tFee 财务数据主 * @return 结果 */ public int insertTFee(TFee tFee); /** * 修改财务数据主 * * @param tFee 财务数据主 * @return 结果 */ public int updateTFee(TFee tFee); /** * 删除财务数据主 * * @param fId 财务数据主ID * @return 结果 */ public int deleteTFeeById(Long fId); /** * 批量删除财务数据主 * * @param fIds 需要删除的数据ID * @return 结果 */ public int deleteTFeeByIds(Long[] fIds); /** * 查询 对账、 收费 数据 * @return */ public List> warehouseBillsFeesList(@Param("map") Map map); public List> warehouseBillsFeesListAccamount(@Param("map") Map map); //发票申请查询 public List> warehouseApplyFPFeesList(@Param("map") Map map); //开发票查询 public List> warehouseInvoiceFPFeesList(@Param("map") Map map); public List> warehouseBillsKHFeesListAccamount(@Param("map") Map map); public List> warehouseBillsFeesList1(TWareHouseFees tWareHouseFees); /** * 查询应收、应付总帐 * @param tWareHouseFees * @return */ List selectFinancialLedgerList(TWareHouseFees tWareHouseFees); public List> warehouseBillsFeesProfitList(TWareHouseFees tWareHouseFees); public List> warehouseBillsFeesCustomProfitList(TWareHouseFees tWareHouseFees); /** * 查询详情主表列表 * @param fid * @return 详情主表集合 */ public List selectTWarehousebillsItemsList(@Param("fId") Long fid); public List> selectFeeList(TFee tFee); public List selectDetailedList(@Param("fId") Long fid); public List> selectDetailedList1(TWarehousebill tWarehousebill); /** * 网页版发票查询 * @param tFee * @return */ public List> webVersionInvoice(TFee tFee); /** * 凯和检索 对账、 收费 付费信息 * @return */ public List> FinancialFeesList(@Param("map") Map map); /** * 凯和获取费用详情 * @param fId * @return */ FinancialTFee selectFinancialTFeeId (Long fId); /** * 凯和查询对账信息 * @param id * @return */ List exportFinancial(@Param("id") Long id); /** * 查询发票数据 * @param map * @return */ List> queryApplyInvoiceFeesList(@Param("map") Map map); /** * 根据结算单位、费用状态、审核日期查询应付总帐明细 * @param feeDTO * @return */ List selectFinancialLedgerDetails(FeeDTO feeDTO); /** * 凯和查询应收应付总账 * @param tWareHouseFees * @return */ List receivable(TWareHouseFees tWareHouseFees); /** * 凯和查询利润 * @param tWareHouseFees * @return */ List profit(TWareHouseFees tWareHouseFees); /** * 凯和查询应付总账 * @param tWareHouseFees * @return */ List handle(TWareHouseFees tWareHouseFees); }