|
@@ -43,6 +43,7 @@ using Hotline.Push.FWMessage;
|
|
using Hotline.Share.Dtos.Push;
|
|
using Hotline.Share.Dtos.Push;
|
|
using Hotline.Share.Enums.Push;
|
|
using Hotline.Share.Enums.Push;
|
|
using XF.Domain.Cache;
|
|
using XF.Domain.Cache;
|
|
|
|
+using Hotline.Api.Filter;
|
|
|
|
|
|
namespace Hotline.Api.Controllers;
|
|
namespace Hotline.Api.Controllers;
|
|
|
|
|
|
@@ -194,17 +195,16 @@ public class OrderController : BaseController
|
|
_enterpriseService = enterpriseService;
|
|
_enterpriseService = enterpriseService;
|
|
_pushDomainService = pushDomainService;
|
|
_pushDomainService = pushDomainService;
|
|
_cacheResponse = cacheResponse;
|
|
_cacheResponse = cacheResponse;
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- #region 工单发布
|
|
|
|
|
|
+ #region 工单发布
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// 查询(工单发布)
|
|
|
|
- /// </summary>
|
|
|
|
- /// <param name="dto"></param>
|
|
|
|
- /// <returns></returns>
|
|
|
|
- [HttpGet("publish")]
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 查询(工单发布)
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <param name="dto"></param>
|
|
|
|
+ /// <returns></returns>
|
|
|
|
+ [HttpGet("publish")]
|
|
public async Task<PagedDto<PublishDto>> PublishOrderList([FromQuery] QueryOrderPublishDto dto)
|
|
public async Task<PagedDto<PublishDto>> PublishOrderList([FromQuery] QueryOrderPublishDto dto)
|
|
{
|
|
{
|
|
var (total, items) = await _orderRepository.Queryable()
|
|
var (total, items) = await _orderRepository.Queryable()
|
|
@@ -3186,6 +3186,8 @@ public class OrderController : BaseController
|
|
/// <param name="dto"></param>
|
|
/// <param name="dto"></param>
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
[HttpGet("enterprise/list")]
|
|
[HttpGet("enterprise/list")]
|
|
|
|
+ //[ServiceFilter(typeof(LogFilterAttribute))]
|
|
|
|
+ //[LogFilterAttribute("查询企业列表")]
|
|
public async Task<EnterpriseListData> GetEnterpriseList([FromQuery] PagedKeywordRequest dto)
|
|
public async Task<EnterpriseListData> GetEnterpriseList([FromQuery] PagedKeywordRequest dto)
|
|
{
|
|
{
|
|
return await _enterpriseService.GetEnterpriseList(dto.Keyword!, dto.PageIndex, dto.PageSize, HttpContext.RequestAborted, _cacheResponse);
|
|
return await _enterpriseService.GetEnterpriseList(dto.Keyword!, dto.PageIndex, dto.PageSize, HttpContext.RequestAborted, _cacheResponse);
|