Browse Source

押金记录增加代理商号

lichunlei 1 năm trước cách đây
mục cha
commit
535c4338ac

+ 1 - 0
AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

@@ -104,6 +104,7 @@ namespace MySystem
                                         MerNo = merchant.KqMerNo,
                                         DepositAmount = trade.TradeAmount,
                                         UserId = pos.BuyUserId,
+                                        AgentNo = merchant.MgrNo,
                                         OrderId = DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8),
                                     });
                                     db.SaveChanges();

+ 1 - 0
PxcModels/MerchantDepositRecord.cs

@@ -23,5 +23,6 @@ namespace MySystem.PxcModels
         public decimal DepositAmount { get; set; }
         public string MerNo { get; set; }
         public string SnNo { get; set; }
+        public string AgentNo { get; set; }
     }
 }

+ 1 - 0
PxcModels/PosMerchantInfo.cs

@@ -45,5 +45,6 @@ namespace MySystem.PxcModels
         public string MerchantNo { get; set; }
         public int StandardMonths { get; set; }
         public int StandardStatus { get; set; }
+        public ulong NoticeFlag { get; set; }
     }
 }

+ 12 - 0
PxcModels/WebCMSEntities.cs

@@ -6783,6 +6783,13 @@ namespace MySystem.PxcModels
 
                 entity.Property(e => e.Id).HasColumnType("int(11)");
 
+                entity.Property(e => e.AgentNo)
+                    .IsRequired()
+                    .HasColumnType("varchar(30)")
+                    .HasComment("代理商号")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.CreateDate)
                     .HasColumnType("datetime")
                     .HasComment("创建时间");
@@ -10181,6 +10188,11 @@ namespace MySystem.PxcModels
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");
 
+                entity.Property(e => e.NoticeFlag)
+                    .HasColumnType("bit(1)")
+                    .HasDefaultValueSql("b'0'")
+                    .HasComment("推送标记");
+
                 entity.Property(e => e.Province)
                     .HasColumnType("varchar(32)")
                     .HasCharSet("utf8")