From 832562d07631c7af126fa747128c057575a51af5 Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Wed, 31 Mar 2021 04:53:32 +0000 Subject: [PATCH] =?UTF-8?q?<=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=EC=88=98?= =?UTF-8?q?=EC=A0=95>=201.PMSNO=20:=20NULL=202.=EC=B2=98=EB=A6=AC=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20:=20=EC=83=81=EC=8B=9C=EC=B6=94=EA=B0=80=EC=97=90?= =?UTF-8?q?=20=EC=9D=98=ED=95=9C=20=EC=98=A4=EB=A5=98=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BO/Views/croom/grade0.cshtml | 2 +- BO/Views/croom/pay.cshtml | 2 +- Dao/MyBatis/Maps/CRoom.xml | 1 + Dao/MyBatis/Maps/Grade.xml | 2 +- Model/CM.cs | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/BO/Views/croom/grade0.cshtml b/BO/Views/croom/grade0.cshtml index 430551d..6cb6a8b 100644 --- a/BO/Views/croom/grade0.cshtml +++ b/BO/Views/croom/grade0.cshtml @@ -108,7 +108,7 @@ @d.isrebatename @d.asname @d.usernameid - @((Model.CM.cshape == 0 && d.isrebate == 0 ? d.payoktime : d.sstime).Value.ToShortDateString()) + @((Model.CM.cshape == 0 && d.isrebate == 0 ? d.payoktime : d.sdate).Value.ToShortDateString()) @d.attrate % @( d.ex0cnt < 1 ? "-" : d.ex0lectcnt < 1 && d.ex0cnt > 0 ? "미제출" : d.ex0lectpoint.ToString()) @(d.ex1cnt < 1 ? "-" :d.ex1lectcnt < 1 && d.ex1cnt > 0 ? "미제출" : d.ex1lectpoint.ToString()) diff --git a/BO/Views/croom/pay.cshtml b/BO/Views/croom/pay.cshtml index a7ba797..8d088b4 100644 --- a/BO/Views/croom/pay.cshtml +++ b/BO/Views/croom/pay.cshtml @@ -131,7 +131,7 @@  @d.itemname@(d.ccount > 1 ? string.Format(" 외 {0} 건", d.ccount - 1) : "") - @d.sstime.ToString("yy-MM-dd")~@d.setime.ToString("yy-MM-dd") + @d.sdate.ToString("yy-MM-dd")~@d.edate.ToString("yy-MM-dd") @d.payamt.ToString("#,0")
(@(d.pptype == 0 ? "미정" : d.pptypename)) @(d.pstatus == 1 ? d.payamt.ToString("#,0") : "0")
(@(d.refundamt.ToString("#,0")))
@d.cdtymd diff --git a/Dao/MyBatis/Maps/CRoom.xml b/Dao/MyBatis/Maps/CRoom.xml index b525818..16f0a66 100644 --- a/Dao/MyBatis/Maps/CRoom.xml +++ b/Dao/MyBatis/Maps/CRoom.xml @@ -772,6 +772,7 @@ ,u.userno,u.userid,u.username ,ua.asname,ua.isjoin ,cm.cshape,cm.sstime,cm.setime + ,le.sdate,le.edate ,case when a.isexamready=1 then uee.exname else case pi.ptype when 2 then bk.bkname when 3 then ex.exname else cm.cname end end itemname ,row_number() over(order by case when pr.rstatus=0 and pri.rfdno is not null then 0 else 1 end, case when a.isexamready=1 then ue.cdt else p.cdt end desc) rno ,count(p.payno) over() pagetotalcount diff --git a/Dao/MyBatis/Maps/Grade.xml b/Dao/MyBatis/Maps/Grade.xml index 49b4588..15cb434 100644 --- a/Dao/MyBatis/Maps/Grade.xml +++ b/Dao/MyBatis/Maps/Grade.xml @@ -245,7 +245,7 @@ select a.lectno,b.userno ,row_number() over(order by $orderby$c.cname,c.cmno,u.username ) rno ,count(a.lectno) over() pagetotalcount - ,b.isrebate,ua.asname,u.username,u.userid,b.iscomplete,b.completetime + ,b.isrebate,ua.asname,u.username,u.userid,b.iscomplete,b.completetime,b.sdate ,p.payoktime ,c.sstime,c.cmno,c.cname,c.classno ,b.attrate diff --git a/Model/CM.cs b/Model/CM.cs index 8e55d4a..1d4deb1 100644 --- a/Model/CM.cs +++ b/Model/CM.cs @@ -194,7 +194,7 @@ namespace NP.Model { get { - return sstime == null && setime == null ? "" : string.Format("{0} ~ {1}", sstime == null ? "" : sstime.Value.ToString("yyyy-MM-dd"), setime == null ? "" : setime.Value.ToString("yyyy-MM-dd")); + return sstime == null && setime == null ? studydays+"일" : string.Format("{0} ~ {1}", sstime == null ? "" : sstime.Value.ToString("yyyy-MM-dd"), setime == null ? "" : setime.Value.ToString("yyyy-MM-dd")); } } public String ssretimeToDay