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

5 lines
2.6 KiB
Plaintext
Raw Normal View History

Êþº¾4+)*
selectById;(Ljava/lang/Long;)Lcom/common/entity/DeviceInterlockingLog;RuntimeVisibleAnnotations&Lorg/apache/ibatis/annotations/Select;value6SELECT * FROM device_interlocking_log WHERE id = #{id}
selectByCmdId"(Ljava/lang/Long;)Ljava/util/List; SignatureM(Ljava/lang/Long;)Ljava/util/List<Lcom/common/entity/DeviceInterlockingLog;>;QSELECT * FROM device_interlocking_log WHERE device_interlocking_cmd_id = #{cmdId}"RuntimeVisibleParameterAnnotations%Lorg/apache/ibatis/annotations/Param;cmdIdinsert,(Lcom/common/entity/DeviceInterlockingLog;)I&Lorg/apache/ibatis/annotations/Insert;®INSERT INTO device_interlocking_log (device_interlocking_cmd_id, device_interlocking_id, ban_ip, device_name, ban_time, ban_method, ban_result, tenant_id, create_dept, create_by, create_time, remark, resp_body, req_body) VALUES (#{deviceInterlockingCmdId}, #{deviceInterlockingId}, #{banIp}, #{deviceName}, #{banTime}, #{banMethod}, #{banResult}, #{tenantId}, #{createDept}, #{createBy}, NOW(), #{remark}, #{respBody}, #{reqBody})'Lorg/apache/ibatis/annotations/Options;useGeneratedKeys keyPropertyid batchInsert(Ljava/util/List;)I>(Ljava/util/List<Lcom/common/entity/DeviceInterlockingLog;>;)I?<script>INSERT INTO device_interlocking_log (device_interlocking_cmd_id, device_interlocking_id, ban_ip, device_name, ban_time, ban_method, ban_result, tenant_id, create_dept, create_by, create_time, remark, resp_body, req_body) VALUES <foreach collection='logs' item='item' separator=','>(#{item.deviceInterlockingCmdId}, #{item.deviceInterlockingId}, #{item.banIp}, #{item.deviceName}, #{item.banTime}, #{item.banMethod}, #{item.banResult}, #{item.tenantId}, #{item.createDept}, #{item.createBy}, NOW(), #{item.remark}, #{item.respBody}, #{item.reqBody})</foreach></script>logs selectAll()Ljava/util/List;=()Ljava/util/List<Lcom/common/entity/DeviceInterlockingLog;>;?SELECT * FROM device_interlocking_log ORDER BY create_time DESC countByCmdIdY(Ljava/lang/Long;)Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;SELECT ban_result, COUNT(*) as count FROM device_interlocking_log WHERE device_interlocking_cmd_id = #{cmdId} GROUP BY ban_result
SourceFile DeviceInterlockingLogMapper.java&Lorg/apache/ibatis/annotations/Mapper;-com/common/mapper/DeviceInterlockingLogMapperjava/lang/Object[s
  [s