Browse Source

添加Command日志

章政 8 years ago
parent
commit
37a3d00fba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UAS-MES/FunctionCode/OQC/OQC_CheckNoSplit.cs

+ 1 - 0
UAS-MES/FunctionCode/OQC/OQC_CheckNoSplit.cs

@@ -98,6 +98,7 @@ namespace UAS_MES.OQC
                         sqls[3] = "delete from oqcbatchdetail where obd_checkno='" + ob_checkno.Text + "' and obd_sncode in (" + CheckSn + ") and obd_makecode='"+ ob_makecode + "'";
                         sqls[4] = "update OQCBatch set ob_nowcheckqty=(select count(1) from oqcbatchdetail where obd_checkno='" + ob_checkno.Text + "') where ob_checkno='" + ob_checkno.Text + "'";
                         dh.ExecuteSQLTran(sqls);
+                        LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, "", User.UserLineCode, User.UserSourceCode, "抽检批拆解", "拆解成功", "", ob_checkno.Text);
                         GetBatch.PerformClick();
                         OperateResult.AppendText(">>批次" + ob_checkno.Text + "拆解成功\n ", Color.Green);
                     }