Browse Source

不区分打印文件

callm 1 year ago
parent
commit
2c79c618df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS_MES_LGDZ/PublicMethod/Print.cs

+ 1 - 1
UAS_MES_LGDZ/PublicMethod/Print.cs

@@ -256,7 +256,7 @@ namespace UAS_MES_NEW.PublicMethod
             {
                 if (LabelType == "卡通箱标" || LabelType == "大箱标" || LabelType == "彩盒标")
                 {
-                    dt = (DataTable)dh.ExecuteSql("select lpl_id from labelprintlog where lpl_value='" + SnCode + "' and lpl_type='" + LabelType + "'  and lpl_file='" + LabelName + "'", "select");
+                    dt = (DataTable)dh.ExecuteSql("select lpl_id from labelprintlog where lpl_value='" + SnCode + "' and lpl_type='" + LabelType + "'", "select");
                     if (dt.Rows.Count == 0)
                     {
                         ErrorMessage = SnCode + LabelType + "未打印,不允许补打";