提交 36d362d2 编写于 作者: U unknown

查询中增加视图

上级 1c20f738
...@@ -303,7 +303,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ ...@@ -303,7 +303,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({
var height = size.y; var height = size.y;
var designAreaHeight = this.designerAreaPercent*height; var designAreaHeight = this.designerAreaPercent*height - 52;
// var runAreaHeight = height-designAreaHeight; // var runAreaHeight = height-designAreaHeight;
this.designerArea.setStyle("height", ""+designAreaHeight+"px"); this.designerArea.setStyle("height", ""+designAreaHeight+"px");
...@@ -410,7 +410,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ ...@@ -410,7 +410,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({
this.editor.editor.setValue("DELETE " + table + " o WHERE "); this.editor.editor.setValue("DELETE " + table + " o WHERE ");
break; break;
default: default:
this.editor.editor.setValue("SELECT * FROM " + table + " o"); this.editor.editor.setValue("SELECT o FROM " + table + " o");
} }
} }
this.json.data = this.editor.editor.getValue(); this.json.data = this.editor.editor.getValue();
...@@ -475,7 +475,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ ...@@ -475,7 +475,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({
this.editor.editor.setValue("DELETE " + table + " o WHERE "); this.editor.editor.setValue("DELETE " + table + " o WHERE ");
break; break;
default: default:
this.editor.editor.setValue("SELECT * FROM " + table + " o"); this.editor.editor.setValue("SELECT o FROM " + table + " o");
} }
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册