package com.doumee.service.business; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; import com.doumee.dao.business.dto.ApplyChangeCyclePriceDTO; import com.doumee.dao.business.dto.ApplyChangeOptDTO; import com.doumee.dao.business.dto.SmsCheckDTO; import com.doumee.dao.business.model.ApplyChange; import com.doumee.dao.business.model.InsuranceApply; import com.doumee.dao.business.vo.CountCyclePriceVO; import java.util.List; /** * 加减保换厂申请信息表Service定义 * @author 江蹄蹄 * @date 2024/01/16 10:03 */ public interface ApplyChangeService { /** * 创建 * * @param applyChange 实体对象 * @return Integer */ Integer create(ApplyChange applyChange); Integer update(ApplyChange applyChange); Integer back(ApplyChange param); Integer dealBackApply(ApplyChange param); Integer uploadPidan(ApplyChange insuranceApply); Integer check(ApplyChange applyChange); /** * 主键删除 * * @param id 主键 */ void deleteById(Integer id); /** * 删除 * * @param applyChange 实体对象 */ void delete(ApplyChange applyChange); /** * 批量主键删除 * * @param ids 主键集 */ void deleteByIdInBatch(List ids); /** * 主键更新 * * @param applyChange 实体对象 */ void updateById(ApplyChange applyChange); /** * 批量主键更新 * * @param applyChanges 实体集 */ void updateByIdInBatch(List applyChanges); /** * 主键查询 * * @param id 主键 * @return ApplyChange */ ApplyChange findById(Integer id); /** * 条件查询单条记录 * * @param applyChange 实体对象 * @return ApplyChange */ ApplyChange findOne(ApplyChange applyChange); /** * 条件查询 * * @param applyChange 实体对象 * @return List */ List findList(ApplyChange applyChange); /** * 分页查询 * * @param pageWrap 分页对象 * @return PageData */ PageData findPage(PageWrap pageWrap); PageData findPageForCompany(PageWrap pageWrap); /** * 条件统计 * * @param applyChange 实体对象 * @return long */ long count(ApplyChange applyChange); void changeOpt(ApplyChangeOptDTO applyChangeOptDTO); ApplyChange findDetail(Integer id); Integer editPidan(ApplyChange applyChange); ApplyChange exportJiajianBaoExcel(ApplyChange model); ApplyChange exportChangeUnitExcel(ApplyChange model); String getSignLinkJiajiabao(ApplyChange model); String getSignLinkChangeUnit(ApplyChange model); List findListForCompany(ApplyChange model); CountCyclePriceVO getChangeCountCyclePriceVO(ApplyChangeCyclePriceDTO applyChangeCyclePriceDTO); /** * 委托保 人员名单签署 * @param smsCheckDTO * @return */ String getChangeMemberListOnlineSignLink(SmsCheckDTO smsCheckDTO); }