package com.hzs.ground.margin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.ground.margin.ThMargin;
import com.hzs.ground.margin.vo.ThMarginVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 保证金缴纳 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2024-03-21
 */
public interface ThMarginMapper extends BaseMapper<ThMargin> {

    /**
     * @description: 保证金缴纳列表
     * @author: zhang jing
     * @date: 2024/3/26 11:28
     * @param: [thMarginVO]
     * @return: java.util.List<com.hzs.ground.margin.vo.ThMarginVO>
     **/
    List<ThMarginVO> queryThMarginList (ThMarginVO thMarginVO);

    /**
     * @description: 保证金缴纳审批查看
     * @author: zhang jing
     * @date: 2024/3/27 10:11
     * @param: [businessCode, pkCountry]
     * @return: java.util.List<com.hzs.ground.margin.vo.ThMarginVO>
     **/
    List<ThMarginVO> queryThMarginByCode(@Param("businessCode") String businessCode,
                                         @Param("pkCountry") Integer pkCountry);
}
