%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTVideoScore" %> <%= new MySubjectNavInstance(this) { Local = MySubjectNavItem.作品得分, Subject = this.Subject }.ToHtml()%>
参评课名称 | 评分人员 | 评分情况 | 分数 | 总分 |
> <%= new HtmlAnchor(itemVideo.ParentVideo.Name) { Href = WebUrl.SubjectPlay(this.Subject.Guid,itemVideo.ParentVideo.Guid),Target="_blank" }%> | <% foreach (var stUser in ListSTUser) { %><%= new HtmlAnchor(stUser.ParentUser.TrueName) { Href=WebUrl.Show(stUser.ParentUser.ParentDomain.Code,stUser.ParentUser.UserName) }%> | <% double total = 0; // foreach (var itemVideo2 in listVideo) // { //这里取每一个视频的总分 var stVideoScore = CreateInstance.STVideoScoreDao.Where(l => l.ParentSTUser == stUser && l.ParentVideo == itemVideo.ParentVideo) .Take(1) .ToList() .FirstResult(); if (stVideoScore == null) { //没评 %>未评 | <% } else { total += stVideoScore.AllScore; %><%= stVideoScore.AllScore %> | <% //有评的话,判断是否已经评完了 int videoCount; int scoreVideoCount; int scoreVideoPartCount; CreateInstance.STUserDao.UserScore(stUser, out videoCount, out scoreVideoCount, out scoreVideoPartCount); if (scoreVideoPartCount > 0) { %> 已评:<%= scoreVideoCount %> 未评<%= scoreVideoPartCount %> <% } // } } %><%= total %> |