1234567891011121314151617181920212223242526272829303132333435363738 |
- package com.huaxu.zoniot.dao;
- import com.huaxu.zoniot.entity.PushLog;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- /**
- * <p></p>
- *
- * @Author wilian.peng
- * @Date 2021/1/26 18:35
- * @Version 1.0
- */
- @Mapper
- public interface PushLogMapper {
- int deleteByPrimaryKey(Integer id);
- int insert(PushLog record);
- int insertSelective(PushLog record);
- PushLog selectByPrimaryKey(Integer id);
- int updateByPrimaryKeySelective(PushLog record);
- int updateByPrimaryKey(PushLog record);
- /**
- * 查询最后一次推送记录
- *
- * @param configId
- * @param pushContent
- * @return
- */
- PushLog findLastRecord(@Param("configId") Integer configId, @Param("pushContent") Integer pushContent);
- PushLog findLastRecordBycustomerId(@Param("customerId") Integer customerId);
- }
|