package com.xinelu.familydoctor.applet.service;

import com.xinelu.familydoctor.applet.pojo.body.ApprovalBody;
import com.xinelu.familydoctor.applet.pojo.body.ResidentRescindApplyBody;
import com.xinelu.familydoctor.applet.pojo.query.ApplyQuery;
import com.xinelu.familydoctor.applet.pojo.vo.ResidentRescindApplyVo;

import java.util.List;

/**
 * @Author mengkuiliang
 * @Description 解约申请Service
 * @Date 2023-09-27 027 17:04
 * @Param
 * @return
 **/
public interface IResidentRescindApplyService {

    List<ResidentRescindApplyVo> findList(ApplyQuery query);

    void insert(ResidentRescindApplyBody body);

    /**
     * 修改审批
     *
     * @param body:
     * @return Integer
     * @author lixinying
     * @date 2022/11/21 17:07
     */
    void updateFd(ApprovalBody body);

    /**
     * @return java.lang.Object
     * @Author mengkuiliang
     * @Description 解约申请详情
     * @Date 2022-11-23 10:03
     * @Param [applyNo]
     **/
    ResidentRescindApplyVo detail(String applyNo);

    /**
     * @return void
     * @Author mengkuiliang
     * @Description 取消解约申请
     * @Date 2022-11-23 14:41
     * @Param [applyNo]
     **/
    void cancel(String applyNo);
}
