UserEventDao.java 601 Bytes
package com.diligrp.assistant.logging.dao;

import com.diligrp.assistant.logging.domain.EventPageQuery;
import com.diligrp.assistant.logging.model.UserEventDo;
import com.diligrp.assistant.shared.mybatis.MybatisMapperSupport;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("userEventDao")
public interface UserEventDao extends MybatisMapperSupport {
    void insertUserEvent(UserEventDo event);

    void insertUserEvents(List<UserEventDo> events);

    long countUserEvents(EventPageQuery query);

    List<UserEventDo> listUserEvents(EventPageQuery query);
}