Просмотр исходного кода

修改视图最大行数为无限制,原为2000

o2sword 5 лет назад
Родитель
Сommit
327a110524

+ 2 - 2
o2server/x_query_core_entity/src/main/java/com/x/query/core/entity/View.java

@@ -70,7 +70,7 @@ public class View extends SliceJpaObject {
 
 	public void onPersist() throws Exception {
 
-		if ((this.count == null) || (this.count < 1) || (this.count > MAX_COUNT)) {
+		if ((this.count == null) || (this.count < 1)) {
 			this.count = MAX_COUNT;
 		}
 
@@ -81,7 +81,7 @@ public class View extends SliceJpaObject {
 	}
 
 	public Integer getCount() {
-		if ((this.count == null) || (this.count < 1) || (this.count > MAX_COUNT)) {
+		if ((this.count == null) || (this.count < 1)) {
 			return MAX_COUNT;
 		} else {
 			return this.count;