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.
78 lines
2.2 KiB
78 lines
2.2 KiB
using BBWYB.Server.Business;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BBWYB.Server.API.Controllers
|
|
{
|
|
|
|
public class DataRepairController : BaseApiController
|
|
{
|
|
private DataRepairBusiness dataRepairBusiness;
|
|
|
|
public DataRepairController(IHttpContextAccessor httpContextAccessor, DataRepairBusiness dataRepairBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.dataRepairBusiness = dataRepairBusiness;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 手动订阅快递100
|
|
/// </summary>
|
|
/// <param name="waybillNo"></param>
|
|
/// <param name="targetCompanyCode"></param>
|
|
[HttpPost("{waybillNo}/{targetCompanyCode}")]
|
|
public void SubscribeKD100([FromRoute] string waybillNo, [FromRoute] string targetCompanyCode)
|
|
{
|
|
dataRepairBusiness.SubscribeKD100(waybillNo, targetCompanyCode);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 修复订单Sku成本
|
|
/// </summary>
|
|
[HttpPost]
|
|
public void SupplementOrderSkuCost()
|
|
{
|
|
dataRepairBusiness.SupplementOrderSkuCost();
|
|
}
|
|
|
|
|
|
[HttpPost]
|
|
public void SupplementPurchaserInfo()
|
|
{
|
|
dataRepairBusiness.SupplementPurchaserInfo();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 补采购方案分组
|
|
/// </summary>
|
|
[HttpPost]
|
|
public void SupplementPurchaseSchemeGroup()
|
|
{
|
|
dataRepairBusiness.SupplementPurchaseSchemeGroup();
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 手动处理待核算
|
|
/// </summary>
|
|
[HttpPost]
|
|
public void RepairOrderStateToCheckComputation()
|
|
{
|
|
dataRepairBusiness.RepairOrderStateToCheckComputation();
|
|
}
|
|
|
|
[HttpPost]
|
|
public void RepairOrderState() { dataRepairBusiness.RepairOrderState(); }
|
|
|
|
[HttpPost]
|
|
public void SyncCCancelOrder()
|
|
{ dataRepairBusiness.SyncCCancelOrder(); }
|
|
|
|
[HttpPost]
|
|
public void SelectBExistsAndCNotExists()
|
|
{ dataRepairBusiness.SelectBExistsAndCNotExists(); }
|
|
|
|
[HttpPost]
|
|
public void SyncHistoryPurchaseScheme()
|
|
{ dataRepairBusiness.SyncHistoryPurchaseScheme();}
|
|
}
|
|
}
|
|
|