浏览代码

大箱采集修改

章政 8 年之前
父节点
当前提交
775f67eccf
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      UAS-MES/FunctionCode/Make/Make_BigBoxCollection.cs

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

@@ -204,9 +204,9 @@ namespace UAS_MES.Make
 
         private void ReleasePallet_Click(object sender, EventArgs e)
         {
-            dh.ExecuteSql("delete from packagedetail where pd_paid=(select pa_id from package where pa_outboxcode='"+ palletcode.Text+"' and pa_type=2)","delete");
-            dh.ExecuteSql("update package set pa_totalqty=0 where pa_outboxcode='"+palletcode.Text+"' and pa_type=2", "update");
-            OperateResult.AppendText(">>箱号"+outboxcode.Text+"解除成功\n",Color.Green);
+            dh.ExecuteSql("delete from packagedetail where pd_paid=(select pa_id from package where pa_outboxcode='" + palletcode.Text + "' and pa_type=2)", "delete");
+            dh.ExecuteSql("update package set pa_totalqty=0 where pa_outboxcode='" + palletcode.Text + "' and pa_type=2", "update");
+            OperateResult.AppendText(">>箱号" + outboxcode.Text + "解除成功\n", Color.Green);
             palletcode_KeyDown(new object(), new KeyEventArgs(Keys.Enter));
         }
     }