WarningLogMapper.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.zoniot.ccrc.dao;
  2. import com.zoniot.ccrc.dto.BuildingSelectInfoDto;
  3. import com.zoniot.ccrc.dto.WarningLogDto;
  4. import com.zoniot.ccrc.entity.WarningLog;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.time.LocalDateTime;
  8. import java.util.List;
  9. @Mapper
  10. public interface WarningLogMapper {
  11. int insertSelective(WarningLog record);
  12. int updateByPrimaryKeySelective(WarningLog record);
  13. List<WarningLogDto> getList(
  14. @Param("siteId") Integer siteId,
  15. @Param("channelId") Integer channelId,
  16. @Param("deviceNo") String deviceNo,
  17. @Param("warningType") Integer warningType,
  18. @Param("clientName") String clientName,
  19. @Param("feedbackStatus") Integer feedbackStatus,
  20. @Param("provinceId") Integer provinceId,
  21. @Param("cityId") Integer cityId,
  22. @Param("regionId") Integer regionId,
  23. @Param("communityId") Integer communityId,
  24. @Param("buildingId") Integer buildingId,
  25. @Param("startDate") LocalDateTime startDate,
  26. @Param("endDate") LocalDateTime endDate);
  27. List<BuildingSelectInfoDto> getAreaList(
  28. @Param("siteId") Integer siteId,
  29. @Param("channelId") Integer channelId,
  30. @Param("deviceNo") String deviceNo,
  31. @Param("warningType") Integer warningType,
  32. @Param("clientName") String clientName,
  33. @Param("feedbackStatus") Integer feedbackStatus,
  34. @Param("startDate") LocalDateTime startDate,
  35. @Param("endDate") LocalDateTime endDate);
  36. }