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.ContractImg;

import java.util.List;

/**
 * title: ProjectServiceImpl
 * package: com.sptg.estate.biz.security
 * description: 实施项目合同扫描图片-服务层接口
 *
 *               
 *                     
 */
public interface ContractImgServiceInterface extends IService<ContractImg> {

    /**
     * 功能描述: 批量保存合同扫描图片
     * @param list
     * @return ResultBean<Boolean>
     *               
     *                      
     */
    ResultBean<Boolean> addList(List<ContractImg> list);
    /**
     * 功能描述: 删除与合同关联的图片
     * @param contractId
     * @return ResultBean<Boolean>
     *               
     *                      
     */
    ResultBean<Boolean> deleteByContractId(Long contractId);
    /**
     * 功能描述: 根据合同id查询合同扫描件
     * @param contractId
     * @return RList<ContractImg>
     *               
     *                      
     */
    List<ContractImg> getListContractId(Long contractId);
}
