package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmRepayTradeDao;
import com.ssm.manage.entity.RepayList;
import com.ssm.manage.entity.RepayTradeList;
import com.ssm.manage.extendEntity.StoreDaily;
import com.ssm.manage.mapper.RepayTradeListMapper;
import com.ssm.manage.query.RepayListRequest;
import com.ssm.manage.query.RepayTradeRequest;
import com.ssm.manage.query.StoreDailyRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SsmRepayTradeDaoImpl extends BaseDaoImpl<RepayTradeList> implements SsmRepayTradeDao {
    @Autowired
    private RepayTradeListMapper mapper;

    @Override
    public RepayTradeListMapper getMapper() {
        return mapper;
    }

    @Override
    public List<RepayTradeList> selectList(RepayListRequest repayListRequest) {
        return mapper.selectList(repayListRequest);
    }
    @Override
    public List<RepayTradeList> selectFKJ(RepayTradeRequest repayListRequest) {
        return mapper.selectFKJ(repayListRequest);
    }

    @Override
    public List<RepayTradeList> selectLists(RepayListRequest repayListRequest) {
        return mapper.selectLists(repayListRequest);
    }
    @Override
    public List<RepayTradeList> selectListBetween(RepayListRequest repayListRequest) {
        return mapper.selectListBetween(repayListRequest);
    }

    @Override
    public List<RepayTradeList> queryByDocId(Long docId) {
        return mapper.queryByDocId(docId);
    }
    @Override
    public List<RepayTradeList> queryByDocNum(String docNum) {
        return mapper.queryByDocNum(docNum);
    }

    @Override
    public int updateStaff(RepayTradeList repayTradeList) {
        return mapper.updateStaff(repayTradeList);
    }

    @Override
    public StoreDaily selectrepayCooperate(StoreDailyRequest storeDailyRequest) {
        return mapper.selectrepayCooperate(storeDailyRequest);
    }
}
