PushLogMapper.java 864 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.huaxu.zoniot.dao;
  2. import com.huaxu.zoniot.entity.PushLog;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. /**
  6. * <p></p>
  7. *
  8. * @Author wilian.peng
  9. * @Date 2021/1/26 18:35
  10. * @Version 1.0
  11. */
  12. @Mapper
  13. public interface PushLogMapper {
  14. int deleteByPrimaryKey(Integer id);
  15. int insert(PushLog record);
  16. int insertSelective(PushLog record);
  17. PushLog selectByPrimaryKey(Integer id);
  18. int updateByPrimaryKeySelective(PushLog record);
  19. int updateByPrimaryKey(PushLog record);
  20. /**
  21. * 查询最后一次推送记录
  22. *
  23. * @param configId
  24. * @param pushContent
  25. * @return
  26. */
  27. PushLog findLastRecord(@Param("configId") Integer configId, @Param("pushContent") Integer pushContent);
  28. PushLog findLastRecordBycustomerId(@Param("customerId") Integer customerId);
  29. }