@@ -141,7 +141,7 @@ namespace UAS_MES.Make
//采集的卡通箱号存在
if (dt.Rows.Count > 0)
{
- if (dt.Rows[0]["pa_status"].ToString() != "1")
+ if (dt.Rows[0]["pa_status"].ToString() == "1")
//判断是否已经装箱
if (dt.Rows[0]["pa_mothercode"].ToString() == "")
@@ -130,7 +130,7 @@ namespace UAS_MES.Make
sql.Clear();
sql.Append("insert into packagedetail(pd_id, pd_paid, pd_outboxcode, pd_innerboxcode, pd_innerqty)");