Commit a9c30369 authored by 赵啸非's avatar 赵啸非

添加测试app数据动态访问排序

parent 23e49d4b
......@@ -51,7 +51,15 @@
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
CASE
WHEN fieldType = 'date' THEN STR_TO_DATE(fieldValue, '%Y-%m-%d'),
ELSE NULL
END
CASE
WHEN fieldType = 'top' THEN fieldValue,
ELSE NULL
END
<trim prefix="," suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
......@@ -80,15 +88,7 @@
,
</if>
CASE
WHEN fieldType = 'date' THEN STR_TO_DATE(fieldValue, '%Y-%m-%d'),
ELSE NULL
END
CASE
WHEN fieldType = 'top' THEN fieldValue,
ELSE NULL
END
</trim>
</if>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment