29 lines
661 B
Transact-SQL
29 lines
661 B
Transact-SQL
|
|
/*************督查大队:重点工程项目质量专项整治行动开展情况台账**************/
|
|
CREATE VIEW [dbo].[View_DCGLKeyProjectRectificationSituationLedger]
|
|
AS
|
|
SELECT
|
|
Report.Id,
|
|
Report.UnitId,
|
|
Report.Year,
|
|
U.UnitName,
|
|
Report.ReportDate,
|
|
Report.UpState,
|
|
Report.DutyPerson,
|
|
Report.HandleState,
|
|
Report.HandleMan,
|
|
Report.HasPlan,
|
|
Report.PlanDate,
|
|
Report.HasWorkTeam,
|
|
Report.TeamDate,
|
|
Report.KeyProjectNum,
|
|
Report.Remark,
|
|
Report.CompileDate,
|
|
Report.CompileMan,
|
|
Report.CompileManName,
|
|
US.UserName
|
|
FROM dbo.DCGL_Report_KeyProjectRectificationSituationLedger AS Report
|
|
LEFT JOIN Base_Unit AS U ON U.UnitId=Report.UnitId
|
|
LEFT JOIN Sys_User AS US ON US.UserId=Report.HandleMan
|
|
|