校正人工时及统计修改

This commit is contained in:
2023-09-04 16:20:02 +08:00
parent a9148f6d78
commit 02e9796323
7 changed files with 243 additions and 71 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ namespace BLL
{
try
{
DateTime dateS = DateTime.Now.AddMonths(-6);
dateS = Funs.GetNewDateTimeOrNow(DateTime.Now.AddMonths(-6).Year + "-" + DateTime.Now.AddMonths(-6).Month + "-01");
DateTime dateS = DateTime.Now.AddMonths(-12);
dateS = Funs.GetNewDateTimeOrNow(DateTime.Now.AddMonths(-12).Year + "-" + DateTime.Now.AddMonths(-12).Month + "-01");
var getNums = from x in db.SitePerson_PersonInOutNumber
where x.ProjectId == projectId && x.InOutDate >= dateS
orderby x.InOutDate