Commit 13919f0c by liuyang

2024-10-14 修复文档浏览上传时间排序功能

parent 8826a92d
...@@ -99,6 +99,9 @@ public class ServiceHGWD002 extends ServiceBase { ...@@ -99,6 +99,9 @@ public class ServiceHGWD002 extends ServiceBase {
case "createdTime asc": case "createdTime asc":
orderByStr.append(orderBy[i].replace("createdTime asc", "b.createdTime asc")); orderByStr.append(orderBy[i].replace("createdTime asc", "b.createdTime asc"));
break; break;
case "updatedTime asc":
orderByStr.append(orderBy[i].replace("updatedTime asc", "b.updatedTime asc"));
break;
case "previewNum asc": case "previewNum asc":
orderByStr.append(orderBy[i].replace("previewNum asc", "b.previewNum asc")); orderByStr.append(orderBy[i].replace("previewNum asc", "b.previewNum asc"));
break; break;
...@@ -126,6 +129,9 @@ public class ServiceHGWD002 extends ServiceBase { ...@@ -126,6 +129,9 @@ public class ServiceHGWD002 extends ServiceBase {
case "downloadNum desc": case "downloadNum desc":
orderByStr.append(orderBy[i].replace("downloadNum desc", "b.downloadNum desc")); orderByStr.append(orderBy[i].replace("downloadNum desc", "b.downloadNum desc"));
break; break;
case "updatedTime desc":
orderByStr.append(orderBy[i].replace("updatedTime desc", "b.updatedTime desc"));
break;
default: default:
if (!orderBy[i].isEmpty()){ if (!orderBy[i].isEmpty()){
orderByStr.append(orderBy[i]); orderByStr.append(orderBy[i]);
......
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