package com.sptg.estate.biz.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.sptg.common.core.beans.ResultBean;
import com.sptg.estate.api.dto.FaceChargeProjectDto;
import com.sptg.estate.api.entity.FaceChargeProject;

import java.util.List;


/**
 * title: UnitServiceInterface
 * package: com.sptg.estate.biz.security
 * description: 人脸套餐 服务层接口
 *
 */
public interface FaceChargeProjectServiceInterface extends IService<FaceChargeProject> {


    ResultBean<Page<FaceChargeProject>> showFaceChargeProjectList(FaceChargeProjectDto dto);

    List<FaceChargeProject> getListByResidentialId(Long residentialId);

    List<FaceChargeProject> getListByResidentialIdAndDate(Long residentialId);
    ResultBean<FaceChargeProject> selectByResidentialId(Long residentialId);

    List<FaceChargeProject> getList(FaceChargeProjectDto dto);

    ResultBean<FaceChargeProject> getOneFaceChargeProject(FaceChargeProjectDto dto);

    FaceChargeProject getOneNotInId(FaceChargeProjectDto dto);

    ResultBean<Boolean> addFaceChargeProject(FaceChargeProjectDto dto);

    FaceChargeProject getFaceChargeProjectById(Long id);

    ResultBean<Boolean> updateFaceChargeProject(FaceChargeProjectDto dto);

    ResultBean<Boolean> deleteFaceChargeProject(FaceChargeProjectDto dto);

    FaceChargeProject getByOldId(String oldId);
}
