package com.buy507.mall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.buy507.mall.mapper.DmsDistributionDictionaryMapper;
import com.buy507.mall.model.DmsDistributionDictionary;
import com.buy507.mall.model.ShowStatus;
import com.buy507.mall.service.DmsDistributionDictionaryService;

@Service
public class DmsDistributionDictionaryServiceImpl implements DmsDistributionDictionaryService {
	
	@Autowired
	private DmsDistributionDictionaryMapper mapper;

	@Override
	public List<DmsDistributionDictionary> list() {
		return mapper.selectByShowStatus(ShowStatus.Yes.getValue());
	}
	
	

}
