Przeglądaj źródła

拆解更换增加更新字段

Hcsy 8 lat temu
rodzic
commit
a44278c696
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      UAS-MES/FunctionCode/Make/Make_Decompose.cs

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

@@ -331,7 +331,7 @@ namespace UAS_MES.Make
 
                             //此物料上线状态更新为-1,代表被拆解
                             sql.Clear();
-                            sql.Append("update craftmaterial set cm_status=-1,cm_dropman='" + User.UserCode + "',");
+                            sql.Append("update craftmaterial set cm_status=-1,cm_lastdeco=-1,cm_dropman='" + User.UserCode + "',");
                             sql.Append("cm_dropdate =sysdate,cm_dropstep='" + User.CurrentStepCode + "',");
                             sql.Append("cm_dropsccode='" + User.UserSourceCode + "' where cm_id='" + LabelDataGridView.Rows[i].Cells["cm_id"].Value + "'");
                             dh.ExecuteSql(sql.GetString(), "update");