lcl 3 өдөр өмнө
parent
commit
d6c7d97f95

+ 12 - 0
Controllers/HomeController.cs

@@ -168,6 +168,18 @@ namespace MySystem.Controllers
 
         public string test()
         {
+            for (int i = 2; i <= 6; i++)
+            {
+                PosPushDataNewHelper.Trade(new MySystem.SpModels.TradeRecord()
+                {
+                    TradeSnNo = "1453432669",
+                    MerNo = "1453432669",
+                    TradeAmount = 9.9M,
+                    TradeSerialNo = Guid.NewGuid().ToString(),
+                    CreateDate = DateTime.Parse("2025-0" + i + "-01 01:00:00"),
+                    ProductType = "23",
+                });
+            }
             return "ok";
         }