liusheng
2024-07-29 fbf5402f03820ebc702871fc4c4933c024ff3087
ruoyi-project/src/main/java/com/ruoyi/project/service/IServiceFundService.java
@@ -1,37 +1,46 @@
package com.ruoyi.project.service;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.domain.ServiceFund;
import com.ruoyi.project.domain.ServiceFunddetail;
import com.ruoyi.project.domain.*;
import com.ruoyi.project.domain.vo.*;
import org.springframework.web.bind.annotation.PathVariable;
/**
 * 费用申请主Service接口
 *
 *
 * @author ruoyi
 * @date 2022-01-24
 */
public interface IServiceFundService extends IService<ServiceFund>
{
public interface IServiceFundService extends IService<ServiceFund> {
    /**
     * 查询费用申请主列表
     *
     *
     * @param serviceFund 费用申请主
     * @return 费用申请主集合
     */
    public List<ServiceFund> queryList(ServiceFund serviceFund);
    List<ServiceFund> getInfoByInfoId(Long infoid);
    public List<ServiceFund> queryInfoById(ServiceFund serviceFund);
    List<ServiceFund> getInfoByInfoId(Long infoid);
    Long getFundId(Long infoid);
    /**
     * 往分享表中添加数据
     *
     * @param id
     * @return
     */
    Boolean addFundSharedInfo(Long id);
    List<ServiceFund> selectServiceFundList(ServiceFund serviceFund);
    List<ServiceFunddetail> getFundDetail(Long id);
    List<FundVO> selectVOList(FundVO fundVO);
@@ -42,7 +51,28 @@
    String returnId(Long id);
    List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT,Integer CHECKFLAG,Integer APPLYTYPE);
    List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE, Integer CHECKSTATUS, String donorname);
    List<SpFinancialExpensesFundOut> getExpertfeeList(SpSelectExpertfee spSelectExpertfee);
    int countItem(Long infoid, Long itemid);
}
    Long addOrUpdateNew(ServiceFundVO serviceFundVO);
    /**
     * 绩效计算
     *
     * @param serviceFundVO
     * @return
     */
    Map<String, Long> performance(ServiceFundVO serviceFundVO);
    Map<String, List<ServiceFunddetailExcel>> totaltax(TotalTaxVO totalTaxVO);
    Map<String, Object> exportFeeSum(Integer faxId);
    public Boolean updateFundTaxIdById(Long id, Long fundTaxIds);
}