wzp
2021-04-06 5e873863bc7324894c89b0a0fc77a6202c91cd64
src/main/java/com/ots/project/exam/mapper/UserEventLogMapper.java
@@ -1,33 +1,20 @@
package com.ots.project.exam.mapper;
import com.ots.project.exam.domain.UserEventLog;
import com.ots.project.exam.dto.KeyValue;
import com.ots.project.exam.viewmodel.UserEventPageRequestVM;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
@Mapper
public interface UserEventLogMapper extends BaseMapper<UserEventLog> {
    int deleteByPrimaryKey(Integer id);
    int insert(UserEventLog record);
    int insertSelective(UserEventLog record);
    UserEventLog selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(UserEventLog record);
    int updateByPrimaryKey(UserEventLog record);
    List<UserEventLog> getUserEventLogByUserId(Integer id);
    List<UserEventLog> page(UserEventPageRequestVM requestVM);
    List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
}