项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -499,7 +499,7 @@ namespace FineUIPro.Web.InformationProject
|
||||
if (unit != null)
|
||||
{
|
||||
int count = BLL.SitePerson_DayReportService.GetDayReportsByCompileDateAndUnitId(startTime, endTime, this.CurrUser.LoginProjectId, unitId).Count();
|
||||
if (unit.UnitId == Const.UnitId_TCC) //本单位
|
||||
if (unit.UnitId == Const.UnitId_XJYJ) //本单位
|
||||
{
|
||||
//本单位在岗员工
|
||||
decimal personNum = (from x in dayReports
|
||||
@@ -594,7 +594,7 @@ namespace FineUIPro.Web.InformationProject
|
||||
Model.Base_Unit unit = BLL.UnitService.GetUnitByUnitId(unitId);
|
||||
if (unit != null)
|
||||
{
|
||||
if (unit.UnitId == Const.UnitId_TCC) //本单位
|
||||
if (unit.UnitId == Const.UnitId_XJYJ) //本单位
|
||||
{
|
||||
//本单位在岗员工
|
||||
decimal? personNum = db.SitePerson_MonthReportDetail.Where(x => x.MonthReportId == monthReport.MonthReportId && x.UnitId == unitId).Sum(x => x.RealPersonNum);
|
||||
|
||||
Reference in New Issue
Block a user