init
This commit is contained in:
13
.idea/artifacts/eshop_war_exploded.xml
generated
Normal file
13
.idea/artifacts/eshop_war_exploded.xml
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="exploded-war" name="eshop:war exploded">
|
||||
<output-path>$PROJECT_DIR$/out/artifacts/eshop_war_exploded</output-path>
|
||||
<root id="root">
|
||||
<element id="javaee-facet-resources" facet="eshop/web/Web" />
|
||||
<element id="directory" name="WEB-INF">
|
||||
<element id="directory" name="classes">
|
||||
<element id="module-output" name="eshop" />
|
||||
</element>
|
||||
</element>
|
||||
</root>
|
||||
</artifact>
|
||||
</component>
|
27
.idea/libraries/Hibernate_5_4_1_5_4_1.xml
generated
Normal file
27
.idea/libraries/Hibernate_5_4_1_5_4_1.xml
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Hibernate 5.4.1-5.4.1" type="hibernate">
|
||||
<properties version="5.4.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/classmate-1.3.4.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/dom4j-2.1.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/FastInfoset-1.2.15.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/antlr-2.7.7.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/hibernate-commons-annotations-5.1.0.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/istack-commons-runtime-3.0.7.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jandex-2.0.5.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.activation-api-1.2.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.persistence-api-2.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jaxb-api-2.3.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javassist-3.24.0-GA.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jboss-logging-3.3.2.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/stax-ex-1.8.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/txw2-2.3.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jaxb-runtime-2.3.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/byte-buddy-1.9.5.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/hibernate-core-5.4.1.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
15
.idea/libraries/Java_EE_6_Java_EE_6.xml
generated
Normal file
15
.idea/libraries/Java_EE_6_Java_EE_6.xml
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Java EE 6-Java EE 6">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.annotation.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.jms.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.resource.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.ejb.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jstl.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
13
.idea/libraries/Java_EE_6_Java_EE_6__2_.xml
generated
Normal file
13
.idea/libraries/Java_EE_6_Java_EE_6__2_.xml
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Java EE 6-Java EE 6 (2)">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.jms.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.resource.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/javax.ejb.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
27
.idea/libraries/Spring_4_3_18_RELEASE.xml
generated
Normal file
27
.idea/libraries/Spring_4_3_18_RELEASE.xml
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Spring-4.3.18.RELEASE" type="spring">
|
||||
<properties version="4.3.18.RELEASE" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-aspects-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-context-support-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-aop-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-expression-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-instrument-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-instrument-tomcat-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-beans-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-jms-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-jdbc-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-context-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-oxm-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-core-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-messaging-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/commons-logging-1.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/aopalliance-1.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-orm-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-tx-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-test-4.3.18.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
13
.idea/libraries/Spring_MVC_4_3_18_RELEASE.xml
generated
Normal file
13
.idea/libraries/Spring_MVC_4_3_18_RELEASE.xml
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Spring MVC-4.3.18.RELEASE" type="spring-mvc">
|
||||
<properties version="4.3.18.RELEASE" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-webmvc-portlet-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-websocket-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-web-4.3.18.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/spring-webmvc-4.3.18.RELEASE.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
36
.idea/libraries/com_sun_xml_ws_jaxws_rt_2_3_2.xml
generated
Normal file
36
.idea/libraries/com_sun_xml_ws_jaxws_rt_2_3_2.xml
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
<component name="libraryTable">
|
||||
<library name="com.sun.xml.ws:jaxws-rt:2.3.2" type="repository">
|
||||
<properties maven-id="com.sun.xml.ws:jaxws-rt:2.3.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/jaxws-rt-2.3.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.xml.bind-api-2.3.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.xml.ws-api-2.3.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.xml.soap-api-1.4.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.annotation-api-1.3.4.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.jws-api-1.1.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jaxb-runtime-2.3.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/txw2-2.3.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/istack-commons-runtime-3.0.8.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/policy-2.7.6.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/gmbal-4.0.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/management-api-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-basic-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-tf-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-asm-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-dynamic-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-basic-tools-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/pfl-tf-tools-4.0.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/stax-ex-1.8.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/streambuffer-1.5.7.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/mimepull-1.9.11.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/FastInfoset-1.2.16.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/ha-api-3.1.12.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/saaj-impl-1.5.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/woodstox-core-5.1.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/stax2-api-4.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/lib/jakarta.activation-api-1.2.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
55
.idea/libraries/lib.xml
generated
Normal file
55
.idea/libraries/lib.xml
generated
Normal file
@@ -0,0 +1,55 @@
|
||||
<component name="libraryTable">
|
||||
<library name="lib">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/antlr-2.7.7.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/cglib-2.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/cglib-nodep-2.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/classmate-1.3.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.axis-1.4.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.beanutils-1.8.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.collections-3.2.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.httpclient-3.1.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.io-1.4.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.lang-2.1.0.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.logging-1.1.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.commons.pool-1.5.3.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.apache.log4j-1.2.15.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/dom4j-1.6.1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/hibernate-commons-annotations-5.0.2.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/hibernate-core-5.3.0.CR1.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/jandex-2.0.3.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/javassist-3.22.0-GA.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/javax.persistence-api-2.2.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/jboss-logging-3.3.1.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.1.Final.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/jstl.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/mysql-connector-java-5.0.8.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-aop-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-aspects-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-beans-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-context-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-context-support-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-core-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-expression-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-instrument-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-instrument-tomcat-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-jdbc-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-jms-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-messaging-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-orm-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-oxm-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-test-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-tx-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-web-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-webmvc-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-webmvc-portlet-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/spring-websocket-4.3.0.RELEASE.jar!/" />
|
||||
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/standard.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/eshop.iml" filepath="$PROJECT_DIR$/eshop.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
46
eshop.iml
Normal file
46
eshop.iml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web">
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" />
|
||||
</descriptors>
|
||||
<webroots>
|
||||
<root url="file://$MODULE_DIR$/web" relative="/" />
|
||||
</webroots>
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="hibernate" name="Hibernate">
|
||||
<configuration>
|
||||
<datasource-map>
|
||||
<unit-entry name="sessionFactory" />
|
||||
</datasource-map>
|
||||
<naming-strategy-map />
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="Spring" name="Spring">
|
||||
<configuration>
|
||||
<fileset id="fileset" name="Spring" removed="false">
|
||||
<file>file://$MODULE_DIR$/web/WEB-INF/spring.xml</file>
|
||||
<file>file://$MODULE_DIR$/web/WEB-INF/springMVC.xml</file>
|
||||
</fileset>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Hibernate 5.4.1-5.4.1" level="project" />
|
||||
<orderEntry type="library" name="Spring-4.3.18.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Spring MVC-4.3.18.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Java EE 6-Java EE 6" level="project" />
|
||||
<orderEntry type="library" name="com.sun.xml.ws:jaxws-rt:2.3.2" level="project" />
|
||||
<orderEntry type="library" name="lib" level="project" />
|
||||
<orderEntry type="library" name="Java EE 6-Java EE 6 (2)" level="project" />
|
||||
</component>
|
||||
</module>
|
116
eshop.sql
Normal file
116
eshop.sql
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : root
|
||||
Source Server Version : 50625
|
||||
Source Host : localhost:3306
|
||||
Source Database : eshop
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50625
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2018-04-27 00:10:36
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for film
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `film`;
|
||||
CREATE TABLE `film` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`type` int(11) DEFAULT NULL,
|
||||
`title` varchar(255) DEFAULT NULL,
|
||||
`price` double DEFAULT NULL,
|
||||
`level` varchar(255) DEFAULT NULL,
|
||||
`tags` varchar(255) DEFAULT NULL,
|
||||
`duration` varchar(255) DEFAULT NULL,
|
||||
`date` date DEFAULT NULL,
|
||||
`introduction` varchar(255) DEFAULT NULL,
|
||||
`directors` varchar(255) DEFAULT NULL,
|
||||
`writers` varchar(255) DEFAULT NULL,
|
||||
`stars` varchar(255) DEFAULT NULL,
|
||||
`image` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of film
|
||||
-- ----------------------------
|
||||
INSERT INTO `film` VALUES ('1', '0', 'Captain America: Civil War', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '2h 27min', '2016-05-06', 'Political involvement in the Avengers\' activities causes a rift between Captain America and Iron Man.', 'Anthony Russo, Joe Russo', 'Christopher Markus (screenplay by), Stephen McFeely (screenplay by)', 'Christopher Markus, Stephen McFeely, Joe Simon, Jack Kirby, Mark Millar, Steven McNiven', 'marvel1.jpg');
|
||||
INSERT INTO `film` VALUES ('2', '0', 'Captain America: The First Avenger', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '2h 4min', '2011-07-22', 'Steve Rogers, a rejected military soldier transforms into Captain America after taking a dose of a \"Super-Soldier serum\". But being Captain America comes at a price as he attempts to take down a war monger and a terrorist organization.', 'Joe Johnston', 'Christopher Markus (screenplay), Stephen McFeely (screenplay)', 'Christopher Markus, Stephen McFeely, Joe Simon, Jack Kirby, Mark Millar, Steven McNiven', 'marvel2.jpg');
|
||||
INSERT INTO `film` VALUES ('3', '0', 'Thor: The Dark World', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '1h 52min', '2013-11-08', 'When Dr. Jane Foster gets cursed with a powerful entity known as the Aether, Thor is heralded of the cosmic event known as the Convergence and the genocidal Dark Elves.', 'Alan Taylor', 'Christopher Yost (screenplay by) (as Christopher L. Yost), Christopher Markus (screenplay by)', 'Chris Hemsworth, Natalie Portman, Tom Hiddleston', 'marvel3.jpg');
|
||||
INSERT INTO `film` VALUES ('4', '0', 'Avengers: Age of Ultron', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '2h 21min', '2015-05-01', 'When Tony Stark and Bruce Banner try to jump-start a dormant peacekeeping program called Ultron, things go horribly wrong and it\'s up to Earth\'s mightiest heroes to stop the villainous Ultron from enacting his terrible plan.', 'Joss Whedon', 'CJoss Whedon, Stan Lee (based on the Marvel comics by)', 'Robert Downey Jr., Chris Evans, Mark Ruffalo', 'marvel4.jpg');
|
||||
INSERT INTO `film` VALUES ('5', '0', 'Ant-Man', '2.99', 'PG-13', 'Action, Adventure, Comedy', '1h 57min', '2015-07-17', 'Armed with a super-suit with the astonishing ability to shrink in scale but increase in strength, cat burglar Scott Lang must embrace his inner hero and help his mentor, Dr. Hank Pym, plan and pull off a heist that will save the world.', 'Peyton Reed', 'Edgar Wright (screenplay by), Joe Cornish (screenplay by)', 'Paul Rudd, Michael Douglas, Corey Stoll', 'marvel5.jpg');
|
||||
INSERT INTO `film` VALUES ('6', '0', 'Guardians of the Galaxy Vol. 2', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '2h 16min', '2017-05-05', 'The Guardians must fight to keep their newfound family together as they unravel the mystery of Peter Quill\'s true parentage.', 'James Gunn', 'James Gunn, Dan Abnett (based on the Marvel comics by).', 'Chris Pratt, Zoe Saldana, Dave Bautista.', 'marvel6.jpg');
|
||||
INSERT INTO `film` VALUES ('7', '1', 'Justice League', '4.99', 'PG-13', 'Action, Adventure, Fantasy', '2h', '2017-11-17', 'Political involvement in the Avengers\' activities causes a rift between Captain America and Iron Man.', 'Zack Snyder', ' Chris Terrio (screenplay by), Joss Whedon (screenplay by)', 'Ben Affleck, Gal Gadot, Jason Momoa', 'DC1.jpg');
|
||||
INSERT INTO `film` VALUES ('8', '1', 'Batman v Superman: Dawn of ', '4.99', 'PG-13', 'Action, Adventure, Fantasy', '2h 31min', '2016-03-25', 'Political involvement in the Avengers\' activities causes a rift between Captain America and Iron Man.', 'Zack Snyder', 'Chris Terrio, David S. Goyer.', 'Ben Affleck, Henry Cavill, Amy Adams.', 'DC2.jpg');
|
||||
INSERT INTO `film` VALUES ('9', '1', 'Man of Steel', '4.99', 'PG-13', 'Action, Adventure, Fantasy', '2h 31min', '2016-03-25', 'Political involvement in the Avengers\' activities causes a rift between Captain America and Iron Man.', 'Zack Snyder', ' David S. Goyer (screenplay), David S. Goyer (story).', 'Henry Cavill, Amy Adams, Michael Shannon.', 'DC3.jpg');
|
||||
INSERT INTO `film` VALUES ('10', '1', 'Aquaman', '4.99', 'PG-13', 'Action, Adventure, Sci-Fi', '1h 54min', '2018-12-21', 'Arthur Curry learns that he is the heir to the underwater kingdom of Atlantis, and must step forward to lead his people and to be a hero to the world.', 'James Wan', 'Will Beall (screenplay), Geoff Johns (story).', 'Amber Heard, Jason Momoa, Nicole Kidman.', 'DC4.jpg');
|
||||
INSERT INTO `film` VALUES ('11', '1', 'Green Lantern', '2.99', 'PG-13', 'Action, Adventure, Sci-Fi', '1h 54min', '2011-06-17', 'Reckless test pilot Hal Jordan is granted an alien ring that bestows him with otherworldly powers that inducts him into an intergalactic police force, the Green Lantern Corps.', 'Martin Campbell', 'Greg Berlanti (screenplay), Michael Green (screenplay).', 'Ryan Reynolds, Blake Lively, Peter Sarsgaard.', 'DC5.jpg');
|
||||
INSERT INTO `film` VALUES ('12', '1', 'The Dark Knight Rises', '2.99', 'PG-13', 'Action, Thriller', '2h 44min', '2012-07-20', 'Eight years after the Joker\'s reign of anarchy, Batman, with the help of the enigmatic Catwoman, is forced from his exile to save Gotham City, now on the edge of total annihilation, from the brutal guerrilla terrorist Bane.', 'Christopher Nolan', 'Jonathan Nolan (screenplay), Christopher Nolan (screenplay).', 'Christian Bale, Tom Hardy, Anne Hathaway.', 'DC6.jpg');
|
||||
INSERT INTO `film` VALUES ('13', '1', 'Jonah Hex', '2.99', 'PG-13', 'Action, Drama, Fantasy', '1h 21min', '2010-06-18', 'The U.S. military makes a scarred bounty hunter with warrants on his own head an offer he cannot refuse: in exchange for his freedom, he must stop a terrorist who is ready to unleash Hell on Earth.', 'Jimmy Hayward', 'Mark Neveldine (screenplay) (as Neveldine), Brian Taylor (screenplay) (as Taylor).', 'Josh Brolin, Megan Fox, John Malkovich.', 'DC7.jpg');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for record
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `record`;
|
||||
CREATE TABLE `record` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`uid` int(11) DEFAULT NULL,
|
||||
`fid` int(11) DEFAULT NULL,
|
||||
`isPay` char(1) DEFAULT NULL,
|
||||
`time` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `uid` (`uid`),
|
||||
KEY `fid` (`fid`),
|
||||
CONSTRAINT `record_ibfk_1` FOREIGN KEY (`uid`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `record_ibfk_2` FOREIGN KEY (`fid`) REFERENCES `film` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of record
|
||||
-- ----------------------------
|
||||
INSERT INTO `record` VALUES ('14', '2', '1', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('15', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('21', '2', '3', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('22', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('23', '2', '8', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('24', '2', '8', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('25', '2', '9', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('27', '2', '1', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('28', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('29', '2', '1', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('30', '2', '2', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('31', '2', '3', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('32', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('33', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('34', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('35', '2', '7', '1', '1524406501711');
|
||||
INSERT INTO `record` VALUES ('36', '2', '1', '0', '1524669589023');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `user`;
|
||||
CREATE TABLE `user` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(255) DEFAULT '',
|
||||
`password` varchar(255) DEFAULT NULL,
|
||||
`type` int(11) DEFAULT '0',
|
||||
`phone` varchar(255) DEFAULT NULL,
|
||||
`email` varchar(255) DEFAULT NULL,
|
||||
`city` varchar(255) DEFAULT NULL,
|
||||
`street` varchar(255) DEFAULT NULL,
|
||||
`apartment` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of user
|
||||
-- ----------------------------
|
||||
INSERT INTO `user` VALUES ('2', 'terrie', '3b453885f5181f1b624d0b25f9e79432', '0', '13832485869', 'abc@qq.com', 'beijing', 'zhichunlu', 'dayuncun');
|
||||
INSERT INTO `user` VALUES ('5', 'terrie1', '3b453885f5181f1b624d0b25f9e79432', '0', '13833833338', 'a@qq.com', 'a1', 'b1', 'c1');
|
||||
INSERT INTO `user` VALUES ('6', 'admin', '3b453885f5181f1b624d0b25f9e79432', '1', '13833833338', 'a@qq.com', 'a1', 'b1', 'c1');
|
BIN
lib/FastInfoset-1.2.16.jar
Normal file
BIN
lib/FastInfoset-1.2.16.jar
Normal file
Binary file not shown.
BIN
lib/gmbal-4.0.0.jar
Normal file
BIN
lib/gmbal-4.0.0.jar
Normal file
Binary file not shown.
BIN
lib/ha-api-3.1.12.jar
Normal file
BIN
lib/ha-api-3.1.12.jar
Normal file
Binary file not shown.
BIN
lib/istack-commons-runtime-3.0.8.jar
Normal file
BIN
lib/istack-commons-runtime-3.0.8.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.activation-api-1.2.1.jar
Normal file
BIN
lib/jakarta.activation-api-1.2.1.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.annotation-api-1.3.4.jar
Normal file
BIN
lib/jakarta.annotation-api-1.3.4.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.jws-api-1.1.1.jar
Normal file
BIN
lib/jakarta.jws-api-1.1.1.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.xml.bind-api-2.3.2.jar
Normal file
BIN
lib/jakarta.xml.bind-api-2.3.2.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.xml.soap-api-1.4.1.jar
Normal file
BIN
lib/jakarta.xml.soap-api-1.4.1.jar
Normal file
Binary file not shown.
BIN
lib/jakarta.xml.ws-api-2.3.2.jar
Normal file
BIN
lib/jakarta.xml.ws-api-2.3.2.jar
Normal file
Binary file not shown.
BIN
lib/javax.ejb.jar
Normal file
BIN
lib/javax.ejb.jar
Normal file
Binary file not shown.
BIN
lib/javax.jms.jar
Normal file
BIN
lib/javax.jms.jar
Normal file
Binary file not shown.
BIN
lib/javax.resource.jar
Normal file
BIN
lib/javax.resource.jar
Normal file
Binary file not shown.
BIN
lib/javax.servlet.jar
Normal file
BIN
lib/javax.servlet.jar
Normal file
Binary file not shown.
BIN
lib/javax.servlet.jsp.jar
Normal file
BIN
lib/javax.servlet.jsp.jar
Normal file
Binary file not shown.
BIN
lib/jaxb-runtime-2.3.2.jar
Normal file
BIN
lib/jaxb-runtime-2.3.2.jar
Normal file
Binary file not shown.
BIN
lib/jaxws-rt-2.3.2.jar
Normal file
BIN
lib/jaxws-rt-2.3.2.jar
Normal file
Binary file not shown.
BIN
lib/management-api-3.2.1.jar
Normal file
BIN
lib/management-api-3.2.1.jar
Normal file
Binary file not shown.
BIN
lib/mimepull-1.9.11.jar
Normal file
BIN
lib/mimepull-1.9.11.jar
Normal file
Binary file not shown.
BIN
lib/pfl-asm-4.0.1.jar
Normal file
BIN
lib/pfl-asm-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/pfl-basic-4.0.1.jar
Normal file
BIN
lib/pfl-basic-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/pfl-basic-tools-4.0.1.jar
Normal file
BIN
lib/pfl-basic-tools-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/pfl-dynamic-4.0.1.jar
Normal file
BIN
lib/pfl-dynamic-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/pfl-tf-4.0.1.jar
Normal file
BIN
lib/pfl-tf-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/pfl-tf-tools-4.0.1.jar
Normal file
BIN
lib/pfl-tf-tools-4.0.1.jar
Normal file
Binary file not shown.
BIN
lib/policy-2.7.6.jar
Normal file
BIN
lib/policy-2.7.6.jar
Normal file
Binary file not shown.
BIN
lib/saaj-impl-1.5.1.jar
Normal file
BIN
lib/saaj-impl-1.5.1.jar
Normal file
Binary file not shown.
BIN
lib/stax-ex-1.8.1.jar
Normal file
BIN
lib/stax-ex-1.8.1.jar
Normal file
Binary file not shown.
BIN
lib/stax2-api-4.1.jar
Normal file
BIN
lib/stax2-api-4.1.jar
Normal file
Binary file not shown.
BIN
lib/streambuffer-1.5.7.jar
Normal file
BIN
lib/streambuffer-1.5.7.jar
Normal file
Binary file not shown.
BIN
lib/txw2-2.3.2.jar
Normal file
BIN
lib/txw2-2.3.2.jar
Normal file
Binary file not shown.
BIN
lib/woodstox-core-5.1.0.jar
Normal file
BIN
lib/woodstox-core-5.1.0.jar
Normal file
Binary file not shown.
76
src/com/eshop/controller/FilmController.java
Normal file
76
src/com/eshop/controller/FilmController.java
Normal file
@@ -0,0 +1,76 @@
|
||||
package com.eshop.controller;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import com.eshop.entity.Film;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import com.eshop.service.impl.FilmServiceImpl;
|
||||
|
||||
@Controller
|
||||
public class FilmController {
|
||||
@Autowired
|
||||
private FilmServiceImpl filmService;
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>Ӱ<EFBFBD><D3B0>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31>DC<44><43>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "films", method = RequestMethod.GET)
|
||||
public ModelAndView getFilms(HttpServletRequest request) {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
int type = Integer.parseInt(request.getParameter("type"));
|
||||
switch (type) {
|
||||
case 0:
|
||||
mv.addObject("typeStr", "Marvel");
|
||||
break;
|
||||
case 1:
|
||||
mv.addObject("typeStr", "DC");
|
||||
break;
|
||||
case 2:
|
||||
mv.addObject("typeStr", "Others");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
List<Film> films = filmService.findListByKey(String.valueOf(type));
|
||||
mv.addObject("films", films);
|
||||
mv.setViewName("films");
|
||||
return mv;
|
||||
}
|
||||
|
||||
@RequestMapping(value = "preAddFilm")
|
||||
public ModelAndView preAddFilm() {
|
||||
return new ModelAndView("addFilm");
|
||||
}
|
||||
|
||||
@RequestMapping(value = "addFilm")
|
||||
public ModelAndView addFilm(HttpServletRequest request) throws ParseException {
|
||||
Film film = new Film();
|
||||
film.setType(Integer.parseInt(request.getParameter("type")));
|
||||
film.setTitle(request.getParameter("title"));
|
||||
film.setPrice(Double.parseDouble(request.getParameter("price")));
|
||||
film.setLevel("PG-13");
|
||||
film.setTags(request.getParameter("tags"));
|
||||
film.setDuration(request.getParameter("duration"));
|
||||
film.setDate(new SimpleDateFormat("yyyy-MM-dd").parse(request.getParameter("date")));
|
||||
film.setIntroduction(request.getParameter("introduction"));
|
||||
film.setDirectors(request.getParameter("directors"));
|
||||
film.setWriters(request.getParameter("writers"));
|
||||
film.setStars(request.getParameter("stars"));
|
||||
film.setImage("default_film.jpg");
|
||||
filmService.save(film);
|
||||
return new ModelAndView("redirect:films?type=" + request.getParameter("type"));
|
||||
}
|
||||
|
||||
}
|
106
src/com/eshop/controller/RecordController.java
Normal file
106
src/com/eshop/controller/RecordController.java
Normal file
@@ -0,0 +1,106 @@
|
||||
package com.eshop.controller;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import com.eshop.entity.User;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import com.eshop.entity.Item;
|
||||
import com.eshop.entity.Page;
|
||||
import com.eshop.entity.Record;
|
||||
import com.eshop.service.impl.RecordServiceImpl;
|
||||
import com.eshop.service.impl.UserServiceImpl;
|
||||
|
||||
@Controller
|
||||
public class RecordController {
|
||||
@Autowired
|
||||
private RecordServiceImpl recordService;
|
||||
@Autowired
|
||||
private UserServiceImpl userService;
|
||||
|
||||
/**
|
||||
* <20><>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD>ﳵ
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "addCart", method = RequestMethod.GET)
|
||||
public ModelAndView addCart(HttpServletRequest request) {
|
||||
String preUrl = request.getHeader("Referer");
|
||||
long uid = Long.parseLong(request.getSession().getAttribute("uid").toString());
|
||||
long fid = Long.parseLong(request.getParameter("fid"));
|
||||
Record cart = new Record(uid, fid, "0", new Date().getTime());
|
||||
recordService.save(cart);
|
||||
return new ModelAndView("redirect:" + preUrl.substring(preUrl.lastIndexOf("/"), preUrl.length()));
|
||||
}
|
||||
|
||||
/**
|
||||
* <20>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD>ﳵ
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "remove", method = RequestMethod.GET)
|
||||
public ModelAndView remove(HttpServletRequest request) {
|
||||
String preUrl = request.getHeader("Referer");
|
||||
long id = Long.parseLong(request.getParameter("rid"));
|
||||
System.out.println(id);
|
||||
recordService.deleteById(id);
|
||||
return new ModelAndView("redirect:" + preUrl.substring(preUrl.lastIndexOf("/"), preUrl.length()));
|
||||
}
|
||||
|
||||
/**
|
||||
* ֧<><D6A7>
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "pay", method = RequestMethod.GET)
|
||||
public ModelAndView pay(HttpServletRequest request) {
|
||||
long uid = Long.parseLong(request.getSession().getAttribute("uid").toString());
|
||||
Record record = new Record();
|
||||
record.setUid(uid);
|
||||
recordService.update(record);
|
||||
return new ModelAndView("redirect:record?type=0&status=0");
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><>ѯ<EFBFBD><D1AF>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>parameter type<70><65><EFBFBD><EFBFBD><EFBFBD>ﳵ<EFBFBD><EFB3B5><EFBFBD><EFBFBD>ʷ<EFBFBD><CAB7>¼
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
* @throws ParseException
|
||||
* @throws NumberFormatException
|
||||
*/
|
||||
@RequestMapping(value = "record", method = RequestMethod.GET)
|
||||
public ModelAndView getRecord(HttpServletRequest request) throws NumberFormatException, ParseException {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
String username = (String) request.getSession().getAttribute("username");
|
||||
String type = request.getParameter("type");
|
||||
String pageNoStr = request.getParameter("pageNo");
|
||||
int pageNo = pageNoStr == null || pageNoStr.equals("") ? 1 : Integer.parseInt(pageNoStr);
|
||||
User user = userService.findByKey(username);
|
||||
Page<Item> page = recordService.findInfoByKey(pageNo, user.getId(), type); // <20><>ѯ<EFBFBD>û<EFBFBD><C3BB>Ĺ<EFBFBD><C4B9>ﳵ
|
||||
mv.addObject("page", page);
|
||||
if (type.equals("0")) {
|
||||
String status = request.getParameter("status");
|
||||
if (status != null && status.equals("0")) {
|
||||
mv.addObject("message", "Checkout success");
|
||||
}// <20><><EFBFBD>ﳵ
|
||||
mv.setViewName("cart");
|
||||
} else if (type.equals("1")) { // <20><>ʷ<EFBFBD><CAB7>¼
|
||||
mv.setViewName("history");
|
||||
} else {
|
||||
mv.setViewName("index");
|
||||
}
|
||||
return mv;
|
||||
}
|
||||
|
||||
}
|
136
src/com/eshop/controller/UserController.java
Normal file
136
src/com/eshop/controller/UserController.java
Normal file
@@ -0,0 +1,136 @@
|
||||
package com.eshop.controller;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.text.ParseException;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.eshop.entity.User;
|
||||
import com.eshop.utils.Md5Utils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
|
||||
import com.eshop.service.impl.RecordServiceImpl;
|
||||
import com.eshop.service.impl.UserServiceImpl;
|
||||
|
||||
@Controller
|
||||
public class UserController {
|
||||
@Autowired
|
||||
private UserServiceImpl userService;
|
||||
@Autowired
|
||||
private RecordServiceImpl recordService;
|
||||
|
||||
/**
|
||||
* <20><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "signin", method = RequestMethod.POST)
|
||||
public ModelAndView signIn(HttpServletRequest request, HttpServletResponse response) {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
String username = request.getParameter("username");
|
||||
String password = Md5Utils.getMd5(request.getParameter("password"));
|
||||
User user = userService.findByKey(username);
|
||||
if (user != null) {
|
||||
if (user.getPassword().equals(password)) {
|
||||
mv.addObject("message", "Success, redirect in 2 seconds...");
|
||||
response.setHeader("refresh", "2;url=index.jsp"); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>index
|
||||
request.getSession().setAttribute("username", user.getUsername()); // <20>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>session<6F>б<EFBFBD><D0B1><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ
|
||||
request.getSession().setAttribute("uid", user.getId());
|
||||
request.getSession().setAttribute("user", user);
|
||||
request.getSession().setAttribute("flag", true); // flag<61><67><EFBFBD>ڼ<EFBFBD>¼<EFBFBD>Ƿ<EFBFBD><C7B7>ڵ<EFBFBD>¼״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD>
|
||||
} else {
|
||||
mv.addObject("message", "Wrong password");
|
||||
}
|
||||
} else {
|
||||
mv.addObject("message", "User doesn't exist");
|
||||
}
|
||||
return mv;
|
||||
}
|
||||
|
||||
/**
|
||||
* ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "signup", method = RequestMethod.POST)
|
||||
public ModelAndView signUp(HttpServletRequest request) {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
String username = request.getParameter("username");
|
||||
String password = Md5Utils.getMd5(request.getParameter("password"));
|
||||
String phone = request.getParameter("phone");
|
||||
String email = request.getParameter("email");
|
||||
String city = request.getParameter("city");
|
||||
String street = request.getParameter("street");
|
||||
String apartment = request.getParameter("apartment");
|
||||
User user = new User(username, password, phone, email, city, street, apartment);
|
||||
user.setType(0);
|
||||
userService.save(user);
|
||||
mv.setViewName("signin");
|
||||
return mv;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD>username<6D>Ƿ<EFBFBD><C7B7>Ѵ<EFBFBD><D1B4>ڣ<EFBFBD><DAA3><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>ģ<EFBFBD><C4A3>ajax<61><78>ʽ<EFBFBD>ж<EFBFBD>
|
||||
*
|
||||
* @param request
|
||||
* @param response
|
||||
* @return
|
||||
* @throws IOException
|
||||
*/
|
||||
@RequestMapping(value = "checkUsername", method = RequestMethod.POST)
|
||||
public ModelAndView checkUserName(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
||||
String username = request.getParameter("username");
|
||||
User user = userService.findByKey(username);
|
||||
if (null != user && user.getPassword() != null) {
|
||||
response.getWriter().write("true");
|
||||
} else {
|
||||
response.getWriter().write("false");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20>˳<EFBFBD><CBB3><EFBFBD>¼
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
* @throws IOException
|
||||
*/
|
||||
@RequestMapping(value = "logout")
|
||||
public ModelAndView logout(HttpServletRequest request) throws IOException {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
request.getSession().removeAttribute("username");
|
||||
request.getSession().removeAttribute("flag");
|
||||
request.getSession().removeAttribute("uid");
|
||||
mv.setViewName("index");
|
||||
return mv;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><>ѯ<EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ
|
||||
*
|
||||
* @param request
|
||||
* @return
|
||||
* @throws IOException
|
||||
* @throws ParseException
|
||||
* @throws NumberFormatException
|
||||
*/
|
||||
@RequestMapping(value = "userinfo")
|
||||
public ModelAndView getUserInfo(HttpServletRequest request)
|
||||
throws IOException, NumberFormatException, ParseException {
|
||||
ModelAndView mv = new ModelAndView();
|
||||
String username = (String) request.getSession().getAttribute("username");
|
||||
User user = userService.findByKey(username);
|
||||
mv.addObject("user", user);
|
||||
mv.setViewName("userinfo");
|
||||
return mv;
|
||||
}
|
||||
|
||||
}
|
19
src/com/eshop/dao/BasicDao.java
Normal file
19
src/com/eshop/dao/BasicDao.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.eshop.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface BasicDao<T> {
|
||||
public List<T> findAll();
|
||||
|
||||
public List<T> findListByKey(String key);
|
||||
|
||||
public T findById(long id);
|
||||
|
||||
public T findByKey(String key);
|
||||
|
||||
public void save(T t);
|
||||
|
||||
public void update(T t);
|
||||
|
||||
public void deleteById(long id);
|
||||
}
|
67
src/com/eshop/dao/impl/FilmDaoImpl.java
Normal file
67
src/com/eshop/dao/impl/FilmDaoImpl.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.eshop.dao.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.eshop.dao.BasicDao;
|
||||
import com.eshop.entity.Film;
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.SessionFactory;
|
||||
import org.hibernate.query.Query;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class FilmDaoImpl implements BasicDao<Film> {
|
||||
@Autowired
|
||||
private SessionFactory sessionFactory;
|
||||
|
||||
private Session getCurrentSession() {
|
||||
return this.sessionFactory.getCurrentSession();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Film> findAll() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Film findById(long id) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Film findByKey(String key) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save(Film t) {
|
||||
getCurrentSession().save(t);
|
||||
}
|
||||
|
||||
/*
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>Ӱ
|
||||
* key<65><79>{0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31>DC<44><43>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}
|
||||
*/
|
||||
@Override
|
||||
public List<Film> findListByKey(String key) {
|
||||
String hql = "from Film where type=?0 order by id desc";
|
||||
Query query = getCurrentSession().createQuery(hql).setParameter(0, Integer.parseInt(key));
|
||||
List<Film> list = query.list();
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(Film t) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
130
src/com/eshop/dao/impl/RecordDaoImpl.java
Normal file
130
src/com/eshop/dao/impl/RecordDaoImpl.java
Normal file
@@ -0,0 +1,130 @@
|
||||
package com.eshop.dao.impl;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.SessionFactory;
|
||||
import org.hibernate.query.Query;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.eshop.dao.BasicDao;
|
||||
import com.eshop.entity.Record;
|
||||
import com.eshop.entity.Item;
|
||||
import com.eshop.entity.Page;
|
||||
|
||||
@Repository
|
||||
public class RecordDaoImpl implements BasicDao<Record> {
|
||||
@Autowired
|
||||
private SessionFactory sessionFactory;
|
||||
|
||||
private Session getCurrentSession() {
|
||||
return this.sessionFactory.getCurrentSession();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Record> findAll() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Record> findListByKey(String key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Record findById(long id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Record findByKey(String key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><>ѯ<EFBFBD><D1AF><EFBFBD>ﳵ and <20><>ʷ<EFBFBD><CAB7>¼
|
||||
*
|
||||
* @param key
|
||||
* <20>û<EFBFBD>id
|
||||
* @param isPay
|
||||
* <20>Ƿ<EFBFBD><C7B7><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD>0<EFBFBD><30>δ֧<CEB4><D6A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD>ﳵ<EFBFBD><EFB3B5>1<EFBFBD><31><EFBFBD><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF>ʷ<EFBFBD><CAB7>¼<EFBFBD><C2BC>
|
||||
* @return
|
||||
* @throws NumberFormatException
|
||||
* @throws ParseException
|
||||
*/
|
||||
public Page<Item> findInfoByKey(int pageNo, long key, String isPay) throws NumberFormatException, ParseException {
|
||||
String hql = "select r.uid, r.fid, f.title, f.price, f.duration, f.date, f.image, r.time, r.id "
|
||||
+ "from Film as f, Record as r "
|
||||
+ "where r.fid = f.id and r.isPay = ?0 and r.uid = ?1 order by r.time desc";
|
||||
Query querySize = getCurrentSession().createQuery(hql).setParameter(0, isPay).setParameter(1, key);
|
||||
Query query = getCurrentSession().createQuery(hql).setParameter(0, isPay).setParameter(1, key)
|
||||
.setFirstResult((pageNo - 1) * Page.pageSize).setMaxResults(Page.pageSize);
|
||||
List queryResult = query.list();
|
||||
List sizeList = querySize.list();
|
||||
int total = 0;
|
||||
if (sizeList != null) {
|
||||
total = sizeList.size();
|
||||
}
|
||||
List<Item> list = new ArrayList<>();
|
||||
if (queryResult != null) {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
||||
for (int i = 0; i < queryResult.size(); i++) {
|
||||
Object[] object = (Object[]) queryResult.get(i);
|
||||
long uid = Long.parseLong(object[0].toString());
|
||||
long fid = Long.parseLong(object[1].toString());
|
||||
String title = object[2].toString();
|
||||
String date = object[5].toString();
|
||||
String duration = object[4].toString();
|
||||
double price = Double.parseDouble(object[3].toString());
|
||||
String image = object[6].toString();
|
||||
String time = new SimpleDateFormat("yyyy-MM-dd hh:mm")
|
||||
.format(new Date(Long.parseLong(object[7].toString())));
|
||||
long rid = Long.parseLong(object[8].toString());
|
||||
Item info = new Item(uid, fid, title, date, duration, price, image, time, rid);
|
||||
list.add(info);
|
||||
}
|
||||
}
|
||||
Page<Item> page = new Page<>(total, pageNo, list);
|
||||
if (total % Page.pageSize != 0) {
|
||||
page.setTotalPages((total / Page.pageSize) + 1);
|
||||
} else {
|
||||
page.setTotalPages(total / Page.pageSize);
|
||||
}
|
||||
return page;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD><D3B9>ﳵ
|
||||
*/
|
||||
@Override
|
||||
public void save(Record record) {
|
||||
getCurrentSession().save(record);
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD>²<EFBFBD><C2B2><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>ڽ<EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD>־λ<D6BE><CEBB>1<EFBFBD><31><EFBFBD><EFBFBD>ʾ֧<CABE><D6A7>
|
||||
*/
|
||||
@Override
|
||||
public void update(Record record) {
|
||||
String hql = "update Record r set r.isPay = '1',r.time=?0 where uid = ?1";
|
||||
Query query = getCurrentSession().createQuery(hql).setParameter(0, new Date().getTime()).setParameter(1,
|
||||
record.getUid());
|
||||
query.executeUpdate();
|
||||
}
|
||||
|
||||
/**
|
||||
* ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD>ﳵ<EFBFBD>еĵ<D0B5>Ӱ
|
||||
*/
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
Record record = new Record();
|
||||
record.setId(id);
|
||||
getCurrentSession().delete(record);
|
||||
}
|
||||
|
||||
}
|
71
src/com/eshop/dao/impl/UserDaoImpl.java
Normal file
71
src/com/eshop/dao/impl/UserDaoImpl.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package com.eshop.dao.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.hibernate.Session;
|
||||
import org.hibernate.SessionFactory;
|
||||
import org.hibernate.query.Query;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import com.eshop.dao.BasicDao;
|
||||
import com.eshop.entity.User;
|
||||
|
||||
@Repository
|
||||
public class UserDaoImpl implements BasicDao<User> {
|
||||
@Autowired
|
||||
private SessionFactory sessionFactory;
|
||||
|
||||
private Session getCurrentSession() {
|
||||
return this.sessionFactory.getCurrentSession();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<User> findAll() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public User findById(long id) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><D7A2>
|
||||
*/
|
||||
@Override
|
||||
public void save(User user) {
|
||||
getCurrentSession().save(user);
|
||||
}
|
||||
|
||||
/**
|
||||
* <20><><EFBFBD>ݵ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>ѯ<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD>û<EFBFBD><C3BB><EFBFBD>Ϣ<EFBFBD><CFA2>ѯ
|
||||
*/
|
||||
@Override
|
||||
public User findByKey(String key) {
|
||||
String hql = "from User where username=?0";
|
||||
Query query = getCurrentSession().createQuery(hql).setParameter(0, key);
|
||||
User user = (User) query.uniqueResult();
|
||||
return user;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<User> findListByKey(String key) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(User t) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
152
src/com/eshop/entity/Film.java
Normal file
152
src/com/eshop/entity/Film.java
Normal file
@@ -0,0 +1,152 @@
|
||||
package com.eshop.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <20><>Ӱʵ<D3B0>壬ӳ<E5A3AC><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>film<6C><6D>
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "film")
|
||||
public class Film implements Serializable {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private long id;
|
||||
@Column(name = "type")
|
||||
private int type;
|
||||
@Column(name = "title")
|
||||
private String title;
|
||||
@Column(name = "price")
|
||||
private double price;
|
||||
@Column(name = "level")
|
||||
private String level;
|
||||
@Column(name = "tags")
|
||||
private String tags;
|
||||
@Column(name = "duration")
|
||||
private String duration;
|
||||
@Column(name = "date")
|
||||
private Date date;
|
||||
@Column(name = "introduction")
|
||||
private String introduction;
|
||||
@Column(name = "directors")
|
||||
private String directors;
|
||||
@Column(name = "writers")
|
||||
private String writers;
|
||||
@Column(name = "stars")
|
||||
private String stars;
|
||||
@Column(name = "image")
|
||||
private String image;
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(double price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(String level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public String getTags() {
|
||||
return tags;
|
||||
}
|
||||
|
||||
public void setTags(String tags) {
|
||||
this.tags = tags;
|
||||
}
|
||||
|
||||
public String getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(String duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public Date getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(Date date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public String getIntroduction() {
|
||||
return introduction;
|
||||
}
|
||||
|
||||
public void setIntroduction(String introduction) {
|
||||
this.introduction = introduction;
|
||||
}
|
||||
|
||||
public String getDirectors() {
|
||||
return directors;
|
||||
}
|
||||
|
||||
public void setDirectors(String directors) {
|
||||
this.directors = directors;
|
||||
}
|
||||
|
||||
public String getWriters() {
|
||||
return writers;
|
||||
}
|
||||
|
||||
public void setWriters(String writers) {
|
||||
this.writers = writers;
|
||||
}
|
||||
|
||||
public String getStars() {
|
||||
return stars;
|
||||
}
|
||||
|
||||
public void setStars(String stars) {
|
||||
this.stars = stars;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
}
|
109
src/com/eshop/entity/Item.java
Normal file
109
src/com/eshop/entity/Item.java
Normal file
@@ -0,0 +1,109 @@
|
||||
package com.eshop.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <20><>¼<EFBFBD>ҵ<EEA3AC><D2B5><EFBFBD><EFBFBD>ʵ<EFBFBD>壬<EFBFBD><E5A3AC>ʾһ<CABE><D2BB><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>ﳵ<EFBFBD><EFB3B5>¼or<6F><72>ʷ<EFBFBD><CAB7>¼<EFBFBD><C2BC>
|
||||
*
|
||||
*/
|
||||
public class Item implements Serializable {
|
||||
private long rid; // <20><>¼id
|
||||
private long uid; // <20>û<EFBFBD>id
|
||||
private long fid; // <20><>Ӱid
|
||||
private String title; // <20><>Ӱ<EFBFBD><D3B0>
|
||||
private String date; // <20><>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD>
|
||||
private String duration; // ʱ<><CAB1>
|
||||
private double price; // <20>۸<EFBFBD>
|
||||
private String image; // <20><><EFBFBD><EFBFBD>ͼƬ
|
||||
private String time; // ֧<><D6A7>ʱ<EFBFBD><CAB1>
|
||||
|
||||
public Item() {
|
||||
|
||||
}
|
||||
|
||||
public Item(long uid, long fid, String title, String date, String duration, double price, String image, String time,
|
||||
long rid) {
|
||||
this.uid = uid;
|
||||
this.fid = fid;
|
||||
this.title = title;
|
||||
this.date = date;
|
||||
this.duration = duration;
|
||||
this.price = price;
|
||||
this.image = image;
|
||||
this.time = time;
|
||||
this.rid = rid;
|
||||
}
|
||||
|
||||
public long getRid() {
|
||||
return rid;
|
||||
}
|
||||
|
||||
public void setRid(long rid) {
|
||||
this.rid = rid;
|
||||
}
|
||||
|
||||
public long getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(long uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public long getFid() {
|
||||
return fid;
|
||||
}
|
||||
|
||||
public void setFid(long fid) {
|
||||
this.fid = fid;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(String date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
public String getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(String duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(double price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image;
|
||||
}
|
||||
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
}
|
53
src/com/eshop/entity/Page.java
Normal file
53
src/com/eshop/entity/Page.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package com.eshop.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <20><>ҳʵ<D2B3><CAB5>
|
||||
*
|
||||
* @param <T> <20><><EFBFBD><EFBFBD>
|
||||
*/
|
||||
public class Page<T> implements Serializable {
|
||||
// ҳ<><D2B3><EFBFBD>С
|
||||
public static final int pageSize = 5;
|
||||
// <20><>ҳ<EFBFBD><D2B3>
|
||||
private int totalPages;
|
||||
// <20><>ǰҳ<C7B0><D2B3>
|
||||
private int currentPage;
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>List
|
||||
private List<T> result;
|
||||
|
||||
public Page() {
|
||||
}
|
||||
|
||||
public Page(int totalPages, int currentPage, List<T> result) {
|
||||
setTotalPages(totalPages);
|
||||
setCurrentPage(currentPage);
|
||||
setResult(result);
|
||||
}
|
||||
|
||||
public int getTotalPages() {
|
||||
return totalPages;
|
||||
}
|
||||
|
||||
public void setTotalPages(int totalPages) {
|
||||
this.totalPages = totalPages;
|
||||
}
|
||||
|
||||
public int getCurrentPage() {
|
||||
return currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(int currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public List<T> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<T> result) {
|
||||
this.result = result;
|
||||
}
|
||||
}
|
82
src/com/eshop/entity/Record.java
Normal file
82
src/com/eshop/entity/Record.java
Normal file
@@ -0,0 +1,82 @@
|
||||
package com.eshop.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <20><>¼ʵ<C2BC>壬ӳ<E5A3AC><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>record<72><64>
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "record")
|
||||
public class Record implements Serializable {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private long id;
|
||||
@Column(name = "uid")
|
||||
private long uid;
|
||||
@Column(name = "fid")
|
||||
private long fid;
|
||||
@Column(name = "isPay")
|
||||
private String isPay;
|
||||
@Column(name = "time")
|
||||
private long time;
|
||||
|
||||
public Record() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Record(long uid, long fid, String isPay, long time) {
|
||||
this.uid = uid;
|
||||
this.fid = fid;
|
||||
this.isPay = isPay;
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(long uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public long getFid() {
|
||||
return fid;
|
||||
}
|
||||
|
||||
public void setFid(long fid) {
|
||||
this.fid = fid;
|
||||
}
|
||||
|
||||
public String getIsPay() {
|
||||
return isPay;
|
||||
}
|
||||
|
||||
public void setIsPay(String isPay) {
|
||||
this.isPay = isPay;
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
}
|
127
src/com/eshop/entity/User.java
Normal file
127
src/com/eshop/entity/User.java
Normal file
@@ -0,0 +1,127 @@
|
||||
package com.eshop.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* <20>û<EFBFBD><C3BB><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>user<65><72>
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "user")
|
||||
public class User implements Serializable {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private long id;
|
||||
@Column(name = "username")
|
||||
private String username;
|
||||
@Column(name = "password")
|
||||
private String password;
|
||||
@Column(name = "type")
|
||||
private int type;
|
||||
@Column(name = "phone")
|
||||
private String phone;
|
||||
@Column(name = "email")
|
||||
private String email;
|
||||
@Column(name = "city")
|
||||
private String city;
|
||||
@Column(name = "street")
|
||||
private String street;
|
||||
@Column(name = "apartment")
|
||||
private String apartment;
|
||||
|
||||
public User() {
|
||||
|
||||
}
|
||||
|
||||
public User(String username, String password, String phone, String email, String city, String street,
|
||||
String apartment) {
|
||||
super();
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
this.phone = phone;
|
||||
this.email = email;
|
||||
this.city = city;
|
||||
this.street = street;
|
||||
this.apartment = apartment;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getStreet() {
|
||||
return street;
|
||||
}
|
||||
|
||||
public void setStreet(String street) {
|
||||
this.street = street;
|
||||
}
|
||||
|
||||
public String getApartment() {
|
||||
return apartment;
|
||||
}
|
||||
|
||||
public void setApartment(String apartment) {
|
||||
this.apartment = apartment;
|
||||
}
|
||||
|
||||
}
|
20
src/com/eshop/service/BasicService.java
Normal file
20
src/com/eshop/service/BasicService.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.eshop.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface BasicService<T> {
|
||||
|
||||
public List<T> findAll();
|
||||
|
||||
public List<T> findListByKey(String key);
|
||||
|
||||
public T findById(long id);
|
||||
|
||||
public T findByKey(String key);
|
||||
|
||||
public void save(T t);
|
||||
|
||||
public void update(T t);
|
||||
|
||||
public void deleteById(long id);
|
||||
}
|
58
src/com/eshop/service/impl/FilmServiceImpl.java
Normal file
58
src/com/eshop/service/impl/FilmServiceImpl.java
Normal file
@@ -0,0 +1,58 @@
|
||||
package com.eshop.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.eshop.dao.impl.FilmDaoImpl;
|
||||
import com.eshop.entity.Film;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.eshop.service.BasicService;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class FilmServiceImpl implements BasicService<Film> {
|
||||
@Autowired
|
||||
private FilmDaoImpl filmDao;
|
||||
|
||||
@Override
|
||||
public List<Film> findAll() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Film> findListByKey(String key) {
|
||||
return filmDao.findListByKey(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Film findById(long id) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Film findByKey(String key) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save(Film t) {
|
||||
filmDao.save(t);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(Film t) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
63
src/com/eshop/service/impl/RecordServiceImpl.java
Normal file
63
src/com/eshop/service/impl/RecordServiceImpl.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package com.eshop.service.impl;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
|
||||
import com.eshop.dao.impl.RecordDaoImpl;
|
||||
import com.eshop.entity.Page;
|
||||
import com.eshop.entity.Record;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.eshop.entity.Item;
|
||||
import com.eshop.service.BasicService;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class RecordServiceImpl implements BasicService<Record> {
|
||||
@Autowired
|
||||
private RecordDaoImpl recordDao;
|
||||
|
||||
@Override
|
||||
public List<Record> findAll() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Record> findListByKey(String key) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Record findById(long id) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Record findByKey(String key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Page<Item> findInfoByKey(int pageNo, long key, String isPay) throws NumberFormatException, ParseException {
|
||||
return recordDao.findInfoByKey(pageNo, key, isPay);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save(Record record) {
|
||||
recordDao.save(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(Record record) {
|
||||
recordDao.update(record);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
recordDao.deleteById(id);
|
||||
}
|
||||
}
|
59
src/com/eshop/service/impl/UserServiceImpl.java
Normal file
59
src/com/eshop/service/impl/UserServiceImpl.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package com.eshop.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.eshop.dao.impl.UserDaoImpl;
|
||||
import com.eshop.entity.User;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.eshop.service.BasicService;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class UserServiceImpl implements BasicService<User> {
|
||||
@Autowired
|
||||
private UserDaoImpl userDao;
|
||||
|
||||
@Override
|
||||
public List<User> findAll() {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public User findById(long id) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public User findByKey(String key) {
|
||||
return userDao.findByKey(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save(User user) {
|
||||
userDao.save(user);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<User> findListByKey(String key) {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(User t) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteById(long id) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
35
src/com/eshop/utils/Md5Utils.java
Normal file
35
src/com/eshop/utils/Md5Utils.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.eshop.utils;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
public class Md5Utils {
|
||||
|
||||
/**
|
||||
* MD5<44><35><EFBFBD>ܣ<EFBFBD>ȡǰ10λΪǰ<CEAA>벿<EFBFBD><EBB2BF><EFBFBD><EFBFBD><EFBFBD>벿<EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD>
|
||||
* @param text
|
||||
* @return
|
||||
*/
|
||||
public static String getMd5(String text) {
|
||||
StringBuffer buf = new StringBuffer("");
|
||||
try {
|
||||
MessageDigest md = MessageDigest.getInstance("MD5");
|
||||
md.update(text.getBytes());
|
||||
byte b[] = md.digest();
|
||||
int i;
|
||||
for (int offset = 0; offset < b.length; offset++) {
|
||||
i = b[offset];
|
||||
if (i < 0)
|
||||
i += 256;
|
||||
if (i < 16)
|
||||
buf.append("0");
|
||||
buf.append(Integer.toHexString(i));
|
||||
}
|
||||
String str = buf.toString();
|
||||
return (str.substring(10, str.length()) + str.substring(0, 10));
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return buf.toString();
|
||||
}
|
||||
}
|
3
web/META-INF/MANIFEST.MF
Normal file
3
web/META-INF/MANIFEST.MF
Normal file
@@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
2715
web/WEB-INF/6220project.cld
Normal file
2715
web/WEB-INF/6220project.cld
Normal file
File diff suppressed because it is too large
Load Diff
BIN
web/WEB-INF/lib/antlr-2.7.7.jar
Normal file
BIN
web/WEB-INF/lib/antlr-2.7.7.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/cglib-2.2.jar
Normal file
BIN
web/WEB-INF/lib/cglib-2.2.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/cglib-nodep-2.2.jar
Normal file
BIN
web/WEB-INF/lib/cglib-nodep-2.2.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/classmate-1.3.0.jar
Normal file
BIN
web/WEB-INF/lib/classmate-1.3.0.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar
Normal file
BIN
web/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/com.springsource.org.apache.axis-1.4.0.jar
Normal file
BIN
web/WEB-INF/lib/com.springsource.org.apache.axis-1.4.0.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
web/WEB-INF/lib/com.springsource.org.apache.commons.io-1.4.0.jar
Normal file
BIN
web/WEB-INF/lib/com.springsource.org.apache.commons.io-1.4.0.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
web/WEB-INF/lib/com.springsource.org.apache.log4j-1.2.15.jar
Normal file
BIN
web/WEB-INF/lib/com.springsource.org.apache.log4j-1.2.15.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/WEB-INF/lib/dom4j-1.6.1.jar
Normal file
BIN
web/WEB-INF/lib/dom4j-1.6.1.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/hibernate-commons-annotations-5.0.2.Final.jar
Normal file
BIN
web/WEB-INF/lib/hibernate-commons-annotations-5.0.2.Final.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/hibernate-core-5.3.0.CR1.jar
Normal file
BIN
web/WEB-INF/lib/hibernate-core-5.3.0.CR1.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/jandex-2.0.3.Final.jar
Normal file
BIN
web/WEB-INF/lib/jandex-2.0.3.Final.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/javassist-3.22.0-GA.jar
Normal file
BIN
web/WEB-INF/lib/javassist-3.22.0-GA.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/javax.persistence-api-2.2.jar
Normal file
BIN
web/WEB-INF/lib/javax.persistence-api-2.2.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/jboss-logging-3.3.1.Final.jar
Normal file
BIN
web/WEB-INF/lib/jboss-logging-3.3.1.Final.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.1.Final.jar
Normal file
BIN
web/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.1.Final.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/jstl.jar
Normal file
BIN
web/WEB-INF/lib/jstl.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/mysql-connector-java-5.0.8.jar
Normal file
BIN
web/WEB-INF/lib/mysql-connector-java-5.0.8.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-aop-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-aop-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-aspects-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-aspects-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-beans-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-beans-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-context-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-context-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-context-support-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-context-support-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-core-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-core-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-expression-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-expression-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-instrument-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-instrument-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-instrument-tomcat-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-instrument-tomcat-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-jdbc-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-jdbc-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
BIN
web/WEB-INF/lib/spring-jms-4.3.0.RELEASE.jar
Normal file
BIN
web/WEB-INF/lib/spring-jms-4.3.0.RELEASE.jar
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user