|
@@ -1654,7 +1654,7 @@ namespace Hotline.Application.StatisticalReport
|
|
|
|
|
|
var centerOrgName = _systemSettingCacheManager.GetSetting(SettingConstants.CenterOrgName)?.SettingValue[0];
|
|
|
var orderData = _orderRepository.Queryable()
|
|
|
- .Where(it => it.CreationTime >= dto.StartTime && it.CreationTime <= dto.EndTime && it.Status >= EOrderStatus.Filed)
|
|
|
+ .Where(it => it.FiledTime >= dto.StartTime && it.FiledTime <= dto.EndTime && it.Status >= EOrderStatus.Filed)
|
|
|
.WhereIF(dto.TypeId != null && dto.TypeId == 1, it => it.IdentityType == EIdentityType.Citizen)
|
|
|
.WhereIF(dto.TypeId != null && dto.TypeId == 2, it => it.IdentityType == EIdentityType.Enterprise)
|
|
|
.Select(it => new
|
|
@@ -1728,7 +1728,7 @@ namespace Hotline.Application.StatisticalReport
|
|
|
public ISugarQueryable<Order> DepartmentAcceptanceTypeOrderList(DepartmentKeyWordRequest dto)
|
|
|
{
|
|
|
return _orderRepository.Queryable()
|
|
|
- .Where(p => p.CreationTime >= dto.StartTime && p.CreationTime <= dto.EndTime && p.Status >= EOrderStatus.Filed)
|
|
|
+ .Where(p => p.FiledTime >= dto.StartTime && p.FiledTime <= dto.EndTime && p.Status >= EOrderStatus.Filed)
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.OrgCode) && dto.OrgCode == "001", p => p.ActualHandleOrgCode == dto.OrgCode)
|
|
|
.WhereIF(dto.TypeId != null && dto.TypeId == 1, p => p.IdentityType == EIdentityType.Citizen)
|
|
|
.WhereIF(dto.TypeId != null && dto.TypeId == 2, p => p.IdentityType == EIdentityType.Enterprise)
|