| | |
| | | expertTestTopicpeizhiDTO.zongFenshu = aaaa.HasValue? aaaa.Value.ToString("0.##"):""; |
| | | expertTestTopicpeizhiDTO.zongFenzhi = expertTestTopicpeizhiDTO.Fenzhi.HasValue ? expertTestTopicpeizhiDTO.Fenzhi.Value.ToString("0.##") : ""; |
| | | } |
| | | foreach (var zhishitype in zhishitypes) |
| | | { |
| | | var bbbb = expertTestTopicpeizhiDTOs.Where(x => x.Zhishitype == zhishitype.CodeSn).ToList(); |
| | | if (bbbb.Count <= 0) |
| | | { |
| | | foreach (var topictype in topictypes) |
| | | { |
| | | ExpertTestTopicpeizhiDTO expertTestTopicpeizhiDTO = new ExpertTestTopicpeizhiDTO(); |
| | | expertTestTopicpeizhiDTO.ShijianId = "01"; |
| | | expertTestTopicpeizhiDTO.Topictype = topictype.CodeSn; |
| | | expertTestTopicpeizhiDTO.TopictypeName = topictype.Comments; |
| | | |
| | | expertTestTopicpeizhiDTO.Zhishitype = zhishitype.CodeSn; |
| | | expertTestTopicpeizhiDTO.ZhishitypeName = zhishitype.Comments; |
| | | |
| | | expertTestTopicpeizhiDTO.Fenshu = 0; |
| | | expertTestTopicpeizhiDTO.Fenzhi = 0; |
| | | expertTestTopicpeizhiDTO.FenshuName = "0"; |
| | | expertTestTopicpeizhiDTO.FenzhiName = "0"; |
| | | expertTestTopicpeizhiDTO.zongFenshu = "0"; |
| | | expertTestTopicpeizhiDTO.zongFenzhi = "0"; |
| | | expertTestTopicpeizhiDTOs.Add(expertTestTopicpeizhiDTO); |
| | | } |
| | | |
| | | expertTestTopicpeizhiDTOs = expertTestTopicpeizhiDTOs.OrderBy(x => x.Topictype).ThenBy(x => x.Zhishitype).ToList(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |