提交代码

This commit is contained in:
2024-05-16 09:15:08 +08:00
parent 9a2ba1af64
commit 9191546586
27 changed files with 3505 additions and 12 deletions
+8
View File
@@ -2194,6 +2194,10 @@ namespace BLL
/// </summary>
public const string ProjectCheckHolidayMenuId = "0D23A707-ADA0-4C2B-9665-611134243529";
/// <summary>
/// 施工作业风险
/// </summary>
public const string ConstructionRiskMenuId = "F531D523-35BC-4D13-88D3-CB2554C4185C";
/// <summary>
/// 危险因素统计分析
/// </summary>
public const string CheckAnalysisMenuId = "14C42C8E-8D3D-4D30-AA56-4F96828610AD";
@@ -3483,6 +3487,10 @@ namespace BLL
/// 焊口二次设计信息模板文件原始虚拟路径
/// </summary>
public const string JotTwoDesignTemplateUrl = "File\\Excel\\DataOut\\焊口二次设计信息.xlsx";
/// <summary>
/// 施工作业风险导入模板
/// </summary>
public const string ConstructionRiskTemplateUrl = "File\\Excel\\DataIn\\施工作业风险导入模板.xls";
#endregion
#region
+7 -1
View File
@@ -1498,8 +1498,14 @@ namespace BLL
return splitLists;
}
public static int GetWeekOfYear(DateTime dtWeek)
{
System.Globalization.GregorianCalendar gc = new System.Globalization.GregorianCalendar();
int weekOfYear = gc.GetWeekOfYear(dtWeek, System.Globalization.CalendarWeekRule.FirstDay, DayOfWeek.Monday);
return weekOfYear;
}
}
}