202306131、新增项目级消息待办页面功能。2、新增项目单位是否同步实名制设置功能。3、优化考试合格自动生成卡号功能。
This commit is contained in:
@@ -337,10 +337,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
var pcount = from x in db.Sys_Log
|
||||
where x.ProjectId != null && x.OperationTime > DateTime.Now.AddDays(-3)
|
||||
var pcount = (from x in db.Sys_Log
|
||||
where x.ProjectId != null && x.OperationTime > DateTime.Now.AddDays(-2)
|
||||
group x by x.ProjectId into g
|
||||
select new { g.First().ProjectId, count = g.Count() };
|
||||
select new { g.First().ProjectId, count = g.Count() }).Distinct();
|
||||
|
||||
List<Model.Base_Project> getList = new List<Base_Project>();
|
||||
if (getProjects.Count() > 0)
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
PlanCostB = projectUnit.PlanCostB,
|
||||
ContractRange = projectUnit.ContractRange,
|
||||
RealNamePushTime = projectUnit.RealNamePushTime,
|
||||
IsSynchro = projectUnit.IsSynchro,
|
||||
};
|
||||
db.Project_ProjectUnit.InsertOnSubmit(newProjectUnit);
|
||||
db.SubmitChanges();
|
||||
@@ -100,6 +101,7 @@
|
||||
newProjectUnit.PlanCostB = projectUnit.PlanCostB;
|
||||
newProjectUnit.ContractRange = projectUnit.ContractRange;
|
||||
newProjectUnit.RealNamePushTime = projectUnit.RealNamePushTime;
|
||||
newProjectUnit.IsSynchro = projectUnit.IsSynchro;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user