Browse Source

修改字段名称

longhu 5 days ago
parent
commit
8f45fdf859
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/IpInterfaceMapper.xml

+ 1 - 1
src/main/resources/mapper/IpInterfaceMapper.xml

@@ -24,7 +24,7 @@
         select * from ip_interface where 1=1 and interface_name like '%'||:interfaceName||'%' and status in (:statusList)
     </select>
     <select id="countEnableInterfaceRef" resultType="java.lang.Integer">
-        select count(*) from ip_token_interface where status = 'normal' and interface_id = :iid
+        select count(*) from ip_token_interface where status = 'normal' and iid = :iid
     </select>
     <select id="countEnableAccountRef" resultType="java.lang.Integer">
         select count(*) from ip_token_interface where status = 'normal' and aid = :id