package com.doumee.service.business; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; import com.doumee.dao.business.dto.*; import com.doumee.dao.business.model.InsuranceApply; import com.doumee.dao.business.model.UnionApply; import java.util.List; /** * 合并投保单信息表Service定义 * @author 江蹄蹄 * @date 2024/03/12 11:34 */ public interface UnionApplyService { /** * 创建 * * @param unionApply 实体对象 * @return Integer */ Integer create(UnionApply unionApply); /** * 主键删除 * * @param id 主键 */ void deleteById(Integer id); /** * 删除 * * @param unionApply 实体对象 */ void delete(UnionApply unionApply); /** * 批量主键删除 * * @param ids 主键集 */ void deleteByIdInBatch(List ids); /** * 主键更新 * * @param unionApply 实体对象 */ void updateById(UnionApply unionApply); /** * 批量主键更新 * * @param unionApplys 实体集 */ void updateByIdInBatch(List unionApplys); /** * 主键查询 * * @param id 主键 * @return UnionApply */ UnionApply findById(Integer id); /** * 条件查询单条记录 * * @param unionApply 实体对象 * @return UnionApply */ UnionApply findOne(UnionApply unionApply); /** * 条件查询 * * @param unionApply 实体对象 * @return List */ List findList(UnionApply unionApply); /** * 分页查询 * * @param pageWrap 分页对象 * @return PageData */ PageData findPage(PageWrap pageWrap); /** * 条件统计 * * @param unionApply 实体对象 * @return long */ long count(UnionApply unionApply); /** * 保单合并 * @param saveUnionApplyDTO */ Integer merge(SaveUnionApplyDTO saveUnionApplyDTO); /** * 取消合并单 * @param closeDTO */ void cancelMerge(CloseDTO closeDTO); /** * 上传投保单 * @param uploadMultifileDTO */ void uploadToubaodan(UploadMultifileDTO uploadMultifileDTO); /** * 合并单 保单签署 * @param smsCheckDTO * @return */ String getSignLink(SmsCheckDTO smsCheckDTO); /** * 上传保险单 * @param unionApplyBXDDTO */ void uploadBXD(UnionApplyBXDDTO unionApplyBXDDTO); UnionApply detail(Integer applyId); UnionApply findDetailForExport(UnionApply model); /** * 更新合并单金额 * @param id */ void updateUnionApplyCurrentFee(Integer id); }