package com.zbkj.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.huifu.HuifuWalletProcess;
import org.apache.ibatis.annotations.Param;

/**
 * <b>  </b>
 * @author ZXF
 * @create 2023/07/31 0031 11:08
 * @version
 * @注意事项 </b>
 */
public interface HuifuWalletProcessDao extends BaseMapper<HuifuWalletProcess> {

    /**
     * 获取企业钱包服务当前开通步骤
     *
     * @param uniId
     * @return
     * @author llc
     * @date 2019-06-21
     */
    HuifuWalletProcess getHuifuWalletCurrentProcess(@Param("uniId") String uniId,@Param("payChannel") String payChannel);
    /**
     * 获取最后步骤
     *
     * @param uniId
     * @return
     * @author llc
     * @date 2019-06-21
     */
    HuifuWalletProcess getLastStepProcess(@Param("uniId") String uniId,@Param("payChannel") String payChannel);

    int isProcess(HuifuWalletProcess huifuWalletProcess);


    /**
     * 更新企业钱包开户流程
     *
     * @param huifuWalletProcess
     * @return
     * @author llc
     * @date 2019-06-24
     */
    int updateHuifuWalletProcess(HuifuWalletProcess huifuWalletProcess);


}
