Explorar o código

Merge branch 'master' of http://git.meloinfo.com/wangwei/interface_platform

yaoyi hai 3 días
pai
achega
5384086095

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

@@ -6,6 +6,6 @@
 
 
     <select id="queryList" resultType="com.hr.vo.IpAccountVO">
-        select * from ip_account t where t.acc_no like '%'||:accNo||'%' and status in(:statusList)
+        select * from ip_account t where t.acc_no like '%'||:accNo||'%' and status in(:statusList) order by id desc
     </select>
 </mapper>

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

@@ -21,7 +21,7 @@
         where 1 = 1 and ord.ref_id = :id
     </select>
     <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 id="countEnableInterfaceRef" resultType="java.lang.Integer">
         select count(*) from ip_token_interface where status = 'normal' and iid = :iid

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

@@ -6,7 +6,7 @@
 
 
     <select id="queryList" resultType="com.hr.repository.domain.IpTokenInterfacePO">
-        select * from ip_token_interface where 1=1 and aid = :aid and status in(:statusList)
+        select * from ip_token_interface where 1=1 and aid = :aid and status in(:statusList) order by id desc
     </select>
     <select id="queryRefList" resultType="com.hr.repository.domain.IpTokenInterfacePO">
         select * from ip_token_interface where 1=1 and aid = :accountId and iid = :interfaceId and status != 'delete'