182 lines
6.4 KiB
JSON
182 lines
6.4 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": "汇报记录表",
|
|
"TableValueType": 3,
|
|
"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": "d90d23e183f241a48bc0e424d9f4fbd9"
|
|
},
|
|
{
|
|
"$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",
|
|
"compareType": 2
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "汇报模板",
|
|
"TableValue": {
|
|
"TableName": "汇报模板",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "9ddb957d-47ed-4323-9ccb-28e0aca8104d",
|
|
"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": "0c415a6101b74f079857656997280c17",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
|
"OperationParamaterPairs": [
|
|
{
|
|
"Name": "汇报列表",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报数量"
|
|
}
|
|
}
|
|
],
|
|
"OutParamaterName": "数据源",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$type": "MustachePlugin.Render, MustachePlugin",
|
|
"DataSrouce": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报模板.模板内容"
|
|
},
|
|
"UseCustomsDataHash": true,
|
|
"CustomsDataHash": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=数据源"
|
|
},
|
|
"SetMaxRecursionDepth": 512,
|
|
"ResultTo": "输出结果",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "1063eb84a28b4d2b93edbced4f6a07f8"
|
|
}
|
|
],
|
|
"ID": "8a1bb6b7-fc52-48a2-b181-34c2ab99a6c0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "完成"
|
|
}
|
|
]
|
|
} |