package com.ssm.manage.dao.impl;

import com.github.pagehelper.Page;
import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmStoreConversionDao;
import com.ssm.manage.dao.SsmStoreTurnTreatmentDao;
import com.ssm.manage.entity.RechargeAccountGive;
import com.ssm.manage.entity.StoreConversion;
import com.ssm.manage.entity.StoreTurnTreatment;
import com.ssm.manage.mapper.SsmStoreConversionMapper;
import com.ssm.manage.mapper.SsmStoreTurnTreatmentMapper;
import com.ssm.manage.query.StoreTurnTreatmentQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class SsmStoreTurnTreatmentDaoImpl  extends BaseDaoImpl<StoreTurnTreatment> implements SsmStoreTurnTreatmentDao {

    @Autowired
    private SsmStoreTurnTreatmentMapper mapper;

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

    @Override
    public List<StoreTurnTreatment> selectFKJ(StoreTurnTreatment storeTurnTreatment) {
        return mapper.selectFKJ(storeTurnTreatment);
    }

    @Override
    public List<StoreTurnTreatment> selectPhon(StoreTurnTreatmentQuery storeConversionQuery) {
        return mapper.selectPhon(storeConversionQuery);
    }

    @Override
    public List<StoreTurnTreatment> exportachis(StoreTurnTreatmentQuery storeConversionQuery) {
        return mapper.exportachis(storeConversionQuery);
    }
    @Override
    public Integer selectPhonCount(StoreTurnTreatmentQuery storeConversionQuery) {
        return mapper.selectPhonCount(storeConversionQuery);
    }

    @Override
    public List<StoreTurnTreatment> getDocNum(StoreTurnTreatment storeTurnTreatment) {
        return mapper.getDocNum(storeTurnTreatment);
    }

    @Override
    public List<StoreTurnTreatment> selectFKJOut(StoreTurnTreatment storeTurnTreatment) {
        return mapper.selectFKJOut(storeTurnTreatment);
    }
}
