api/DebugController.cs
@@ -261,9 +261,9 @@ endLoc.N_CURRENT_NUM = 1; using (var tran = db.Ado.UseTran()) { if (db.Updateable<TN_Location>(startLoc).ExecuteCommand() <= 0 && db.Updateable<TN_Location>(endLoc).ExecuteCommand() <= 0 && db.Updateable<TN_Loc_Container>(locCntrRel).ExecuteCommand() <= 0) { if (db.Updateable(startLoc).ExecuteCommand() <= 0 && db.Updateable(endLoc).ExecuteCommand() <= 0 && db.Updateable(locCntrRel).ExecuteCommand() <= 0) { tran.RollbackTran(); return "数据库操作失败!";