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.Authentication.JwtBearer;
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
|
|
{
|
|
|
|
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]
|
|
|
|
public class BillCorrectionController : BaseApiController
|
|
|
|
{
|
|
|
|
private BillCorrectionBusiness billCorrectionBusiness;
|
|
|
|
public BillCorrectionController(IHttpContextAccessor httpContextAccessor, BillCorrectionBusiness billCorrectionBusiness) : base(httpContextAccessor)
|
|
|
|
{
|
|
|
|
this.billCorrectionBusiness = billCorrectionBusiness;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取待矫正费用订单
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost]
|
|
|
|
public IList<BillCorrectionOrderResponse> GetBillCorrectionOrderList([FromBody] QueryBillCorrectionOrderRequest request)
|
|
|
|
{
|
|
|
|
return billCorrectionBusiness.GetBillCorrectionOrderList(request);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 矫正费用
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="requestList"></param>
|
|
|
|
[HttpPost]
|
|
|
|
public void CorrectOrder([FromBody] IList<BillCorrectionRequest> requestList)
|
|
|
|
{
|
|
|
|
billCorrectionBusiness.CorrectOrder(requestList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|