Browse Source

补来源机具最后再记录Id游标

lcl 1 year ago
parent
commit
901d42da74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/AddSourcePosSnHelper.cs

+ 1 - 1
AppStart/Helper/AddSourcePosSnHelper.cs

@@ -86,10 +86,10 @@ namespace MySystem
                     edit.SourcePosSn = CouposCode + "," + PosSn;
                 }
                 StartId = Pos.Id;
-                function.WriteLog("/", "PosId.txt", StartId.ToString());
             }
             db.SaveChanges();
             db.Dispose();
+            function.WriteLog("/", "PosId.txt", StartId.ToString());
         }
     }
 }