提交 6e3d02c2 编写于 作者: U unknown

修复查询语句一个条件多次判断的问题

上级 ad2691c0
......@@ -158,7 +158,15 @@ MWF.xApplication.query.Query.Statement = MWF.QStatement = new Class({
debugger;
this.filterList = [];
(data.filterList || []).each(function (d) {
var parameterName = d.path.replace(/\./g, "_");
var pName = d.path.replace(/\./g, "_");
var parameterName = pName;
var suffix = 1;
while( this.parameter[parameterName] ){
parameterName = pName + "_" + suffix;
suffix++;
};
var value = d.value;
// if( d.code && d.code.code ){
// value = this.Macro.exec( d.code.code, this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册