package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmStoreParaDao;
import com.ssm.manage.entity.StoreParament;
import com.ssm.manage.mapper.StoreParamentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SsmStoreParaDaoImpl extends BaseDaoImpl<StoreParament> implements SsmStoreParaDao {
    @Autowired
    private StoreParamentMapper mapper;

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

    @Override
    public int addStorePara(List<StoreParament> list) {
        return mapper.addStorePara(list);
    }

    @Override
    public List<StoreParament> sselectSStoreParament(Long storeId) {
        return mapper.sselectSStoreParament(storeId);
    }

    @Override
    public StoreParament selectSperpsw(Long storeId) {
        return mapper.selectSperpsw(storeId);
    }
}
