209 lines
6.8 KiB
JSON
209 lines
6.8 KiB
JSON
{
|
|
"Name": "GetUpdateLogs",
|
|
"Description": "获取某应用更新日志",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": [
|
|
"FGC_Anonymous"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"HttpMethod": 3,
|
|
"Parameters": [
|
|
{
|
|
"Name": "key",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "1"
|
|
},
|
|
{
|
|
"Name": "page",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "limit",
|
|
"DataValidationInfo": {}
|
|
}
|
|
],
|
|
"InvokeTriggerTestData": {
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "发布记录",
|
|
"TableValue": {
|
|
"TableName": "项目发布记录",
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "271b8c4f-df87-4f13-a055-c230d8ed2551",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "版本ID",
|
|
"GUID": "6a4892ea-19f8-4a27-9aa3-e0e67a0c2a16",
|
|
"RelationBinding": {
|
|
"RelatedTable": "项目版本",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "版本名称"
|
|
}
|
|
},
|
|
"ColumnName": "版本名称"
|
|
},
|
|
{
|
|
"GUID": "51cf6d6a-f2a1-4c71-9fa2-de108cfaacd9",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布版本号",
|
|
"GUID": "632c9779-2835-4549-b336-732a6f5c092d"
|
|
},
|
|
"ColumnName": "版本号"
|
|
},
|
|
{
|
|
"GUID": "6a4ec77a-c58c-4785-997b-acd42f443db3",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布时间",
|
|
"GUID": "e7c3e6d1-2f0d-4c54-9bef-1362c707f79e"
|
|
},
|
|
"ColumnName": "发布时间"
|
|
},
|
|
{
|
|
"GUID": "65cbf608-1409-441d-8de1-725725ee09f5",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布内容",
|
|
"GUID": "692522b1-485d-48f4-b5e1-5757d4476387"
|
|
},
|
|
"ColumnName": "发布内容"
|
|
},
|
|
{
|
|
"GUID": "dbacc996-f268-412b-9e1c-587ab1450002",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布人",
|
|
"GUID": "4dbe6080-63e3-4e27-b42f-d8463a9a2c18",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 1
|
|
}
|
|
},
|
|
"ColumnName": "发布人"
|
|
}
|
|
],
|
|
"CacheSetting": {
|
|
"AllowCache": true,
|
|
"ExpiredTime": 120
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "779f1eb0-baa5-44fb-a207-964a134ddb0e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=key"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "ad07bb5b-b503-42be-a2c6-af32382ec913",
|
|
"RelationBinding": {
|
|
"RelatedTable": "项目表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "项目名称"
|
|
}
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=key"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "2ec0d510-82c7-41f2-b87c-67872a8a22eb",
|
|
"RelationBinding": {
|
|
"RelatedTable": "项目表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "项目代号"
|
|
}
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=key"
|
|
}
|
|
}
|
|
],
|
|
"RelationType": 1
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(page=\"\",100,page)"
|
|
},
|
|
"OffsetCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(limit=\"\",0,limit)"
|
|
},
|
|
"OrderBySqlCondition": {
|
|
"OrderByColumns": [
|
|
{
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布时间",
|
|
"GUID": "5f8386f3-339c-4a60-936a-8ceaf5ea1b82"
|
|
},
|
|
"Order": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ID": "666e24bb55394a66a8e773a8c81f8134"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "获取成功",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "logs",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布记录"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "logs"
|
|
}
|
|
]
|
|
} |