增加企业展示

This commit is contained in:
2023-06-10 10:55:18 +08:00
parent 1c8c630c21
commit 1836f816cf
69 changed files with 91 additions and 57 deletions
+2 -1
View File
@@ -27,6 +27,7 @@ namespace FineUIPro.Web.DataShow
BLL.ProjectService.InitProjectDropDownList(this.drpProject, true);
// 绑定表格t
BindGrid();
this.Panel1.Title = "事故事件数据(" + BLL.UnitService.GetUnitNameByUnitId(BLL.CommonService.GetThisUnitId()) + "";
}
}
@@ -60,7 +61,7 @@ namespace FineUIPro.Web.DataShow
{
strSql = @"SELECT Record.AccidentReportId AS ID,Record.ProjectId,Project.ProjectCode,Project.ProjectName,
Record.AccidentTypeId,ConstText AS AccidentTypeName,Record.AccidentDate
,Unit.UnitId,Unit.UnitName,Record.States, 1 AS PeopleNum
,Unit.UnitId,Unit.UnitName,Record.States, Record.PeopleNum
, Record.Abstract AS Info
FROM Accident_AccidentReport AS Record
LEFT JOIN Sys_Const AS AccidentType ON AccidentType.ConstValue = Record.AccidentTypeId AND GroupId='AccidentReportRegistration'