|  |  | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.dao.business.model.Solutions; | 
 |  |  |  | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | import java.util.Date; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 保险方案信息表(历史版本)Service定义 | 
 |  |  |  * 保险方案信息表Service定义 | 
 |  |  |  * @author 江蹄蹄 | 
 |  |  |  * @date 2024/01/15 11:15 | 
 |  |  |  * @date 2024/01/16 10:03 | 
 |  |  |  */ | 
 |  |  | public interface SolutionsService { | 
 |  |  |  | 
 |  |  | 
 |  |  |      * @param solutions 实体对象 | 
 |  |  |      */ | 
 |  |  |     void updateById(Solutions solutions); | 
 |  |  |     void updateStatus(Solutions solutions); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 批量主键更新 | 
 |  |  | 
 |  |  |      * @return PageData<Solutions> | 
 |  |  |      */ | 
 |  |  |     PageData<Solutions> findPage(PageWrap<Solutions> pageWrap); | 
 |  |  |     PageData<Solutions> findPageCom(PageWrap<Solutions> pageWrap); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     List<Solutions> findListForCompany(Integer dataType); | 
 |  |  |  | 
 |  |  |     Solutions getNewVersion(Integer solutionId); | 
 |  |  |     /** | 
 |  |  |      * 条件统计 | 
 |  |  |      * | 
 |  |  | 
 |  |  |      * @return long | 
 |  |  |      */ | 
 |  |  |     long count(Solutions solutions); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     BigDecimal testSolutionAddMoney(Integer id, BigDecimal fee, Date start,Date end,Date newDate,Date newEndDate); | 
 |  |  |  | 
 |  |  |     BigDecimal testSolutionReduceMoney(Integer id, BigDecimal fee, Date start,Date end,Date reduceStartTime,Date reduceEndTime); | 
 |  |  |  | 
 |  |  |     BigDecimal testSolutionProduceMoney(Integer id, BigDecimal fee, Date start,Date end,Date produceStart); | 
 |  |  |  | 
 |  |  | } |