Просмотр исходного кода

运营中心收支明细添加存储数据字段

DuGuYang 2 лет назад
Родитель
Сommit
c896af2e48

+ 24 - 0
Areas/Admin/Controllers/MainServer/StoreHouseController.cs

@@ -565,6 +565,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = newdeposit - olddeposit,
                                 BeforeAmount = amount.ValidAmount,
                                 AfterAmount = amount.ValidAmount + newdeposit - olddeposit,
+                                AfterTotalAmt = amount.TotalAmt,
+                                AfterValidForGetAmount = amount.ValidForGetAmount,
+                                AfterValidAmount = amount.ValidAmount + newdeposit - olddeposit,
                             }).Entity;
                         }
                         if (newdeposit < olddeposit)
@@ -578,6 +581,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = olddeposit - newdeposit,
                                 BeforeAmount = amount.ValidAmount,
                                 AfterAmount = amount.ValidAmount + newdeposit - olddeposit,
+                                AfterTotalAmt = amount.TotalAmt,
+                                AfterValidForGetAmount = amount.ValidForGetAmount,
+                                AfterValidAmount = amount.ValidAmount + newdeposit - olddeposit
                             }).Entity;
                         }
                         amount.ValidAmount -= sto.Deposit;
@@ -632,6 +638,9 @@ namespace MySystem.Areas.Admin.Controllers
                             UseAmount = newdeposit - olddeposit,
                             BeforeAmount = amount.ValidAmount,
                             AfterAmount = amount.ValidAmount + newdeposit - olddeposit,
+                            AfterTotalAmt = amount.TotalAmt,
+                            AfterValidForGetAmount = amount.ValidForGetAmount,
+                            AfterValidAmount = amount.ValidAmount + newdeposit - olddeposit
                         }).Entity;
                     }
                     if (newdeposit < olddeposit)
@@ -645,6 +654,9 @@ namespace MySystem.Areas.Admin.Controllers
                             UseAmount = olddeposit - newdeposit,
                             BeforeAmount = amount.ValidAmount,
                             AfterAmount = amount.ValidAmount + newdeposit - olddeposit,
+                            AfterTotalAmt = amount.TotalAmt,
+                            AfterValidForGetAmount = amount.ValidForGetAmount,
+                            AfterValidAmount = amount.ValidAmount + newdeposit - olddeposit
                         }).Entity;
                     }
                     amount.ValidAmount -= sto.Deposit;
@@ -2122,6 +2134,9 @@ namespace MySystem.Areas.Admin.Controllers
                                     UseAmount = deposit - tamount,
                                     BeforeAmount = TotalAmount,
                                     AfterAmount = TotalAmount + deposit - tamount,
+                                    AfterTotalAmt = userAmount.TotalAmt,
+                                    AfterValidForGetAmount = userAmount.ValidForGetAmount,
+                                    AfterValidAmount = userAmount.ValidAmount,
                                 }).Entity;
                             }
                             if (deposit < tamount)
@@ -2135,6 +2150,9 @@ namespace MySystem.Areas.Admin.Controllers
                                     UseAmount = tamount - deposit,
                                     BeforeAmount = TotalAmount,
                                     AfterAmount = TotalAmount + deposit - tamount,
+                                    AfterTotalAmt = userAmount.TotalAmt,
+                                    AfterValidForGetAmount = userAmount.ValidForGetAmount,
+                                    AfterValidAmount = userAmount.ValidAmount,
                                 }).Entity;
                             }
                             opdb.SaveChanges();
@@ -2342,6 +2360,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = deposit - tamount,
                                 BeforeAmount = TotalAmount,
                                 AfterAmount = TotalAmount - deposit + tamount,
+                                AfterTotalAmt = userAmount.TotalAmt,
+                                AfterValidForGetAmount = userAmount.ValidForGetAmount,
+                                AfterValidAmount = userAmount.ValidAmount,
                             }).Entity;
                         }
                         if (deposit < tamount)
@@ -2355,6 +2376,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = tamount - deposit,
                                 BeforeAmount = TotalAmount,
                                 AfterAmount = TotalAmount - deposit + tamount,
+                                AfterTotalAmt = userAmount.TotalAmt,
+                                AfterValidForGetAmount = userAmount.ValidForGetAmount,
+                                AfterValidAmount = userAmount.ValidAmount,
                             }).Entity;
                         }
                         opdb.SaveChanges();

