owl-cli 6.201.0 → 6.203.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.
package/bin/owl.js
CHANGED
|
@@ -80,7 +80,7 @@ function getIndexMapping(flatternedSpecs){
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
}
|
|
83
|
-
else if(field.fieldType == 'string' || field.fieldType == 'choice'){
|
|
83
|
+
else if(field.fieldType == 'string' || field.fieldType == 'choice' || field.fieldType == 'linkId'){
|
|
84
84
|
propMappings[field.key] = {
|
|
85
85
|
"type":"text",
|
|
86
86
|
"fields": {
|
|
@@ -721,13 +721,17 @@ var @projectCodeService = (function (pigeon) {
|
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
723
|
|
|
724
|
-
del: function (id) {
|
|
724
|
+
del: function (id,userId,ip,ua) {
|
|
725
725
|
//只做软删除
|
|
726
726
|
var data = f.get(id,true)
|
|
727
727
|
if (!data) {
|
|
728
728
|
throw '对象不存在!id=' + id
|
|
729
729
|
}
|
|
730
730
|
data.id = id;
|
|
731
|
+
data.owl_lastModifiedUserId = userId;
|
|
732
|
+
data.owl_lastModifiedIp = ip;
|
|
733
|
+
data.owl_lastModifiedUserAgent = ua;
|
|
734
|
+
|
|
731
735
|
var key = pigeon.getRKey(data['owl_createTime'], 13)
|
|
732
736
|
pigeon.deleteFromList(f.getAllListName(), key, id)
|
|
733
737
|
if (data['subplatformId']) {
|