归档后个人绩效查询

parent 67cd1fcb
......@@ -10,6 +10,7 @@ public class view_allot_result
/// </summary>
public string Source { get; set; }
public int AllotId { get; set; }
public int States { get; set; }
public int? SecondId { get; set; }
public string UnitType { get; set; }
public string AccountingUnit { get; set; }
......
......@@ -690,6 +690,7 @@ public List<OwnerPerformanceDto> GetOwnerPerformance(int userid)
var employees = _perforPeremployeeRepository.GetEntities(w => w.PersonnelNumber == jobNumber);
var res = owner
.Where(w => w.States == (int)AllotStates.Archive)
.GroupBy(w => new { w.AllotId, w.Year, w.Month, w.JobNumber })
.Select(w => new OwnerPerformanceDto
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment