commit b65d1817b5817f7bc7662e4e1eb27c7fbed52371
Author: 谢欣悦 <2289014031@qq.com>
Date: Mon Jul 22 10:19:06 2024 +0800
日考4
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..549e00a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..a50a17f
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,333 @@
+
+
+ 4.0.0
+ com.bw
+ Rkday18
+ 0.0.1-SNAPSHOT
+ Rkday18
+ Demo project for Spring Boot
+
+ 1.8
+ UTF-8
+ UTF-8
+ 2.3.12.RELEASE
+
+
+
+
+
+
+ com.belerweb
+ pinyin4j
+ 2.5.1
+
+
+
+
+ cn.hutool
+ hutool-captcha
+ 5.8.5
+
+
+
+
+ com.xuxueli
+ xxl-job-core
+ 2.3.1
+
+
+
+
+
+ org.projectlombok
+ lombok
+ true
+
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.3.0
+
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.79
+
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.4
+
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.32
+ runtime
+
+
+
+
+ javax.servlet
+ javax.servlet-api
+ provided
+
+
+
+
+ javax.servlet
+ jstl
+
+
+
+
+ org.apache.tomcat.embed
+ tomcat-embed-jasper
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-mail
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-tomcat
+ provided
+
+
+
+ commons-lang
+ commons-lang
+ 2.6
+
+
+
+
+ junit
+ junit
+ 4.12
+
+
+
+
+ dom4j
+ dom4j
+ 1.6.1
+
+
+ jaxen
+ jaxen
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+
+
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.4
+
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ runtime
+ true
+
+
+
+
+ cn.hutool
+ hutool-all
+ 5.7.22
+
+
+
+
+ org.mybatis.caches
+ mybatis-ehcache
+ 1.2.1
+
+
+ org.ehcache
+ ehcache
+ 3.8.1
+
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.15
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.2.1
+
+
+ org.apache.httpcomponents
+ httpcore
+ 4.2.1
+
+
+ commons-lang
+ commons-lang
+ 2.6
+
+
+ org.eclipse.jetty
+ jetty-util
+ 9.3.7.v20160115
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-activemq
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-cache
+
+
+ net.sf.ehcache
+ ehcache
+ 2.10.6
+
+
+
+
+ org.apache.poi
+ poi-ooxml
+ 3.17
+
+
+ org.apache.poi
+ poi-ooxml-schemas
+ 3.17
+
+
+ org.apache.commons
+ commons-lang3
+ 3.12.0
+
+
+
+
+ com.alibaba
+ easyexcel
+ 2.2.7
+
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring-boot.version}
+ pom
+ import
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+ 1.8
+ 1.8
+ UTF-8
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.3.12.RELEASE
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
+ src/main/java
+
+ **/*.xml
+
+
+
+ src/main/resources
+
+ **/*.*
+
+
+
+ src/main/webapp
+
+ **/*.*
+
+
+
+
+
+
+
diff --git a/src/main/java/com/bw/Application.java b/src/main/java/com/bw/Application.java
new file mode 100644
index 0000000..947f10f
--- /dev/null
+++ b/src/main/java/com/bw/Application.java
@@ -0,0 +1,31 @@
+package com.bw;
+
+import com.bw.service.ScheduledPrintNameService;
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.jms.annotation.EnableJms;
+import org.springframework.scheduling.annotation.EnableScheduling;
+import org.springframework.scheduling.annotation.Scheduled;
+
+@EnableJms
+@SpringBootApplication
+@EnableScheduling
+public class Application {
+
+ public static void main(String[] args) {
+ SpringApplication.run(Application.class, args);
+ }
+
+
+ @Autowired
+ private ScheduledPrintNameService service;
+ @Scheduled(cron = "0/5 * * * * ?")
+ public void testName(){
+ service.ScheduledPrintName();
+ }
+
+
+
+}
diff --git a/src/main/java/com/bw/service/ScheduledPrintNameService.java b/src/main/java/com/bw/service/ScheduledPrintNameService.java
new file mode 100644
index 0000000..18e8200
--- /dev/null
+++ b/src/main/java/com/bw/service/ScheduledPrintNameService.java
@@ -0,0 +1,5 @@
+package com.bw.service;
+
+public interface ScheduledPrintNameService {
+ void ScheduledPrintName();
+}
diff --git a/src/main/java/com/bw/service/ScheduledPrintNameServiceImpl.java b/src/main/java/com/bw/service/ScheduledPrintNameServiceImpl.java
new file mode 100644
index 0000000..ec09540
--- /dev/null
+++ b/src/main/java/com/bw/service/ScheduledPrintNameServiceImpl.java
@@ -0,0 +1,12 @@
+package com.bw.service;
+
+import org.springframework.stereotype.Service;
+
+@Service
+public class ScheduledPrintNameServiceImpl implements ScheduledPrintNameService{
+ @Override
+ public void ScheduledPrintName() {
+ Object name="谢欣悦";
+ System.out.println(name);
+ }
+}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..f710332
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,67 @@
+# ???? WEB ?????
+server.port=8080
+
+# ??????????MyBatis??
+# ??Mybatis?Mapper??
+mybatis.mapper-locations=classpath:mapper/*.xml
+# ??Mybatis?????
+#mybatis.type-aliases-package=com.bw.bean
+# ????
+logging.level.com.bw=debug
+# mybatis???????
+mybatis.configuration.map-underscore-to-camel-case=true
+# ??????
+spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+# ?????
+#spring.datasource.name=defaultDataSource
+# ???????
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/zg2_rkday18?characterEncoding=utf-8&useUnicode=true
+# ??????&???
+spring.datasource.username=root
+spring.datasource.password=root
+# ?????
+spring.mvc.view.prefix=/WEB-INF/view/
+spring.mvc.view.suffix=.jsp
+
+# ????????????/??
+spring.mail.host=smtp.qq.com
+# ???????
+spring.mail.port=587
+# ???
+spring.mail.username=2289014031@qq.com
+# ???
+spring.mail.password=osckrzzuhfbhecgc
+
+# ??
+spring.mail.defaultencoding=UTF8
+# ????
+spring.mail.properties.mail.smtp.socketFactoryClass=javax.net.ssl.SSLSocketFactory
+# ???????????? ????????
+spring.mail.properties.mail.debug=true
+
+
+# pageHelper??
+# ?????
+pagehelper.reasonable=true
+# ????????????????? ????????? mysql--limit oracle--rownum
+pagehelper.auto-dialect=true
+
+
+# activeMq?????
+spring.activemq.user=admin
+spring.activemq.password=admin
+# ???????mq ??????????
+spring.activemq.in-memory=false
+# ???? ?61616 ?????8161
+spring.activemq.broker-url=tcp://127.0.0.1:61616
+# ????????????? (??????????????)
+spring.activemq.packages.trust-all=true
+#??mq?????
+spring.jms.template.delivery-mode=persistent
+
+# ????
+spring.cache.ehcache.config=classpath:ehcache.xml
+spring.cache.type=ehcache
+
+#??MQ?????? ???false:???? ??true:???????
+spring.jms.pub-sub-domain=false
diff --git a/src/main/webapp/css/css.css b/src/main/webapp/css/css.css
new file mode 100644
index 0000000..e9953d2
--- /dev/null
+++ b/src/main/webapp/css/css.css
@@ -0,0 +1,187 @@
+@charset "UTF-8";
+
+form {
+ margin: 0px;
+}
+
+img {
+ border: medium none;
+ margin: 0;
+ padding: 0;
+} /* img elements 图片元素 */
+/** 设置默认字体 **/
+body,button,input,select,textarea {
+ font-size: 12px;
+ font: 12px/1.5 ’宋体’, Arial, tahoma, Srial, helvetica, sans-serif;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ font-size: 100%;
+}
+
+em {
+ font-style: normal;
+}
+/** 重置列表元素 **/
+ul,ol {
+ list-style: none;
+}
+/** 重置超链接元素 **/
+a {
+ text-decoration: none;
+ color: #4f4f4f;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: #F40;
+}
+/** 重置图片元素 **/
+img {
+ border: 0px;
+ margin-bottom: -7px;
+}
+
+body {
+ width: 80%;
+ margin: 40px auto;
+ font-family: 'trebuchet MS', 'Lucida sans', Arial;
+ font-size: 14px;
+ color: #444;
+ background: url(../css/img/48.jpg);
+ background-repeat: no-repeat;
+ background-size: 100% auto;
+ /* background: #F5F5F5; */
+}
+
+table {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ /* -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc; */
+ -webkit-box-shadow: 0px 2px 1px 5px rgba(242, 242, 242, 0.1);
+ box-shadow: 5px 20px 30px 30px rgba(242, 242, 242, 0.1);
+ width: 100%;
+}
+
+table thead th {
+ background:url(../css/img/zebratable.png);
+ background-repeat:no-repeat;
+ background-position: 0px center;
+}
+
+table tr {
+ background: #D5EAF0;
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+}
+
+table tr:nth-child(even) {
+ background: #D7E1C5;
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+}
+
+
+
+table td,table th {
+ border-left: 1px solid #ccc;
+ border-top: 1px solid #ccc;
+ padding: 10px;
+ text-align: center;
+}
+
+table th {
+ background-color: #66a9bd;
+ background-image: -moz-linear-gradient(top, #dce9f9, #66a9bd);
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ border-top: none;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
+}
+
+table td:first-child,table th:first-child {
+ border-left: none;
+}
+
+table th:first-child {
+ -webkit-border-radius: 6px 0 0 0;
+ border-radius: 6px 0 0 0;
+}
+
+table th:last-child {
+ -webkit-border-radius: 0 6px 0 0;
+ border-radius: 0 6px 0 0;
+}
+
+table th:only-child {
+ -webkit-border-radius: 6px 6px 0 0;
+ border-radius: 6px 6px 0 0;
+}
+
+table tr:last-child td:first-child {
+ -webkit-border-radius: 0 0 0 6px;
+ border-radius: 0 0 0 6px;
+}
+
+table tr:last-child td:last-child {
+ -webkit-border-radius: 0 0 6px 0;
+ border-radius: 0 0 6px 0;
+}
+
+input[type="button"],input[type="submit"],input[type="reset"] {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc;
+ background: #B0CC7F;
+ margin: 0 2px 0;
+}
+
+input[type="text"],input[type="password"] {
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+select {
+ width:200px;
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+option {
+ width:180px;
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+
+input[name="page.now"] {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0px 0px 0px #CEB754;
+ background: #D5EAF0;
+ margin: 0px 10px 0px 0px;
+ padding-bottom: 0px;
+ padding-top: 5px;
+ width: 24px;
+ line-height:10px;
+ height: 12xp;
+}
\ No newline at end of file
diff --git a/src/main/webapp/css/img/234.jpg b/src/main/webapp/css/img/234.jpg
new file mode 100644
index 0000000..fcc369e
Binary files /dev/null and b/src/main/webapp/css/img/234.jpg differ
diff --git a/src/main/webapp/css/img/455.jpg b/src/main/webapp/css/img/455.jpg
new file mode 100644
index 0000000..844aebc
Binary files /dev/null and b/src/main/webapp/css/img/455.jpg differ
diff --git a/src/main/webapp/css/img/48.jpg b/src/main/webapp/css/img/48.jpg
new file mode 100644
index 0000000..6a8439f
Binary files /dev/null and b/src/main/webapp/css/img/48.jpg differ
diff --git a/src/main/webapp/css/img/4823.jpg b/src/main/webapp/css/img/4823.jpg
new file mode 100644
index 0000000..2596e7a
Binary files /dev/null and b/src/main/webapp/css/img/4823.jpg differ
diff --git a/src/main/webapp/css/index.css b/src/main/webapp/css/index.css
new file mode 100644
index 0000000..087a736
--- /dev/null
+++ b/src/main/webapp/css/index.css
@@ -0,0 +1,57 @@
+@charset "UTF-8";
+/* CSS Document */
+body, h1, h2, h3, h4, h5, h6, hr, p,
+blockquote, /* structural elements 结构元素 */
+dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
+pre, /* text formatting elements 文本格式元素 */
+form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
+th, td, /* table elements 表格元素 */
+body{
+background: #F5F5F5;
+}
+form{
+ margin-top: 0px;
+}
+img{border:medium none;margin:0;padding:0;}/* img elements 图片元素 */
+/** 设置默认字体 **/
+body,button, input, select, textarea { font-size:12px; font: 12px/1.5 ’宋体’,Arial,tahoma, Srial, helvetica, sans-serif;}
+h1,h2,h3,h4,h5,h6 { font-size:100%;}
+em{font-style:normal;}
+/** 重置列表元素 **/
+ul, ol { list-style:none; }
+/** 重置超链接元素 **/
+a { text-decoration:none; color:#4f4f4f;}
+a:hover { text-decoration:underline; color:#F40; }
+/** 重置图片元素 **/
+img{ border:0px; margin-bottom: -7px;}
+table {border: 1px solid #B1CDE3; padding:0; margin:0 auto; margin-left:10px;margin-right:10px; width:98%; border-collapse: collapse; }
+td,th {text-align:center; border: 1px solid #B1CDE3;background: #fff;font-size:14px;padding: 3px 3px 3px 8px;color: #4f6b72;height: 22px;}
+input[type="text"]{
+border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
+background: #F5F5F5;
+height: 18px;
+width: 160px;
+}
+input[type="password"]{
+border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
+color: #000; background: #F5F5F5;
+width: 160px;
+}
+input[type="submit"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; font-weight: bold; background: #F5F5F5;
+}
+input[type="button"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; font-weight: bold; background: #F5F5F5;
+}
+input[type="reset"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; background: #F5F5F5;
+}
+textarea {
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; background: #F5F5F5;
+width:600px;height: 150px;
+}
+p{margin-left:10px; margin-top:2px; margin-bottom:5px; width:100%; border-collapse: collapse;font-size:14px;}
diff --git a/src/main/webapp/css/index_like.css b/src/main/webapp/css/index_like.css
new file mode 100644
index 0000000..ff28641
--- /dev/null
+++ b/src/main/webapp/css/index_like.css
@@ -0,0 +1,57 @@
+<%=request.getContextPath() %><%=request.getContextPath() %>@charset "UTF-8";
+/* CSS Document */
+body, h1, h2, h3, h4, h5, h6, hr, p,
+blockquote, /* structural elements ṹԪ */
+dl, dt, dd, ul, ol, li, /* list elements бԪ */
+pre, /* text formatting elements ıʽԪ */
+form, fieldset, legend, button, input, textarea, /* form elements Ԫ */
+th, td, /* table elements Ԫ */
+body{
+background: #F5F5F5;
+}
+form{
+ margin-top: 0px;
+}
+img{border:medium none;margin:0;padding:0;}/* img elements ͼƬԪ */
+/** Ĭ **/
+body,button, input, select, textarea { font-size:12px; font: 12px/1.5 塯,Arial,tahoma, Srial, helvetica, sans-serif;}
+h1,h2,h3,h4,h5,h6 { font-size:100%;}
+em{font-style:normal;}
+/** бԪ **/
+ul, ol { list-style:none; }
+/** óԪ **/
+a { text-decoration:none; color:#4f4f4f;}
+a:hover { text-decoration:underline; color:#F40; }
+/** ͼƬԪ **/
+img{ border:0px; margin-bottom: -7px;}
+table {border: 1px solid #B1CDE3; padding:0; margin:0 auto; margin-left:10px;margin-right:10px; width:98%; border-collapse: collapse; }
+td,th {text-align:center; border: 1px solid #B1CDE3;background: #fff;font-size:14px;padding: 3px 3px 3px 8px;color: #4f6b72;height: 22px;}
+input[type="text"]{
+border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
+background: #F5F5F5;
+height: 18px;
+width: 160px;
+}
+input[type="password"]{
+border: 1px solid; border-color: #CCC #EEE #EEE #CCC;
+color: #000; background: #F5F5F5;
+width: 160px;
+}
+input[type="submit"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; font-weight: bold; background: #F5F5F5;
+}
+input[type="button"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; font-weight: bold; background: #F5F5F5;
+}
+input[type="reset"]{
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; background: #F5F5F5;
+}
+textarea {
+border: 1px solid; border-color: #EEE #CCC #CCC #EEE;
+color: #000; background: #F5F5F5;
+width:600px;height: 150px;
+}
+p{margin-left:10px; margin-top:2px; margin-bottom:5px; width:100%; border-collapse: collapse;font-size:14px;}
diff --git a/src/main/webapp/css/index_work.css b/src/main/webapp/css/index_work.css
new file mode 100644
index 0000000..787845a
--- /dev/null
+++ b/src/main/webapp/css/index_work.css
@@ -0,0 +1,201 @@
+@charset "UTF-8";
+
+form {
+ margin: 0px;
+}
+
+img {
+ border: medium none;
+ margin: 0;
+ padding: 0;
+} /* img elements 图片元素 */
+/** 设置默认字体 **/
+body,button,input,select,textarea {
+ font-size: 12px;
+ font: 12px/1.5 ’宋体’, Arial, tahoma, Srial, helvetica, sans-serif;
+}
+
+h1,h2,h3,h4,h5,h6 {
+ font-size: 100%;
+}
+
+em {
+ font-style: normal;
+}
+/** 重置列表元素 **/
+ul,ol {
+ list-style: none;
+}
+/** 重置超链接元素 **/
+a {
+ text-decoration: none;
+ color: #4f4f4f;
+}
+
+a:hover {
+ text-decoration: underline;
+ color: #F40;
+}
+/** 重置图片元素 **/
+img {
+ border: 0px;
+ margin-bottom: -7px;
+}
+
+body {
+ width: 80%;
+ margin: 40px auto;
+ font-family: 'trebuchet MS', 'Lucida sans', Arial;
+ font-size: 14px;
+ color: #444;
+ background: url(../css/img/body1.jpg);
+ background-repeat: no-repeat;
+ background-size: 100% auto;
+ /* background: #F5F5F5; */
+}
+
+table {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ /* -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc; */
+ -webkit-box-shadow: 0px 2px 1px 5px rgba(242, 242, 242, 0.1);
+ box-shadow: 5px 20px 30px 30px rgba(242, 242, 242, 0.1);
+ width: 100%;
+}
+
+table thead th {
+ background:url(../css/img/zebratable.png);
+ background-repeat:no-repeat;
+ background-position: 0px center;
+}
+
+table tr {
+ background: #D5EAF0;
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+}
+
+table tr:nth-child(even) {
+ background: #D7E1C5;
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+}
+
+table tr:hover {
+ background: #91C5D4;
+ -o-transition: all 0.1s ease-in-out;
+ -webkit-transition: all 0.1s ease-in-out;
+ -ms-transition: all 0.1s ease-in-out;
+ transition: all 3s ease-in-out;
+
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#151515), to(#404040)) !important;
+ background-image: -webkit-linear-gradient(top, #151515, #404040) !important;
+ background-image: -moz-linear-gradient(top, #151515, #404040) !important;
+ background-image: -ms-linear-gradient(top, #151515, #404040) !important;
+ background-image: -o-linear-gradient(top, #151515, #404040) !important;
+ background-image: linear-gradient(top, #151515, #404040) !important;
+ color:#fff !important;
+}
+
+table td,table th {
+ border-left: 1px solid #ccc;
+ border-top: 1px solid #ccc;
+ padding: 10px;
+ text-align: center;
+}
+
+table th {
+ background-color: #66a9bd;
+ background-image: -moz-linear-gradient(top, #dce9f9, #66a9bd);
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
+ border-top: none;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
+}
+
+table td:first-child,table th:first-child {
+ border-left: none;
+}
+
+table th:first-child {
+ -webkit-border-radius: 6px 0 0 0;
+ border-radius: 6px 0 0 0;
+}
+
+table th:last-child {
+ -webkit-border-radius: 0 6px 0 0;
+ border-radius: 0 6px 0 0;
+}
+
+table th:only-child {
+ -webkit-border-radius: 6px 6px 0 0;
+ border-radius: 6px 6px 0 0;
+}
+
+table tr:last-child td:first-child {
+ -webkit-border-radius: 0 0 0 6px;
+ border-radius: 0 0 0 6px;
+}
+
+table tr:last-child td:last-child {
+ -webkit-border-radius: 0 0 6px 0;
+ border-radius: 0 0 6px 0;
+}
+
+input[type="button"],input[type="submit"],input[type="reset"] {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc;
+ background: #B0CC7F;
+ margin: 0 2px 0;
+}
+
+input[type="text"],input[type="password"] {
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+select {
+ width:200px;
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+option {
+ width:180px;
+ border: solid #ccc 2px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ background: #efefef;
+ margin: 0 2px 0;
+ text-indent: 5px;
+}
+
+input[name="page.now"] {
+ border: solid #ccc 1px;
+ -webkit-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 1px 1px #ccc;
+ box-shadow: 0px 0px 0px #CEB754;
+ background: #D5EAF0;
+ margin: 0px 10px 0px 0px;
+ padding-bottom: 0px;
+ padding-top: 5px;
+ width: 24px;
+ line-height:10px;
+ height: 12xp;
+}
\ No newline at end of file
diff --git a/src/main/webapp/css/style.css b/src/main/webapp/css/style.css
new file mode 100644
index 0000000..d01d3c8
--- /dev/null
+++ b/src/main/webapp/css/style.css
@@ -0,0 +1,28 @@
+table.gridtable {
+ width:100%;
+ font-family: verdana,arial,sans-serif;
+ font-size:11px;
+ color:green;
+ border-width: 1px;
+ border-color: #666666;
+ border-collapse: collapse;
+}
+table.gridtable th {
+ border-width: 1px;
+ padding: 8px;
+ border-style: solid;
+ border-color: #666666;
+ background-color: pink;
+ text-align: center;
+}
+table.gridtable td {
+ border-width: 1px;
+ padding: 8px;
+ border-style: solid;
+ border-color: #666666;
+ background-color: #ffffff;
+ text-align: center;
+}
+a{
+ text-decoration: none;
+}
\ No newline at end of file
diff --git a/src/main/webapp/js/My97DatePicker/WdatePicker.js b/src/main/webapp/js/My97DatePicker/WdatePicker.js
new file mode 100644
index 0000000..851604a
--- /dev/null
+++ b/src/main/webapp/js/My97DatePicker/WdatePicker.js
@@ -0,0 +1,57 @@
+/*
+ * My97 DatePicker 4.8 Beta4
+ * License: http://www.my97.net/dp/license.asp
+ */
+var $dp,WdatePicker;(function(){var $={
+$langList:[
+ {name:"en",charset:"UTF-8"},
+ {name:"zh-cn",charset:"gb2312"},
+ {name:"zh-tw",charset:"GBK"}],
+$skinList:[
+ {name:"default",charset:"gb2312"},
+ {name:"whyGreen",charset:"gb2312"},
+ {name:"blue",charset:"gb2312"},
+ {name:"green",charset:"gb2312"},
+ {name:"simple",charset:"gb2312"},
+ {name:"ext",charset:"gb2312"},
+ {name:"blueFresh",charset:"gb2312"},
+ {name:"twoer",charset:"gb2312"},
+ {name:"YcloudRed",charset:"gb2312"}],
+$wdate:true,
+$crossFrame:true,
+$preLoad:false,
+$dpPath:"",
+doubleCalendar:false,
+enableKeyboard:true,
+enableInputMask:true,
+autoUpdateOnChanged:null,
+weekMethod:"ISO8601",
+position:{},
+lang:"auto",
+skin:"default",
+dateFmt:"yyyy-MM-dd",
+realDateFmt:"yyyy-MM-dd",
+realTimeFmt:"HH:mm:ss",
+realFullFmt:"%Date %Time",
+minDate:"1900-01-01 00:00:00",
+maxDate:"2099-12-31 23:59:59",
+startDate:"",
+alwaysUseStartDate:false,
+yearOffset:1911,
+firstDayOfWeek:0,
+isShowWeek:false,
+highLineWeekDay:true,
+isShowClear:true,
+isShowToday:true,
+isShowOK:true,
+isShowOthers:true,
+readOnly:false,
+errDealMode:0,
+autoPickDate:null,
+qsEnabled:true,
+autoShowQS:false,
+opposite:false,
+hmsMenuCfg:{H:[1,6],m:[5,6],s:[15,4]},
+opposite:false,
+
+specialDates:null,specialDays:null,disabledDates:null,disabledDays:null,onpicking:null,onpicked:null,onclearing:null,oncleared:null,ychanging:null,ychanged:null,Mchanging:null,Mchanged:null,dchanging:null,dchanged:null,Hchanging:null,Hchanged:null,mchanging:null,mchanged:null,schanging:null,schanged:null,eCont:null,vel:null,elProp:"",errMsg:"",quickSel:[],has:{},getRealLang:function(){var _=$.$langList;for(var A=0;A<_.length;A++)if(_[A].name==this.lang)return _[A];return _[0]}};WdatePicker=U;var Y=window,T={innerHTML:""},N="document",H="documentElement",C="getElementsByTagName",V,A,S,G,c,X=navigator.appName;if(X=="Microsoft Internet Explorer")S=true;else if(X=="Opera")c=true;else G=true;A=$.$dpPath||J();if($.$wdate)K(A+"skin/WdatePicker.css");V=Y;if($.$crossFrame){try{while(V.parent!=V&&V.parent[N][C]("frameset").length==0)V=V.parent}catch(O){}}if(!V.$dp)V.$dp={ff:G,ie:S,opera:c,status:0,defMinDate:$.minDate,defMaxDate:$.maxDate};B();if($.$preLoad&&$dp.status==0)E(Y,"onload",function(){U(null,true)});if(!Y[N].docMD){E(Y[N],"onmousedown",D,true);Y[N].docMD=true}if(!V[N].docMD){E(V[N],"onmousedown",D,true);V[N].docMD=true}E(Y,"onunload",function(){if($dp.dd)P($dp.dd,"none")});function B(){try{V[N],V.$dp=V.$dp||{}}catch($){V=Y;$dp=$dp||{}}var A={win:Y,$:function($){return(typeof $=="string")?Y[N].getElementById($):$},$D:function($,_){return this.$DV(this.$($).value,_)},$DV:function(_,$){if(_!=""){this.dt=$dp.cal.splitDate(_,$dp.cal.dateFmt);if($)for(var B in $)if(this.dt[B]===undefined)this.errMsg="invalid property:"+B;else{this.dt[B]+=$[B];if(B=="M"){var C=$["M"]>0?1:0,A=new Date(this.dt["y"],this.dt["M"],0).getDate();this.dt["d"]=Math.min(A+C,this.dt["d"])}}if(this.dt.refresh())return this.dt}return""},show:function(){var A=V[N].getElementsByTagName("div"),$=100000;for(var B=0;B$)$=_}this.dd.style.zIndex=$+2;P(this.dd,"block");P(this.dd.firstChild,"")},unbind:function($){$=this.$($);if($.initcfg){L($,"onclick",function(){U($.initcfg)});L($,"onfocus",function(){U($.initcfg)})}},hide:function(){P(this.dd,"none")},attachEvent:E};for(var _ in A)V.$dp[_]=A[_];$dp=V.$dp}function E(B,_,A,$){if(B.addEventListener){var C=_.replace(/on/,"");A._ieEmuEventHandler=function($){return A($)};B.addEventListener(C,A._ieEmuEventHandler,$)}else B.attachEvent(_,A)}function L(A,$,_){if(A.removeEventListener){var B=$.replace(/on/,"");_._ieEmuEventHandler=function($){return _($)};A.removeEventListener(B,_._ieEmuEventHandler,false)}else A.detachEvent($,_)}function a(_,$,A){if(typeof _!=typeof $)return false;if(typeof _=="object"){if(!A)for(var B in _){if(typeof $[B]=="undefined")return false;if(!a(_[B],$[B],true))return false}return true}else if(typeof _=="function"&&typeof $=="function")return _.toString()==$.toString();else return _==$}function J(){var _,A,$=Y[N][C]("script");for(var B=0;B<$.length;B++){_=$[B].getAttribute("src")||"";_=_.substr(0,_.toLowerCase().indexOf("wdatepicker.js"));A=_.lastIndexOf("/");if(A>0)_=_.substring(0,A+1);if(_)break}return _}function K(A,$,B){var D=Y[N][C]("HEAD").item(0),_=Y[N].createElement("link");if(D){_.href=A;_.rel="stylesheet";_.type="text/css";if($)_.title=$;if(B)_.charset=B;D.appendChild(_)}}function F($){$=$||V;var A=0,_=0;while($!=V){var D=$.parent[N][C]("iframe");for(var F=0;F_.scrollTop||A.scrollLeft>_.scrollLeft))?A:_;return{"top":B.scrollTop,"left":B.scrollLeft}}function D($){try{var _=$?($.srcElement||$.target):null;if($dp.cal&&!$dp.eCont&&$dp.dd&&_!=$dp.el&&$dp.dd.style.display=="block")$dp.cal.close()}catch($){}}function Z(){$dp.status=2}var Q,_;function U(K,C){if(!$dp)return;B();var L={};for(var H in K)L[H]=K[H];for(H in $)if(H.substring(0,1)!="$"&&L[H]===undefined)L[H]=$[H];if(C){if(!J()){_=_||setInterval(function(){if(V[N].readyState=="complete")clearInterval(_);U(null,true)},50);return}if($dp.status==0){$dp.status=1;L.el=T;I(L,true)}else return}else if(L.eCont){L.eCont=$dp.$(L.eCont);L.el=T;L.autoPickDate=true;L.qsEnabled=false;I(L)}else{if($.$preLoad&&$dp.status!=2)return;var F=D();if(Y.event===F||F){L.srcEl=F.srcElement||F.target;F.cancelBubble=true}L.el=L.el=$dp.$(L.el||L.srcEl);if(!L.el||L.el["My97Mark"]===true||L.el.disabled||($dp.dd&&P($dp.dd)!="none"&&$dp.dd.style.left!="-970px")){try{if(L.el["My97Mark"])L.el["My97Mark"]=false}catch(A){}return}if(F&&L.el.nodeType==1&&!a(L.el.initcfg,K)){$dp.unbind(L.el);E(L.el,F.type=="focus"?"onclick":"onfocus",function(){U(K)});L.el.initcfg=K}I(L)}function J(){if(S&&V!=Y&&V[N].readyState!="complete")return false;return true}function D(){if(G){func=D.caller;while(func!=null){var $=func.arguments[0];if($&&($+"").indexOf("Event")>=0)return $;func=func.caller}return null}return event}}function R(_,$){return _.currentStyle?_.currentStyle[$]:document.defaultView.getComputedStyle(_,false)[$]}function P(_,$){if(_)if($!=null)_.style.display=$;else return R(_,"display")}function I(G,_){var D=G.el?G.el.nodeName:"INPUT";if(_||G.eCont||new RegExp(/input|textarea|div|span|p|a/ig).test(D))G.elProp=D=="INPUT"?"value":"innerHTML";else return;if(G.lang=="auto")G.lang=S?navigator.browserLanguage.toLowerCase():navigator.language.toLowerCase();if(!G.eCont)for(var C in G)$dp[C]=G[C];if(!$dp.dd||G.eCont||($dp.dd&&(G.getRealLang().name!=$dp.dd.lang||G.skin!=$dp.dd.skin))){if(G.eCont)E(G.eCont,G);else{$dp.dd=V[N].createElement("DIV");$dp.dd.style.cssText="position:absolute";V[N].body.appendChild($dp.dd);E($dp.dd,G);if(_)$dp.dd.style.left=$dp.dd.style.top="-970px";else{$dp.show();B($dp)}}}else if($dp.cal){$dp.show();$dp.cal.init();if(!$dp.eCont)B($dp)}function E(K,J){var I=V[N].domain,F=false,G="";K.innerHTML=G;var _=$.$langList,D=$.$skinList,H;try{H=K.lastChild.contentWindow[N]}catch(E){F=true;K.removeChild(K.lastChild);var L=V[N].createElement("iframe");L.hideFocus=true;L.frameBorder=0;L.scrolling="no";L.src="javascript:(function(){var d=document;d.open();d.domain='"+I+"';})()";K.appendChild(L);setTimeout(function(){H=K.lastChild.contentWindow[N];C()},97);return}C();function C(){var _=J.getRealLang();K.lang=_.name;K.skin=J.skin;var $=[""];if(F)$[1]="document.domain=\""+I+"\";";for(var C=0;C");$.push("");$.push("