浏览代码

修复分红记录发放时间

DuGuYang 1 年之前
父节点
当前提交
0703a36c4c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Util/BusinessUtil.cs

+ 1 - 1
Util/BusinessUtil.cs

@@ -127,7 +127,7 @@ namespace MySystem
                 foreach (Dictionary<string, object> dic in dics)
                 {
                     Dictionary<string, object> cdata = new Dictionary<string, object>();
-                    var CreateDate = DateTime.Parse(subdata["CreateDate"].ToString());
+                    var CreateDate = DateTime.Parse(dic["CreateDate"].ToString());
                     var TradeDate = CreateDate.Month + "月" + CreateDate.Day + "日" + " " + CreateDate.ToString("HH:mm");
                     cdata.Add("ProfitDate", TradeDate); //分红时间
                     cdata.Add("ProfitAmount", dic["GetMoney"].ToString()); //分红金额