Эх сурвалжийг харах

Merge branch 'master' of ssh://10.10.101.21/source/mes-client

Hcsy 8 жил өмнө
parent
commit
a855ef32d7

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_BigBoxCollection.cs

@@ -236,7 +236,7 @@ namespace UAS_MES.Make
             sql.Append("select count(0) cn from packagedetail left join package on pa_id=pd_paid where ");
             sql.Append("pa_outboxcode='" + pa_outboxcode.Text + "'");
             int packageqty = int.Parse((dh.ExecuteSql(sql.GetString(), "select") as DataTable).Rows[0][0].ToString());
-            DataTable dt = (DataTable)dh.ExecuteSql("select nvl(pa_status,1) pa_status,pa_mothercode from package where pa_outboxcode='" + outboxcode.Text + "' and pa_type=1", "select");
+            DataTable dt = (DataTable)dh.ExecuteSql("select nvl(pa_status,0) pa_status,pa_mothercode from package where pa_outboxcode='" + outboxcode.Text + "' and pa_type=1", "select");
             //采集的卡通箱号存在
             if (dt.Rows.Count > 0)
             {