|
|
@@ -1,4 +1,5 @@
|
|
|
-using System;
|
|
|
+using NPOI.Util.Collections;
|
|
|
+using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel;
|
|
|
using System.Data;
|
|
|
@@ -172,6 +173,10 @@ namespace UAS_MES_NEW.Make
|
|
|
sql.Append("Stencil where st_code='" + SU_DEVCODE.Text + "'");
|
|
|
dh.ExecuteSql(sql.ToString(), "insert");
|
|
|
dh.ExecuteSql($"update Stencil set ST_USESTATUS='在线',ST_LINE = '{li_code.Text}' where st_code='" + SU_DEVCODE.Text + "'", "update");
|
|
|
+
|
|
|
+ //dh.ExecuteSql($@"UPDATE product SET pr_pcbacount = (SELECT st_combinenumber FROM stencil WHERE st_code = '{SU_DEVCODE.Text}')
|
|
|
+ // WHERE pr_code = (SELECT ma_prodcode FROM make WHERE ma_code = '{ma_code.Text}')", "update");
|
|
|
+
|
|
|
MessageBox.Show("上线成功");
|
|
|
st_table.SelectedItem = null;
|
|
|
SU_DEVCODE.Text = "";
|