You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.DataCheck.Helper.JCDLTB
|
|
|
|
|
{
|
|
|
|
|
public class JCDLTBDataCheckHelper : DataCheckHelper
|
|
|
|
|
{
|
|
|
|
|
public JCDLTBDataCheckHelper()
|
|
|
|
|
{
|
|
|
|
|
//ActiveTitle = "请点击“开始检查”按钮进行数据质量检查";
|
|
|
|
|
//DataCheckName = "JCDLTBDataCheck";
|
|
|
|
|
//CheckGroup = new List<DataCheckRuleGroup>();
|
|
|
|
|
//CheckGroup.Add(new JCDLTBDataCheckGroup());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override int ErrorNum
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return CheckGroup.Sum(s => s.ErrorNum);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override int WaringNum
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return CheckGroup.Sum(s => s.WaringNum);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override int ExceptionNum
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return CheckGroup.Sum(s => s.ExceptionNum);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|