/// <summary>
            /// 验证上月日常任务的权重和等于100
            /// </summary>
            /// <returns></returns>
            private bool ValidateDailyWeightSum(Kingdee.BOS.Core.ExtendedDataEntity dataEntity)
            {
                var entityL = dataEntity["FEntityL"] as DynamicObjectCollection;

                if (entityL.Count > 0)
                {
                    float SumWeight = 0;
                    foreach (var row in entityL)
                    {
                        if (row["FLSrcID"].ToString() != "0")
                        {
                            SumWeight += float.Parse(row["FLWeight"].ToString());
                        }
                    }
                    if (SumWeight != 100)
                    {
                        return(false);
                    }
                }

                return(true);
            }
            //打分校验,不能超过105分
            private bool ValidatePreSum(Kingdee.BOS.Core.ExtendedDataEntity dataEntity)
            {
                var entityL = dataEntity["FEntityL"] as DynamicObjectCollection;

                if (entityL.Count > 0)
                {
                    float SumPre = 0;
                    foreach (var row in entityL)
                    {
                        if (row["FLSrcID"].ToString() != "0")
                        {
                            SumPre += float.Parse(row["FLDirectorGrade"].ToString());
                        }
                    }

                    if (SumPre > 105)
                    {
                        return(false);
                    }
                }

                return(true);
            }
            /// <summary>
            /// 验证上月负责任务的权重和等于100
            /// </summary>
            /// <returns></returns>
            private bool ValidateRespWeightSum(Kingdee.BOS.Core.ExtendedDataEntity dataEntity)
            {
                var entity = dataEntity["FEntityAL"] as DynamicObjectCollection;

                if (entity.Count > 0)
                {
                    float SumWeight = 0;
                    int   respCount = 0;
                    foreach (var row in entity)
                    {
                        if (row["FALIsResp"].ToString().Equals("True"))
                        {
                            SumWeight += float.Parse(row["FALWeight"].ToString());
                            respCount++;
                        }
                    }
                    if (respCount > 0 && SumWeight != 100)
                    {
                        return(false);
                    }
                }

                return(true);
            }