{"Message":"更新汇报提交为后端提交","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/汇报详情"},{"State":3,"Type":15,"Name":"ServerCommand/新增或更新汇报"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-04-19 20:27:55 +08:00
parent d2f8a2929a
commit 4cd6e3a821
3 changed files with 837 additions and 195 deletions

View File

@@ -745,19 +745,7 @@
}, },
{ {
"ModuleName": "PCPage/汇报详情", "ModuleName": "PCPage/汇报详情",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "SHAMUSPC\\NINGMEI",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-04-19T20:24:07.7308124+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\汇报\\汇报详情.json",
"Pages\\汇报\\汇报详情.rd",
"Pages\\484d3ed119274a60bf32f15d178cf60.json",
"Pages\\484d3ed119274a60bf32f15d178cf60.rd"
]
}, },
{ {
"ModuleName": "PCPage/汇报详情预览", "ModuleName": "PCPage/汇报详情预览",
@@ -1527,12 +1515,6 @@
}, },
{ {
"ModuleName": "ServerCommand/新增或更新汇报", "ModuleName": "ServerCommand/新增或更新汇报",
"State": 3,
"LockedBy": {
"UserName": "SHAMUSPC\\NINGMEI",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-04-19T20:19:13.0842415+08:00",
"ModuleType": 15 "ModuleType": 15
} }
] ]

View File

