|
|
@ -27,7 +27,7 @@ namespace BBWY.Client.APIServices |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ApiResponse<SearchTaskListResponse> GetTaskList(string skuId = null, string taskId = null, |
|
|
|
public ApiResponse<SearchTaskListResponse> SearchTaskList(string skuId = null, string taskId = null, |
|
|
|
|
|
|
|
TaskState? TaskState = null, |
|
|
|
int pageIndex = 1, |
|
|
@ -36,15 +36,6 @@ namespace BBWY.Client.APIServices |
|
|
|
) |
|
|
|
{ |
|
|
|
|
|
|
|
if (taskId != null && !string.IsNullOrEmpty(taskId.Trim())) |
|
|
|
{ |
|
|
|
return SendRequest<SearchTaskListResponse>(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new |
|
|
|
{ |
|
|
|
TaskId = taskId, |
|
|
|
ShopId = globalContext.User.Shop.ShopId.ToString() |
|
|
|
|
|
|
|
}, null, HttpMethod.Post); |
|
|
|
} |
|
|
|
return SendRequest<SearchTaskListResponse>(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new |
|
|
|
{ |
|
|
|
|
|
|
@ -56,7 +47,7 @@ namespace BBWY.Client.APIServices |
|
|
|
ShopId = globalContext.User.Shop.ShopId.ToString() |
|
|
|
}, null, HttpMethod.Post); |
|
|
|
} |
|
|
|
public ApiResponse<SearchTaskListResponse> GetWareHouseList(string WayBillNo = null, string SourceExpressName = null, string departmentName = null, string skuId = null, string taskId = null, |
|
|
|
public ApiResponse<SearchTaskListResponse> SearchTaskList(string WayBillNo = null, string SourceExpressName = null, string departmentName = null, string skuId = null, string taskId = null, |
|
|
|
|
|
|
|
TaskState? TaskState = null, |
|
|
|
string ShopName = null, |
|
|
@ -64,14 +55,7 @@ namespace BBWY.Client.APIServices |
|
|
|
int pageSize = 10 |
|
|
|
) |
|
|
|
{ |
|
|
|
if (taskId != null && !string.IsNullOrEmpty(taskId.Trim())) |
|
|
|
{ |
|
|
|
return SendRequest<SearchTaskListResponse>(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new |
|
|
|
{ |
|
|
|
TaskId = taskId |
|
|
|
|
|
|
|
}, null, HttpMethod.Post); |
|
|
|
} |
|
|
|
return SendRequest<SearchTaskListResponse>(globalContext.QKApiHost, "api/PackTask/SearchTaskList", new |
|
|
|
{ |
|
|
|
DepartmentName = departmentName, |
|
|
@ -96,7 +80,7 @@ namespace BBWY.Client.APIServices |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ApiResponse<ProductSkuResponse> GetProductSku(string skuId) |
|
|
|
public ApiResponse<ProductSkuResponse> SearchProduct(string skuId) |
|
|
|
{ |
|
|
|
HttpClientHelper helper = new HttpClientHelper(globalContext.QKApiHost); |
|
|
|
|
|
|
|