liusheng
2023-08-02 21619ffd680dfc66682ca3b6761eda5b74bdb70a
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
@@ -59,7 +59,7 @@
    /**
     * 查询费用申请主列表
     * 查询费用申请主列表(包含删除的)
     *
     * @param serviceFund 费用申请主
     * @return 费用申请主
@@ -97,6 +97,18 @@
        return this.list(wrappers);
    }
    @Override
    public List<ServiceFund> queryInfoById(ServiceFund serviceFund) {
        LambdaQueryWrapper<ServiceFund> wrappers = Wrappers.lambdaQuery();
        if (serviceFund.getId() != null) {
            wrappers.eq(ServiceFund::getId, serviceFund.getId());
        }
        wrappers.eq(ServiceFund::getDel_flag, "0");
        return this.list(wrappers);
    }
    @Override
    public List<ServiceFund> getInfoByInfoId(Long infoid) {
        return serviceFundMapper.getInfoByInfoId(infoid);