소스 검색

修改BUG

章政 8 년 전
부모
커밋
28b6f3266b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      UAS-MES/FunctionCode/Special/Special_BoxSplit.cs

+ 1 - 1
UAS-MES/FunctionCode/Special/Special_BoxSplit.cs

@@ -36,7 +36,7 @@ namespace UAS_MES.Special
                 List<string> ms_sncode = new List<string>();
                 for (int i = 0; i < dt.Rows.Count; i++)
                 {
-                    ms_sncode.Add(dt.Rows[0]["v_barcode"].ToString());
+                    ms_sncode.Add(dt.Rows[i]["v_barcode"].ToString());
                 }
                 sql.Clear();
                 sql.Append("select distinct ms_outboxcode,ms_makecode from makeserial left join mes_package_view on v_makecode=ms_makecode and  ");