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.
42 lines
1001 B
42 lines
1001 B
using System.Collections.Generic; |
|
using System.Linq; |
|
|
|
namespace Kingo.Plugin.DataCheck.Helper.JCCZCDYD |
|
{ |
|
public class JCCZCDYDDataCheckHelper : DataCheckHelper |
|
{ |
|
public JCCZCDYDDataCheckHelper() |
|
{ |
|
ActiveTitle = "请点击“开始检查”按钮进行数据质量检查"; |
|
CheckGroup = new List<DataCheckRuleGroup>(); |
|
CheckGroup.Add(new JCCZCDYDDataCheckGroup(UpdateInfo)); |
|
} |
|
public void UpdateInfo(object obj) |
|
{ |
|
} |
|
|
|
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); |
|
} |
|
} |
|
} |
|
}
|
|
|