package com.iamberry.wechat.service.wechat;

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

import com.iamberry.wechat.core.entity.wx.FirstJoinKey;
import com.iamberry.wechat.face.wechat.FirstJoinKeyService;
import com.iamberry.wechat.service.wechat.dao.FirstJoinKeyDAO;
@Service
public class FirstJoinKeyServiceImpl implements FirstJoinKeyService{
	
	@Autowired
	private FirstJoinKeyDAO firstJoinKeyDao;
	public void setFirstJoinKeyDao(FirstJoinKeyDAO firstJoinKeyDao) {
		this.firstJoinKeyDao = firstJoinKeyDao;
	}

	@Override
	public FirstJoinKey getBywxpublicNO(String wxpublicNo) {
		// TODO Auto-generated method stub
		return firstJoinKeyDao.getBywxpublicNO(wxpublicNo);
	}

	@Override
	public int updatebyFirstJoinKey(FirstJoinKey firstJoinKey) {
		// TODO Auto-generated method stub
		return firstJoinKeyDao.updatebyFirstJoinKey(firstJoinKey);
	}

	@Override
	public int addFirstJoinKey(FirstJoinKey firstJoinKey) {
		// TODO Auto-generated method stub
		return firstJoinKeyDao.addFirstJoinKey(firstJoinKey);
	}
	
	
	
}
