mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-19 16:06:35 +08:00
整理一下项目文件
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user