|
|
@@ -6,6 +6,7 @@ using System.IO;
|
|
|
using System.Net.Sockets;
|
|
|
using System.Security.Cryptography;
|
|
|
using System.Text;
|
|
|
+using DevExpress.XtraSpellChecker;
|
|
|
using Newtonsoft.Json;
|
|
|
using UAS_MES_NEW.DataOperate;
|
|
|
|
|
|
@@ -170,6 +171,12 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
//获取SN的EN号,需要SN单个获取
|
|
|
public static void GetEN(string iSN)
|
|
|
{
|
|
|
+ DataTable dt = (DataTable)dh.ExecuteSql("select pr_prefix from makeserial left join product on ms_prodcode=pr_code where ms_sncode ='"+iSN+"' order by ms_id desc", "select");
|
|
|
+ string prefix = "";
|
|
|
+ if (dt.Rows.Count > 0)
|
|
|
+ {
|
|
|
+ prefix = dt.Rows[0]["pr_prefix"].ToString();
|
|
|
+ }
|
|
|
dynamic obj = new ExpandoObject();
|
|
|
|
|
|
obj.tool_name = "zte";
|