You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using BBWY.Server.Business;
|
|
|
|
using BBWY.Server.Model.Dto;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
|
|
{
|
|
|
|
|
|
|
|
public class ServiceOrderController : BaseApiController
|
|
|
|
{
|
|
|
|
private ServiceOrderBusiness serviceOrderBusiness { get; set; }
|
|
|
|
public ServiceOrderController(IHttpContextAccessor httpContextAccessor, ServiceOrderBusiness serviceOrderBusiness) : base(httpContextAccessor)
|
|
|
|
{
|
|
|
|
this.serviceOrderBusiness = serviceOrderBusiness;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 查询服务单
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost]
|
|
|
|
public ServiceOrderResponse GetList([FromBody] ClientQueryServiceOrderRequest request)
|
|
|
|
{
|
|
|
|
return serviceOrderBusiness.GetList(request);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|