Browse Source

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

callm 5 years ago
parent
commit
4d384bd624
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/FunctionCode/OQC/OQC_Inspection.cs

+ 1 - 1
UAS-MES/FunctionCode/OQC/OQC_Inspection.cs

@@ -54,7 +54,7 @@ namespace UAS_MES.OQC
                 sql.Append("insert into OQCBatch (ob_id, ob_checkno ,ob_status, ob_source,ob_indate,ob_checkman) ");
                 sql.Append("values( '" + ob_id + "','" + checkno + "', 'ENTERING', '新增', sysdate, '" + User.UserName + "')");
                 dh.ExecuteSql(sql.GetString(), "insert");
-                LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, ma_code.Text, User.UserLineCode, User.UserSourceCode, "生成新品", "生成新批次成功", "", ob_checkno.Text);
+                LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, ma_code.Text, User.UserLineCode, User.UserSourceCode, "生成新品", "生成新批次成功", "", checkno);
                 //生成成功,将批次号,以及批次状态写入页面
                 BaseUtil.SetFormValue(Controls, dh.getFieldsDataByCondition("OQCBatch", new string[] { "ob_checkno", "ob_status" }, "ob_id='" + ob_id + "'"));
             }