Browse Source

同行奖励入库时间指定

lcl 6 months ago
parent
commit
e6f0da7ce7
2 changed files with 1 additions and 1 deletions
  1. BIN
      .DS_Store
  2. 1 1
      AppStart/TxjHelper.cs

BIN
.DS_Store


+ 1 - 1
AppStart/TxjHelper.cs

@@ -83,7 +83,7 @@ public class TxjHelper
                                 UserId = int.Parse(ParentId),
                                 UserId = int.Parse(ParentId),
                                 MachineId = sub.MachineId,
                                 MachineId = sub.MachineId,
                                 PosSn = sub.PosSn,
                                 PosSn = sub.PosSn,
-                                CreateTime = DateTime.Now,
+                                CreateTime = DateTime.Parse(month + "-01 00:00:00"),
                                 AwardType = 1,
                                 AwardType = 1,
                             });
                             });
                             dbpro.SaveChanges();
                             dbpro.SaveChanges();