@@ -918,61 +918,79 @@
"VBalidate": true "VBalidate": true
}, },
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ParameterName": "查重", "ServerCommandName": "新增或更新汇报",
"TableValue": { "Parameters": [
"TableName": "汇报记录表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{ {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ColumnBindingInfo": { "ParamName": "汇报ID",
"TableName": "汇报记录表", "Value": {
"ColumnName": "汇报日期", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"GUID": "bfa57c21-5b54-4364-9723-25797b1bf079" "SerializeProperty": "=汇报详情!汇报ID"
}
}, },
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报日期",
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报详情!汇报日期" "SerializeProperty": "=汇报详情!汇报日期"
} }
}, },
{ {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ColumnBindingInfo": { "ParamName": "汇报人",
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "bbcdd314-2e11-425f-a96e-8a2f6ab8c916"
},
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报详情!N13" "SerializeProperty": "=汇报详情!用户全名"
} }
},
{
"$type": "Forguncy.Model.RequestServerCommandListviewParam, ServerDesignerCommon",
"ParamName": "汇报明细",
"ListviewName": "图文列表表格1",
"Columns": [
{
"ArrayItemName": "关联任务",
"Column": "关联任务"
},
{
"ArrayItemName": "类型",
"Column": "汇报类型"
},
{
"ArrayItemName": "工时",
"Column": "工时"
},
{
"ArrayItemName": "内容",
"Column": "汇报内容"
} }
] ]
}, },
"NullFormulaValueQueryPolicy": 0
},
"ID": "b28a57e2ead74b69bcd4556b633f4c9a"
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ParamName": "日报内容",
{ "Value": {
"Condition": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "SerializeProperty": "=汇报详情!Y5"
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "d56e41b2-4210-475c-a43e-39acb6b09ce7"
} }
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
}, },
"value": "%Null%" "ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "提交中"
}, },
"CommandList": [
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
@@ -983,143 +1001,41 @@
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [ "cellLocations": [
{ {
"SerializeProperty": "=查重" "SerializeProperty": "=code"
} }
] ]
}, },
"value": "0" "value": "0"
}, },
"CommandList": [ "CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"UpdateType": "add",
"ShowConfirm": false
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "提交中"
},
{ {
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "提交成功" "Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报详情!msg"
}
}, },
{ {
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
"ReloadData": true "ReloadData": true
} }
], ],
"ID": "5079bcad-ae33-493b-8cfb-0046f8211221" "ID": "c3ec838d-8cb0-4007-beb5-81948e4872e0"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning", "FunctionName": "warning",
"Message": "该日期已存在汇报,请前往列表中进行更新。" "Title": "温馨提示",
} "Message": {
],
"ID": "40a258d2-cf19-465b-8a16-4a23c7761c39"
}
]
}
],
"ID": "4d66724e-5282-4b3c-982a-f714711fb9f9"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=查重"
}
]
},
"value": "0"
},
{
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "汇报记录表",
"ColumnName": "汇报日期",
"GUID": "02d133fe-fc0a-4108-8459-0bcc5e066b18"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报详情!汇报日期" "SerializeProperty": "=汇报详情!msg"
}, },
"LeftBracket": 1 "BtnText": "知道了"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "c25ef18f-615f-4208-a32d-5c3f7df9d4e3"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报详情!N13"
},
"RightBracket": 1
}
]
} }
], ],
"RelationType": 1 "ID": "410265d8-8641-4d36-aa13-c2a57c589156"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"ShowConfirm": false
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "提交中"
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "保存成功"
}
],
"ID": "d4e0e1b5-8708-49a6-82e5-5510594b1dc0"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": "该日期已存在汇报,请前往列表中进行更新。"
}
],
"ID": "76611ddc-2e5d-4b74-9366-afeb5933bf0b"
}
]
}
],
"ID": "f868d27b-3f8d-4a93-b9f4-084b6f1cf1e5"
} }
] ]
} }
@@ -1488,4 +1404,4 @@
"Formula": "汇报详情!$Q$13" "Formula": "汇报详情!$Q$13"
} }
] ]
}//3L372o5H7piKyVq0RxIgq14yfSYO4Oi7uxdwt4vLYWYfl1KX8cfj0NlWGHEoCDvKRH7VdTFqkD8WjpwBtVxpFnVF9KmP6+GThjnDHy/wa+EQJ1+4uTTIcFu23516wrJDXdBrp+ycO7e5U/UbW53BqfoHcjz2ryopFaCOCbge8JZXFwEeBcBCaW0vum65QVlrE6YfGYU0LabSmiPSf9W/YeotF/sJEdf1EGD6BBHyR1LByrkpxsnNhGa+zcTLAyAPrwRFFS0zp8K/6POkqYcomGjITxHr43iGhBBaF6f3sgTABASXuq9iEs41Jczj+OGGlx1JPIUxVvPYRuWm4IjZMSWB+nCyiI64e5fccd9NKCGQuWzWg/NoSdlyeWRTxwRuI+szHmUHxOCdFlOSOuk2IpBCDuQeqQU4D8gLpZ/azSiYbz9/539rw9zHfU95RFy+VnxiVqBuTlEzb+KhKHyfGEjS7/93wrvl+WlgIuRyUdGhjwzcxCN0abl62CD8dZKdZXSAj6RiBOJfp0d0ObROYHJU/cCE4rp88xCTnKojkhwc9sBrrU2rN/EKAFnD2oC4tLtWq4pvJGB0xnbAj9J3H9XTrarUBbvL/HS+KGimRL5wAo6v7ZEF0zDTv2E41Q63ulmjB6Nt9LOf0MY/46MoBXNNMo0znhw7wGpLHRHb+RzAlHdhUbrREim7Vp1SOawmE77jOnRPnq8sMi/h1AkqrZDtR6CtiW7/9fCbmvR+SXslew/HuCvFAoeIO15Yrc+i9N12vfhfkTSbLLAiqd9WH02fo6yY559ZakoHdGnUEuJdT4g3fEVqF19TlaTP8JPmh8yMtlBkVqdqTKP+ONXnPYoAwNOe9z2lCao6fMV4lnOSlUUFZnpcodQmgayB1XQsmEU7mxpjEB/5/u49fH52ww==|920 }//bmYDNVy7tl0daXxrKTZz6310cE5OHsFvhh6vLYv6lhVNXl7xgYQk4oN2ggOQS6vJpf5iv6YNISMFY5cJMpXhs2NFFsHyYK8FUciBC5L4JdKq5dl8fiDUJdvuR70D9XIeratTTRfdHcD9TX1segjGUTErBdoGx9JtXnIWNBAkbfxpzkfLVqEXhvQYu14GDZ339nnOQHrWD5xQNYf7TE5+TV7GYen/46/uomCs1juZhMif1TV6vVUu+mJidBaovlPzqPeaGaGm/vCz7oFJNYsVaKv9UF0t1VlB9o4QjHlZh/k3gpNCXhcO3thw10k5zRRBkdk99dQdHPq7awyUDB9A1jhF3idWjuhzCGl72KNV4BLG2eklsrf6T/2+iX9FbLWLBVLGseTCh//IBq5ufbuVjn1rIA7hA/wzT29ZNgm9RU6g0RchdLngWw1vTv8xAzFnulKQjSgT5pFso1BgTAUVmJ4uLjblhlEUBsLzjEXwnjf4Pqjx1OT/LjrOxxEz5My+Nlq69MKgQc5jSgMvTBeNW4k+3A874fNMcJBQ2AQ2pPnjcUxhjNH7gCVrcXca9fbC89/O7YA0uSUV9vANoATelGSYJ+nRqbaT4IGqOp3anZOaZZEtcyVAKBtnITpxFKynrmFyj/s8xd9vYqfGAFXJQolRF9P+1N2zBX4iGlGMXDrJYskTQnGq2maXrRN/um044uY4Ks+67Q9abroxFbXducoo8qSJmXehM8+Zpspt6Y9JltC1LhQgXRI4zGzePJjH3W8qBBe5X/OiEhotIv8qcbmCqyJZzySq8Bm3XC+AIrzrUo/xBBekcoMjo+RaTx7PYcovmN6YgDG8zf5d0NNxcyxgPjqMCRs7b4fmRzA87gUrOKb3pkp1fMlYDCfdOmR3fpHPwfE415sFDv7rk5ieCA==|920

