198 lines
6.9 KiB
JSON
198 lines
6.9 KiB
JSON
{
|
|
"Name": "检查未提交汇报",
|
|
"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_LoginUser"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Parameters": [
|
|
{
|
|
"Name": "用户名",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "汇报分类",
|
|
"TableValue": {
|
|
"TableName": "汇报记录表",
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "8c7fefdd-89ba-4046-9610-2eb651f01924",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报类型",
|
|
"GUID": "3af46d9c-128e-4759-ac26-7b44ff526d26"
|
|
},
|
|
"ColumnName": "汇报类型"
|
|
},
|
|
{
|
|
"GUID": "b3ce8f5a-ec2f-48df-a581-0b8b0a70d931",
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "行数",
|
|
"GUID": "93ad164e-0580-4c69-8080-a20159915eb2"
|
|
},
|
|
"ColumnName": "行数"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "ca3d940a-80e2-4bef-bc57-81a892e404f2"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=用户名"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "状态",
|
|
"GUID": "003daade-1d10-428e-97c7-871c4a5463ab"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "504ba365e40345e58ed4330479f11fc7"
|
|
},
|
|
{
|
|
"$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": "=汇报分类.Count"
|
|
}
|
|
},
|
|
"value": "0",
|
|
"compareType": 2
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "汇报模板",
|
|
"TableValue": {
|
|
"TableName": "汇报模板",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "6ef63570-9dbd-4eed-b248-27314bd25091",
|
|
"BindingInfo": {
|
|
"TableName": "汇报模板",
|
|
"ColumnName": "模板内容",
|
|
"GUID": "92c1dd1b-a89b-477b-bff6-045c5f40654b"
|
|
},
|
|
"ColumnName": "模板内容"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报模板",
|
|
"ColumnName": "ID",
|
|
"GUID": "ebddb57d-c0c8-4377-bfdd-70f4a77d6bda"
|
|
},
|
|
"Value": "4"
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "25ee65bc622248a18bc56bce614dd21a"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
|
"OperationParamaterPairs": [
|
|
{
|
|
"Name": "汇报列表",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报分类"
|
|
}
|
|
}
|
|
],
|
|
"OutParamaterName": "数据源"
|
|
},
|
|
{
|
|
"$type": "MustachePlugin.Render, MustachePlugin",
|
|
"DataSrouce": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报模板.模板内容"
|
|
},
|
|
"UseCustomsDataHash": true,
|
|
"CustomsDataHash": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=数据源"
|
|
},
|
|
"SetMaxRecursionDepth": 512,
|
|
"ResultTo": "输出结果"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
|
"NotificationName": "汇报提交提醒",
|
|
"SendType": 1,
|
|
"UserNames": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=用户名"
|
|
},
|
|
"Params": [
|
|
{
|
|
"Name": "标题",
|
|
"Value": "汇报等待提交"
|
|
},
|
|
{
|
|
"Name": "内容",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=输出结果"
|
|
}
|
|
}
|
|
],
|
|
"ID": "da6f51a2bf2c4ae3a857efb985c30fb7"
|
|
}
|
|
],
|
|
"ID": "990de595-2c5e-4431-9e9d-6a5bec691b53"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "完成"
|
|
}
|
|
]
|
|
} |