From 2e98b20bea4463e4465e3c19059d0744a09aec06 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 27 Jun 2023 14:34:41 +0800
Subject: [PATCH] gb28181版本升级-补充

---
 src/main/java/com/genersoft/iot/vmp/netty/business/mapper/TalkBackEquipmentMapper.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/netty/business/mapper/TalkBackEquipmentMapper.java b/src/main/java/com/genersoft/iot/vmp/netty/business/mapper/TalkBackEquipmentMapper.java
index edb4814..41f4e3d 100644
--- a/src/main/java/com/genersoft/iot/vmp/netty/business/mapper/TalkBackEquipmentMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/netty/business/mapper/TalkBackEquipmentMapper.java
@@ -2,10 +2,8 @@
 
 import com.genersoft.iot.vmp.netty.business.entity.TalkBackEquipment;
 import com.genersoft.iot.vmp.netty.business.entity.TalkBackEquipmentRecord;
-import org.apache.ibatis.annotations.Insert;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Select;
-import org.apache.ibatis.annotations.SelectKey;
 
 /**
  * 对讲设备mapper映射层
@@ -32,7 +30,7 @@
      * @param code
      * @return
      */
-    @Select("select * from sys_talk_back_equipment where code = #{code}")
+    @Select("select * from sys_talk_back_equipment where terminal_number = #{code}")
     TalkBackEquipment getTalkBackEquipment(String code);
 
     /**

--
Gitblit v1.9.3