|
|
@@ -273,20 +273,7 @@ namespace UAS_MES.OQC
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- sql.Clear();
|
|
|
- sql.Append("select wm_concat(oi_itemcode) codes from OQCitems where ");
|
|
|
- sql.Append("nvl(oi_checkqty,0)<oi_sampleqty and oi_sampleqty>0 and rownum<30 and oi_checkno='" + ob_checkno.Text + "'");
|
|
|
- dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
|
|
|
- if (dt.Rows.Count > 0)
|
|
|
- {
|
|
|
- if (dt.Rows[0]["codes"].ToString() != "")
|
|
|
- {
|
|
|
- OperateResult.AppendText(">>项目编号抽检数未达到样本数,项目编号[" + dt.Rows[0]["codes"].ToString() + "]\n", Color.Red);
|
|
|
- return false;
|
|
|
- }
|
|
|
- else
|
|
|
- return true;
|
|
|
- }
|
|
|
+ return true;
|
|
|
}
|
|
|
}
|
|
|
else OperateResult.AppendText(">>状态未在检验中的批次不允许进行判断\n", Color.Red);
|