0
This commit is contained in:
parent
78b1bdb2cc
commit
d530d53861
@ -9,6 +9,6 @@ namespace MyCode.Project.Services.IServices
|
|||||||
{
|
{
|
||||||
public interface IOrderPushService
|
public interface IOrderPushService
|
||||||
{
|
{
|
||||||
void PushOrderToKingDee(PushKingDeeOrder pushKingDeeOrder1);
|
void PushOrderToKingDee(string id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -155,9 +155,9 @@ namespace MyCode.Project.Services.Implementation
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public void PushOrderToKingDee(PushKingDeeOrder pushKingDeeOrder1)
|
public void PushOrderToKingDee(string id)
|
||||||
{
|
{
|
||||||
var orderSHeet = _pushKingDeeOrderRepository.Queryable().Where(t => pushKingDeeOrder1.Id == t.Id).First();
|
var orderSHeet = _pushKingDeeOrderRepository.Queryable().Where(t => id == t.Id.ToString()).First();
|
||||||
if (orderSHeet.Status != 0)
|
if (orderSHeet.Status != 0)
|
||||||
{
|
{
|
||||||
throw new BaseException("单据已经下推.");
|
throw new BaseException("单据已经下推.");
|
||||||
|
|||||||
@ -27,18 +27,16 @@ namespace MyCode.Project.WebApi.Controllers
|
|||||||
_jackYunStockinService = jackYunStockinService;
|
_jackYunStockinService = jackYunStockinService;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region 调度运行抓吉客云销售订单
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 调度运行抓吉客云销售订单
|
/// 测试推送销售数据到金蝶云星空和WMS
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public void TaskSendKingdeeSaleOrderById(string now)
|
public void TaskSendKingdeeSaleOrderById(string id)
|
||||||
{
|
{
|
||||||
_jackYunTaskService.TaskGetJackYunOrder(now);
|
_orderPushService.PushOrderToKingDee(id);
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
|
|
||||||
//#region 调度运行抓吉客云销售订单
|
//#region 调度运行抓吉客云销售订单
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user