package com.gxwebsoft.project.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.project.entity.ProjectRenew;
import com.gxwebsoft.project.param.ProjectRenewParam;

import java.math.BigDecimal;
import java.util.List;

/**
 * 续费管理Service
 *
 * @author 科技小王子
 * @since 2025-03-14 16:21:11
 */
public interface ProjectRenewService extends IService<ProjectRenew> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<ProjectRenew>
     */
    PageResult<ProjectRenew> pageRel(ProjectRenewParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<ProjectRenew>
     */
    List<ProjectRenew> listRel(ProjectRenewParam param);

    /**
     * 根据id查询
     *
     * @param appRenewId 自增ID
     * @return ProjectRenew
     */
    ProjectRenew getByIdRel(Integer appRenewId);

    BigDecimal sumMoney(LambdaQueryWrapper<ProjectRenew> between);
}
