|
@ -330,16 +330,15 @@ namespace Coldairarrow.Business.HuiYan |
|
|
start = new DateTime(start.Year, start.Month, start.Day); |
|
|
start = new DateTime(start.Year, start.Month, start.Day); |
|
|
end = new DateTime(end.Year, end.Month, end.Day, 23, 59, 59); |
|
|
end = new DateTime(end.Year, end.Month, end.Day, 23, 59, 59); |
|
|
|
|
|
|
|
|
|
|
|
where = where.And(c => c.PriceTaskCreateDate >= start && c.PriceTaskCreateDate <= end); |
|
|
//团队
|
|
|
//团队
|
|
|
if (type == 0) |
|
|
if (type == 0) |
|
|
{ |
|
|
{ |
|
|
where = where.And(c => c.PriceTaskCreateDate >= start && c.PriceTaskCreateDate <= end); |
|
|
|
|
|
where = where.And(c => c.TeamId == _operator.TeamId); |
|
|
where = where.And(c => c.TeamId == _operator.TeamId); |
|
|
} |
|
|
} |
|
|
//比价
|
|
|
//比价
|
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
where = where.And(c => c.CreateTime >= start && c.CreateTime <= end); |
|
|
|
|
|
where = where.And(c => c.UserId == _operator.UserId); |
|
|
where = where.And(c => c.UserId == _operator.UserId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -352,6 +351,7 @@ namespace Coldairarrow.Business.HuiYan |
|
|
PassCount = list.Count(c => c.IsPass==true), |
|
|
PassCount = list.Count(c => c.IsPass==true), |
|
|
PublishCount = list.Count, |
|
|
PublishCount = list.Count, |
|
|
FailedCount = list.Count(c => c.IsPass==false), |
|
|
FailedCount = list.Count(c => c.IsPass==false), |
|
|
|
|
|
NeedWorkCount = list.Count(c => c.State != PriceTaskState.比价完成) |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
if (model.OverCount > 0) { |
|
|
if (model.OverCount > 0) { |
|
|