liusheng
2023-09-27 da3edb56ef670c58f6de09d28fde986d6be5a845
ruoyi-project/src/main/java/com/ruoyi/project/service/IServiceFundService.java
@@ -1,37 +1,47 @@
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.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 +52,17 @@
    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);
    int countItem(Long infoid, Long itemid);
    Long addOrUpdateNew(ServiceFundVO serviceFundVO);
    /**
     * 绩效计算
     *
     * @param serviceFundVO
     * @return
     */
    Map<String,Long> performance(ServiceFundVO serviceFundVO);
}