危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)

排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
2026-08-24 11:07:59 +08:00
parent 4925a6c4b0
commit 55944d732a
323 changed files with 9806 additions and 922 deletions
@@ -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>", "");