{"Message":"优化删除工时的逻辑","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/任务-工时"},{"State":3,"Type":15,"Name":"ServerCommand/删除指定工时记录"}],"Version":"v1"}

This commit is contained in:
cuckooent
2025-07-01 10:59:16 +08:00
parent 30aa99f4b0
commit e2b1545b99
4 changed files with 334 additions and 65 deletions

View File

@@ -758,19 +758,7 @@
}, },
{ {
"ModuleName": "PCPage/任务-工时", "ModuleName": "PCPage/任务-工时",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "cuckooent",
"Email": "phoben@qq.com"
},
"LockDateTime": "2025-07-01T10:55:51.1385918+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务-工时.json",
"Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务-工时.rd",
"Pages\\94f8bae36aee4ae7aec2a063ca731b1.json",
"Pages\\94f8bae36aee4ae7aec2a063ca731b1.rd"
]
}, },
{ {
"ModuleName": "Pages/项目/项目首页/项目首页-容器页面/项目发布", "ModuleName": "Pages/项目/项目首页/项目首页-容器页面/项目发布",
@@ -2734,12 +2722,6 @@
}, },
{ {
"ModuleName": "ServerCommand/删除指定工时记录", "ModuleName": "ServerCommand/删除指定工时记录",
"State": 3,
"LockedBy": {
"UserName": "cuckooent",
"Email": "phoben@qq.com"
},
"LockDateTime": "2025-07-01T10:51:48.9379734+08:00",
"ModuleType": 15 "ModuleType": 15
} }
] ]

View File

@@ -142,10 +142,33 @@
"BreakpointIdentity": "76cf85a7-0bd6-46d7-9ce1-9056d3b41cdd" "BreakpointIdentity": "76cf85a7-0bd6-46d7-9ce1-9056d3b41cdd"
} }
], ],
"ID": "8f5f68f4-138a-41a0-a979-f9cec2f358d7" "ID": "952ecdcf-51d3-46e5-b884-83ba1d2d566e"
}, },
{ {
"CommandList": [ "CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "删除指定工时记录",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "报工记录ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!D5"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true,
"BreakpointIdentity": "6373c452-b1f4-4d28-9ad3-a6f91514d483"
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
@@ -153,49 +176,55 @@
"Condition": { "Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": { "param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"tableData": { "cellLocations": [
"TableName": "任务工时表", {
"ColumnName": "请款单ID", "SerializeProperty": "=code"
"GUID": "053c6c3b-105f-4fb4-a7d7-0d84a6357d03"
} }
]
}, },
"value": "%Null%" "value": "0"
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "$type": "ElementUI.Commands.ShowMessage, ElementUI",
"TableName": "任务工时表", "Message": {
"UpdateType": "delete", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"ShowConfirm": true, "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg"
"ConfirmText": "您确定要删除吗?", },
"BreakpointIdentity": "6a7e71b4-6d63-4efe-891c-299c6d12ce20" "Type": "success",
"Duration": 3000,
"BreakpointIdentity": "279c891f-505a-4e47-9834-f5c7f55f6bca"
} }
], ],
"ID": "489c24cd-a01a-434a-99f5-4a3bc9c07225" "ID": "2cfceed9-0986-457b-a0d3-3a91f74328ec"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", "$type": "ElementUI.Commands.ShowMessage, ElementUI",
"FourStandardStyle": "warning", "Message": {
"Message": "该报工已请款,无法删除", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"BreakpointIdentity": "2a5a8ca0-6bc5-4798-bd07-f61e93bebf09" "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg"
},
"Type": "error",
"Duration": 3000,
"BreakpointIdentity": "a438653b-0d00-4ea5-82ad-1fe365eeb889"
} }
], ],
"ID": "25ef42b2-652b-4352-abda-681b7d61aa3a" "ID": "906d0dd4-b3a8-4895-ae42-ae099ff55d8f"
} }
], ],
"BreakpointIdentity": "6d2978af-1508-4986-8d05-d99170c5ae1c" "BreakpointIdentity": "384d57bb-22a0-4bca-9571-464f75c35fd1"
} }
], ],
"ID": "60f99358-4891-43b2-830b-3a8fe7fe36c3" "ID": "656832e4-5482-48dc-bc01-d5f99fa1bcb6"
} }
], ],
"BreakpointIdentity": "db9dace3-d983-43c9-b0fb-5b122de1b7b1" "BreakpointIdentity": "db9dace3-d983-43c9-b0fb-5b122de1b7b1"
} }
], ],
"ID": "22369e3c-4905-4ae5-a9b2-982d907271d5" "ID": "4eab16ca-7344-4d52-8984-eabd3816531d"
} }
], ],
"BreakpointIdentity": "d83fc4a3-8e3e-4206-82be-d50f1be8fc4a" "BreakpointIdentity": "d83fc4a3-8e3e-4206-82be-d50f1be8fc4a"
@@ -220,6 +249,9 @@
}, },
"2,3": { "2,3": {
"TemplateCellSource": "执行内容" "TemplateCellSource": "执行内容"
},
"4,3": {
"TemplateCellSource": "ID"
} }
}, },
"StyleDatas": { "StyleDatas": {
@@ -265,4 +297,4 @@
"PaperSize": {}, "PaperSize": {},
"Margin": {} "Margin": {}
} }
}//PNj3PjGpR2XliCC9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fxKqRvng29cDsR4RJ+9ax5a+VBvuW8o28daJnRGBogTSLJhgi8E61TPp1mLMFpA4FaprA90zs3r3KYSVqYVzX38jmKeSLyptRSpRej8IY9ShTqLZKM+zTciU519PCNaM2D1VS++prwqHmZFNbKi3obNSUTr6PVyMgYk3aqiEFFjfUcnSEgaURpxc+2n82k65SnJu+/FA/RbUDoz3C3jZcu2jNsMLX47eRvtwUycgSFdpB2Y6ssC8zz3+uOL4fejcV3b6BybAvusv86AZLkCtbQ60UwFqhVlnnagkX4KCq4Reid3FApimC/NnW6uZ/IusiRgj/YsmIVi25bEZS4jxYtlGo0gql2eVIFtc7wttsJ+poMQha46vD13zrIAGE9R+t28vwKRTnnrhnX74nllH2Y80yanE3xSn/KzqwZjlLLRxJKFxtEaWbQjJEp7y6CSis7QGIoeeuLDgz7BvGborMyiu3UreBOq/F50Xq/GtGKwYUqlY4tJZN16JIxdx0fRj7+w9xV6asR5THxxePFPPpL3n+QC9aPriGw4Y7TMPXOq07Ai/0Z7+sZChjsyhWRKds0b0UsRKjC5rZ0lyFVX94l0IFSTbpYgUDZk/dmR4G1mHZP5Pvp89yks4rVzhJKa4I+xddu5hnD7LuZ1kAgcIgQBi84l3vt8UcmDh+yjyuQUMHsGIGMD/snT61tbEqaxH0QtQURSCsQYyUMCvsoCYPiPaOYFor8ulM8n4zd92hKg==|920

