Commit ff988c8c authored by tr's avatar tr

1、系统检查工具优化

parent 640d9c28
No preview for this file type
No preview for this file type
......@@ -165,7 +165,7 @@ namespace Tools.MyUtils
{
string filter = dt.DefaultView.RowFilter;
//按and和or拆分子字符串,并移除空串项(这个处理规则相对简单;其他复杂规则后续遇到时添加)
string[] sArray = filter.Split(new string[] { "and", "or", "AND", "OR", "And", "Or" }, StringSplitOptions.RemoveEmptyEntries);
string[] sArray = filter.Split(new string[] { " and ", " or ", " AND ", " OR ", " And ", " Or " }, StringSplitOptions.RemoveEmptyEntries);
foreach (string s in sArray)
{
string[] pair = s.Split('=');
......
......@@ -70,6 +70,9 @@
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
......@@ -293,7 +296,10 @@
this.Column11,
this.Column12,
this.Column13,
this.Column14});
this.Column14,
this.Column15,
this.Column16,
this.Column17});
this.dgvMessage.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMessage.Location = new System.Drawing.Point(0, 35);
this.dgvMessage.Name = "dgvMessage";
......@@ -458,33 +464,55 @@
//
// Column10
//
this.Column10.DataPropertyName = "KeyID";
this.Column10.HeaderText = "主键值";
this.Column10.DataPropertyName = "ModelName";
this.Column10.HeaderText = "模块名称";
this.Column10.Name = "Column10";
//
// Column11
//
this.Column11.DataPropertyName = "DocCode";
this.Column11.HeaderText = "单据编号";
this.Column11.DataPropertyName = "TypeName";
this.Column11.HeaderText = "检查类型";
this.Column11.Name = "Column11";
//
// Column12
//
this.Column12.DataPropertyName = "Flag";
this.Column12.HeaderText = "处理标志";
this.Column12.DataPropertyName = "TableName";
this.Column12.HeaderText = "表名";
this.Column12.Name = "Column12";
this.Column12.ToolTipText = "多个表名用逗号隔开";
//
// Column13
//
this.Column13.DataPropertyName = "Remark";
this.Column13.HeaderText = "错误描述";
this.Column13.DataPropertyName = "KeyName";
this.Column13.HeaderText = "主键字段";
this.Column13.Name = "Column13";
this.Column13.ToolTipText = "多个字段用逗号隔开";
//
// Column14
//
this.Column14.DataPropertyName = "InspectDate";
this.Column14.HeaderText = "筛查时间";
this.Column14.DataPropertyName = "KeyValue";
this.Column14.HeaderText = "主键值";
this.Column14.Name = "Column14";
this.Column14.ToolTipText = "多个值用逗号隔开";
//
// Column15
//
this.Column15.DataPropertyName = "Describe";
this.Column15.HeaderText = "功能描述";
this.Column15.Name = "Column15";
//
// Column16
//
this.Column16.DataPropertyName = "Flag";
this.Column16.HeaderText = "处理标记";
this.Column16.Name = "Column16";
this.Column16.ToolTipText = "未处理/已处理/忽略:默认为\"未处理\"";
//
// Column17
//
this.Column17.DataPropertyName = "CreateDate";
this.Column17.HeaderText = "生成日期";
this.Column17.Name = "Column17";
//
// wSysChecker
//
......@@ -562,5 +590,8 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
}
}
\ No newline at end of file
......@@ -162,25 +162,16 @@
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Column16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Column17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment