Browse Source

Merge repos.ubtob.net:usoft/mes-client

callm 2 months ago
parent
commit
0ed84d9daa
1 changed files with 5 additions and 2 deletions
  1. 5 2
      UAS_MES_YTDZ/FunctionCode/Make/Make_FirstInspect.cs

+ 5 - 2
UAS_MES_YTDZ/FunctionCode/Make/Make_FirstInspect.cs

@@ -322,8 +322,11 @@ namespace UAS_MES_NEW.Make
                         }
                     }
                 }
-                string sr_id = dh.getFieldDataByCondition("spotcheckrecord", "sr_id", $"sr_makecode = '{workOrder}' and sr_linecode = '{line}' and sr_type='首件检验'").ToString();
+                //string sr_id = dh.getFieldDataByCondition("spotcheckrecord", "sr_id", $"sr_makecode = '{workOrder}' and sr_linecode = '{line}' and sr_type='首件检验'").ToString();
 
+                dt = (DataTable)dh.ExecuteSql($@"SELECT * FROM( SELECT * FROM spotche