135 lines
4.7 KiB
JSON
135 lines
4.7 KiB
JSON
{
|
|
"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": "36a9ac18-8ce1-4282-a85d-d1e3ee61156e"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |