|
@@ -21,7 +21,7 @@
|
|
|
where 1 = 1 and ord.ref_id = :id
|
|
where 1 = 1 and ord.ref_id = :id
|
|
|
</select>
|
|
</select>
|
|
|
<select id="queryPage" resultType="com.hr.vo.IpInterfaceVO">
|
|
<select id="queryPage" resultType="com.hr.vo.IpInterfaceVO">
|
|
|
- select * from ip_interface where 1=1 and interface_name like '%'||:interfaceName||'%' and status in (:statusList)
|
|
|
|
|
|
|
+ select * from ip_interface where 1=1 and interface_name like '%'||:interfaceName||'%' and status in (:statusList) order by id desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="countEnableInterfaceRef" resultType="java.lang.Integer">
|
|
<select id="countEnableInterfaceRef" resultType="java.lang.Integer">
|
|
|
select count(*) from ip_token_interface where status = 'normal' and iid = :iid
|
|
select count(*) from ip_token_interface where status = 'normal' and iid = :iid
|