20220304 考勤导入、接口修改

This commit is contained in:
2022-03-04 16:15:21 +08:00
parent 5dd16e8bf7
commit 65dfdb13a9
84 changed files with 76 additions and 29 deletions
@@ -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