11
This commit is contained in:
@@ -50,7 +50,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
}
|
||||
if (this.drpIsALl.SelectedValue=="报警")
|
||||
{
|
||||
query = query.Where(t=>(t.RateBys<=2 && t.PMIBySNum<=2) || (t.RateByf<=2 && t.PMIByFNum<=2));
|
||||
query = query.Where(t=>(t.RateBys<=2 || t.PMIBySNum<=2) || (t.RateByf<=2 || t.PMIByFNum<=2));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtPipelineCode.Text))
|
||||
{
|
||||
@@ -98,7 +98,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||
itemLable.Text = rates.ToString() + "%";
|
||||
int PMIByFNum = Convert.ToInt32(labPMIByFNum.Text);
|
||||
labRateByf.Text = ratef.ToString() + "%";
|
||||
if ((rates <= 2 && PMIBySNum <= 2) || (ratef <= 2 && PMIByFNum <= 2))
|
||||
if ((rates <= 2 || PMIBySNum <= 2) || (ratef <= 2 || PMIByFNum <= 2))
|
||||
{
|
||||
e.RowCssClass = "color1";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user