危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、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
@@ -466,7 +466,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["WorkArea"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checkControl.UnitWorkId);
if (unitWork != null)
{
@@ -724,7 +723,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkSendDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkSendDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");
@@ -751,7 +750,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["UnitWork"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checks.UnitWorkId);
if (unitWork != null)
{
@@ -761,7 +759,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkProblemType = doc.Range.Bookmarks["QuestionType"];
if (bookmarkProblemType != null)
{
string option = "";
var questionType = QualityQuestionTypeService.GetQualityQuestionType(checks.QuestionType);
if (questionType != null)
{
@@ -792,7 +789,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkCheckDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkCheckDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");
@@ -279,7 +279,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["WorkArea"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checkControl.UnitWorkId);
if (unitWork != null)
{
@@ -244,7 +244,7 @@ namespace FineUIPro.Web.CQMS.Check
/// </summary>
/// <param name="grid"></param>
/// <returns></returns>
public static string GetGridTableHtml(Grid grid)
public new static string GetGridTableHtml(Grid grid)
{
StringBuilder sb = new StringBuilder();
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
@@ -793,7 +793,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["WorkArea"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checks.UnitWorkId);
if (unitWork != null)
{
@@ -803,7 +802,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkProblemType = doc.Range.Bookmarks["ProblemType"];
if (bookmarkProblemType != null)
{
string option = "";
var questionType = QualityQuestionTypeService.GetQualityQuestionType(checks.QuestionType);
if (questionType != null)
{
@@ -1066,7 +1064,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkSendDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkSendDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");
@@ -1095,7 +1093,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["UnitWork"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checks.UnitWorkId);
if (unitWork != null)
{
@@ -1105,7 +1102,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkProblemType = doc.Range.Bookmarks["QuestionType"];
if (bookmarkProblemType != null)
{
string option = "";
var questionType = QualityQuestionTypeService.GetQualityQuestionType(checks.QuestionType);
if (questionType != null)
{
@@ -1136,7 +1132,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkCheckDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkCheckDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");
@@ -132,7 +132,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// </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\"/>");
@@ -200,7 +200,7 @@ namespace FineUIPro.Web.CQMS.WBS
specialDataIn.CheckTime = DateTime.Parse(pds.Rows[i][2].ToString().Trim());
}
catch (Exception e)
catch (Exception)
{
result += "第" + (i + 2).ToString() + "行," + "检查日期" + "," + "格式错误!" + "|";
}
@@ -304,7 +304,7 @@ namespace FineUIPro.Web.CQMS.WBS
specialDataIn.LimitedTime = DateTime.Parse(pds.Rows[i][15].ToString().Trim());
}
catch (Exception e)
catch (Exception)
{
result += "第" + (i + 2).ToString() + "行," + "现时日期" + "," + "格式错误!" + "|";
}
@@ -682,7 +682,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["WorkArea"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checks.UnitWorkId);
if (unitWork != null)
{
@@ -692,7 +691,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkProblemType = doc.Range.Bookmarks["ProblemType"];
if (bookmarkProblemType != null)
{
string option = "";
var questionType = QualityQuestionTypeService.GetQualityQuestionType(checks.QuestionType);
if (questionType != null)
{
@@ -955,7 +953,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkSendDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkSendDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");
@@ -984,7 +982,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkWorkArea = doc.Range.Bookmarks["UnitWork"];
if (bookmarkWorkArea != null)
{
string option = "";
var unitWork = UnitWorkService.GetUnitWorkByUnitWorkId(checks.UnitWorkId);
if (unitWork != null)
{
@@ -994,7 +991,6 @@ namespace FineUIPro.Web.CQMS.Check
Bookmark bookmarkProblemType = doc.Range.Bookmarks["QuestionType"];
if (bookmarkProblemType != null)
{
string option = "";
var questionType = QualityQuestionTypeService.GetQualityQuestionType(checks.QuestionType);
if (questionType != null)
{
@@ -1025,7 +1021,7 @@ namespace FineUIPro.Web.CQMS.Check
if (bookmarkCheckDate != null)
{
if (checks.CheckDate.HasValue != null)
if (checks.CheckDate.HasValue)
{
bookmarkCheckDate.Text = checks.CheckDate.Value.ToString("yyyy年MM月dd日");