{"Message":"个人中心增加积分记录表\r\n修复日报自动生成功能","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":1,"Name":"PCPage/汇报管理"},{"State":1,"Type":1,"Name":"PCPage/个人中心"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"},{"State":2,"Type":27,"Name":"ServerCommandPrivate/单日自动生成工作日报"},{"State":1,"Type":1,"Name":"PCPage/开发测试"},{"State":4,"Type":16,"Name":"TaskScheduler/应用部署时"},{"State":2,"Type":21,"Name":"SchedulerTasks/工作汇报"},{"State":4,"Type":16,"Name":"TaskScheduler/每日根据报工自动生成工作日报"},{"State":4,"Type":16,"Name":"TaskScheduler/仓库新增事件"},{"State":1,"Type":7,"Name":"Table/积分记录表"},{"State":4,"Type":16,"Name":"TaskScheduler/项目表新增事件"},{"State":4,"Type":16,"Name":"TaskScheduler/任务表新增事件"},{"State":1,"Type":1,"Name":"PCPage/汇报列表"},{"State":4,"Type":16,"Name":"TaskScheduler/任务表更新事件"},{"State":4,"Type":16,"Name":"TaskScheduler/任务成员表变更事件"},{"State":4,"Type":16,"Name":"TaskScheduler/任务成员表删除事件"},{"State":3,"Type":16,"Name":"TaskScheduler/应用启动时"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/自动生成昨日日报"},{"State":3,"Type":21,"Name":"SchedulerTasks/定时任务"},{"State":3,"Type":21,"Name":"SchedulerTasks/事件任务"},{"State":3,"Type":1,"Name":"PCPage/个人中心-积分列表"},{"State":3,"Type":15,"Name":"ServerCommand/批量生成日报"}],"Version":"v1"}

This commit is contained in:
超哥
2024-07-18 12:53:11 +08:00
parent b1434ef216
commit 08a736f9f3
27 changed files with 2349 additions and 829 deletions

View File

@@ -0,0 +1,122 @@
{
"Name": "仓库新增事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"Git仓库表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "仓库",
"TableValue": {
"TableName": "Git仓库表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "3b46b4ca-f9d8-42ff-b3b8-3f16ac77bf85",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "4df73fd8-6f4a-4494-a420-438f7ac6cae8"
},
"ColumnName": "仓库ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "ID",
"GUID": "756ffb58-1344-4902-8def-9c021e71204a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "c3b76409d13b461eb4df829ffd6281fc"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步仓库的所有提交",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.仓库ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "分支名"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "f37f17ac-514f-4a17-92a4-7923a58fb0cd"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "仓库不存在"
}
],
"ID": "5a6ab31a-a00a-4ad6-b8ce-7ab4c52b8fe2"
}
]
}
]
}

View File

@@ -0,0 +1,252 @@
{
"Name": "任务成员表删除事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBDeleteTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务成员表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务成员表",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "7a00c483-c53d-4472-9d4d-7e8da8d98cda",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "11a01503-503d-4cd4-b030-1533e813344c",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"ColumnName": "仓库ID"
},
{
"GUID": "f18d9de6-db9d-41f4-9417-7b1a731832ee",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "8fd1a862-1a40-456c-b747-95f2cc5736e9"
},
"ColumnName": "任务成员"
},
{
"GUID": "fe139fc4-ecec-4fcd-a0c7-a551eea755d9",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "a4b5128a-7fa3-4976-8afc-3fcd3d70495e",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本"
}
},
"ColumnName": "版本"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "baaaa696-72d5-4465-bb10-fcd820685a6d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "45a9bcad07f04bfa8238d483a1b77a25"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "其他地方是否加入",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "5b359ad4-e3f0-4d78-9a0f-e2b75b87d3ab",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "354f7bc1-a0ba-4b5a-a78d-70f253c97975"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.任务成员"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"CompareType": 1,
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "0bb67d92-134d-497e-bd52-9e2ec276f5e7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "1d5b3aede57d4506b9efea90dcc85b85"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=其他地方是否加入"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "增加仓库成员",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.任务成员"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "95700452-1ff9-4eaa-afee-57d792f2f47f"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "尚有其他任务中加入该仓库,取消移除"
}
],
"ID": "9b020796-3dac-40d4-bf8f-3f87de28e6a6"
}
]
}
],
"ID": "be769342-03cf-40d2-a2ce-bf0251376c06"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "该任务版本未绑定仓库"
}
],
"ID": "561d7423-e09a-4f7f-9b1a-7c51aa14aeba"
}
]
}
]
}

View File

@@ -0,0 +1,135 @@
{
"Name": "任务成员表变更事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务成员表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务成员表",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "bc469306-891a-455a-bf27-36895f1c2142",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "53455ba9-9b93-4d54-a52e-e59aca7bb0a0",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"ColumnName": "仓库ID"
},
{
"GUID": "e73b68d9-8b35-42ff-9c76-3b70ab1c9b06",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "8860c399-59b1-4480-ad8e-326cab1d3b7a"
},
"ColumnName": "任务成员"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "374ed20e-67dd-4af1-a9e8-cddc35d887d1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "766b5c6e24104778a42f6abd8737d27a"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "增加仓库成员",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.任务成员"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "9d9ef074-8bf9-44ff-9bd0-70ad460f84c2"
}
]
}
]
}

View File

@@ -0,0 +1,52 @@
{
"Name": "任务表新增事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "初始化填充任务数据",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
]
}

View File

@@ -0,0 +1,159 @@
{
"Name": "任务表更新事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBUpdateTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务表"
]
}
],
"Commands": [
{
"$type": "CollectionOperationKit.ServerSideArrayQuery, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=变更数据"
},
"Operation": 1,
"OperationParamaterPairs": [
{
"Name": "ColumnName",
"Value": "任务负责人"
}
],
"OutParamaterName": "任务负责人列"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "日志表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "标题",
"GUID": "184bd238-f1e9-46ea-a7be-774190ae3fa4"
},
"Value": "任务表更新事件"
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "内容",
"GUID": "ce51b8d9-a10e-4c6c-82ef-f7676b1d6b2b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务负责人列"
}
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "类型",
"GUID": "c2105bcb-0f6a-4b9b-a80e-16aa70e207c1"
},
"Value": "调试"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务负责人列"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务负责人列.OldValue"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务负责人列.NewValue"
},
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "初始化填充任务数据",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "e5a8f2cb-00af-4855-9dc9-bda3de2335da"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "负责人无变更,忽略"
}
],
"ID": "8711dd01-0f4b-457b-837f-a8848798f0a2"
}
]
}
],
"ID": "3eb51767-1ced-4dab-b4b3-ad138206329b"
}
]
}
]
}

View File

@@ -0,0 +1,34 @@
{
"Name": "应用启动时",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.AppReStartTriggerSaveData, ServerDesignerCommon"
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "自动更新版本号",
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
]
}

View File

@@ -0,0 +1,34 @@
{
"Name": "应用部署时",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.AppReDeployTriggerSaveData, ServerDesignerCommon"
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "自动更新版本号",
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
]
}

View File

@@ -0,0 +1,77 @@
{
"Name": "项目表新增事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"项目表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "填充项目初始化数据",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "AsycCommandList.AsycCommandListServerCommand, AsycCommandList",
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "生成项目封面",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "当前用户"
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
]
}