package cn.pluss.platform.memberSetting.impl;

import java.util.List;
import java.util.Map;
import org.springframework.transaction.annotation.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.pluss.platform.entity.MemberSetting;
import cn.pluss.platform.memberSetting.MemberSettingService;
import cn.pluss.platform.mapper.MemberSettingMapper;

@Transactional
@Service("memberSettingService")
public class MemberSettingServiceImpl  implements MemberSettingService{

	 private static final Logger logger = LoggerFactory.getLogger( MemberSettingServiceImpl.class);


    @Autowired
	  private MemberSettingMapper memberSettingMapper;

    @Override
    public MemberSetting queryMemberSetting(MemberSetting memberSetting){
        return memberSettingMapper.queryMemberSetting(memberSetting);
    }

    @Override
    public List<MemberSetting> queryMemberSettingList(MemberSetting memberSetting){
        return memberSettingMapper.queryMemberSettingList(memberSetting);
    }
    @Override
    public void saveMemberSetting(MemberSetting memberSetting){
          memberSettingMapper.saveMemberSetting(memberSetting);
    }
    @Override
    public void updateMemberSetting(MemberSetting memberSetting){
        memberSettingMapper.updateMemberSetting(memberSetting);
    }
    @Override
    public void deleteMemberSetting(MemberSetting memberSetting){
        memberSettingMapper.deleteMemberSetting(memberSetting);
    }
    @Override
    public List<MemberSetting> queryMemberSettingPage(Map map){
        return memberSettingMapper.queryMemberSettingPage(map);
    }
    @Override
    public Integer queryMemberSettingPageCount(Map map){
        return memberSettingMapper.queryMemberSettingPageCount(map);
    }
    @Override
    public void saveMemberSettingBatch(List<MemberSetting> memberSettingList) {
         memberSettingMapper.saveMemberSettingBatch(memberSettingList);
    }
}

