FirstJoinKeyMapper.java 835 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.iamberry.wechat.service.mapper;
  2. import com.iamberry.wechat.core.entity.wx.FirstJoinKey;
  3. /**
  4. * 首次关注消息推送,映射文件接口
  5. * @author liurui Email:972376971@qq.com
  6. * @version 创建时间:2015年5月7日 下午5:38:35
  7. */
  8. public interface FirstJoinKeyMapper {
  9. /**
  10. * 根据微信公众号, 获取首次关注回复内容
  11. * 获取首次关注回复的FirstJoinKey对象
  12. * @param wxpublicNo
  13. * @return
  14. */
  15. public FirstJoinKey selectOne(String wxpublicNo);
  16. /**
  17. * 修改或者是首次关注的消息回复
  18. *
  19. * 根据微信公众号ID修改首次关注回复
  20. * 返回修改状态1或0
  21. */
  22. public int updateOne(FirstJoinKey firstJoinKey);
  23. /**
  24. *
  25. * 如果数据库中没有该数据,那么选择插入数据
  26. */
  27. public int addOne(FirstJoinKey firstJoinKey);
  28. }