20240627 质量月报

This commit is contained in:
2024-06-27 15:32:24 +08:00
parent 15252bd16e
commit 1904362678
5 changed files with 1224 additions and 750 deletions
@@ -0,0 +1,13 @@
CREATE VIEW View_MonthReport_InspectionManagement
AS
/************Ô±¨È¡Êý************/
select im.InspectionId,
im.ProjectId,
im.CNProfessionalId,
im.IsOnceQualified,
im.InspectionDate,
detail.UnitWorkId
from ProcessControl_InspectionManagement as im
left join (select distinct(InspectionId),UnitWorkId from ProcessControl_InspectionManagementDetail) as detail on detail.InspectionId = im.InspectionId
go