20210726
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
ALTER VIEW [dbo].[View_SitePerson_Checking]
|
||||
AS
|
||||
/*人员考勤视图*/
|
||||
SELECT ch.CheckingId
|
||||
,person.CardNo
|
||||
,ch.PersonId
|
||||
,ch.ProjectId
|
||||
,person.IdentityCard
|
||||
,ch.WorkAreaId
|
||||
,ch.IntoOutTime
|
||||
,ch.IntoOut
|
||||
,ch.[Address]
|
||||
,ch.WorkAreaName
|
||||
,person.PersonName
|
||||
,person.UnitId
|
||||
,unit.UnitName
|
||||
,ch.States
|
||||
from dbo.SitePerson_Checking ch
|
||||
left join dbo.SitePerson_Person person on ch.PersonId=person.PersonId
|
||||
left join dbo.Base_Unit unit on person.UnitId=unit.UnitId
|
||||
|
||||
|
||||
|
||||
GO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user