20240627 质量月报
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user