29 lines
661 B
MySQL
29 lines
661 B
MySQL
|
|
|
|||
|
|
/*************<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӣ<EFBFBD><EFBFBD>ص㹤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ר<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><EFBFBD><EFBFBD>չ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨<EFBFBD><EFBFBD>**************/
|
|||
|
|
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
|
|||
|
|
|