From 3b029fb510aeca89d31812bde7542ee55a8ddc1a Mon Sep 17 00:00:00 2001
From: PC-201906131823\Administrator <zyyao>
Date: 星期一, 08 十一月 2021 17:02:50 +0800
Subject: [PATCH] 增加合计

---
 zhengcaioa/zhengcaioa/Controllers/ExpertTest/ExpertTestTopicController.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Controllers/ExpertTest/ExpertTestTopicController.cs b/zhengcaioa/zhengcaioa/Controllers/ExpertTest/ExpertTestTopicController.cs
index 875ab60..bed0bf2 100644
--- a/zhengcaioa/zhengcaioa/Controllers/ExpertTest/ExpertTestTopicController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/ExpertTest/ExpertTestTopicController.cs
@@ -909,6 +909,23 @@
                 }
             }
 
+            foreach (var sysCodeDtl in sysCodeDtls)
+            {
+
+                var shuliang = expertTestTopicDTOs1.Count(x => x.Topictype == sysCodeDtl.CodeSn);
+                var expertTestTopicDTO = new ExpertTestTopicDTO();
+                expertTestTopicDTO.Shuliang = shuliang;
+                expertTestTopicDTO.ZhishitypeName = "鍚堣";
+
+                expertTestTopicDTO.Zhishitype = "";
+                expertTestTopicDTO.Topictype = sysCodeDtl.CodeSn;
+                expertTestTopicDTOs.Add(expertTestTopicDTO);
+            }
+               
+
+
+
+
 
             //ViewBag.topictype = sysCodeDtls;
 

--
Gitblit v1.9.1