mengjie 6 年 前
コミット
e0212a33d7
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/InfoController.cs

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/InfoController.cs

@@ -1358,7 +1358,7 @@ namespace CallCenterApi.Interface.Controllers
1358 1358
                                                 int index = itemconf.F_ItemName.IndexOf("→");
1359 1359
                                                 cname = itemconf.F_ItemName.Substring(0, index );
1360 1360
                                             }
1361
-                                            dr[cname  + "比例"] = Math.Round(decimal.Parse(dr[itemconf.F_ItemName].ToString()) / totalnum * 100, 2).ToString() + "%";
1361
+                                            dr[cname  + "比例"] = Math.Round(decimal.Parse(dr[cname ].ToString()) / totalnum * 100, 2).ToString() + "%";
1362 1362
                                         }
1363 1363
                                         else
1364 1364
                                         {