This commit is contained in:
2021-06-18 20:37:07 +08:00
parent e7cb804684
commit 65a719e331
32 changed files with 1093 additions and 128 deletions
+135
View File
@@ -0,0 +1,135 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
/// <summary>
/// 出入记录
/// </summary>
public class InOutListItem
{
///// <summary>
///// ID
///// </summary>
//public Double RowNumber
//{
// get;
// set;
//}
/// <summary>
/// NEWID
/// </summary>
public string NewID
{
get;
set;
}
/// <summary>
/// ProjectId
/// </summary>
public string ProjectId
{
get;
set;
}
/// <summary>
/// EmployName
/// </summary>
public string EmployName
{
get;
set;
}
/// <summary>
/// DepartmentID
/// </summary>
public string DepartmentID
{
get;
set;
}
/// <summary>
/// DepartName
/// </summary>
public string DepartName
{
get;
set;
}
/// <summary>
/// AreaID
/// </summary>
public string AreaID
{
get;
set;
}
/// <summary>
/// AreaName
/// </summary>
public string AreaName
{
get;
set;
}
/// <summary>
/// EmployNO
/// </summary>
public string EmployNO
{
get;
set;
}
/// <summary>
/// CardID
/// </summary>
public string CardID
{
get;
set;
}
/// <summary>
/// DateTimeRecord
/// </summary>
public DateTime? DateTimeRecord
{
get;
set;
}
/// <summary>
/// RecordDes
/// </summary>
public string RecordDes
{
get;
set;
}
/// <summary>
/// InOrOut
/// </summary>
public string InOrOut
{
get;
set;
}
/// <summary>
/// UnitId
/// </summary>
public string UnitId
{
get;
set;
}
/// <summary>
/// TeamGroupId
/// </summary>
public string TeamGroupId
{
get;
set;
}
}
}
+1
View File
@@ -157,6 +157,7 @@
<Compile Include="CQMS\SteelItem.cs" />
<Compile Include="CQMS\WelderItem.cs" />
<Compile Include="DoorServer\AbsenceDutyItem.cs" />
<Compile Include="DoorServer\InOutListItem.cs" />
<Compile Include="DoorServer\t_d_departmentItem.cs" />
<Compile Include="DoorServer\t_d_employinfoItem.cs" />
<Compile Include="DoorServer\InOutstatisticsItem.cs" />
+2 -2
View File
@@ -61,7 +61,7 @@ namespace Model
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, states, pageIndex, pageSize);
return (ISingleResult<RectifyNoticesItem>)result.ReturnValue;
}
/// <summary>
/// 获取现场单位考勤
/// </summary>
@@ -74,7 +74,7 @@ namespace Model
[Function(Name = "[dbo].[spInOutManHoursReport]")]
public IEnumerable<InOutstatisticsItem> spInOutManHoursReport([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(max)")] string unitId, [Parameter(DbType = "nvarchar(max)")] string postId, [Parameter(DbType = "DateTime")] DateTime? startTime, [Parameter(DbType = "DateTime")] DateTime? endTime)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, postId, startTime,endTime);
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, postId, startTime, endTime);
return (ISingleResult<InOutstatisticsItem>)result.ReturnValue;
}