提交代码

This commit is contained in:
2023-10-31 15:22:02 +08:00
parent b0f60f4a58
commit 3eab5e32f6
28 changed files with 1730 additions and 96 deletions
@@ -79,13 +79,17 @@ namespace FineUIPro.Web.CQMS.Performance
var CreateDateWeek = db.CQMS_Performance.FirstOrDefault(x => x.PerformanceGid == PerformanceGid).CreateDateMonth;
var datesConfig = Convert.ToDateTime(CreateDateMonth);
var Year = datesConfig.Year;
var Month = 1;
if (datesConfig.Month != 12)
{
Month = datesConfig.Month + 1;
}
else {
Year += 1;
}
//按照日期查询是否有设置
var modelConfig = Funs.DB.CQMS_Performance_SetUp.FirstOrDefault(x => x.CreateYear == datesConfig.Year.ToString() && x.SortIndex == Month);
var modelConfig = Funs.DB.CQMS_Performance_SetUp.FirstOrDefault(x => x.CreateYear == Year.ToString() && x.SortIndex == Month);
List<CustomClass> myList = new List<CustomClass>();
myList.Add(new CustomClass("1", "第一周"));
myList.Add(new CustomClass("2", "第二周"));