整理一下项目文件

This commit is contained in:
艾竹
2022-10-28 22:45:39 +08:00
parent 334297b074
commit 513937c1d6
598 changed files with 684 additions and 544 deletions

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
using Util.DiagramDesigner;
using AIStudio.Wpf.DiagramDesigner;
using Expression = org.mariuszgromada.math.mxparser.Expression;
namespace AIStudio.Wpf.Flowchart
@@ -192,7 +192,7 @@ namespace AIStudio.Wpf.Flowchart
if (middleFlowNode.UserIds != null && middleFlowNode.UserIds.Count > 1)
{
//实际情况不是这样的,这里只是演示,简化。
int count = remark.Split("审批人:", StringSplitOptions.RemoveEmptyEntries).Length;
int count = remark.Split(new String[] { "审批人:" }, StringSplitOptions.RemoveEmptyEntries).Length;
if (middleFlowNode.UserIds.Count != count)
{
SetStatus(flowNode, 1, remark);
@@ -202,7 +202,7 @@ namespace AIStudio.Wpf.Flowchart
else if (middleFlowNode.RoleIds != null && middleFlowNode.RoleIds.Count > 1)
{
//实际情况不是这样的,这里只是演示,简化。
int count = remark.Split("审批人:", StringSplitOptions.RemoveEmptyEntries).Length;
int count = remark.Split(new String[] { "审批人:" }, StringSplitOptions.RemoveEmptyEntries).Length;
if (middleFlowNode.RoleIds.Count != count)
{
SetStatus(flowNode, 1, remark);