危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)
排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
@@ -369,7 +369,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
QRCodeAttachUrl = equipmentQuality.QRCodeAttachUrl;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
|
||||
}
|
||||
//add picture data to this workbook.
|
||||
@@ -423,7 +423,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
return UploadFileService.QRCodeImageFilePath + filename;
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
@@ -467,7 +467,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
equipmentQuality.CheckDate = DateTime.Parse(row[7].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -475,7 +475,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
equipmentQuality.LimitDate = DateTime.Parse(row[8].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -483,7 +483,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
equipmentQuality.InDate = DateTime.Parse(row[9].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -491,7 +491,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
equipmentQuality.OutDate = DateTime.Parse(row[10].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -9,8 +9,6 @@ using AspNet = System.Web.UI.WebControls;
|
||||
using BLL.Common;
|
||||
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ThoughtWorks.QRCode.Codec;
|
||||
namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
@@ -356,7 +354,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
QRCodeAttachUrl = equipmentQuality.QRCodeAttachUrl;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
catch (Exception e1) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
//add picture data to this workbook.
|
||||
excel.SetPicValue(2 * (int)(i / 3), i % 3, Server.MapPath("~/") + QRCodeAttachUrl);
|
||||
@@ -408,7 +406,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
return UploadFileService.QRCodeImageFilePath + filename;
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
DateTime.Parse(pds.Rows[i][1].ToString());
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Exception) {
|
||||
result += (i + 2).ToString() + "," + "入场时间" + "," + "格式不对!" + "|";
|
||||
}
|
||||
}
|
||||
@@ -396,7 +396,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
equipmentQuality.InDate = DateTime.Parse(row[1].ToString());
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
/// </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\"/>");
|
||||
|
||||
@@ -280,7 +280,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
/// </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\"/>");
|
||||
|
||||
@@ -244,7 +244,7 @@ namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
/// </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\"/>");
|
||||
|
||||
@@ -9,8 +9,6 @@ using AspNet = System.Web.UI.WebControls;
|
||||
using BLL.Common;
|
||||
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ThoughtWorks.QRCode.Codec;
|
||||
namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
|
||||
@@ -9,8 +9,6 @@ using AspNet = System.Web.UI.WebControls;
|
||||
using BLL.Common;
|
||||
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ThoughtWorks.QRCode.Codec;
|
||||
namespace FineUIPro.Web.HSSE.QualityAudit
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user