235 lines
8.5 KiB
JSON
235 lines
8.5 KiB
JSON
{
|
|
"Name": "发送日报消息到钉钉",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
|
"Parameters": [
|
|
{
|
|
"Name": "汇报ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "24"
|
|
}
|
|
],
|
|
"InvokeTriggerTestData": {
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "ApplicationServerOperationCommand.GetAppBaseUrlCommand, ApplicationServerOperationCommand",
|
|
"ParamName": "baseUrl"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "汇报信息",
|
|
"TableValue": {
|
|
"TableName": "汇报记录表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "c4c85967-163a-4778-af21-74bf0de0b8bd",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0e93dc38-27a6-4f43-8d1f-259e2ed63004"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"GUID": "4a352d5e-d89c-4c7d-bf24-c09b792e0c26",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "开始日期",
|
|
"GUID": "558f2e8b-d834-4550-9071-faa795353960"
|
|
},
|
|
"ColumnName": "日期"
|
|
},
|
|
{
|
|
"GUID": "efa0143d-f403-49da-b4c8-dd67b97ed18a",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象",
|
|
"GUID": "f039b950-9b7c-4f2b-b7ee-59efe980fe9c"
|
|
},
|
|
"ColumnName": "汇报对象"
|
|
},
|
|
{
|
|
"GUID": "d82fb480-c470-4842-9c22-fca24e0776b0",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报类型",
|
|
"GUID": "6ff51c49-9039-4eb8-b8a8-96e949ab2c3f"
|
|
},
|
|
"ColumnName": "汇报类型"
|
|
},
|
|
{
|
|
"GUID": "9c542390-a435-4279-9ca9-4fcc3c14325d",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "85bf0bc0-52ba-42bc-9439-c1a9801d04a1",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 1
|
|
}
|
|
},
|
|
"ColumnName": "汇报人"
|
|
},
|
|
{
|
|
"GUID": "f3556ae4-e1e9-4dbc-8199-0ba2747b7b71",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "10e12df8-125c-466e-9b70-4bce9bc43281",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 8
|
|
}
|
|
},
|
|
"ColumnName": "汇报人_组织上级"
|
|
},
|
|
{
|
|
"GUID": "bb7a271e-488b-41e0-a152-b06331cea346",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "内容",
|
|
"GUID": "4ae3db68-4d61-4995-90ca-e2f92f654771"
|
|
},
|
|
"ColumnName": "内容"
|
|
},
|
|
{
|
|
"GUID": "4d75fd9d-7798-4c8e-b2fe-8d69d86b34a2",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "总工时",
|
|
"GUID": "f2b71908-1c86-469e-a9f9-1b8487e971e3"
|
|
},
|
|
"ColumnName": "总工时"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "ID",
|
|
"GUID": "3c264ea1-de8e-481f-b05d-530d9505afdb"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "f4635eb887aa4179b89d7345df2faef7"
|
|
},
|
|
{
|
|
"$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": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"Operation": 17,
|
|
"OperationParamaterAName": "|",
|
|
"OperationParamaterBName": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报信息.汇报人_组织上级"
|
|
},
|
|
"OutParamaterName": "组织上级数组"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"InParamater": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级数组"
|
|
},
|
|
"Operation": 19,
|
|
"OutParamaterName": "组织上级数组"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"InParamater": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级数组"
|
|
},
|
|
"Operation": 16,
|
|
"OperationParamaterAName": ",",
|
|
"OutParamaterName": "组织上级"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "跳转URL",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=baseUrl&\"ReportPreview?id=\"&汇报ID"
|
|
},
|
|
"ID": "7d85d7a595884db08a148485d43c9406"
|
|
},
|
|
{
|
|
"$type": "ContentEditor.ContentEditor, ContentEditor",
|
|
"Content": "### [=汇报信息.汇报人&\"的\"&汇报信息.汇报对象&汇报信息.汇报类型]\r\n[=汇报信息.内容]",
|
|
"Result": "生成结果"
|
|
},
|
|
{
|
|
"$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin",
|
|
"Userid_list": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级"
|
|
},
|
|
"MsgType": "action_card",
|
|
"Text_Content": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=消息内容"
|
|
},
|
|
"Action_card_Btn_Type": "0",
|
|
"Action_card_Markdown": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成结果"
|
|
},
|
|
"Action_card_Title": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报信息.汇报人&\"提交的\"&汇报信息.汇报对象&汇报信息.汇报类型"
|
|
},
|
|
"Action_card_Single_title": "查看详情",
|
|
"Action_card_Single_Url": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=跳转URL"
|
|
},
|
|
"Action_card_Btn_orientation": "0",
|
|
"Action_card_Btn_list": [
|
|
{
|
|
"Title": "查看详情",
|
|
"Url": "https://www.baidu.com"
|
|
},
|
|
{
|
|
"Title": "更多...",
|
|
"Url": "https://www.baidu.com"
|
|
}
|
|
],
|
|
"Task_id": "钉钉消息任务ID"
|
|
}
|
|
],
|
|
"ID": "ce58e6d4-6549-4685-927d-b62537e585b0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |