diff --git a/base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapper.xml b/base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapper.xml index d2a5ee65bc7e96a4fb4217c5201ebbae38f24a12..722f188f66f03de8abae1c0428c42cf5b249c47d 100644 --- a/base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapper.xml +++ b/base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapper.xml @@ -376,8 +376,6 @@ <sql id="_orderCols_"> <if test="orderColList != null and !orderColList.isEmpty()"> order by - fieldType IN('top','date') DESC ,fieldValue DESC, - <trim suffixOverrides="," suffix=""> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> ${item.colName} ${item.sortKind} @@ -386,8 +384,6 @@ </if> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> order by - fieldType IN('top','date') DESC ,fieldValue DESC, - <trim suffixOverrides="," suffix=""> <if test="orderCol.containsKey('id')"> a.id