From 9c50926a51c291a6474779c69506e4b5c1745c25 Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Sat, 10 Jun 2023 13:53:25 +0800 Subject: [PATCH] update CourseQuery Signed-off-by: Chenx221 --- project2/.idea/webContexts.xml | 3 + .../controller/CourseController.class | Bin 1347 -> 3693 bytes .../cyou/chenx221/mapper/CourseDao.class | Bin 321 -> 480 bytes .../chenx221/mapper/impl/CourseDaoImpl.class | Bin 932 -> 1271 bytes .../classes/cyou/chenx221/pojo/Course.class | Bin 1823 -> 2006 bytes .../cyou/chenx221/service/CourseService.class | Bin 736 -> 1013 bytes .../WEB-INF/classes/mapper/CourseMapper.xml | 15 + .../WEB-INF/views/courseQueryResult.jsp | 172 ++++++++ .../WEB-INF/views/courseopv2.jsp | 405 ++++++++++++++++++ .../WEB-INF/views/dashboard.jsp | 4 +- .../WEB-INF/views/studentinfomodv2.jsp | 2 +- .../chenx221/controller/CourseController.java | 110 +++++ .../java/cyou/chenx221/mapper/CourseDao.java | 2 + .../chenx221/mapper/impl/CourseDaoImpl.java | 5 + .../main/java/cyou/chenx221/pojo/Course.java | 6 + .../cyou/chenx221/service/CourseService.java | 5 +- .../main/resources/mapper/CourseMapper.xml | 15 + .../web/WEB-INF/views/courseQueryResult.jsp | 172 ++++++++ project2/web/WEB-INF/views/courseopv2.jsp | 405 ++++++++++++++++++ project2/web/WEB-INF/views/dashboard.jsp | 4 +- .../web/WEB-INF/views/studentinfomodv2.jsp | 2 +- 21 files changed, 1320 insertions(+), 7 deletions(-) create mode 100644 project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp create mode 100644 project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp create mode 100644 project2/web/WEB-INF/views/courseQueryResult.jsp create mode 100644 project2/web/WEB-INF/views/courseopv2.jsp diff --git a/project2/.idea/webContexts.xml b/project2/.idea/webContexts.xml index 5b027d5..f33bfe3 100644 --- a/project2/.idea/webContexts.xml +++ b/project2/.idea/webContexts.xml @@ -3,8 +3,11 @@ diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/controller/CourseController.class index f5e68fbed4af15d4d77f1e7dca41906871606475..4b58ef60053122afab7180cd7bd2902f67b55fb0 100644 GIT binary patch literal 3693 zcma)8?{gbh6+O?Eyo#bEtx`L68mDfW1lh8(*rX-3lYrym#vnIooH{fil(qD1Z@k)- zci+k}ze-DgP#A`&!hjpn8NPOgzauUD6_oRKSF&UaPi8Fd?%j9qyZ4-P z@7sU<_x?WtT)?lg=s~Z6R1RtM2|RMgYFMUYxhv+Cr8}~s1p3a~uB|Q#^cF@I_aTFQ z2C_NqM^0d*vgw6pWmUR&Cnmamc_UIXsHIz|#-m!>v}Nns%Hxhd>}-7%4}Eh01o!vK^?Y3?36O;*^5@ z7{Cz&kLNImqXNe~f5i;yzU{6o`&LbEc>bCh+UC4hm5xBps#d3!^6jNiv5w~paqI}R z1)ANJsWwXt0!0!Dt7qafYN-u7{RGaQfTxZ)STlgE4_8zWDGD|M}?mUwrVp z2cK>|xcBSNfAi7jZ~f`Pz5Dt9jMNgn_RL40h60 z_wINJzgbM+YX;8d@C=?6cywELbFPvr(kD9&%L(O`Wr2ahTtZ+3ax4hJ@YC_R`i!vZ7R<`n$F=8 zW(1DZtTnCqiluJYYL$0^vRp-wpDWBgR5H64W$`V{8h9ax%a{{590Apt1EJDlRgSxZ z%~pxJi@uXX8S?^%*c>l~(%+nk7-Mp!!j4vKsOtZKn%RQ#e6s319bd_C` zi*{f$)U@k*%2GBd5jfYi8JDEx2IjI=QJ%kPS}g~2I#k{UWnN|2i9%Q3=5%Pn)jkXa z((DL5Igan`OYQ9ho7(S0WV7BxrL<%1`5o}IlX#JtpY6K&hFmh2Y`5B8?+a4RTlKmg zWXwJ4LQ-a0jvjtg&m4Q4v#>ECu-M*q|F_4w?z}f-`Q4qsQMWx_1Wt4keAUvUT1mfy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h?pgl( zpYNPU@h0W{b-n7;-y83R7Ds*VH2pEVV&Prn)LW#M|ZqDrg zOXmdPbdQL5%2Q!XBEXnN5E(>a!eW>GxXG=t7O)aW)&Mz%0PAz6+(AAjOB`vDyla*MO zs9#!=nWOKMSzKbx$lwK%m{_^coQZ{zft7)cfsuh7Xb=+v2awOnzy;@X1I2j2GQ13Y LKpLcypMe1Ys{Ri5QWc8YGc#Zs-=lG#^0)GYt7D0a3SJGf+Fs8A+dyzQYz#}aOKhm$Se2& zif(k_1NbcN-HCH=L<_EF=FBIEzX%dB_z!_7HF9&`7g*7{p?(`-YB$QF1S7quaut2k!eMrW^B56~k0yPxq(-LN| zM3Y7iK*cgvsPc~I8CIz;QeC6UDA^JuS2k}siEn_0AaFM*lM~jdm#{&ahE1NKd5`Y$ rE7i_3l-Wl21-gs}Vf=$N$KI*_z$gL>ZGz?44q@tD5#0Lyum^kt6rMc5 delta 224 zcmX|(Jqp4=6olvPMnl%cpJEgL|7~J#BevFdf=3a-L*xoxAczPS9>5FPiIX*0yf-tC zdEYy_gy!{mJOOO5$W0fe&}E8$ZS>G*;-9Aq2J}^uhg9L`sN}DxlI;SwE{H_~aGqqnw@^r=0GHM)`8qD|k@)i(r+l$1s4>b@}PSnpkwAdutU zJ!sI`r`>x9*Bc_~`a?wA`Vg@J>l!B5W}w){n2cit3ARbtNFmRv`&W+wCOP9ynBqGT zMnzcMA6iSi?LP*hl%U!DkigoS7W8(BU7+{Q{4cJvaaW delta 342 zcmcb{KcA25)W2Q(7#J9A8EiLlon)LW&E(6;k(^&zRGjMRGC7TDEuR4wgCTe=$gD_BzkwKL~4WwyuHk+WNBvxb988jwOWm9F91?rUp>Xm2K1nW_eRK%)Y3#eX> zU6oZ8s9p_Z*W`G14rXm2JB!`WS_?^!5Y*|+3_4&J>oVv8X%3*P^nuuv!5qlr0C+; diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/service/CourseService.class b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/cyou/chenx221/service/CourseService.class index 4e6389c6b41546b626b87be3815f53e2a85c039e..bd524520306e31ca975f945be4abfa0fc550a61f 100644 GIT binary patch delta 400 zcmaFB`jwsQ)W2Q(7#J9A8Pq0nJ+bCy;A0TsVGv~yV`Sh@Pb~>7O)aW)&Mz%0PAz6+ z(ADrsuFNmhPtHiqt1vP$)Gx@-%GZZTTTi@u#f2>ytdx;K8jnIo1}}W(Om1Xc70=AT z$iT`V4kRUjj&oyR0zw7`F0Jhhj9S`T8Q3=hc}xtFK$4Gv8A$RnumD+{4EzjIK%N*x zHG?#R43G!Z$H2|N12l_~L6AWRC?_$wi%Gg3q?-*W#=sy9)&)`lQVY=~3uH4f$N|NG zfdSG3~WV%PvyhA>JT$pPGO2XHgUGbjL!f*7g@G(-vL6d=1^^+mKMMc= delta 186 zcmXAiI}XA?3`E~<2oVe78^R}i`fvjfEd`h047A(=?MWyQ5(Nz%r=Z{pw20Y6md74@ z#{MSn*u8%D2e4&%b|1esPk*$hgT)Xt5T;u0unKU+4O6VHBo{HuP}n9au||gmT{5w( vQZr&KCLc{&x@G9m*Dm$@DBlEkT{H9}xPl^RE7wH5Wva}}ZpK_S=ojz@n)VSm diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/mapper/CourseMapper.xml b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/mapper/CourseMapper.xml index 964bb27..70ea3a9 100644 --- a/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/mapper/CourseMapper.xml +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/classes/mapper/CourseMapper.xml @@ -8,4 +8,19 @@ FROM course WHERE removed = 0 + + \ No newline at end of file diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp new file mode 100644 index 0000000..0eecf1a --- /dev/null +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseQueryResult.jsp @@ -0,0 +1,172 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> + + + + + + + + 课程信息查询结果页 + + + + + + + + + + +
+ +
+ + + + +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + +
课程ID课程名课程描述
${course.courseID}${course.courseName}${course.description}
+
+
+
+
+
+ + + + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp new file mode 100644 index 0000000..d8b7011 --- /dev/null +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/courseopv2.jsp @@ -0,0 +1,405 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> + + + + + + + + 课程信息修改v2 + + + + + + + + + + + +
+ +
+ + + + +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + +
课程ID课程名课程描述
${course.courseID}${course.courseName}${course.description}
+
+
+
+ + + +
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ + +
+
+
+
+
+ + + + +
+ + + + +
+
+ + + + + + + + + \ No newline at end of file diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/dashboard.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/dashboard.jsp index 0950b2f..74e1ff6 100644 --- a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/dashboard.jsp +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/dashboard.jsp @@ -54,8 +54,8 @@
  • -
  • 课程管理
  • -
  • 学生选课管理
  • +
  • 课程查看
  • +
  • 课程管理
  • 学生选课管理
  • diff --git a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/studentinfomodv2.jsp b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/studentinfomodv2.jsp index 547af3f..c176358 100644 --- a/project2/out/artifacts/project2_war_exploded/WEB-INF/views/studentinfomodv2.jsp +++ b/project2/out/artifacts/project2_war_exploded/WEB-INF/views/studentinfomodv2.jsp @@ -403,7 +403,7 @@ - + + + + + + \ No newline at end of file diff --git a/project2/web/WEB-INF/views/courseopv2.jsp b/project2/web/WEB-INF/views/courseopv2.jsp new file mode 100644 index 0000000..d8b7011 --- /dev/null +++ b/project2/web/WEB-INF/views/courseopv2.jsp @@ -0,0 +1,405 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> + + + + + + + + 课程信息修改v2 + + + + + + + + + + + +
    + +
    + + + + +
    +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + +
    课程ID课程名课程描述
    ${course.courseID}${course.courseName}${course.description}
    +
    +
    +
    + + + +
    + +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + + +
    +
    +
    +
    +
    + + + + +
    + + + + +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/project2/web/WEB-INF/views/dashboard.jsp b/project2/web/WEB-INF/views/dashboard.jsp index 0950b2f..74e1ff6 100644 --- a/project2/web/WEB-INF/views/dashboard.jsp +++ b/project2/web/WEB-INF/views/dashboard.jsp @@ -54,8 +54,8 @@
  • -
  • 课程管理
  • -
  • 学生选课管理
  • +
  • 课程查看
  • +
  • 课程管理
  • 学生选课管理
  • diff --git a/project2/web/WEB-INF/views/studentinfomodv2.jsp b/project2/web/WEB-INF/views/studentinfomodv2.jsp index 547af3f..c176358 100644 --- a/project2/web/WEB-INF/views/studentinfomodv2.jsp +++ b/project2/web/WEB-INF/views/studentinfomodv2.jsp @@ -403,7 +403,7 @@ - +