ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
@@ -51,6 +51,9 @@ <if test="path != null and path != ''"> and path = #{path}</if> <if test="groupId != null"> and group_id = #{groupId}</if> </where> <if test="orderByTime == null and orderByTime == ''"> ORDER BY update_time DESC </if> <!-- 动态排序 --> <if test="orderByTime != null and orderByTime != ''"> ORDER BY update_time ${orderByTime}