package com.yuchen.saas.park.service.service.renovation;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.entity.renovation.SaasParkPropertyHouseRenovationApply;
import com.yuchen.saas.park.api.entity.renovation.SaasParkPropertyHouseRenovationApplyAllDto;
import com.yuchen.saas.park.api.entity.renovation.SaasParkPropertyHouseRenovationApplyDto;
import com.yuchen.saas.park.api.entity.renovation.ShenHeApplyDto;
import com.yuchen.saas.park.api.vo.renovation.SaasParkPropertyHouseRenovationApplyVo;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

/**
 * <p>
 * 房源-装修人-施工方-关联申请表 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-12-02
 */
public interface ISaasParkPropertyHouseRenovationApplyService extends IService<SaasParkPropertyHouseRenovationApply> {

    /**
     * 房源-装修人-施工方-关联申请表
     * @param saasParkPropertyHouseRenovationApplyDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyHouseRenovationApplyVo>> getList(SaasParkPropertyHouseRenovationApplyAllDto saasParkPropertyHouseRenovationApplyDto, Query query);

    /**
     * 房源-装修人-施工方-关联申请表 提交审核
     * @param req
     * @return
     */
    boolean submitApply(SaasParkPropertyHouseRenovationApplyDto req);

    /**
     * 房源-装修人-施工方-关联申请表 审核
     * @param req
     * @return
     */
    boolean shenHe(ShenHeApplyDto req);
}