View File

@@ -0,0 +1,744 @@
{
"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": "汇报ID",
"DataValidationInfo": {}
},
{
"Name": "汇报日期",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "汇报人",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Type": 1,
"ArrayParamItems": [
{
"Name": "关联任务",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "类型",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "工时",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "内容",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
],
"OnlySendChangedData": true,
"PrimaryKeys": [
"ID"
],
"Name": "汇报明细",
"DataValidationInfo": {}
},
{
"Name": "日报内容",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$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%"
},
"CommandList": [
{
"$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": "153292c4-4458-4a38-ac97-01a89b05d6a3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报日期"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报日期",
"GUID": "c5da8913-a852-4545-9915-d6c684a51acd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "717938b05b37453b89964aa76c0a00be"
},
{
"$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"
},
"CommandList": [
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报日期",
"GUID": "605c317b-6961-4b73-b0d8-79b9ea2f899c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报日期"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "7616ccd1-7a40-48e1-a0f2-c10712db3125"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "概要",
"GUID": "e9428f1a-c56e-40e0-9e75-261f15bd7791"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报内容"
}
}
],
"ParamNameToSaveNewRowValue": "新汇报"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报明细.AddRows"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "e82cf278-17e8-427b-8e7e-3d0c12ce6a16"
},
"ColumnName": "项目ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "9bdf7dd4-0b78-4171-ac4a-a9cb341d749b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "5e28deed642c475c8c5e3577469600ff"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报子表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报ID",
"GUID": "17336f2f-f714-4d57-b1f3-5b16a5f762cf"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新汇报.ID"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报类型",
"GUID": "cf09427d-9916-4948-a42b-6dfa9e2bdb11"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.类型"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报内容",
"GUID": "c5e53095-abdc-44b4-8a71-bf58248e3e2c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.内容"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "工时",
"GUID": "5ed4666b-1698-4230-9359-6f7b714be2c7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.工时"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联任务",
"GUID": "5b1d3d04-ee0d-4680-860d-ec58ed8128b4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联项目",
"GUID": "a335af77-c9b7-44d5-9376-100c43922c7f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(任务信息=\"\",\"\",任务信息.项目ID)"
}
}
]
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "新增汇报成功"
}
],
"ID": "f3a62e0f-37ae-4999-a3a1-913560bf8c45"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "当前日期已有汇报,请勿重复提交。"
}
],
"ID": "3994761a-4dec-4bb1-a512-c7e16fc3002b"
}
]
}
],
"ID": "fd9e04ba-018e-4129-9689-7f8077cfafb4"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "校验",
"TableValue": {
"TableName": "汇报记录表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "62d19b6d-67ee-470c-a51b-00af22ed90ce"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "a074360e88e34de795e814cde170544a"
},
{
"$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.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "ef6692e1-676b-4bc0-a56b-2c23de4b1709"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报日期",
"GUID": "b138985e-5591-405c-8395-f4388f10abb0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报日期"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "aee4427c-5235-475d-9d9d-151d74eaebb9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "概要",
"GUID": "ae164cbc-c6e4-4284-a6ee-9a9b05c3db49"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报内容"
}
}
],
"ParamNameToSaveNewRowValue": "新汇报"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报明细.AddRows"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "e82cf278-17e8-427b-8e7e-3d0c12ce6a16"
},
"ColumnName": "项目ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "9bdf7dd4-0b78-4171-ac4a-a9cb341d749b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "0cb01adf1b394e5190a3c96b1334c57c"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报子表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报ID",
"GUID": "14712eb6-c8ba-4bce-ab2d-0eb0445d42e1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报ID"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报类型",
"GUID": "840eb53f-3609-42ef-862f-b2b502224c32"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.类型"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报内容",
"GUID": "0fbb014b-4603-46a6-90ba-ef78f1489c02"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.内容"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "工时",
"GUID": "05bfd3e5-59ff-4c68-837e-46b13e76889e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.工时"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联任务",
"GUID": "f3374449-4155-4c81-898e-45033103f6d7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联项目",
"GUID": "ec003738-17f1-4fb1-aef6-19a928a5ecdb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(任务信息=\"\",\"\",任务信息.项目ID)"
}
}
]
}
]
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报明细.EditRows"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "e82cf278-17e8-427b-8e7e-3d0c12ce6a16"
},
"ColumnName": "项目ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "9bdf7dd4-0b78-4171-ac4a-a9cb341d749b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "0cb01adf1b394e5190a3c96b1334c57c"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报子表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报子表",
"ColumnName": "ID",
"GUID": "e0f1f512-c839-4003-b23c-3cab7e12224c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报类型",
"GUID": "38c3e81d-1d3d-42dd-857a-87b1141d432d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.类型"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "汇报内容",
"GUID": "a881bb23-9979-4700-a053-b8e22685059f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.内容"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "工时",
"GUID": "1f8ec991-b906-48d8-9176-8f778d8b80a6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.工时"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联任务",
"GUID": "e589f2cf-36f4-4f47-b63f-76ab55db35db"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.关联任务"
}
},
{
"BindingInfo": {
"TableName": "汇报子表",
"ColumnName": "关联项目",
"GUID": "35ecf7f5-c956-4f2b-8170-51ff89419f76"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(任务信息=\"\",\"\",任务信息.项目ID)"
}
}
]
}
]
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报明细.DeleteRows"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报子表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报子表",
"ColumnName": "ID",
"GUID": "e0f1f512-c839-4003-b23c-3cab7e12224c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
}
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "编辑汇报成功"
}
],
"ID": "bc88bce3-35b3-44ae-96c7-3c7924397e9a"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "汇报记录不存在,无法为你修改!"
}
],
"ID": "8afec850-33fc-4368-a789-47258ff50df8"
}
]
}
],
"ID": "d6850565-93b6-404c-99f5-dcd7d4aed1e7"
}
]
}
]
}