1
This commit is contained in:
@@ -240,6 +240,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
carryH.out_status = ((int)EnumOutStatus.分拣出).ToString();
|
carryH.out_status = ((int)EnumOutStatus.分拣出).ToString();
|
||||||
await _db.Updateable(carryH)
|
await _db.Updateable(carryH)
|
||||||
.UpdateColumns(it => new { it.out_status, it.source_id, it.source_code })
|
.UpdateColumns(it => new { it.out_status, it.source_id, it.source_code })
|
||||||
|
.Where(it => sortingOutIds.Contains(it.id))
|
||||||
.ExecuteCommandAsync();
|
.ExecuteCommandAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -115,8 +115,8 @@ public class Startup : AppStartup
|
|||||||
|
|
||||||
SnowflakeIdHelper.InitYitIdWorker();
|
SnowflakeIdHelper.InitYitIdWorker();
|
||||||
|
|
||||||
bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
|
//bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
|
||||||
if (isStartTimeJob)
|
//if (isStartTimeJob)
|
||||||
serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
|
// serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user