This commit is contained in:
2025-05-04 12:33:20 +08:00
parent 1204e9ec91
commit 3f95c54152
2 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ namespace BLL
{
try
{
DateTime dateS = DateTime.Now.AddMonths(-12);
dateS = Funs.GetNewDateTimeOrNow(DateTime.Now.AddMonths(-12).Year + "-" + DateTime.Now.AddMonths(-12).Month + "-01");
DateTime dateS = DateTime.Now.AddMonths(-3);
dateS = Funs.GetNewDateTimeOrNow(DateTime.Now.AddMonths(-3).Year + "-" + DateTime.Now.AddMonths(-3).Month + "-01");
var getNums = from x in db.SitePerson_PersonInOutNumber
where x.ProjectId == projectId && x.InOutDate >= dateS
orderby x.InOutDate