|
@@ -705,5 +705,22 @@ namespace Hotline.Api.Controllers.Bigscreen
|
|
|
.ToListAsync();
|
|
|
return _mapper.Map<List<OrderSecondaryHandlingDto>>(quer);
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 110来源工单
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ [AllowAnonymous]
|
|
|
+ [HttpGet("order-soure-police-query")]
|
|
|
+ public async Task<List<OrderDto>> OrderSourePoliceDetailQuery()
|
|
|
+ {
|
|
|
+ var list = await _orderRepository
|
|
|
+ .Queryable(false, false, false)
|
|
|
+ .Where(x => x.Source==ESource.Police110 && x.CreationTime.Date == DateTime.Now.Date)
|
|
|
+ .OrderByDescending(x => x.CreationTime)
|
|
|
+ .Take(50)
|
|
|
+ .ToListAsync();
|
|
|
+ return _mapper.Map<List<OrderDto>>(list);
|
|
|
+ }
|
|
|
}
|
|
|
}
|