package com.dxhy.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxhy.base.entity.BaseTDxDkCount;
import com.dxhy.base.model.BaseTDxDkCountDetailSumVO;
import com.dxhy.base.model.BaseTDxDkCountRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * 抵扣统计表dao
 *
 * @author peipei.li
 * @date 2019-04-23
 */
@SuppressWarnings("AlibabaClassNamingShouldBeCamel")
@Mapper
public interface BaseTDxDkCountDao extends BaseMapper<BaseTDxDkCount> {

    /**
     * 查询抵扣统计
     *
     * @param pramsMap
     *            请求参数
     * @return 返回结果
     */
    List<BaseTDxDkCountRespVO> selectByDkCount(Map<String, Object> pramsMap);

    /**
     * 获取密码
     *
     * @param taxno
     *            购方税号
     * @return 返回结果
     */
    String getPassword(String taxno);

    /**
    * @Description 抵扣统计明细--全部(99)的数量
    * @param taxno
    * @param skssq
    * @Return com.dxhy.base.model.BaseTDxDkCountDetailSumVO
    * @Author wangruwei
    * @Date 2024/8/5 15:23
    **/
    BaseTDxDkCountDetailSumVO selectSumCountDetail(@Param("taxno") String taxno,@Param("skssq") String skssq);
}
