EventLogMapper.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.supervision.web.peopleGateManage.mapper;
  2. import com.supervision.web.peopleGateManage.entity.EventLog;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. @Mapper
  7. public interface EventLogMapper {
  8. List<EventLog> selectByCondition(
  9. @Param("eventType") String eventType,
  10. @Param("personId") String personId,
  11. @Param("jobNumber") String jobNumber,
  12. @Param("name") String name,
  13. @Param("remoteHost") String remoteHost,
  14. @Param("reader") String reader,
  15. @Param("detectorId") String detectorId,
  16. @Param("operation") String operation,
  17. @Param("startTime") String startTime,
  18. @Param("endTime") String endTime,
  19. @Param("offset") Integer offset,
  20. @Param("pageSize") Integer pageSize
  21. );
  22. int countByCondition(
  23. @Param("eventType") String eventType,
  24. @Param("personId") String personId,
  25. @Param("jobNumber") String jobNumber,
  26. @Param("name") String name,
  27. @Param("remoteHost") String remoteHost,
  28. @Param("reader") String reader,
  29. @Param("detectorId") String detectorId,
  30. @Param("operation") String operation,
  31. @Param("startTime") String startTime,
  32. @Param("endTime") String endTime
  33. );
  34. }