| | |
| | | expertTestTopicanwserDTOs = _expertTestTopicService.GetListanwser(id); |
| | | if (dto.Topictype=="03") |
| | | { |
| | | expertTestTopicanwserDTOs = expertTestTopicanwserDTOs.OrderByDescending(x=>x.Anwserno).ToList(); |
| | | expertTestTopicanwserDTOs = expertTestTopicanwserDTOs.OrderBy(x=>x.Anwserno).ToList(); |
| | | } |
| | | if (expertTestTopicanwserDTOs.Count == 0) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | 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; |
| | | |