齐套业务代码提交

This commit is contained in:
alex
2023-06-25 18:18:34 +08:00
parent 1bdc38adf1
commit 6b48341493
5 changed files with 232 additions and 9 deletions

View File

@@ -517,7 +517,10 @@ namespace Tnb.WarehouseMgr
{
await _db.Ado.BeginTranAsync();
//根据生成的预任务,插入预任务操作记录
await _db.Insertable(input.PreTaskRecord).ExecuteCommandAsync();
if (input.PreTaskRecord != null)
{
await _db.Insertable(input.PreTaskRecord).ExecuteCommandAsync();
}
if (input.PreTaskHandleCodes.Count > 0)
{
await _db.Insertable(input.PreTaskHandleCodes).ExecuteCommandAsync();