增加日志
This commit is contained in:
@@ -500,8 +500,9 @@ namespace WMS.Web.Repositories
|
||||
_transaction.Commit();
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"入库任务单插入失败:{ex.Message}");
|
||||
if (_transaction != null)
|
||||
_transaction.Rollback();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user