Files
ai-security-xdr/haobang-security-dm/syslog-consumer/target/classes/com/common/mapper/DeviceCollectHeartbeatHistoryMapper.class
T

4 lines
2.0 KiB
Plaintext
Raw Normal View History

Êþº¾4*()insert4(Lcom/common/entity/DeviceCollectHeartbeatHistory;)IRuntimeVisibleAnnotations&Lorg/apache/ibatis/annotations/Insert;valueÁINSERT INTO device_collect_heartbeat_history (collect_id, heartbeat_time, device_ip, app_version, created_at ) VALUES (#{collectId}, #{heartbeatTime}, #{deviceIp}, #{appVersion}, #{createdAt} )'Lorg/apache/ibatis/annotations/Options;useGeneratedKeys keyPropertyid batchInsert(Ljava/util/List;)I SignatureF(Ljava/util/List<Lcom/common/entity/DeviceCollectHeartbeatHistory;>;)I*<script>INSERT INTO device_collect_heartbeat_history (collect_id, heartbeat_time, device_ip, app_version, created_at ) VALUES <foreach collection='list' item='item' separator=','>(#{item.collectId}, #{item.heartbeatTime}, #{item.deviceIp}, #{item.appVersion}, #{item.createdAt} )</foreach></script>"RuntimeVisibleParameterAnnotations%Lorg/apache/ibatis/annotations/Param;listselectByCollectId7(Ljava/lang/String;Ljava/lang/Integer;)Ljava/util/List;j(Ljava/lang/String;Ljava/lang/Integer;)Ljava/util/List<Lcom/common/entity/DeviceCollectHeartbeatHistory;>;&Lorg/apache/ibatis/annotations/Select;zSELECT * FROM device_collect_heartbeat_history WHERE collect_id = #{collectId} ORDER BY heartbeat_time DESC LIMIT #{limit} collectIdlimitdeleteBeforeTime(Ljava/time/LocalDateTime;)I&Lorg/apache/ibatis/annotations/Delete;MDELETE FROM device_collect_heartbeat_history WHERE created_at < #{beforeTime}
beforeTimecountBeforeTime(Ljava/time/LocalDateTime;)JVSELECT COUNT(*) FROM device_collect_heartbeat_history WHERE created_at < #{beforeTime}
SourceFile(DeviceCollectHeartbeatHistoryMapper.java&Lorg/apache/ibatis/annotations/Mapper;5com/common/mapper/DeviceCollectHeartbeatHistoryMapperjava/lang/Object[s 
Z s