| package com.doumee.service.business; | 
|   | 
| import com.doumee.core.model.PageData; | 
| import com.doumee.core.model.PageWrap; | 
| import com.doumee.dao.business.model.CompanySolution; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 企业可用保险方案关联表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/01/16 10:03 | 
|  */ | 
| public interface CompanySolutionService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param companySolution 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param companySolution 实体对象 | 
|      */ | 
|     void delete(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param companySolution 实体对象 | 
|      */ | 
|     void updateById(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param companySolutions 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<CompanySolution> companySolutions); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return CompanySolution | 
|      */ | 
|     CompanySolution findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param companySolution 实体对象 | 
|      * @return CompanySolution | 
|      */ | 
|     CompanySolution findOne(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param companySolution 实体对象 | 
|      * @return List<CompanySolution> | 
|      */ | 
|     List<CompanySolution> findList(CompanySolution companySolution); | 
|     List<CompanySolution> findListForCompany(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<CompanySolution> | 
|      */ | 
|     PageData<CompanySolution> findPage(PageWrap<CompanySolution> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param companySolution 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(CompanySolution companySolution); | 
|   | 
|     /** | 
|      * 企业签署方案确认书 | 
|      * @param id | 
|      * @return | 
|      */ | 
|     String getCompanySolutionSignLink(Integer id); | 
|   | 
| } |