挤出批号修改 erp接口另起线程调用
This commit is contained in:
@@ -479,11 +479,7 @@ namespace Tnb.WarehouseMgr
|
||||
BasFactoryConfig callErp = await _db.Queryable<BasFactoryConfig>().FirstAsync(x => x.enabled == 1 && x.key == FactoryConfigConst.CALLERP);
|
||||
if(callErp.value=="1")
|
||||
{
|
||||
Thread thread = new(() =>
|
||||
{
|
||||
_thirdApiRecordService.Send(new List<ThirdWebapiRecord> { thirdWebapiRecord }, "自动", _db);
|
||||
});
|
||||
thread.Start();
|
||||
_thirdApiRecordService.Send(new List<ThirdWebapiRecord> { thirdWebapiRecord }, "自动", _db);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user