20230825部门人员加岗位查询、上报集团报表工时从月报取当月工时

This commit is contained in:
2023-08-25 16:19:07 +08:00
parent 1a38e3c935
commit 5b857c97fa
8 changed files with 77 additions and 8 deletions
@@ -1,5 +1,6 @@
using BLL;
using FineUIPro.Web.BaseInfo;
using FineUIPro.Web.DataShow;
using FineUIPro.Web.InformationProject;
using Model;
using Newtonsoft.Json.Linq;
@@ -929,8 +930,14 @@ namespace FineUIPro.Web.ZHGL.Information
item.PostPersonNum = getAllSedinPerson;
item.SnapPersonNum = 0;
item.ContractorNum = getSitePersons.Where(x => x.UnitId != Const.UnitId_SEDIN).Count();
item.SumPersonNum = getSitePersons.Count();
item.SumPersonNum = getSitePersons.Count();
item.TotalWorkNum = 0;
var getInfo = APISeDinMonthReportService.getSeDinMonthReport2ById(p.ProjectId, year + "-" + months);
if (getInfo != null)
{
item.TotalWorkNum = Math.Round(getInfo.MonthWorkTime / 10000 ?? 0, 4);
}
item.SeriousInjuriesNum = 0;
item.SeriousInjuriesPersonNum = 0;
item.SeriousInjuriesLossHour = 0;