package com.sptg.estate.biz.service;

import com.baomidou.mybatisplus.service.IService;
import com.sptg.common.core.beans.ResultBean;
import com.sptg.estate.api.entity.ProjectBook;

/**
 * title: ProjectServiceImpl
 * package: com.sptg.estate.biz.security
 * description: 立项书-服务层接口
 *
 *               
 *                     
 */
public interface ProjectBookServiceInterface extends IService<ProjectBook> {
    /**
     * 功能描述: 保存立项书信息
     * @param projectBook
     * @return ResultBean<Boolean>
     *               
     *                      
     */
    ResultBean<Boolean> insertByResidentialId(ProjectBook projectBook);
    /**
     * 功能描述:通过项目id查询立项书信息
     * @param projectId
     * @return ResultBean<ProjectBook>
     *               
     *                      
     */
    ResultBean<ProjectBook> findByProjectId(Long projectId);
    /**
     * 功能描述: 修改
     * @param projectBook
     * @return ResultBean<Boolean>
     *               
     *                      
     */
    ResultBean<Boolean> editByProjectId(ProjectBook projectBook);
}