+ 15 - 0
Areas/Admin/Controllers/MainServer/SysToolsController.cs

@@ -1789,6 +1789,9 @@ namespace MySystem.Areas.Admin.Controllers
                             UseAmount = oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
                             BeforeAmount = TotalAmount,
                             AfterAmount = TotalAmount + oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
+                            AfterTotalAmt = opUserAccount.TotalAmt,
+                            AfterValidForGetAmount = opUserAccount.ValidForGetAmount,
+                            AfterValidAmount = opUserAccount.ValidAmount,
                         }).Entity;
 
                         oldpos.OpReserve1 = 0;
@@ -1814,6 +1817,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = newpos.OpReserve3 + newpos.OpReserve2 + newpos.OpReserve1,
                                 BeforeAmount = TotalAmount,
                                 AfterAmount = TotalAmount + newpos.OpReserve3 + newpos.OpReserve2 + newpos.OpReserve1,
+                                AfterTotalAmt = opUserAccount.TotalAmt,
+                                AfterValidForGetAmount = opUserAccount.ValidForGetAmount,
+                                AfterValidAmount = opUserAccount.ValidAmount,
                             }).Entity;
 
                             newpos.OpReserve1 = 0;
@@ -2048,6 +2054,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
                                 BeforeAmount = TotalAmount,
                                 AfterAmount = TotalAmount + oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
+                                AfterTotalAmt = opUserAccount.TotalAmt,
+                                AfterValidForGetAmount = opUserAccount.ValidForGetAmount,
+                                AfterValidAmount = opUserAccount.ValidAmount,
                             }).Entity;
                         }
                         if (newpos.OpId == 0)
@@ -2307,6 +2316,9 @@ namespace MySystem.Areas.Admin.Controllers
                                 UseAmount = oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
                                 BeforeAmount = TotalAmount,
                                 AfterAmount = TotalAmount + oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
+                                AfterTotalAmt = opUserAccount.TotalAmt,
+                                AfterValidForGetAmount = opUserAccount.ValidForGetAmount,
+                                AfterValidAmount = opUserAccount.ValidAmount,
                             }).Entity;
                         }
                         if (newpos.OpId == 0)
@@ -2555,6 +2567,9 @@ namespace MySystem.Areas.Admin.Controllers
                             UseAmount = oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
                             BeforeAmount = TotalAmount,
                             AfterAmount = TotalAmount + oldpos.OpReserve3 + oldpos.OpReserve2 + oldpos.OpReserve1,
+                            AfterTotalAmt = opUserAccount.TotalAmt,
+                            AfterValidForGetAmount = opUserAccount.ValidForGetAmount,
+                            AfterValidAmount = opUserAccount.ValidAmount,
                         }).Entity;
                     }
                     if (newpos.OpId == 0)

+ 3 - 0
Areas/Admin/Controllers/OperateServer/StoreMachineApplyOperateController.cs

@@ -403,6 +403,9 @@ namespace MySystem.Areas.Admin.Controllers
                         OperateType = 1,//增加
                         BeforeAmount = users.ValidAmount + users.TotalAmt + users.ValidForGetAmount,
                         AfterAmount = users.ValidAmount + users.TotalAmt + users.ValidForGetAmount + query.UseAmount,
+                        AfterTotalAmt = users.TotalAmt + TotalAmt,
+                        AfterValidForGetAmount = users.ValidForGetAmount + ValidForGetAmount,
+                        AfterValidAmount = users.ValidAmount + ValidAmount,
                         UseAmount = query.UseAmount,
                         UserId = query.UserId,
                         ApplyId = query.Id,

+ 6 - 0
Areas/Admin/Controllers/OperateServer/SysAdminOperateController.cs

@@ -621,6 +621,9 @@ namespace MySystem.Areas.Admin.Controllers
                 UseAmount = decimal.Parse(OperationAmount),//操作金额
                 BeforeAmount = BeforeAmount,//使用前剩余额度
                 AfterAmount = AfterAmount,//使用后剩余额度
+                AfterTotalAmt = account.TotalAmt,
+                AfterValidForGetAmount = account.ValidForGetAmount,
+                AfterValidAmount = account.ValidAmount,
                 OperateType = OperateType,//操作类别
             }).Entity;
             opdb.SaveChanges();
