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.
44 lines
1.1 KiB
44 lines
1.1 KiB
2 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Stone.WinModule.Quality
|
||
|
{
|
||
|
public partial class frmDataQuality : Stone.WinModule.BasicData.frmBaseMain
|
||
|
{
|
||
|
public frmDataQuality()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
|
||
|
this.ReadOnly();
|
||
|
|
||
|
this.tlbView.Visible = false;
|
||
|
}
|
||
|
|
||
|
public override void Search(string code)
|
||
|
{
|
||
|
if (code == "")
|
||
|
{
|
||
|
strWhere = "1=1";
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
strWhere = " [productionNumber] like '%" + code + "%' or ";
|
||
|
strWhere += " [itemNumber] like '%" + code + "%' or ";
|
||
|
strWhere += " [description] like '%" + code + "%' or ";
|
||
|
strWhere += " [CarModelCode] like '%" + code + "%' or ";
|
||
|
strWhere += " [State] like '%" + code + "%' or ";
|
||
|
strWhere += " [Reason] like '%" + code + "%' ";
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|