From 55265416345a4d69eda5e3a3900e27e4b1831e0d Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Tue, 9 Nov 2021 23:51:13 +0000 Subject: [PATCH] =?UTF-8?q?<=EC=98=A4=EB=A5=98=EC=88=98=EC=A0=95>=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9=ED=85=8C=EC=8A=A4=ED=8A=B8=EB=AA=A9=EB=A1=9D?= =?UTF-8?q?=20-=20{529}=20Dao/MyBatis/Maps/CRoom.xml=20-=20"cr.myestimatio?= =?UTF-8?q?n"=20FO/Views/CRoom/Estimation.cshtml=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=20=EC=82=AC=EC=9D=B4=ED=8A=B8=20=EC=A7=84=EB=8F=84?= =?UTF-8?q?=EC=9C=A8=20=EA=B8=B0=EA=B0=84=EB=A7=8C=EB=A3=8C=EC=8B=9C=20?= =?UTF-8?q?=EB=85=B8=EC=B6=9C=20=EC=98=A4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Views/CRoom/Estimation.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FO/Views/CRoom/Estimation.cshtml b/FO/Views/CRoom/Estimation.cshtml index 67ac0fb..d443252 100644 --- a/FO/Views/CRoom/Estimation.cshtml +++ b/FO/Views/CRoom/Estimation.cshtml @@ -15,7 +15,7 @@
-@foreach (var d in Model.Datas) +@foreach (var d in Model.Datas.Where(w=>w.dtype > -1)) { } - @if (Model.Datas.Count() < 1) + @if (Model.Datas.Where(w => w.dtype > -1).Count() < 1) { } else { - + }
@@ -26,13 +26,13 @@ class="evaType@(d.intval4==1?"04":d.intval3==1?"03":d.intval3==0 && d.intval >=d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]")
- 평가할 항목이 없습니다.
현재 진도율: @Model.Datas.First().intval %
현재 진도율: @Model.Datas.Where(w=>w.dtype == -1).First().intval5 %