package com.xinelu.applet.service.nurseappletpersoncenter;


import com.xinelu.applet.vo.nursepersonapplogin.NurseStationPersonUserVO;
import com.xinelu.common.core.domain.AjaxResult;
import com.xinelu.common.core.page.TableDataInfo;
import com.xinelu.manage.domain.nursestationperson.NurseStationPerson;
import com.xinelu.manage.dto.nursestationperson.NurseStationPersonCheckDTO;
import com.xinelu.manage.vo.nursestationpersonrevenue.PersonRevenueCountVO;
import com.xinelu.manage.vo.nursestationpersonrevenue.RevenueTimeDTO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description 护理人员登录个人中心
 * @Author ljh
 */
public interface NurseAppletPersonCenterService {

    /**
     * 护理人员登录个人中心
     *
     * @param nursePersonId 护理员id
     * @return 结果
     */
    NurseStationPersonUserVO nurseAppletPersonCenter(Long nursePersonId);

    /**
     * 个人中心-我的收益功能
     *
     * @param revenueTime 护理员信息
     * @return NurseStationPersonRevenueVO
     */
    PersonRevenueCountVO selectPersonRevenue(RevenueTimeDTO revenueTime);

    /**
     * 我的收益功能明细
     *
     * @param revenueTime 护理员信息
     * @return NurseStationPersonRevenueVO
     */
    TableDataInfo selectPersonRevenueDetails(RevenueTimeDTO revenueTime);

    /**
     * 小程序app更新护理人员主表信息与证书信息
     *
     * @param nurseStationPersonCheckDTO 护理人员主表信息与证书信息
     * @return AjaxResult
     */
    AjaxResult updateNursePersonCheck(NurseStationPersonCheckDTO nurseStationPersonCheckDTO);


    /**
     * 修改护理站人员状态信息
     *
     * @param nurseStationPerson 护理站人员信息
     * @return 结果
     */
    AjaxResult updateNursePersonWorkStatus(NurseStationPerson nurseStationPerson);

    /**
     * 护理员App和小程序护理员上传证书
     *
     * @param file          图片文件
     * @param nursePersonId 护理员id
     * @return 结果
     * @throws Exception 异常信息
     */
    AjaxResult uploadNurseStationPersonCertificateUrl(MultipartFile file, Long nursePersonId) throws Exception;
}