@@ -685,6 +688,9 @@ namespace MySystem.Areas.Admin.Controllers
                 UseAmount = decimal.Parse(OperationAmount),//操作金额
                 BeforeAmount = BeforeAmount,//使用前剩余额度
                 AfterAmount = AfterAmount,//使用后剩余额度
+                AfterTotalAmt = account.TotalAmt,
+                AfterValidForGetAmount = account.ValidForGetAmount,
+                AfterValidAmount = account.ValidAmount,
                 OperateType = OperateType,//操作类别
             }).Entity;
             opdb.SaveChanges();

+ 4 - 1
Areas/Admin/Controllers/OperateServer/UserCashRecordOperateController.cs

@@ -348,7 +348,7 @@ namespace MySystem.Areas.Admin.Controllers
                 Dictionary<string, object> Fields = new Dictionary<string, object>();
                 Fields.Add("Status", 1);//设置提现记录为成功
                 Fields.Add("SeoTitle", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
-                new AdminContentByConn(_accessor.HttpContext, PublicFunction.OpTables, OpConn).Edit("UserCashRecord", Fields, id);                
+                new AdminContentByConn(_accessor.HttpContext, PublicFunction.OpTables, OpConn).Edit("UserCashRecord", Fields, id);
             }
             opdb.SaveChanges();
             return "success";
@@ -546,6 +546,9 @@ namespace MySystem.Areas.Admin.Controllers
                         UseAmount = TradeAmount, //变更金额
                         BeforeAmount = BeforeAmount, //变更前总金额
                         AfterAmount = AfterAmount, //变更后总金额
+                        AfterTotalAmt = account.TotalAmt,
+                        AfterValidForGetAmount = account.ValidForGetAmount,
+                        AfterValidAmount = account.ValidAmount,
                         OperateType = 1,
                     });
                     opdb.SaveChanges();

+ 3 - 0
Areas/Admin/Controllers/OperateServer/UserCashRecordOperatesController.cs

@@ -604,6 +604,9 @@ namespace MySystem.Areas.Admin.Controllers
                         UseAmount = TradeAmount, //变更金额
                         BeforeAmount = BeforeTotalAmount, //变更前总金额
                         AfterAmount = AfterTotalAmount, //变更后总金额
+                        AfterTotalAmt = account.TotalAmt,
+                        AfterValidForGetAmount = account.ValidForGetAmount,
+                        AfterValidAmount = account.ValidAmount,
                     });
                     opdb.SaveChanges();
                 }

+ 3 - 0
OpModels/AmountRecord.cs

@@ -23,5 +23,8 @@ namespace MySystem.OpModels
         public decimal UseAmount { get; set; }
         public int ApplyId { get; set; }
         public int UserId { get; set; }
+        public decimal AfterValidForGetAmount { get; set; }
+        public decimal AfterTotalAmt { get; set; }
+        public decimal AfterValidAmount { get; set; }
     }
 }

+ 3 - 0
OpModels/PosCoupons.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 4 - 1
OpModels/PosMachines.cs

@@ -9,13 +9,16 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }
+        public int BrandId { get; set; }
         public int PosId { get; set; }
         public int OpId { get; set; }
-        public int BrandId { get; set; }
     }
 }

+ 3 - 0
OpModels/StoreActMerDaySummary.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 3 - 0
OpModels/StoreActMerMonthSummary.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 3 - 0
OpModels/StoreMachineApply.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 3 - 0
OpModels/StoreSendDaySummary.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 3 - 0
OpModels/StoreSendMonthSummary.cs

@@ -9,8 +9,11 @@ namespace MySystem.OpModels
         public int Sort { get; set; }
         public int QueryCount { get; set; }
         public int Status { get; set; }
+        public int Version { get; set; }
         public DateTime? CreateDate { get; set; }
         public DateTime? UpdateDate { get; set; }
+        public string CreateMan { get; set; }
+        public string UpdateMan { get; set; }
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }

+ 1 - 1
OpModels/SysAdmin.cs

@@ -17,6 +17,7 @@ namespace MySystem.OpModels
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }
+        public int TotalMachineCount { get; set; }
         public string HeadPhoto { get; set; }
         public string OpCode { get; set; }
         public int StoreCount { get; set; }