View File

@@ -325,7 +325,7 @@
"BreakpointIdentity": "c63ddde1-6b38-48ff-af2d-f94f339ad339" "BreakpointIdentity": "c63ddde1-6b38-48ff-af2d-f94f339ad339"
} }
], ],
"ID": "13322024-867e-4e39-8f12-d9f2b09280b8" "ID": "5a576b7d-d3b1-44d7-8001-0a0df6e16e9f"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -366,13 +366,13 @@
"BreakpointIdentity": "1c6065dd-6956-4224-b96d-e66cb64facef" "BreakpointIdentity": "1c6065dd-6956-4224-b96d-e66cb64facef"
} }
], ],
"ID": "93278b2c-8759-4b9e-819a-9a30c2d563b0" "ID": "acef38ae-4fa6-4d7f-afe5-6f6d219f1e8d"
} }
], ],
"BreakpointIdentity": "c8f7fd26-9140-4588-bc62-cd101078273b" "BreakpointIdentity": "c8f7fd26-9140-4588-bc62-cd101078273b"
} }
], ],
"ID": "4a6fdf06-a30d-46e8-b7ac-58b1ea5b3a00" "ID": "e2ac2b2a-23a6-4e8f-98c1-b68591534b81"
} }
], ],
"BreakpointIdentity": "14d49222-8aac-44b5-b857-242bbadcf023" "BreakpointIdentity": "14d49222-8aac-44b5-b857-242bbadcf023"
@@ -429,7 +429,7 @@
"BreakpointIdentity": "b48fc0a4-ffae-4c92-9133-0b0194355db4" "BreakpointIdentity": "b48fc0a4-ffae-4c92-9133-0b0194355db4"
} }
], ],
"ID": "6bdca5aa-65b3-4f85-87d8-0352b9501d55" "ID": "5eb1dfc3-d267-4123-80d4-ea1e02d2c7a2"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -440,13 +440,13 @@
"BreakpointIdentity": "9e8860a0-cf0e-4157-8f2c-cd1e267ef988" "BreakpointIdentity": "9e8860a0-cf0e-4157-8f2c-cd1e267ef988"
} }
], ],
"ID": "f79e1a4f-8022-4b19-9116-5fd64aeddd4d" "ID": "3f12232f-4821-47a0-bf4b-f1bc3a7397be"
} }
], ],
"BreakpointIdentity": "1a6dd2e2-c39d-41f0-a3f9-7e2f14ed04b3" "BreakpointIdentity": "1a6dd2e2-c39d-41f0-a3f9-7e2f14ed04b3"
} }
], ],
"ID": "f5506fb6-ab67-4e20-b0a3-e6b795af6bd8" "ID": "fa21a1ac-be2b-46fe-8e9c-faf2e1bf1fa1"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -487,13 +487,13 @@
"BreakpointIdentity": "52173cd6-8405-49a1-bac5-0206cf2ea95e" "BreakpointIdentity": "52173cd6-8405-49a1-bac5-0206cf2ea95e"
} }
], ],
"ID": "09f82996-45e9-4a94-82ae-9990b1c77474" "ID": "935bb931-a8ff-407d-95c2-d508b418250f"
} }
], ],
"BreakpointIdentity": "2452925f-ace5-4060-9029-82b1edcfa3d2" "BreakpointIdentity": "2452925f-ace5-4060-9029-82b1edcfa3d2"
} }
], ],
"ID": "eb96b32e-a982-40b5-b9a4-ea6d03a8b27a" "ID": "016a5527-4fe6-4348-b6bc-395f04e5bb7e"
} }
], ],
"BreakpointIdentity": "ed9f0cbb-8437-4480-b247-5b98cd6150ec" "BreakpointIdentity": "ed9f0cbb-8437-4480-b247-5b98cd6150ec"
@@ -548,7 +548,7 @@
"BreakpointIdentity": "2358f00c-24d0-4e1c-b44a-64b275a6b15f" "BreakpointIdentity": "2358f00c-24d0-4e1c-b44a-64b275a6b15f"
} }
], ],
"ID": "d2c16f9f-1692-42af-a694-5b56a950a6cf" "ID": "7c5c024c-d4de-46b4-ad32-a19ae0f81396"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -589,13 +589,13 @@
"BreakpointIdentity": "07bd0b3e-53b3-4b9e-9ee0-fee908472bdf" "BreakpointIdentity": "07bd0b3e-53b3-4b9e-9ee0-fee908472bdf"
} }
], ],
"ID": "a95b5d08-3d4d-476e-ae1d-cf4a3a5be0fb" "ID": "193f7218-c100-4db5-bfb1-9e3fc9a3f833"
} }
], ],
"BreakpointIdentity": "88ef1769-aa83-4e93-b80c-34cf6ca29567" "BreakpointIdentity": "88ef1769-aa83-4e93-b80c-34cf6ca29567"
} }
], ],
"ID": "82854685-ae66-47fa-af40-0ba86cbbd039" "ID": "84ecda9b-519d-4f06-9ea7-928bd6665eb6"
} }
], ],
"BreakpointIdentity": "f694ea40-2bc0-4336-aa84-a5480a953f61" "BreakpointIdentity": "f694ea40-2bc0-4336-aa84-a5480a953f61"
@@ -677,7 +677,7 @@
"BreakpointIdentity": "621db91f-4b69-474f-a51e-7ee310e7f0d0" "BreakpointIdentity": "621db91f-4b69-474f-a51e-7ee310e7f0d0"
} }
], ],
"ID": "c05633eb-704e-4c10-a207-71ab6deb4b3c" "ID": "6604a572-91e3-4965-b380-f5825f37a29a"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -688,13 +688,13 @@
"BreakpointIdentity": "d332dc0c-91d3-42b4-8e47-60c560eb75f9" "BreakpointIdentity": "d332dc0c-91d3-42b4-8e47-60c560eb75f9"
} }
], ],
"ID": "635f8356-b811-4ad2-a5df-5e6042390623" "ID": "cecb5a37-0b77-45c8-b94a-ac5158cd41cb"
} }
], ],
"BreakpointIdentity": "57241bb1-46b0-4ac3-8f43-01ba33cfce3a" "BreakpointIdentity": "57241bb1-46b0-4ac3-8f43-01ba33cfce3a"
} }
], ],
"ID": "bb7b593f-5daf-4290-bf12-259a6c9f52ef" "ID": "e1a8c8e1-ea97-4510-9531-f8cfe2b5e8c8"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -735,19 +735,19 @@
"BreakpointIdentity": "56972b78-27b3-4197-82f4-cb1287a1f44d" "BreakpointIdentity": "56972b78-27b3-4197-82f4-cb1287a1f44d"
} }
], ],
"ID": "f2686041-87d3-44f0-9626-c9633017c5cd" "ID": "9f53714d-ad5e-405d-8567-f03f26f7f898"
} }
], ],
"BreakpointIdentity": "30b9a8e7-1eb0-4648-942a-528bf3267c97" "BreakpointIdentity": "30b9a8e7-1eb0-4648-942a-528bf3267c97"
} }
], ],
"ID": "1aa8049c-f17e-4e26-b393-7a3b5509d218" "ID": "44c3ae09-0d02-4c20-af57-21ca3e93c145"
} }
], ],
"BreakpointIdentity": "5a51bbd2-7d60-4944-a8e3-f3d65e357955" "BreakpointIdentity": "5a51bbd2-7d60-4944-a8e3-f3d65e357955"
} }
], ],
"ID": "9d3cc6fd-6e7c-401e-aabc-c453dec533f6" "ID": "1f2eb3e4-7be2-4986-917f-a7fed237f98d"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -758,7 +758,7 @@
"BreakpointIdentity": "25c20408-229f-43c8-97be-d0dacc9ec10c" "BreakpointIdentity": "25c20408-229f-43c8-97be-d0dacc9ec10c"
} }
], ],
"ID": "d11e0856-c1f4-4185-b3ca-ecf5eff8e922" "ID": "50639dc4-4f50-4d90-8df1-fd4bf9836a48"
} }
], ],
"BreakpointIdentity": "b3aaa4f4-a5cc-421d-82f1-cbed0d38d932" "BreakpointIdentity": "b3aaa4f4-a5cc-421d-82f1-cbed0d38d932"
@@ -1000,7 +1000,7 @@
"BreakpointIdentity": "a7e86905-a9f8-4602-9f1f-50def1968cb9" "BreakpointIdentity": "a7e86905-a9f8-4602-9f1f-50def1968cb9"
} }
], ],
"ID": "001c04a2-d907-48a5-a343-26ffc1f1f7d3" "ID": "d377a6a8-27f2-42ee-afd9-91d800041100"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -1021,7 +1021,7 @@
"BreakpointIdentity": "9c0973ea-b868-4743-9bed-4acb707cd122" "BreakpointIdentity": "9c0973ea-b868-4743-9bed-4acb707cd122"
} }
], ],
"ID": "898ee999-2218-48c7-9a7a-b153630bd40e" "ID": "0a54b4dd-96a8-4b2f-aa9a-aacd948a308b"
} }
], ],
"BreakpointIdentity": "776196f0-06d0-4593-8cac-76350cd25e39" "BreakpointIdentity": "776196f0-06d0-4593-8cac-76350cd25e39"
@@ -1059,7 +1059,7 @@
"BreakpointIdentity": "2e34506e-5ea1-4134-a6fd-bdbc4d2387e1" "BreakpointIdentity": "2e34506e-5ea1-4134-a6fd-bdbc4d2387e1"
} }
], ],
"ID": "432c2749-6f40-4496-8556-f5a1491449f7" "ID": "01f75832-0753-47a1-906d-a2f72e708703"
} }
], ],
"BreakpointIdentity": "5e2975f6-f6a2-4e44-9a9d-dcfc5fabe671" "BreakpointIdentity": "5e2975f6-f6a2-4e44-9a9d-dcfc5fabe671"
@@ -1432,4 +1432,4 @@
"Formula": "'任务-工时'!$V$14" "Formula": "'任务-工时'!$V$14"
} }
] ]
}//t30PAlTK65kb6Jvbo3824jyDz0uATJ075i9J472JkDmJhPBZ945fVJ8X0CWIF8wiRjG+e1h3PylOmXw4VlEf/J2EAKRrFZHbeP5iUUfTK8iW+KEmHdY2utD//6GOaAuceI0LCoWobScOBPQEPEn3DVenzFybn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QaP6LuEmC4ANfg+UrqIRchY3ZVL1mys05/RSGzPBt4KOi9PmyOpwhnoMJKHEBcI4L+tjbhJrwkcuI/LKwExNCZQmM933trpbQqMNHAj33SNMYZnTazE3WmbNemWPSfl9/A7OMDiKFC1LNppurb1pxIOMuJ68JXVPBnEnscz4VD7Pz90KnEvG3leDCo2tqnm6KYMTI1k3zVXe88ypwO9FFwFzmi0xecwim89x4DvdFHxazFQTJQpM5a4xt4C/SAchhefYjMNrCbUl11KybmmytygypwFdK7Eod0qxXDKXj5mszSWeCfaz1j4WUyJn7r/mO7AYlNYq83swkyarY2coQycKtmpujjOymaABayTzOIeyE91uKcR30P7MabhWEiRBy3RmRep5/lpN6JH+mWCA5rRExTPii8E6mhWmDVLSN6wOShrRzokidGoWVEKDpcqzotDjW+CYzwodCKsaLpGxdLeCHsKJS9qPmHH2E5/sMCD8OrJkkz+xRvxJV5/in/lAKjIWatZxJmHvdNuENwZAwJ2M9IxcBfntd27MPsusepPBwOHzAHAnK4ojnEmVccK7wyA7fB2YKZDEfw==|920

