|
@@ -37,7 +37,7 @@ namespace UAS_MES.OQC
|
|
|
{
|
|
{
|
|
|
if (CheckStep())
|
|
if (CheckStep())
|
|
|
{
|
|
{
|
|
|
- DataTable temp = dh.getFieldsDatasByCondition("makeserial", new string[] { "nvl(ms_ifrework,0)ms_ifrework", "ms_reworkcheckno" }, "upper(ms_sncode)='" + ms_sncode.Text.ToUpper() + "' order by ms_id desc");
|
|
|
|
|
|
|
+ DataTable temp = dh.getFieldsDatasByCondition("makeserial", new string[] { "nvl(ms_ifrework,0)ms_ifrework", "ms_reworkcheckno" }, "ms_sncode='" + ms_sncode.Text.ToUpper() + "' order by ms_id desc");
|
|
|
if (temp.Rows.Count > 0)
|
|
if (temp.Rows.Count > 0)
|
|
|
{
|
|
{
|
|
|
if (temp.Rows[0]["ms_ifrework"].ToString() != "0")
|
|
if (temp.Rows[0]["ms_ifrework"].ToString() != "0")
|