owl-cli 7.25.0 → 7.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,7 +148,10 @@ var @projectCodeService = (function (pigeon) {
|
|
|
148
148
|
}
|
|
149
149
|
if (v.indexOf('$') == 0) {
|
|
150
150
|
var fullkey = v.substring(1)
|
|
151
|
-
|
|
151
|
+
var newValue = f.getValue(fullkey, env);
|
|
152
|
+
if(newValue){
|
|
153
|
+
return newValue;
|
|
154
|
+
}
|
|
152
155
|
}
|
|
153
156
|
return v
|
|
154
157
|
},
|
|
@@ -755,7 +758,7 @@ var @projectCodeService = (function (pigeon) {
|
|
|
755
758
|
data.owl_lastModifiedUserId = userId;
|
|
756
759
|
data.owl_lastModifiedIp = ip;
|
|
757
760
|
data.owl_lastModifiedUserAgent = ua;
|
|
758
|
-
data.
|
|
761
|
+
data.owl_modifyTime = new Date().getTime();
|
|
759
762
|
|
|
760
763
|
var key = pigeon.getRKey(data['owl_createTime'], 13)
|
|
761
764
|
pigeon.deleteFromList(f.getAllListName(), key, id)
|
|
@@ -1099,14 +1102,7 @@ var @projectCodeService = (function (pigeon) {
|
|
|
1099
1102
|
|
|
1100
1103
|
}
|
|
1101
1104
|
else{
|
|
1102
|
-
|
|
1103
|
-
var shouldQueries = f.createQuery(v);
|
|
1104
|
-
if(isNotClause){
|
|
1105
|
-
must_not.push({bool:{should:shouldClauses}});
|
|
1106
|
-
}else{
|
|
1107
|
-
filters.push({bool:{should:shouldClauses}});
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1105
|
+
//do noting,所以 or 语句不支持 单个对象,必须带一个 args 数组
|
|
1110
1106
|
}
|
|
1111
1107
|
}
|
|
1112
1108
|
else if(typeof(v)=='object' && Array.isArray(v)){
|