k94314517
2025-05-20 142bcc9b22f48a8a2098a66b2964fe10c97c6fe8
server/service/src/main/java/com/doumee/service/business/SolutionsService.java
@@ -3,12 +3,15 @@
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定义
 * @author 江蹄蹄
 * @date 2024/01/15 15:07
 * @date 2024/01/16 10:03
 */
public interface SolutionsService {
@@ -47,6 +50,7 @@
     * @param solutions 实体对象
     */
    void updateById(Solutions solutions);
    void updateStatus(Solutions solutions);
    /**
     * 批量主键更新
@@ -86,7 +90,20 @@
     * @return PageData<Solutions>
     */
    PageData<Solutions> findPage(PageWrap<Solutions> pageWrap);
    PageData<Solutions> findPageCom(PageWrap<Solutions> pageWrap);
    List<Solutions> findListForCompany(Integer dataType);
    /**
     * 查询企业已签署的方案信息
     * @param dataType
     * @param companyId
     * @return
     */
    List<Solutions> findListByCompanyId(Integer dataType,Integer companyId);
    Solutions getNewVersion(Integer solutionId);
    /**
     * 条件统计
     *
@@ -94,4 +111,12 @@
     * @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);
}