Browse Source

打印修改

Hcsy 8 years ago
parent
commit
a8c5590354
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/PublicMethod/Print.cs

+ 1 - 1
UAS-MES/PublicMethod/Print.cs

@@ -40,7 +40,7 @@ namespace UAS_MES.PublicMethod
                     }
                     }
                     DataTable Param = (DataTable)dh.ExecuteSql(sql.ToString(), "select");
                     DataTable Param = (DataTable)dh.ExecuteSql(sql.ToString(), "select");
                     if (Param.Rows.Count == 0)
                     if (Param.Rows.Count == 0)
-                        return;
+                        continue;
                     //查询的结果的参数个数大于1需要给标签的多个参数赋值
                     //查询的结果的参数个数大于1需要给标签的多个参数赋值
                     if (Param.Rows.Count > 0)
                     if (Param.Rows.Count > 0)
                     {
                     {