소스 검색

拆解更换增加更新字段

Hcsy 8 년 전
부모
커밋
a44278c696
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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");