Sfoglia il codice sorgente

Merge branch 'fix/视图保存限制最大行数为2000' into 'develop'

【数据中心】修复视图保存限制最大行数为2000的问题

See merge request o2oa/o2oa!1302
o2null 5 anni fa
parent
commit
4fae779199

+ 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;