@@ -30,6 +31,5 @@ namespace MySystem.OpModels
         public string RealName { get; set; }
         public string Password { get; set; }
         public string AdminName { get; set; }
-        public int TotalMachineCount { get; set; }
     }
 }

+ 4 - 4
OpModels/UserAccount.cs

@@ -17,16 +17,16 @@ namespace MySystem.OpModels
         public string SeoTitle { get; set; }
         public string SeoKeyword { get; set; }
         public string SeoDescription { get; set; }
+        public decimal ValidForGetAmount { get; set; }
+        public decimal PosCouponApplyAmount { get; set; }
         public decimal WithdrawingAmount { get; set; }
         public decimal ValidAmount { get; set; }
-        public decimal TotalAmount { get; set; }
+        public decimal TotalAmt { get; set; }
         public decimal WithdrawAmount { get; set; }
         public int AccountStatus { get; set; }
         public decimal BalanceAmount { get; set; }
         public decimal FreezeAmount { get; set; }
-        public decimal TotalAmt { get; set; }
+        public decimal TotalAmount { get; set; }
         public int UserId { get; set; }
-        public decimal PosCouponApplyAmount { get; set; }
-        public decimal ValidForGetAmount { get; set; }
     }
 }

+ 96 - 0
OpModels/WebCMSEntities.cs

@@ -249,6 +249,18 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.AfterAmount).HasColumnType("decimal(18,2)");
 
+                entity.Property(e => e.AfterTotalAmt)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用后未使用额度");
+
+                entity.Property(e => e.AfterValidAmount)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用后关联分仓额度");
+
+                entity.Property(e => e.AfterValidForGetAmount)
+                    .HasColumnType("decimal(18,2)")
+                    .HasComment("使用后可提现额度");
+
                 entity.Property(e => e.ApplyId).HasColumnType("int(11)");
 
                 entity.Property(e => e.BeforeAmount).HasColumnType("decimal(18,2)");
@@ -1582,6 +1594,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.PosCouponId).HasColumnType("int(11)");
@@ -1608,6 +1625,13 @@ namespace MySystem.OpModels
                 entity.Property(e => e.Status).HasColumnType("int(11)");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<PosMachines>(entity =>
@@ -1618,6 +1642,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.PosId).HasColumnType("int(11)");
@@ -1644,6 +1673,13 @@ namespace MySystem.OpModels
                 entity.Property(e => e.Status).HasColumnType("int(11)");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<PublicAccountSet>(entity =>
@@ -1987,6 +2023,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.QueryCount).HasColumnType("int(11)");
@@ -2016,6 +2057,13 @@ namespace MySystem.OpModels
                     .HasCollation("utf8_general_ci");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<StoreActMerMonthSummary>(entity =>
@@ -2028,6 +2076,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.QueryCount).HasColumnType("int(11)");
@@ -2057,6 +2110,13 @@ namespace MySystem.OpModels
                     .HasCollation("utf8_general_ci");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<StoreForOperate>(entity =>
@@ -2120,6 +2180,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.ErpCode)
                     .HasColumnType("varchar(50)")
                     .HasCharSet("utf8")
@@ -2160,9 +2225,16 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)");
 
                 entity.Property(e => e.UserId).HasColumnType("int(11)");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<StoreSendDaySummary>(entity =>
@@ -2173,6 +2245,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.QueryCount).HasColumnType("int(11)");
@@ -2204,6 +2281,13 @@ namespace MySystem.OpModels
                     .HasCollation("utf8_general_ci");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<StoreSendMonthSummary>(entity =>
@@ -2214,6 +2298,11 @@ namespace MySystem.OpModels
 
                 entity.Property(e => e.CreateDate).HasColumnType("datetime");
 
+                entity.Property(e => e.CreateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.OpId).HasColumnType("int(11)");
 
                 entity.Property(e => e.QueryCount).HasColumnType("int(11)");
@@ -2245,6 +2334,13 @@ namespace MySystem.OpModels
                     .HasCollation("utf8_general_ci");
 
                 entity.Property(e => e.UpdateDate).HasColumnType("datetime");
+
+                entity.Property(e => e.UpdateMan)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.Version).HasColumnType("int(11)");
             });
 
             modelBuilder.Entity<SysAdmin>(entity =>