488 lines
17 KiB
JSON
488 lines
17 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": "8abbcee08d8c413dbed21601f8f7940b"
|
||
},
|
||
{
|
||
"$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": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||
"OperationParamaterPairs": [
|
||
{
|
||
"Name": "页面名称",
|
||
"Value": "汇报管理"
|
||
},
|
||
{
|
||
"Name": "打开方式",
|
||
"Value": "跳转页面"
|
||
},
|
||
{
|
||
"Name": "打开样式"
|
||
},
|
||
{
|
||
"Name": "主题",
|
||
"Value": "警告"
|
||
},
|
||
{
|
||
"Name": "传值"
|
||
},
|
||
{
|
||
"Name": "目标单元格"
|
||
}
|
||
],
|
||
"OutParamaterName": "参数对象"
|
||
},
|
||
{
|
||
"$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": "=\"你有\"&汇报数量&\"份汇报等待提交,赶紧来看看吧~\""
|
||
}
|
||
},
|
||
{
|
||
"Name": "类型",
|
||
"Value": "打开页面",
|
||
"Remark": "分为:打开页面、执行命令..."
|
||
},
|
||
{
|
||
"Name": "参数对象",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=参数对象"
|
||
}
|
||
}
|
||
],
|
||
"ID": "11518a616b094f43ba03d51ec355ed96"
|
||
}
|
||
],
|
||
"ID": "4a145f73-ec81-4433-95d6-a0277c514680"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||
"ParameterName": "用户信息",
|
||
"TableValue": {
|
||
"TableName": "用户信息视图",
|
||
"TableValueType": 1,
|
||
"BindingInfos": [
|
||
{
|
||
"GUID": "737ba7a1-1bd1-4fc4-a9bf-c4d0e0c14960",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "用户名",
|
||
"GUID": "432b3d3a-5938-4a3a-a50c-27e088ce33cc"
|
||
},
|
||
"ColumnName": "用户名"
|
||
},
|
||
{
|
||
"GUID": "02eb17f6-264f-47ab-a232-d093b10332bd",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "全名",
|
||
"GUID": "6b30f1ec-11c7-47d6-9815-46317a76a284"
|
||
},
|
||
"ColumnName": "全名"
|
||
},
|
||
{
|
||
"GUID": "225c0e6a-ff13-44a0-8b9c-c08264c87087",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "有效",
|
||
"GUID": "ee5fc1c8-a0ba-4765-83da-778797ab323f"
|
||
},
|
||
"ColumnName": "有效"
|
||
},
|
||
{
|
||
"GUID": "eebce87b-4edd-4810-bfaf-3689d0f49d6b",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "角色",
|
||
"GUID": "48d1d8a7-5a49-410f-8198-71b914e3c16e"
|
||
},
|
||
"ColumnName": "角色"
|
||
},
|
||
{
|
||
"GUID": "5a8e6ca1-8ad2-4112-aa10-23390619d568",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "组织上级",
|
||
"GUID": "b479463d-c2b9-4575-a8a9-af1111f5d1ae"
|
||
},
|
||
"ColumnName": "组织上级"
|
||
},
|
||
{
|
||
"GUID": "ce13ef50-27e5-4fa0-95d6-d3af621cb8a7",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "负荷",
|
||
"GUID": "f183fbe8-9e59-419e-b0c7-ad10341ac0df"
|
||
},
|
||
"ColumnName": "负荷"
|
||
},
|
||
{
|
||
"GUID": "0931c53d-202d-4ce7-b118-f6dbc5b3d94e",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "默认时薪",
|
||
"GUID": "4ead7539-801e-40f1-b997-82caf45e48d8"
|
||
},
|
||
"ColumnName": "默认时薪"
|
||
},
|
||
{
|
||
"GUID": "d3867fc4-27fc-4182-a884-4b0045e5be5f",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "GIT用户名",
|
||
"GUID": "846d92a2-0642-466e-9fc4-4a14b30be554"
|
||
},
|
||
"ColumnName": "GIT用户名"
|
||
},
|
||
{
|
||
"GUID": "7d04ac61-a167-4f48-b0ee-5ccd6089ab31",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "GIT密码",
|
||
"GUID": "13386273-6b17-47e2-a0d2-8b04d4279fca"
|
||
},
|
||
"ColumnName": "GIT密码"
|
||
},
|
||
{
|
||
"GUID": "2d3ec105-9701-4a40-b9f2-fb67df34ea77",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "公司",
|
||
"GUID": "8dcb7cbc-a359-4d95-809c-afa8e40d059c"
|
||
},
|
||
"ColumnName": "公司"
|
||
},
|
||
{
|
||
"GUID": "e09891db-df68-4888-8af9-2ed63c46e8d2",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "部门",
|
||
"GUID": "2c78952b-14a9-4d8c-8ce2-354e04d4e2df"
|
||
},
|
||
"ColumnName": "部门"
|
||
},
|
||
{
|
||
"GUID": "90ddaaf0-c7f5-4c34-a72e-d6a4e3803078",
|
||
"BindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "小组",
|
||
"GUID": "b09cb700-6bc3-4aa1-8c16-0dafe304372c"
|
||
},
|
||
"ColumnName": "小组"
|
||
}
|
||
],
|
||
"SqlCondition": {
|
||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||
"ColumnBindingInfo": {
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "用户名",
|
||
"GUID": "bbebf11d-ff33-4450-a28e-7a50bbdc6d56"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户名"
|
||
}
|
||
},
|
||
"NullFormulaValueQueryPolicy": 0,
|
||
"TopCount": "1"
|
||
},
|
||
"ID": "6abe2f6a515f4dd998f6674b6a48bf50"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||
"ConditionAndCommandPairList": [
|
||
{
|
||
"Condition": {
|
||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||
"SubConditions": [
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户信息.GIT用户名"
|
||
}
|
||
},
|
||
"value": "%Null%"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户信息.GIT密码"
|
||
}
|
||
},
|
||
"value": "%Null%"
|
||
}
|
||
],
|
||
"RelationType": 1
|
||
},
|
||
"CommandList": [
|
||
{
|
||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||
"OperationParamaterPairs": [
|
||
{
|
||
"Name": "页面名称",
|
||
"Value": "完善Gitee资料"
|
||
},
|
||
{
|
||
"Name": "打开方式",
|
||
"Value": "弹出窗口"
|
||
},
|
||
{
|
||
"Name": "打开样式",
|
||
"Value": "对话框"
|
||
},
|
||
{
|
||
"Name": "主题",
|
||
"Value": "警告"
|
||
},
|
||
{
|
||
"Name": "传值"
|
||
},
|
||
{
|
||
"Name": "目标单元格"
|
||
}
|
||
],
|
||
"OutParamaterName": "参数对象"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||
"NotificationName": "提醒通知",
|
||
"SendType": 1,
|
||
"UserNames": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户名"
|
||
},
|
||
"Params": [
|
||
{
|
||
"Name": "标题",
|
||
"Value": "请完善资料"
|
||
},
|
||
{
|
||
"Name": "内容",
|
||
"Value": "您的Gitee信息还未绑定,赶紧填写享受更多自动化功能吧~"
|
||
},
|
||
{
|
||
"Name": "类型",
|
||
"Value": "打开页面",
|
||
"Remark": "分为:打开页面、执行命令..."
|
||
},
|
||
{
|
||
"Name": "参数对象",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=参数对象"
|
||
}
|
||
}
|
||
],
|
||
"ID": "5aaaef1a24d842a18ce87024d2cbff7b"
|
||
}
|
||
],
|
||
"ID": "1aac1baa-622d-43f3-85ff-bee640c0c9ab"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||
"ConditionAndCommandPairList": [
|
||
{
|
||
"Condition": {
|
||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||
"SubConditions": [
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户信息.负荷"
|
||
}
|
||
},
|
||
"value": "%Null%"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户信息.默认时薪"
|
||
}
|
||
},
|
||
"value": "%Null%"
|
||
}
|
||
],
|
||
"RelationType": 1
|
||
},
|
||
"CommandList": [
|
||
{
|
||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||
"OperationParamaterPairs": [
|
||
{
|
||
"Name": "页面名称",
|
||
"Value": "个人中心"
|
||
},
|
||
{
|
||
"Name": "打开方式",
|
||
"Value": "跳转页面"
|
||
},
|
||
{
|
||
"Name": "打开样式"
|
||
},
|
||
{
|
||
"Name": "主题",
|
||
"Value": "警告"
|
||
},
|
||
{
|
||
"Name": "传值"
|
||
},
|
||
{
|
||
"Name": "目标单元格"
|
||
}
|
||
],
|
||
"OutParamaterName": "参数对象"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||
"NotificationName": "提醒通知",
|
||
"SendType": 1,
|
||
"UserNames": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=用户名"
|
||
},
|
||
"Params": [
|
||
{
|
||
"Name": "标题",
|
||
"Value": "请完善资料"
|
||
},
|
||
{
|
||
"Name": "内容",
|
||
"Value": "您的时薪、负荷等信息还未定义,可能会影响报工哦,赶紧来定义吧~"
|
||
},
|
||
{
|
||
"Name": "类型",
|
||
"Value": "打开页面",
|
||
"Remark": "分为:打开页面、执行命令..."
|
||
},
|
||
{
|
||
"Name": "参数对象",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=参数对象"
|
||
}
|
||
}
|
||
],
|
||
"ID": "da259cd75df340d4be185ce075a0df64"
|
||
}
|
||
],
|
||
"ID": "a4e5817f-618a-4bd5-8350-ad67db75174a"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": "0",
|
||
"Message": "完成"
|
||
}
|
||
]
|
||
} |