From 2efcb78b4b921b58e0a107b9028a7ada9d330bc1 Mon Sep 17 00:00:00 2001 From: jity7777 Date: Tue, 22 Mar 2022 05:26:01 +0000 Subject: [PATCH] =?UTF-8?q?<=EA=B8=B0=EB=8A=A5=EA=B0=9C=EC=84=A0>=201.=20P?= =?UTF-8?q?MS=20NO=20:=20=EC=B6=94=EA=B0=80=20=EA=B0=9C=EB=B0=9C=EA=B1=B4?= =?UTF-8?q?=20:=20=EC=88=98=EA=B0=95=EC=83=9D=20=EA=B5=90=EC=9C=A1?= =?UTF-8?q?=EC=9D=B4=EB=A0=A5=20=ED=99=94=EB=A9=B4=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EA=B1=B4=202.=20(=EC=A3=BC=EC=9A=94)=EC=9E=91=EC=97=85?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=20(1)=20=EC=88=98=EA=B0=95=EC=83=9D=20?= =?UTF-8?q?=EA=B5=90=EC=9C=A1=EC=9D=B4=EB=A0=A5=20=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=EA=B1=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BO/BO.csproj | 1 + BO/Controllers/userController.cs | 2 +- BO/Views/Shared/Partial/ScdScript2.cshtml | 109 ++++++++++++++++++++++ BO/Views/user/ur.cshtml | 91 +++++++++++++++--- Dao/MyBatis/Maps/Lect.xml | 46 +++++++++ 5 files changed, 234 insertions(+), 15 deletions(-) create mode 100644 BO/Views/Shared/Partial/ScdScript2.cshtml diff --git a/BO/BO.csproj b/BO/BO.csproj index a95a4bc..d300ea4 100644 --- a/BO/BO.csproj +++ b/BO/BO.csproj @@ -696,6 +696,7 @@ + diff --git a/BO/Controllers/userController.cs b/BO/Controllers/userController.cs index 2020351..fa15969 100644 --- a/BO/Controllers/userController.cs +++ b/BO/Controllers/userController.cs @@ -67,7 +67,7 @@ namespace NP.BO.Controllers LogSet(new ActLog() { logtype = 20, logtarget = 21, logdata = vm.User.username + "("+vm.User.userid+")", userno = vm.User.userno, uno = SUserInfo.UserNo, uip = GetUserIP() }); if (vm.viewname == "user") { - vm.Lects = Dao.Get("lect.lects.my", new System.Collections.Hashtable() { { "userno", vm.User.userno } }); + vm.Lects = Dao.Get("lect.lects.my2", new System.Collections.Hashtable() { { "userno", vm.User.userno } }); } else if (vm.viewname == "professor") { diff --git a/BO/Views/Shared/Partial/ScdScript2.cshtml b/BO/Views/Shared/Partial/ScdScript2.cshtml new file mode 100644 index 0000000..5985ad6 --- /dev/null +++ b/BO/Views/Shared/Partial/ScdScript2.cshtml @@ -0,0 +1,109 @@ + + \ No newline at end of file diff --git a/BO/Views/user/ur.cshtml b/BO/Views/user/ur.cshtml index fedecf8..74a861f 100644 --- a/BO/Views/user/ur.cshtml +++ b/BO/Views/user/ur.cshtml @@ -1,4 +1,9 @@ @model NP.Model.VMUser +@{ + string eduLocName = ""; +} + +
  • 기본정보
  • @@ -41,7 +46,7 @@
    @Html.TextBoxFor(m => m.User.username, new { @class = "form-control disp-init", @style = "width: 300px;", @maxlength = "50" })
    - @Html.HiddenFor(m=>m.User.jointype) + @Html.HiddenFor(m => m.User.jointype)
    @if (Model.viewname == "user") { @@ -81,11 +86,11 @@ @if (Model.viewname == "user") {
    - +
    - @Html.TextBoxFor(m => m.User.birthday, new { @readonly = "readonly", @style = "width: 300px; background-color: #ddd;", @class = "postno form-control disp-init" }) + @Html.TextBoxFor(m => m.User.birthday, new { @readonly = "readonly", @style = "width: 300px; background-color: #ddd;", @class = "postno form-control disp-init" })
    -
    +
} @if (Model.viewname == "user") { @@ -232,34 +237,58 @@ @Html.HiddenFor(m => m.intval) @Html.HiddenFor(m => m.User.userno) + + + + +