lcl 1 ano atrás
pai
commit
7654e32d45
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      AppStart/Helper/AddSourcePosSnHelper.cs

+ 2 - 1
AppStart/Helper/AddSourcePosSnHelper.cs

@@ -47,6 +47,7 @@ namespace MySystem
             List<PosMachinesTwo> PosList = db.PosMachinesTwo.Where(m => m.Id > StartId && m.BuyUserId > 0 && string.IsNullOrEmpty(m.SourcePosSn)).OrderBy(m => m.Id).Take(20).ToList();
             foreach(PosMachinesTwo Pos in PosList)
             {
+                function.WriteLog(Pos.PosSn + ":" + Pos.Id, "补来源机具日志");
                 string CouposCode = "";
                 string PosSn = Pos.PosSn;
                 bool op = true;
@@ -89,7 +90,7 @@ namespace MySystem
             }
             db.SaveChanges();
             db.Dispose();
-            function.WriteLog("/", "PosId.txt", StartId.ToString());
+            function.WritePage("/", "PosId.txt", StartId.ToString());
         }
     }
 }