危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)
排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
@@ -397,7 +397,6 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
var dataInTemp = from x in Funs.DB.HJGL_CheckImportTemp
|
||||
where x.ProjectId == LoginProjectId && x.UserId == UserId
|
||||
select x;
|
||||
int okCount = 0;
|
||||
|
||||
int ir = dataInTemp.Count();
|
||||
string erreMessage = "";
|
||||
@@ -846,7 +845,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.CHT_TotalFilm = int.Parse(allCheck.Value14);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
if (!string.IsNullOrEmpty(allCheck.Value15))
|
||||
{
|
||||
@@ -854,7 +853,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.CHT_PassFilm = int.Parse(allCheck.Value15);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
checkitem.CHT_CheckResult = allCheck.Value16;
|
||||
//checkitem.CHT_CheckNo = allCheck.Value8;
|
||||
@@ -873,7 +872,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.DefectLength = decimal.Parse(allCheck.Value19);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.Extend_Length))
|
||||
{
|
||||
@@ -921,7 +920,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
this.BindGrid();
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
ErrLogInfo.WriteLog("新增检测记录错误");
|
||||
}
|
||||
@@ -949,7 +948,6 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
var dataInTemp = from x in Funs.DB.HJGL_CheckImportTemp
|
||||
where x.ProjectId == LoginProjectId && x.UserId == UserId
|
||||
select x;
|
||||
int okCount = 0;
|
||||
|
||||
int ir = dataInTemp.Count();
|
||||
string erreMessage = "";
|
||||
@@ -1232,7 +1230,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.CHT_TotalFilm = int.Parse(allCheck.Value14);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
if (!string.IsNullOrEmpty(allCheck.Value15))
|
||||
{
|
||||
@@ -1240,7 +1238,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.CHT_PassFilm = int.Parse(allCheck.Value15);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
checkitem.CHT_CheckResult = allCheck.Value16;
|
||||
//checkitem.CHT_CheckNo = allCheck.Value8;
|
||||
@@ -1259,7 +1257,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.DefectLength = decimal.Parse(allCheck.Value19);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
if (!string.IsNullOrEmpty(joint.Extend_Length))
|
||||
{
|
||||
@@ -1267,7 +1265,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
checkitem.ExtendingRice = Decimal.Parse(joint.Extend_Length);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
checkitem.Defects_Definition = allCheck.Value17;
|
||||
if (!hasitem)
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
|
||||
@@ -26,7 +26,6 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
ViewState["EMaterialRegistId"] = value;
|
||||
}
|
||||
}
|
||||
private bool AppendToEnd = false;
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
|
||||
@@ -398,7 +398,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
this.Grid1.PageSize = 10000;
|
||||
BindGrid();
|
||||
|
||||
@@ -38,7 +38,6 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
}
|
||||
}
|
||||
|
||||
private bool AppendToEnd = false;
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
|
||||
@@ -396,7 +396,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
this.Grid1.PageSize = 10000;
|
||||
BindGrid();
|
||||
|
||||
@@ -396,7 +396,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
this.Grid1.PageSize = 10000;
|
||||
BindGrid();
|
||||
|
||||
@@ -38,7 +38,6 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
}
|
||||
}
|
||||
|
||||
private bool AppendToEnd = false;
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -175,7 +175,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -149,7 +149,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -381,7 +381,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
|
||||
if (idcard != null)
|
||||
{
|
||||
var p = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId && x.IdentityCard == idcard );
|
||||
var p = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId && x.IdentityCard == (string)idcard );
|
||||
if (p != null&& p.InTime.HasValue)
|
||||
{
|
||||
inTime= p.InTime.Value.ToString("yyyy-MM-dd");
|
||||
@@ -395,7 +395,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
|
||||
if (idcard != null)
|
||||
{
|
||||
var p = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId && x.IdentityCard == idcard);
|
||||
var p = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId && x.IdentityCard == (string)idcard);
|
||||
if (p != null && p.OutTime.HasValue)
|
||||
{
|
||||
inTime = p.OutTime.Value.ToString("yyyy-MM-dd");
|
||||
@@ -470,7 +470,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -266,7 +266,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
try
|
||||
{
|
||||
DateTime dateValue = DateTime.Parse(col6);
|
||||
} catch (Exception e)
|
||||
} catch (Exception)
|
||||
{
|
||||
result += "第" + (i + 2).ToString() + "行," + "出生日期" + "," + "[" + col6 + "]错误!" + "|";
|
||||
}
|
||||
@@ -282,7 +282,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
{
|
||||
DateTime dateValue = DateTime.Parse(col7);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
result += "第" + (i + 2).ToString() + "行," + "有效日期" + "," + "[" + col7 + "]错误!" + "|";
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ namespace FineUIPro.Web.HJGL.PersonManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
@@ -863,7 +862,7 @@ namespace FineUIPro.Web.HJGL.RepairManage
|
||||
this.txtCH_TrustCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.CH_Trust", "CH_TrustCode", this.CurrUser.LoginProjectId, code) + "K";
|
||||
}
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -881,7 +880,7 @@ namespace FineUIPro.Web.HJGL.RepairManage
|
||||
string code = trustUnit.UnitCode + "-" + iso.ISO_IsoNo + "-" + NDTMethod.DetectionTypeCode + "-";
|
||||
this.txtCH_TrustCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.CH_Trust", "CH_TrustCode", this.CurrUser.LoginProjectId, code) + "K";
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2454,7 +2453,7 @@ namespace FineUIPro.Web.HJGL.RepairManage
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2484,7 +2483,7 @@ namespace FineUIPro.Web.HJGL.RepairManage
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
@@ -1190,7 +1189,7 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
@@ -1348,24 +1347,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1381,24 +1380,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1469,24 +1468,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1502,24 +1501,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1589,24 +1588,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1622,24 +1621,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1707,24 +1706,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1740,24 +1739,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1825,24 +1824,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1858,24 +1857,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -753,24 +753,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -786,24 +786,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -874,24 +874,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -907,24 +907,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -994,24 +994,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1027,24 +1027,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1112,24 +1112,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1145,24 +1145,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1230,24 +1230,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1263,24 +1263,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1348,24 +1348,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot1 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic1 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot3 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic3 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1381,24 +1381,24 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
{
|
||||
jot2 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic2 += int.Parse(row["PassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
case "不合格":
|
||||
try
|
||||
{
|
||||
jot4 += int.Parse(row["jotNum"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pic4 += int.Parse(row["NoPassFilm"].ToString());
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ namespace FineUIPro.Web.HJGL.TrustManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
@@ -141,7 +141,7 @@ namespace FineUIPro.Web.HJGL.TrustManage
|
||||
this.txtCH_TrustCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.CH_Trust", "CH_TrustCode", this.CurrUser.LoginProjectId, code);
|
||||
}
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -201,7 +201,7 @@ namespace FineUIPro.Web.HJGL.TrustManage
|
||||
this.txtCH_TrustCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.CH_Trust", "CH_TrustCode", this.CurrUser.LoginProjectId, code);
|
||||
}
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ namespace FineUIPro.Web.HJGL.TrustManage
|
||||
{
|
||||
trust.CH_TrustUnit = this.drpCH_TrustUnit.SelectedValue;
|
||||
}
|
||||
if (this.drpCH_NDTMethod.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpCH_NDTMethod.SelectedValue)) ;
|
||||
if (this.drpCH_NDTMethod.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpCH_NDTMethod.SelectedValue))
|
||||
{
|
||||
trust.CH_NDTMethod = this.drpCH_NDTMethod.SelectedValue;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
@@ -376,7 +375,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
@@ -704,7 +703,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -738,10 +738,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (isoId != null)
|
||||
{
|
||||
var jotCount = (from x in Funs.DB.PW_JointInfo where x.ISO_ID == isoId.ToString() select x).Count();
|
||||
if (jotCount != null)
|
||||
{
|
||||
return jotCount.ToString();
|
||||
}
|
||||
return jotCount.ToString();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -409,11 +409,6 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
return;
|
||||
}
|
||||
|
||||
bool isShow = true;
|
||||
if (Grid1.SelectedRowIndexArray.Length > 1)
|
||||
{
|
||||
isShow = false;
|
||||
}
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
this.txtPointID.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode3ByProjectPrefix", "dbo.BO_Point", "PW_PointNo", this.CurrUser.LoginProjectId, date + "-");
|
||||
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -421,7 +421,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
this.txtPointID.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode3ByProjectPrefix", "dbo.BO_Point", "PW_PointNo", this.CurrUser.LoginProjectId, date + "-");
|
||||
|
||||
}
|
||||
catch (Exception ee) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
cbJOTDia.Checked = false;
|
||||
}
|
||||
} catch (Exception ex) { }
|
||||
} catch (Exception) { }
|
||||
|
||||
BindGrid(isoId);
|
||||
//未点口的焊工
|
||||
@@ -325,7 +325,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
row["index"] = 0;
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -330,7 +330,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -270,7 +270,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -260,7 +260,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -74,22 +74,22 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
pt_jot += int.Parse(row["five_pt_jot"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pt_jot += int.Parse(row["ten_pt_jot"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pt_jot += int.Parse(row["twenty_pt_jot"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
pt_jot += int.Parse(row["onHundred_pt_jot"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
row["pt_jot"] = pt_jot;
|
||||
}
|
||||
Grid1.DataSource = table;
|
||||
@@ -241,7 +241,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -340,7 +340,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -283,7 +283,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -327,7 +327,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -49,10 +49,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
#endregion
|
||||
|
||||
#region 绑定BindGrid
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private DataTable tb = null;
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
@@ -158,7 +154,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -202,7 +198,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -62,10 +62,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
#endregion
|
||||
|
||||
#region 绑定BindGrid
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private DataTable tb = null;
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
@@ -275,7 +271,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
row.CreateCell(5).SetCellValue(tb.Rows[i]["JOT_Dia"] != DBNull.Value ? ((decimal)tb.Rows[i]["JOT_Dia"]).ToString("##.#") : "");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
row.CreateCell(6).SetCellValue(tb.Rows[i]["JOT_Sch"] != DBNull.Value ? tb.Rows[i]["JOT_Sch"].ToString() : "");
|
||||
row.CreateCell(7).SetCellValue(tb.Rows[i]["JOT_FactSch"] != DBNull.Value ? tb.Rows[i]["JOT_FactSch"].ToString() : "");
|
||||
row.CreateCell(8).SetCellValue(tb.Rows[i]["STE_Name1"] != DBNull.Value ? tb.Rows[i]["STE_Name1"].ToString() : "");
|
||||
@@ -288,7 +284,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
row.CreateCell(14).SetCellValue(tb.Rows[i]["JOT_WeldDate"] != DBNull.Value ? ((DateTime)tb.Rows[i]["JOT_WeldDate"]).ToString("yyyy-MM-dd") : "");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
row.CreateCell(15).SetCellValue(tb.Rows[i]["JOT_DailyReportNo"] != DBNull.Value ? tb.Rows[i]["JOT_DailyReportNo"].ToString() : "");
|
||||
row.CreateCell(16).SetCellValue(tb.Rows[i]["CH_TRUSTCODE1"] != DBNull.Value ? tb.Rows[i]["CH_TRUSTCODE1"].ToString() : "");
|
||||
row.CreateCell(17).SetCellValue(tb.Rows[i]["ProessName"] != DBNull.Value ? tb.Rows[i]["ProessName"].ToString() : "");
|
||||
@@ -297,7 +293,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
row.CreateCell(19).SetCellValue(tb.Rows[i]["ProessDate"] != DBNull.Value ? ((DateTime)tb.Rows[i]["ProessDate"]).ToString("yyyy-MM-dd") : "");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
//try
|
||||
//{
|
||||
// row.CreateCell(20).SetCellValue(tb.Rows[i]["CHT_CHECKDATE"] != DBNull.Value ? ((DateTime)tb.Rows[i]["CHT_FilmDate"]).ToString("yyyy-MM-dd") : "");
|
||||
@@ -315,12 +311,12 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
row.CreateCell(29).SetCellValue(tb.Rows[i]["HotHardDate"] != DBNull.Value ? ((DateTime)tb.Rows[i]["HotHardDate"]).ToString("yyyy-MM-dd") : "");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
row.CreateCell(30).SetCellValue(tb.Rows[i]["CH_TrustDate"] != DBNull.Value ? ((DateTime)tb.Rows[i]["CH_TrustDate"]).ToString("yyyy-MM-dd") : "");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
row.CreateCell(31).SetCellValue(tb.Rows[i]["PTP_TestPackageNo"] != DBNull.Value ? tb.Rows[i]["PTP_TestPackageNo"].ToString() : "");
|
||||
row.CreateCell(32).SetCellValue(tb.Rows[i]["WeldTypeCode"] != DBNull.Value ? tb.Rows[i]["WeldTypeCode"].ToString() : "");
|
||||
|
||||
@@ -384,7 +380,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -428,7 +424,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -318,7 +318,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -306,7 +306,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue1.CellStyle = styleCenter;
|
||||
celCellValue1.SetCellValue((100.0 * int.Parse(row["curr_pass_film"].ToString()) / int.Parse(row["curr_total_film"].ToString())).ToString("0.00"));
|
||||
}
|
||||
catch (Exception e1)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(5 + i).CreateCell(14).SetCellValue(row["pro_total_film"].ToString());
|
||||
@@ -322,7 +322,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue2.CellStyle = styleCenter;
|
||||
celCellValue2.SetCellValue((100.0 * int.Parse(row["pro_pass_film"].ToString()) / int.Parse(row["pro_total_film"].ToString())).ToString("0.00"));
|
||||
}
|
||||
catch (Exception e2)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(5 + i).CreateCell(17).SetCellValue(row["total_film"].ToString());
|
||||
recordSheet.GetRow(5 + i).GetCell(17).CellStyle = styleCenter;
|
||||
@@ -338,7 +338,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue3.SetCellValue((100.0 * int.Parse(row["pass_film"].ToString()) / int.Parse(row["total_film"].ToString())).ToString("0.00"));
|
||||
|
||||
}
|
||||
catch (Exception e3)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(5 + i).CreateCell(20).SetCellValue(row["recurr_total_film"].ToString());
|
||||
recordSheet.GetRow(5 + i).GetCell(20).CellStyle = styleCenter;
|
||||
@@ -353,7 +353,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue4.SetCellValue((100.0 * int.Parse(row["recurr_pass_film"].ToString()) / int.Parse(row["recurr_total_film"].ToString())).ToString("0.00"));
|
||||
|
||||
}
|
||||
catch (Exception e4)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(5 + i).CreateCell(23).SetCellValue(row["retotal_total_film"].ToString());
|
||||
recordSheet.GetRow(5 + i).GetCell(23).CellStyle = styleCenter;
|
||||
@@ -368,7 +368,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue5.SetCellValue((100.0 * int.Parse(row["retotal_pass_film"].ToString()) / int.Parse(row["retotal_total_film"].ToString())).ToString("0.00"));
|
||||
|
||||
}
|
||||
catch (Exception e5)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(5 + i).CreateCell(26).SetCellValue(row["curr_trust_count_total"].ToString());
|
||||
@@ -387,7 +387,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue5.SetCellValue((100.0 * int.Parse(row["curr_pass_point"].ToString()) / int.Parse(row["curr_check_count_point"].ToString())).ToString("0.00"));
|
||||
|
||||
}
|
||||
catch (Exception e6)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(5 + i).CreateCell(30).SetCellValue(row["trust_count_total"].ToString());
|
||||
recordSheet.GetRow(5 + i).GetCell(30).CellStyle = styleCenter;
|
||||
@@ -406,7 +406,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue5.SetCellValue((100.0 * int.Parse(row["total_pass_point"].ToString()) / int.Parse(row["total_check_count_point"].ToString())).ToString("0.00"));
|
||||
|
||||
}
|
||||
catch (Exception e7)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
|
||||
@@ -428,7 +428,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue1.SetCellValue((100.0 * curr_pass_film / curr_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e1)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(dt.Rows.Count+6).CreateCell(15).SetCellValue(pro_pass_film + "");
|
||||
@@ -444,7 +444,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue2.SetCellValue((100.0 * pro_pass_film / pro_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e2)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(dt.Rows.Count + 6).CreateCell(17).SetCellValue(total_film + "");
|
||||
recordSheet.GetRow(dt.Rows.Count+6).GetCell(17).CellStyle = styleCenter;
|
||||
@@ -459,7 +459,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue3.SetCellValue((100.0 * pass_film / total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e3)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(dt.Rows.Count+6).CreateCell(20).SetCellValue(recurr_pass_film + "");
|
||||
recordSheet.GetRow(dt.Rows.Count+6).GetCell(20).CellStyle = styleCenter;
|
||||
@@ -475,7 +475,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue4.SetCellValue((100.0 * recurr_pass_film / recurr_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e4)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(dt.Rows.Count+6).CreateCell(23).SetCellValue(retotal_pass_film + "");
|
||||
recordSheet.GetRow(dt.Rows.Count+6).GetCell(23).CellStyle = styleCenter;
|
||||
@@ -490,7 +490,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue5.SetCellValue((100.0 * retotal_pass_film / retotal_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e5)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(dt.Rows.Count + 6).CreateCell(26).SetCellValue(curr_trust_count_total + "");
|
||||
recordSheet.GetRow(dt.Rows.Count + 6).GetCell(26).CellStyle = styleCenter;
|
||||
@@ -508,7 +508,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e6)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(dt.Rows.Count + 6).CreateCell(30).SetCellValue(trust_count_total + "");
|
||||
@@ -527,7 +527,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e7)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
}
|
||||
@@ -546,7 +546,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue1.SetCellValue((100.0 * curr_pass_film / curr_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e1)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(16).CreateCell(15).SetCellValue(pro_pass_film+"");
|
||||
@@ -562,7 +562,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue2.SetCellValue((100.0 * pro_pass_film / pro_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e2)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(16).CreateCell(17).SetCellValue(total_film + "");
|
||||
recordSheet.GetRow(16).GetCell(17).CellStyle = styleCenter;
|
||||
@@ -577,7 +577,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue3.SetCellValue((100.0 * pass_film / total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e3)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(16).CreateCell(20).SetCellValue(recurr_pass_film+"");
|
||||
recordSheet.GetRow(16).GetCell(20).CellStyle = styleCenter;
|
||||
@@ -592,7 +592,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
celCellValue4.SetCellValue((100.0 * recurr_pass_film / recurr_total_film).ToString("0.00"));
|
||||
}
|
||||
}
|
||||
catch (Exception e4)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(16).CreateCell(23).SetCellValue(retotal_pass_film+"");
|
||||
recordSheet.GetRow(16).GetCell(23).CellStyle = styleCenter;
|
||||
@@ -608,7 +608,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e5)
|
||||
catch (Exception)
|
||||
{ }
|
||||
recordSheet.GetRow(16).CreateCell(26).SetCellValue(curr_trust_count_total + "");
|
||||
recordSheet.GetRow(16).GetCell(26).CellStyle = styleCenter;
|
||||
@@ -626,7 +626,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e6)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
recordSheet.GetRow(16).CreateCell(30).SetCellValue(trust_count_total + "");
|
||||
@@ -645,7 +645,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e7)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
|
||||
|
||||
@@ -365,13 +365,13 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
|
||||
row["curr_pass_rate"] =1.0 * int.Parse(row["curr_pass_film"].ToString()) / int.Parse(row["curr_total_film"].ToString());
|
||||
}
|
||||
catch (Exception e1)
|
||||
catch (Exception)
|
||||
{ }
|
||||
try
|
||||
{
|
||||
row["recurr_pass_rate"] = 1.0 * int.Parse(row["recurr_pass_film"].ToString()) / int.Parse(row["recurr_total_film"].ToString());
|
||||
}
|
||||
catch (Exception e2)
|
||||
catch (Exception)
|
||||
{ }
|
||||
|
||||
}
|
||||
@@ -423,7 +423,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -535,7 +535,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -289,19 +289,19 @@ from Base_Unit unit right join
|
||||
|
||||
row["curr_pass_rate"] =1.0 * int.Parse(row["curr_pass_film"].ToString()) / int.Parse(row["curr_total_film"].ToString());
|
||||
}
|
||||
catch (Exception e1)
|
||||
catch (Exception)
|
||||
{ }
|
||||
try
|
||||
{
|
||||
row["recurr_pass_rate"] = 1.0 * int.Parse(row["recurr_pass_film"].ToString()) / int.Parse(row["recurr_total_film"].ToString());
|
||||
}
|
||||
catch (Exception e2)
|
||||
catch (Exception)
|
||||
{ }
|
||||
try
|
||||
{
|
||||
row["curr_pass_rate_point"] = 1.0 * int.Parse(row["curr_pass_point"].ToString()) / int.Parse(row["curr_point_count_total"].ToString());
|
||||
}
|
||||
catch (Exception e3)
|
||||
catch (Exception)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,10 +61,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
#endregion
|
||||
|
||||
#region 绑定BindGrid
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private DataTable tb = null;
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
@@ -268,7 +264,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
row1["Day" + row3["day"]] = ((decimal)row3["finished_total_din_bq"]).ToString("#0.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -282,7 +278,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
has += double.Parse(row4["Day" + i].ToString());
|
||||
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
|
||||
}
|
||||
tb1.Rows[j * 2]["has_month_din"] = has;
|
||||
@@ -307,7 +303,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
tb1.Rows[j * 2]["finished_total_din"] = hasTotalfinsh;
|
||||
}
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
}
|
||||
var rowTotal1 = tb1.NewRow();
|
||||
@@ -329,7 +325,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
total_din += double.Parse(tb1.Rows[j * 2 + 1]["total_din"].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
for (int i = 1; i <= day; i++)
|
||||
@@ -365,7 +361,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
hasTotal += double.Parse(rowTotal2["Day" + i].ToString());
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -392,7 +388,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
Grid1.RecordCount = tb1.Rows.Count;
|
||||
@@ -540,7 +536,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
|
||||
@@ -80,10 +80,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
#endregion
|
||||
|
||||
#region 绑定BindGrid
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private DataTable tb = null;
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
@@ -343,7 +339,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
has += double.Parse(row4["Day" + i].ToString());
|
||||
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
|
||||
}
|
||||
tb1.Rows[j * 2]["has_month_din"] = has;
|
||||
@@ -373,7 +369,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
has += double.Parse(row4["Day" + i].ToString());
|
||||
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
|
||||
}
|
||||
tb1.Rows[j * 2+1]["has_month_din"] = has;
|
||||
@@ -587,7 +583,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
|
||||
@@ -153,32 +153,32 @@ left join(
|
||||
{
|
||||
total_din += decimal.Parse(tb0.Rows[i]["total_din"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
finished_total_din_bq += decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
week_total_din_bq += decimal.Parse(tb0.Rows[i]["week_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb0.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb0.Rows[i]["res_din"] = decimal.Parse(tb0.Rows[i]["total_din"].ToString()) - decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb0.Rows[i]["has_per"] = (100 * decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb0.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
newRow["total_din"] = total_din ;
|
||||
@@ -189,12 +189,12 @@ left join(
|
||||
{
|
||||
newRow["res_din"] = decimal.Parse(newRow["total_din"].ToString()) - decimal.Parse(newRow["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
newRow["has_per"] = (100 * decimal.Parse(newRow["finished_total_din_bq"].ToString()) / decimal.Parse(newRow["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
tb0.Rows.Add(newRow);
|
||||
}
|
||||
this.Grid0.DataSource = tb0;
|
||||
@@ -278,32 +278,32 @@ left join(
|
||||
{
|
||||
total_din += decimal.Parse(tb1.Rows[i]["total_din"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
finished_total_din_bq += decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
week_total_din_bq += decimal.Parse(tb1.Rows[i]["week_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb1.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["res_din"] = decimal.Parse(tb1.Rows[i]["total_din"].ToString()) - decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["has_per"] = (100 * decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb1.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
newRow["total_din"] = total_din;
|
||||
@@ -314,12 +314,12 @@ left join(
|
||||
{
|
||||
newRow["res_din"] = decimal.Parse(newRow["total_din"].ToString()) - decimal.Parse(newRow["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
newRow["has_per"] = (100 * decimal.Parse(newRow["finished_total_din_bq"].ToString()) / decimal.Parse(newRow["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
tb1.Rows.Add(newRow);
|
||||
}
|
||||
this.Grid1.DataSource = tb1;
|
||||
@@ -640,7 +640,6 @@ left join(
|
||||
{
|
||||
int nowtotalfilm = 0;//本期拍片总数
|
||||
int nowpassfilm = 0;//本期拍片合格数
|
||||
int nownotpassfilm = 0;//本期拍片不合格数
|
||||
string nowpassrate = "";
|
||||
int totalfilm = 0;//总片数
|
||||
int passfilm = 0;//合格片数
|
||||
@@ -959,22 +958,22 @@ left join(
|
||||
tb1.Rows[i]["finished_total_din_bq"] = 0;
|
||||
}
|
||||
}
|
||||
catch (Exception e11) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb1.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["res_din"] = decimal.Parse(tb1.Rows[i]["total_din"].ToString()) - decimal.Parse(tb1 .Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e2) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["has_per"] = (100 * decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb1.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e3) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
|
||||
@@ -1062,22 +1061,22 @@ left join(
|
||||
tb2.Rows[i]["finished_total_din_bq"] = 0;
|
||||
}
|
||||
}
|
||||
catch (Exception e11) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb2.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb2.Rows[i]["res_din"] = decimal.Parse(tb2.Rows[i]["total_din"].ToString()) - decimal.Parse(tb2.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e2) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb2.Rows[i]["has_per"] = (100 * decimal.Parse(tb2.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb2.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e3) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -503,7 +503,7 @@ where IsoInfo.ProjectId=@ProjectId and ( IsoInfo.Is_Standard=@IsStandard OR @
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -615,7 +615,7 @@ where IsoInfo.ProjectId=@ProjectId and ( IsoInfo.Is_Standard=@IsStandard OR @
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
@@ -156,32 +155,32 @@ left join(
|
||||
{
|
||||
total_din += decimal.Parse(tb0.Rows[i]["total_din"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
finished_total_din_bq += decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
week_total_din_bq += decimal.Parse(tb0.Rows[i]["week_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb0.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb0.Rows[i]["res_din"] = decimal.Parse(tb0.Rows[i]["total_din"].ToString()) - decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb0.Rows[i]["has_per"] = (100 * decimal.Parse(tb0.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb0.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
newRow["total_din"] = total_din;
|
||||
@@ -192,12 +191,12 @@ left join(
|
||||
{
|
||||
newRow["res_din"] = decimal.Parse(newRow["total_din"].ToString()) - decimal.Parse(newRow["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
newRow["has_per"] = (100 * decimal.Parse(newRow["finished_total_din_bq"].ToString()) / decimal.Parse(newRow["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
tb0.Rows.Add(newRow);
|
||||
}
|
||||
this.Grid0.DataSource = tb0;
|
||||
@@ -278,32 +277,32 @@ left join(
|
||||
{
|
||||
total_din += decimal.Parse(tb1.Rows[i]["total_din"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
finished_total_din_bq += decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
week_total_din_bq += decimal.Parse(tb1.Rows[i]["week_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb1.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["res_din"] = decimal.Parse(tb1.Rows[i]["total_din"].ToString()) - decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["has_per"] = (100 * decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb1.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
newRow["total_din"] = total_din;
|
||||
@@ -314,12 +313,12 @@ left join(
|
||||
{
|
||||
newRow["res_din"] = decimal.Parse(newRow["total_din"].ToString()) - decimal.Parse(newRow["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
newRow["has_per"] = (100 * decimal.Parse(newRow["finished_total_din_bq"].ToString()) / decimal.Parse(newRow["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
tb1.Rows.Add(newRow);
|
||||
}
|
||||
this.Grid1.DataSource = tb1;
|
||||
@@ -625,7 +624,6 @@ left join(
|
||||
{
|
||||
int nowtotalfilm = 0;//本期拍片总数
|
||||
int nowpassfilm = 0;//本期拍片合格数
|
||||
int nownotpassfilm = 0;//本期拍片不合格数
|
||||
string nowpassrate = "";
|
||||
int totalfilm = 0;//总片数
|
||||
int passfilm = 0;//合格片数
|
||||
@@ -893,23 +891,23 @@ left join(
|
||||
tb1.Rows[i]["finished_total_din_bq"] = 0;
|
||||
}
|
||||
}
|
||||
catch (Exception e11) { }
|
||||
catch (Exception) { }
|
||||
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb1.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["res_din"] = decimal.Parse(tb1.Rows[i]["total_din"].ToString()) - decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e2) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb1.Rows[i]["has_per"] = (100 * decimal.Parse(tb1.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb1.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e3) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
|
||||
@@ -997,23 +995,23 @@ left join(
|
||||
tb2.Rows[i]["finished_total_din_bq"] = 0;
|
||||
}
|
||||
}
|
||||
catch (Exception e11) { }
|
||||
catch (Exception) { }
|
||||
|
||||
try
|
||||
{
|
||||
WelderNum += int.Parse(tb2.Rows[i]["WelderNum"].ToString());
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb2.Rows[i]["res_din"] = decimal.Parse(tb2.Rows[i]["total_din"].ToString()) - decimal.Parse(tb2.Rows[i]["finished_total_din_bq"].ToString());
|
||||
}
|
||||
catch (Exception e2) { }
|
||||
catch (Exception) { }
|
||||
try
|
||||
{
|
||||
tb2.Rows[i]["has_per"] = (100 * decimal.Parse(tb2.Rows[i]["finished_total_din_bq"].ToString()) / decimal.Parse(tb2.Rows[i]["total_din"].ToString())).ToString("##.##");
|
||||
}
|
||||
catch (Exception e3) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -273,7 +273,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -235,7 +235,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -448,7 +448,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -584,7 +584,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -361,7 +361,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -405,7 +405,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -286,7 +286,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@@ -468,7 +468,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"text-align:center;vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
@@ -334,7 +334,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
grid.PageSize = this.Grid1.RecordCount;
|
||||
@@ -378,7 +378,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
sb.AppendFormat("<td style=\"vnd.ms-excel.numberformat:@\" >{0}</td>", "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user