修复bug
This commit is contained in:
@@ -25,6 +25,7 @@ using WMS.Web.Domain.Values;
|
||||
using WMS.Web.Core.Dto.Erp;
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
using System.Reflection;
|
||||
using WMS.Web.Domain.Services;
|
||||
|
||||
namespace WMS.Web.Api.Controllers
|
||||
{
|
||||
@@ -88,12 +89,16 @@ namespace WMS.Web.Api.Controllers
|
||||
[Route("hj")]
|
||||
public async Task<string> TestHJ()
|
||||
{
|
||||
//await _inStockTaskService.ErpDel(DateTime.Now.AddDays(-100));
|
||||
// List<int> boxIds = new List<int>();
|
||||
// boxIds.Add(5324);
|
||||
//var b= await _inStockService.UnBind(boxIds, true);
|
||||
//var b= await _boxService.Sync(null);
|
||||
//var list = await _outStockTaskRepositories.GetEntityList(new List<int> { 14321 });
|
||||
//await _inStockTaskService.ErpDel();
|
||||
//await _outStockTaskService.BillQueryForMisDeliveryOutStock(true, new List<string>() { "QTCK026812" });
|
||||
await _inStockTaskService.SysnMiscellaneous(new List<string>() { "QTRK028204" }, true);
|
||||
|
||||
|
||||
// List<int> boxIds = new List<int>();
|
||||
// boxIds.Add(5324);
|
||||
//var b= await _inStockService.UnBind(boxIds, true);
|
||||
//var b= await _boxService.Sync(null);
|
||||
//var list = await _outStockTaskRepositories.GetEntityList(new List<int> { 14321 });
|
||||
|
||||
//await _outStockRepositories.GetEntityListBySerialNumbers(new List<string>() { "131VU-32C5A" });
|
||||
//await _outStockRepositories.GetEntityListByBoxBillNos(new List<string>() { "CTN0002187" });
|
||||
@@ -431,7 +436,7 @@ namespace WMS.Web.Api.Controllers
|
||||
if (IscanAccess)
|
||||
return Result<bool>.ReFailure(ResultCodes.Concurrent_Instock);
|
||||
|
||||
Console.WriteLine("process..."+ IscanAccess);
|
||||
Console.WriteLine("process..." + IscanAccess);
|
||||
_redisConcurrentProcessService.UpdateAccessStatus(cacheKey, true);
|
||||
var tt2 = _redisConcurrentProcessService.GetRedisKeyValue(cacheKey);
|
||||
Console.WriteLine("redis1:" + tt2);
|
||||
@@ -440,9 +445,9 @@ namespace WMS.Web.Api.Controllers
|
||||
|
||||
[HttpGet]
|
||||
[Route("lst3")]
|
||||
public async Task<bool> lst3()
|
||||
public async Task<bool> lst3()
|
||||
{
|
||||
var data=await _erpService.BillQueryForPurchaseInStockBy("1541693",null);
|
||||
var data = await _erpService.BillQueryForPurchaseInStockBy("1541693", null);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user