增加企业展示
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user