View File

@@ -0,0 +1,255 @@
{
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
"Name": "删除指定工时记录",
"Enabled": true,
"Triggers": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": {
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [
"FGC_LoginUser"
]
}
}
]
}
}
},
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "报工记录ID",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
}
}
]
}
}
]
},
"Commands": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "工时记录",
"TableValue": {
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
"TableName": "任务工时表",
"TableValueType": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "8cb2d082-9177-4961-b9f0-4f74fe93ae21",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表",
"ColumnName": "请款单ID",
"GUID": "110942a9-ed84-412e-8d9f-61c23b3be90d"
},
"ColumnName": "请款单ID"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "4dbdb3c8-735e-4f36-96a4-99e46cb18a10",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表",
"ColumnName": "请款单ID",
"GUID": "c6a25c68-f5a0-4df6-aefb-3190dc310229",
"RelationBinding": {
"$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess",
"RelatedTable": "收益请款单表",
"RelatedColumn": "ID",
"DisplayColumn": "状态"
}
},
"ColumnName": "状态"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "4e964c2d-d280-4120-9b84-3fdb236ba791"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=报工记录ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "64833fdb10c6450387ee29f839fbc214",
"BreakpointIdentity": "7c6e2f4f-a916-425d-a0f0-5b6ff2c86a57"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时记录.请款单ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时记录.状态"
}
},
"value": "4",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "该报工已提交请款,无法删除!",
"BreakpointIdentity": "3f8c8853-8f2c-41ee-9140-0a08ddfbb358"
}
]
},
"ID": "b717d9d3-09d6-431b-8198-2f4fa0c958c1"
}
]
},
"BreakpointIdentity": "047829f5-3c10-4e2a-9a35-8f1056511f82"
}
]
},
"ID": "9c3c92ab-3178-4094-8fb9-ce219643c6e0"
}
]
},
"BreakpointIdentity": "16fd8378-9979-4601-ba3d-f81d7d760a07"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务工时表",
"UpdateType": "delete",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "c931e430-8dc5-4272-977d-030a1c5f1931"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=报工记录ID"
}
},
"BreakpointIdentity": "3ca3ebcf-6629-4295-bfb0-6f8e0bdd203c"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "删除成功",
"BreakpointIdentity": "3fb8c5e1-e89f-45e9-96f8-b2fa06dd77ac"
}
]
},
"ID": "058fd8d4-9d99-46a8-bb29-b1638b5ee6aa"
},
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "记录不存在",
"BreakpointIdentity": "a5c96077-c61d-46ac-8816-fb9914b4c302"
}
]
},
"ID": "f3b8d30e-8823-4b0c-82a9-0242f9869b61"
}
]
},
"BreakpointIdentity": "a785b493-bc6c-4aa3-8e34-15950a07e61b"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": []
}
}