Bläddra i källkod

添加奖励代码字段

lcl 1 vecka sedan
förälder
incheckning
b0609dcc83

+ 7 - 0
Model/Database/PriList.cs

@@ -66,6 +66,13 @@ namespace Model
         public string? prizeName { get; set; }
 
 
+        /// <summary>
+        /// 奖励代码
+        /// </summary>
+        [SugarColumn(ColumnDescription = "奖励代码", Length = 50, ColumnName = "prize_code")]
+        public string? prizeCode { get; set; }
+
+
         /// <summary>
         /// 奖励比例
         /// </summary>

+ 7 - 1
Model/Vo/Admin/GetPriListListVo.cs

@@ -16,7 +16,13 @@ namespace Vo.Admin
         /// <summary>
         /// 奖励名称
         /// </summary>
-        public string prizeName { get; set; }
+        public string? prizeName { get; set; }
+
+
+        /// <summary>
+        /// 奖励代码
+        /// </summary>
+        public string? prizeCode { get; set; }
 
 
         /// <summary>

+ 7 - 1
Model/Vo/Admin/GetPriListQueryVo.cs

@@ -22,7 +22,13 @@ namespace Vo.Admin
         /// <summary>
         /// 奖励名称
         /// </summary>
-        public string prizeName { get; set; }
+        public string? prizeName { get; set; }
+
+
+        /// <summary>
+        /// 奖励代码
+        /// </summary>
+        public string? prizeCode { get; set; }
 
 
         /// <summary>

+ 1 - 0
Util/PrizeDo.cs

@@ -1793,6 +1793,7 @@ namespace Util
                         Dictionary<string, object> prizeItem = new Dictionary<string, object>();
                         prizeItem.Add("prize_date", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
                         prizeItem.Add("prize_name", sub.prizeName);
+                        prizeItem.Add("prize_code", sub.prizeCode);
                         prizeItem.Add("batch_no", batchNo);
                         prizeItem.Add("request_param_field", content);
                         List<Dictionary<string, object>> prizeItemList = new List<Dictionary<string, object>>();