Showing preview only (4,728K chars total). Download the full file or copy to clipboard to get everything.
Repository: banbanzzz/Movie
Branch: master
Commit: d82b1d2df19b
Files: 152
Total size: 4.4 MB
Directory structure:
gitextract_jaf7y3mn/
├── .classpath
├── .gitattributes
├── .project
├── .settings/
│ ├── .jsdtscope
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.m2e.core.prefs
│ ├── org.eclipse.wst.common.component
│ ├── org.eclipse.wst.common.project.facet.core.xml
│ ├── org.eclipse.wst.jsdt.ui.superType.container
│ ├── org.eclipse.wst.jsdt.ui.superType.name
│ └── org.eclipse.wst.validation.prefs
├── README.md
├── movie.sql
├── pom.xml
├── src/
│ └── main/
│ ├── java/
│ │ └── com/
│ │ ├── controller/
│ │ │ ├── CommentController.java
│ │ │ ├── MovieController.java
│ │ │ ├── OrderController.java
│ │ │ ├── ScheduleController.java
│ │ │ └── UserController.java
│ │ ├── entity/
│ │ │ ├── Cinema.java
│ │ │ ├── Comment.java
│ │ │ ├── Hall.java
│ │ │ ├── Movie.java
│ │ │ ├── Order.java
│ │ │ ├── Schedule.java
│ │ │ └── User.java
│ │ ├── mapper/
│ │ │ ├── CinemaMapper.java
│ │ │ ├── CinemaMapper.xml
│ │ │ ├── CommentMapper.java
│ │ │ ├── CommentMapper.xml
│ │ │ ├── HallMapper.java
│ │ │ ├── HallMapper.xml
│ │ │ ├── MovieMapper.java
│ │ │ ├── MovieMapper.xml
│ │ │ ├── OrderMapper.java
│ │ │ ├── OrderMapper.xml
│ │ │ ├── ScheduleMapper.java
│ │ │ ├── ScheduleMapper.xml
│ │ │ ├── UserMapper.java
│ │ │ └── UserMapper.xml
│ │ ├── service/
│ │ │ ├── ICinemaService.java
│ │ │ ├── ICommentService.java
│ │ │ ├── IHallService.java
│ │ │ ├── IMovieService.java
│ │ │ ├── IOrderService.java
│ │ │ ├── IScheduleService.java
│ │ │ ├── IUserService.java
│ │ │ └── imp/
│ │ │ ├── CinemaServiceImp.java
│ │ │ ├── CommentServiceImp.java
│ │ │ ├── HallServiceImp.java
│ │ │ ├── MovieServiceImp.java
│ │ │ ├── OrderServiceImp.java
│ │ │ ├── ScheduleServiceImp.java
│ │ │ └── UserServiceImp.java
│ │ └── util/
│ │ ├── ResponseModel.java
│ │ ├── UUIDUtil.java
│ │ └── test.java
│ ├── resources/
│ │ ├── movie.sql
│ │ ├── mybatis.xml
│ │ ├── mysql.properties
│ │ └── spring.xml
│ └── webapp/
│ ├── WEB-INF/
│ │ └── web.xml
│ ├── index.html
│ ├── jsp/
│ │ ├── buySeat.jsp
│ │ ├── buyTickets.jsp
│ │ ├── center.jsp
│ │ ├── footer.jsp
│ │ ├── header.jsp
│ │ ├── login.jsp
│ │ ├── mainPage.jsp
│ │ ├── manage.jsp
│ │ ├── movieDetail.jsp
│ │ ├── movieList.jsp
│ │ ├── pay.jsp
│ │ ├── payStatus.jsp
│ │ ├── selectSeat.jsp
│ │ └── test.jsp
│ └── static/
│ ├── bootstrap/
│ │ ├── bootstrap.js
│ │ ├── css/
│ │ │ ├── bootstrap-theme.css
│ │ │ ├── bootstrap.css
│ │ │ └── style.css
│ │ └── js/
│ │ ├── bootstrap.js
│ │ └── npm.js
│ ├── css/
│ │ ├── buySeat.css
│ │ ├── buyTickets.css
│ │ ├── center.css
│ │ ├── footer.css
│ │ ├── header.css
│ │ ├── login.css
│ │ ├── main.css
│ │ ├── main2.css
│ │ ├── manage.css
│ │ ├── modify.css
│ │ ├── movieDetail.css
│ │ ├── movieList.css
│ │ ├── pay.css
│ │ ├── paystatus.css
│ │ ├── selectSeat.css
│ │ └── style2.css
│ ├── images/
│ │ └── logo_h.psd
│ ├── js/
│ │ ├── Api.js
│ │ ├── classie.js
│ │ ├── echarts.js
│ │ ├── header.js
│ │ ├── main2.js
│ │ └── modernizr-custom.js
│ └── layui/
│ ├── css/
│ │ ├── index.css
│ │ ├── layui.css
│ │ ├── layui.mobile.css
│ │ └── modules/
│ │ ├── code.css
│ │ ├── laydate/
│ │ │ └── default/
│ │ │ └── laydate.css
│ │ └── layer/
│ │ └── default/
│ │ └── layer.css
│ ├── js/
│ │ └── firm.js
│ ├── lay/
│ │ └── modules/
│ │ ├── carousel.js
│ │ ├── code.js
│ │ ├── colorpicker.js
│ │ ├── element.js
│ │ ├── flow.js
│ │ ├── form.js
│ │ ├── jquery.js
│ │ ├── laydate.js
│ │ ├── layedit.js
│ │ ├── layer.js
│ │ ├── laypage.js
│ │ ├── laytpl.js
│ │ ├── mobile.js
│ │ ├── rate.js
│ │ ├── slider.js
│ │ ├── table.js
│ │ ├── transfer.js
│ │ ├── tree.js
│ │ ├── upload.js
│ │ └── util.js
│ ├── layui.all.js
│ └── layui.js
└── target/
├── classes/
│ ├── com/
│ │ └── mapper/
│ │ ├── CinemaMapper.xml
│ │ ├── CommentMapper.xml
│ │ ├── HallMapper.xml
│ │ ├── MovieMapper.xml
│ │ ├── OrderMapper.xml
│ │ ├── ScheduleMapper.xml
│ │ └── UserMapper.xml
│ ├── mybatis.xml
│ ├── mysql.properties
│ └── spring.xml
├── m2e-wtp/
│ └── web-resources/
│ └── META-INF/
│ ├── MANIFEST.MF
│ └── maven/
│ └── com.movie/
│ └── Movie/
│ ├── pom.properties
│ └── pom.xml
├── maven-archiver/
│ └── pom.properties
└── maven-status/
└── maven-compiler-plugin/
├── compile/
│ └── default-compile/
│ ├── createdFiles.lst
│ └── inputFiles.lst
└── testCompile/
└── default-testCompile/
└── inputFiles.lst
================================================
FILE CONTENTS
================================================
================================================
FILE: .classpath
================================================
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
================================================
FILE: .gitattributes
================================================
*.js linguist-language=java
*.css linguist-language=java
*.html linguist-language=java
================================================
FILE: .project
================================================
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Movie</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
================================================
FILE: .settings/.jsdtscope
================================================
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="src/main/webapp"/>
<classpathentry kind="src" path="target/m2e-wtp/web-resources"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
================================================
FILE: .settings/org.eclipse.jdt.core.prefs
================================================
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
================================================
FILE: .settings/org.eclipse.m2e.core.prefs
================================================
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
================================================
FILE: .settings/org.eclipse.wst.common.component
================================================
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="Movie">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<property name="context-root" value="Movie"/>
<property name="java-output-path" value="/Movie/target/classes"/>
</wb-module>
</project-modules>
================================================
FILE: .settings/org.eclipse.wst.common.project.facet.core.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="jst.web" version="3.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="java" version="1.8"/>
</faceted-project>
================================================
FILE: .settings/org.eclipse.wst.jsdt.ui.superType.container
================================================
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
================================================
FILE: .settings/org.eclipse.wst.jsdt.ui.superType.name
================================================
Window
================================================
FILE: .settings/org.eclipse.wst.validation.prefs
================================================
disabled=06target
eclipse.preferences.version=1
================================================
FILE: README.md
================================================
# 仿猫眼电影购票系统
## 基于Spring+Spring MVC+Mybatis+Layui
### 功能:
* 前台:
* 登录、注册、注销
* 基本信息修改、修改头像、修改密码
* 按标签检索电影
* 根据电影选择场次
* 根据场次选择座位
* 购票
* 查看个人订单
* 申请退票
* 发布评论、修改评论、删除评论
* 后台:
+ 用户管理:增、删、改、查
+ 电影管理:添加电影、修改和下架前台在映的电影
+ 场次管理:
- 添加场次:选择影院、影院放映厅、电影、场次时间
- 场次下架
- 检索场次
- 查看上映、下架场次
+ 评论管理:查看评论、根据用户检索评论、修改、删除
+ 订单管理:
- 根据用户/订单编号检索订单
- 查看退票的订单
- 退票审核
+ 票房统计:
- 统计系统电影类型的票房数据
- 统计系统电影票房排行前10的电影及票房<br>
### 前台预览:










### 后台预览:












================================================
FILE: movie.sql
================================================
/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 80012
Source Host : localhost:3306
Source Schema : movie
Target Server Type : MySQL
Target Server Version : 80012
File Encoding : 65001
Date: 06/08/2019 14:40:26
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for cinema
-- ----------------------------
DROP TABLE IF EXISTS `cinema`;
CREATE TABLE `cinema` (
`cinema_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '影院编号',
`cinema_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '影院名称',
`cinema_address` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '影院地址',
PRIMARY KEY (`cinema_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of cinema
-- ----------------------------
INSERT INTO `cinema` VALUES (1, '中山奇幻电影院', '石岐区岐头新村龙凤街4号大信溢彩荟二期8楼');
INSERT INTO `cinema` VALUES (2, '金逸影城中山石歧店', '石岐区大信南路2路大信新都汇5楼');
INSERT INTO `cinema` VALUES (3, '博纳国际影城(中山IMAX店)', '古镇区同兴路98号利和广场购物中心四楼4009号');
INSERT INTO `cinema` VALUES (4, 'UME影城(中山古镇店)', '古镇区中兴大道南一号花艺广场11层A区');
INSERT INTO `cinema` VALUES (5, '中影100影城石歧店', '石岐区康华路15号恒基大厦3楼');
INSERT INTO `cinema` VALUES (6, '橙天嘉禾影城(利和店)', '石岐区中山三路16号利和广场五层');
INSERT INTO `cinema` VALUES (7, '珠影GCC影城(中山杜比全景声店)', '火炬高技术产业开发区火炬开发区港城路7号明珠广场二期');
INSERT INTO `cinema` VALUES (8, '期遇·翼影城(东凤店)', '东凤镇东富路81号大顺时尚荟广场B座四楼(原君信大厦)');
INSERT INTO `cinema` VALUES (9, '中山IM电影城(南朗壹加壹店)', '南朗镇岭南路62号新壹加壹4楼');
INSERT INTO `cinema` VALUES (10, '艺达国际影城(小榄杜比全景声店)', '小榄镇新华中路118号大信新都汇118广场4楼');
INSERT INTO `cinema` VALUES (11, '中影天乐电影城(海州汇海城店)', '古镇镇古镇海州市场汇海城北门电梯5楼(星海湾对面)');
INSERT INTO `cinema` VALUES (12, '比高电影城(中山店)', '坦洲镇坦神北路118号皇爵假日广场4楼');
INSERT INTO `cinema` VALUES (13, '大地影院(星宝时代店)', '沙溪镇乐群坎溪村(星宝路6号星宝时代广场)');
INSERT INTO `cinema` VALUES (14, '中影星艺影城(南朗车站店)', '南朗镇南朗车站2楼');
INSERT INTO `cinema` VALUES (15, '中影太阳城影院(张家边店)', '火炬高技术产业开发区东镇东一路23号太阳城购物中心4楼(近群英华庭)');
INSERT INTO `cinema` VALUES (16, '五月花电影城(棕榈彩虹商业中心店)', '西区街道棕榈彩虹商业中心1座三楼(近新中医院)');
INSERT INTO `cinema` VALUES (17, '高菲影城(中山万益广场店)', '板芙镇迎宾大道8号(万益广场店)');
INSERT INTO `cinema` VALUES (18, '金逸影城(中山远洋城IMAX店)', '东区街道博爱六路28号远洋广场3幢大信新都汇4楼');
-- ----------------------------
-- Table structure for comment
-- ----------------------------
DROP TABLE IF EXISTS `comment`;
CREATE TABLE `comment` (
`comment_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '评论编号',
`user_id` bigint(10) NOT NULL COMMENT '所属用户编号',
`comment_content` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '评论内容',
`movie_id` bigint(10) NOT NULL COMMENT '所属电影编号',
`comment_time` datetime(0) NOT NULL COMMENT '评论时间',
PRIMARY KEY (`comment_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of comment
-- ----------------------------
INSERT INTO `comment` VALUES (3, 1, '不容错过', 3, '2019-07-18 15:15:22');
INSERT INTO `comment` VALUES (4, 1, '车开电车侧壁如履平地,足踢卫星返回舱一脚拯救东京,我看柯南跟吴京此生必有一战吧', 4, '2019-07-13 11:15:01');
INSERT INTO `comment` VALUES (5, 1, '看到最后一直在想真正的主角【皮球】怎么还不登场,结果果然没有让我失望。哦对,主役是皮球的话,二番就是安室的车了吧。', 5, '2019-07-13 11:15:14');
INSERT INTO `comment` VALUES (7, 1, '东南亚电影院的观众们同时发出了杠铃般的笑声4536346', 7, '2019-07-24 02:37:36');
INSERT INTO `comment` VALUES (8, 1, '谁要看你们检察院公安撕逼 我操 还我黑衣人组织', 8, '2019-07-13 11:15:51');
INSERT INTO `comment` VALUES (10, 1, '还行,没吹得那么好,有点像强化娱乐性的海底版《黑豹》...故事线极其简单,打戏遍布扩成了143分钟的篇幅,对路人非常友好,不过这类过度炫目眼花缭乱的特效已经越看越麻木,什么海底《阿凡达》吹太过了,坐等《阿凡达2》的潘多拉海底世界吊打吧', 10, '2019-07-13 11:16:34');
INSERT INTO `comment` VALUES (11, 2, '我是admin欢迎大家评论哦', 1, '2019-07-17 16:59:56');
INSERT INTO `comment` VALUES (12, 2, '女王:维科,这是我大儿子,剩下的话不用我多说了吧,以后该怎么办,你自己招子放亮一点,好处不会少了你的。维科:晓得了。zz4124', 2, '2019-07-24 02:34:15');
INSERT INTO `comment` VALUES (13, 2, '东有沉香劈山救母,西有海娃寻叉救母。绿色秋裤哲学变身,刺身放题海底大战。同母异父兄弟相残,弟妹大伯不伦之恋。温子仁携手徐锦江,亚裔之光拯救好莱坞!', 3, '2019-07-13 11:28:40');
INSERT INTO `comment` VALUES (14, 2, '2.5 “我的恋人,就是这个国家啊!”———————好久没有听到这么烂的话了', 4, '2019-07-13 11:33:21');
INSERT INTO `comment` VALUES (15, 2, '今年的柯南剧场版好无聊啊。。后面那段飙车简直夸张到无法理解,故事最后的反转也很让人无语,完全是多此一举,没有好的剧本就别拍了好吗,估计上映了也捞不到太多票房。ps:韩语版的柯南真的让人看得别扭不舒服..', 5, '2019-07-13 11:35:46');
INSERT INTO `comment` VALUES (16, 2, '渔夫和灯塔守护多数是鳏夫,私下里经常养一些人鱼交欢。海洋远比陆地深远得多,人们赞美阳光下的海洋,却不知深夜降临海面上会冒出可怕的妖怪,海底也会藏着嘲笑人类的高级文明。所以!温子仁同样是一个借大热系列ip来讲自己故事的导演!', 6, '2019-07-13 11:36:08');
INSERT INTO `comment` VALUES (17, 2, '海王可能要被微博营销号给奶死了。。。', 7, '2019-07-13 11:36:14');
INSERT INTO `comment` VALUES (18, 2, '当陆地人为自己的文明沾沾自喜时,亚特兰蒂斯的服装设计已经领先我们几百年。', 8, '2019-07-13 11:36:41');
INSERT INTO `comment` VALUES (19, 2, '温子仁就像一个从没拍过特效大片的暴发户。两星半,降降火。', 9, '2019-07-13 11:36:50');
INSERT INTO `comment` VALUES (20, 2, '剧本,导演都有问题,很多片段都似曾相识,硬是凑了两个半小时真是辛苦了我的膀胱。然而剧情不够美工来凑,海底阿凡达,温子仁难担大任,DC要超越漫威还有很长的路要走。', 10, '2019-07-13 11:36:58');
INSERT INTO `comment` VALUES (22, 3, '前面的小男孩突然问起诉是什么意思,我就在想这个故事小孩看得懂吗?动作场景依然需要帮忙按住牛顿的棺材板。', 4, '2019-07-13 11:37:43');
INSERT INTO `comment` VALUES (23, 3, '7分。温子仁确实很厉害,原以为这该是系列中最无趣的一部,尤其各种水下戏份。结果,却难得拍的很好看。影片节奏感和大场面掌控上,确实很见功力。以及,温子仁还融入了很多他自己的趣味,也算很有趣的细节了。整体可看性还不错,就是略长了,海底的光怪陆离,看久了也会有些视觉疲劳。', 5, '2019-07-13 11:38:06');
INSERT INTO `comment` VALUES (24, 3, '渔夫和灯塔守护多数是鳏夫,私下里经常养一些人鱼交欢。海洋远比陆地深远得多,人们赞美阳光下的海洋,却不知深夜降临海面上会冒出可怕的妖怪,海底也会藏着嘲笑人类的高级文明。所以!温子仁同样是一个借大热系列ip来讲自己故事的导演!', 3, '2019-07-13 11:38:35');
INSERT INTO `comment` VALUES (25, 3, '故事老套了一点 但是昨晚我的主要任务是努力让自己不要在影院里发大水…Jason太尼玛适合这个角色了,就算他能轻而易举的把我操坏我也心甘情愿地承受这份痛苦', 9, '2019-07-13 11:39:10');
INSERT INTO `comment` VALUES (26, 4, '飞机里的那一段是纪念,也是传承。钢铁侠说过,我们做的一切其实并不重要,重要的是我们选择给后代留下什么。而蜘蛛侠是托尼留给我们最好的遗产。', 10, '2019-07-13 11:39:30');
INSERT INTO `comment` VALUES (27, 4, '多年以后,面对敌人,蜘蛛侠彼得·帕克将会回想起,托尼·斯塔克带他见识超级英雄们的那个遥远的下午。 两个彩蛋比正片有意思', 7, '2019-07-13 11:39:41');
INSERT INTO `comment` VALUES (28, 4, '轻轻松松、啪啪砰砰,这样的超级英雄电影不挺好?温子仁真DC良心大管家——从头到尾堆特效,经费才烧1.6亿!欣赏不来海王徐锦江,51岁的妮可真的美炸了~~~~~', 6, '2019-07-13 11:39:57');
INSERT INTO `comment` VALUES (29, 4, '天空属于卢卡斯 陆地属于杰克逊 海洋属于温子仁!!!', 2, '2019-07-13 11:40:13');
INSERT INTO `comment` VALUES (30, 4, '特效和场景都非常不错,但是剧情和主角都非常不真实,唯一的真实人类就是那个收到新衣服以后改颜色镶铆钉的生命力很旺盛的青蛙反派。', 8, '2019-07-13 11:40:20');
INSERT INTO `comment` VALUES (32, 5, '3.5;失落的亚特兰蒂斯之国,古远传说提供与一般超英片迥异的丰富背景,DC另辟蹊径,开启美妙神秘的水下世界,星站兵密集,温子仁不负众望且适时塞私货,海沟一战jump scare其乐无穷。视效惊人,音效震人,抛却鸡汤亲情,大场面调度甚是过瘾。妮可基德曼真·女神,形象太契合。', 2, '2019-07-13 11:41:14');
INSERT INTO `comment` VALUES (33, 5, '我宣布!2018就是骨科文艺复兴之年!!!', 9, '2019-07-13 11:41:29');
INSERT INTO `comment` VALUES (38, 2, '毒液好丑啊', 1, '2019-07-21 06:40:43');
INSERT INTO `comment` VALUES (39, 4, '哇,这个毒液真的丑,但是女主真的好看!', 1, '2019-07-21 08:59:44');
INSERT INTO `comment` VALUES (40, 6, '以为是R级片,结果是儿童片。汤老湿毫无邪气只有痞气,把一个反派英雄演得正气凛然到闷,而且毒液跟《寄生兽》一样竟然养着养着就变宠物了77', 1, '2019-07-21 09:04:27');
INSERT INTO `comment` VALUES (41, 5, '无名之辈@@', 3, '2019-07-21 09:05:03');
INSERT INTO `comment` VALUES (42, 5, '你好之华', 5, '2019-07-21 09:05:46');
INSERT INTO `comment` VALUES (43, 6, '你的眼睛像火蜥蜴是我笨拙的情话,疯子离开懦夫是她最凶的咒骂,交换亲人让我的愧疚在博格特前显形,歃血为盟使我的爱在厄里斯镜里再现。点金石可以长生,纳吉尼终会成兽,爱心咒语不能保证天长地久,万咒皆终无法阻止核爆之灾。听说魔法世界也有很多爱恨与无奈,麻瓜世界里今年我的入学信还是被寄丢。', 2, '2019-07-21 09:06:34');
INSERT INTO `comment` VALUES (44, 6, '活人办了葬礼,死人偏剩一口气。手机那头她是暗夜里绽放的花,天台边缘她是绝路尽头的桥。两个抢手机模型的憨皮,却无比清醒地看到对方的痴,何惧陷阱,哪管嫌疑。有的人是还没剥开的蛋壳,有的人是胸口夹带的铁板,有的人是虚张声势的水枪,有的人是无法愈合的伤口。几分痴憨皆是勇,几句咒骂都是爱。', 3, '2019-07-21 09:07:47');
INSERT INTO `comment` VALUES (45, 3, '毒液好恶心,快看吐了。', 1, '2019-07-21 09:08:33');
INSERT INTO `comment` VALUES (46, 6, '在岩井俊二的作品里算不上好,但也不差。里面的“时空信息传递”、“替身与错位”,看似是《情书》的反面,实则挖掘的是家庭代际的空间,引出稍显过满的群戏——每个角色都有互文关系。演员方面重点夸下金马提名的张子枫,没想到她竟是戏眼,两次落泪都是因为她。', 5, '2019-07-21 09:08:54');
INSERT INTO `comment` VALUES (47, 3, '允儿来了zz', 1, '2019-07-21 09:09:21');
INSERT INTO `comment` VALUES (48, 6, '顶顶顶', 4, '2019-07-21 09:09:23');
INSERT INTO `comment` VALUES (49, 6, '别想着拍给年轻人看,拍给人看行不行。', 15, '2019-07-21 09:10:12');
INSERT INTO `comment` VALUES (50, 6, '古天乐又缺钱建学校了', 16, '2019-07-21 09:10:38');
INSERT INTO `comment` VALUES (51, 6, '以为玩三就完结甚至不敢期待怕失望,然而完全是惊喜。新元素加入很出彩,Woody找到归属,我的玩具系列完美结局。', 17, '2019-07-21 09:11:04');
INSERT INTO `comment` VALUES (52, 6, '有点泰国惊悚片的味道了,说实话我好几次被吓的冷汗都出来了;虽然有一些场景还是感觉逻辑不通,但至少画面和节奏不渣。本来我都不知道这部电影,但是我对象说要看,那就看了这部,现在的问题是,他不在家的时候我怎么办?', 18, '2019-07-21 09:11:39');
INSERT INTO `comment` VALUES (53, 6, '一个悲伤的故事:太阳都要毁灭,地球都要流浪了,我国的校服还是这么丑......', 20, '2019-07-21 09:12:06');
INSERT INTO `comment` VALUES (54, 6, '不拍妓女三部曲的陈果就不是陈果了。电影拍得跟开玩笑一样。就像故事的走向,演员的演法,都带着些玩世不恭。而这不是诙谐是轻佻。观众并不想看你们在大银幕开玩笑。', 21, '2019-07-21 09:12:31');
INSERT INTO `comment` VALUES (55, 3, '我的青春也全都是你呀', 26, '2019-07-21 09:19:26');
INSERT INTO `comment` VALUES (56, 1, '观后影片:111', 1, '2019-07-22 11:15:03');
INSERT INTO `comment` VALUES (57, 1, '神奇个锤子', 2, '2019-07-22 11:46:01');
-- ----------------------------
-- Table structure for hall
-- ----------------------------
DROP TABLE IF EXISTS `hall`;
CREATE TABLE `hall` (
`hall_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '放映厅编号',
`hall_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '放映厅名称',
`hall_capacity` int(10) NOT NULL DEFAULT 144 COMMENT '放映厅容量 默认为144 12 x 12 ',
`cinema_id` bigint(10) NOT NULL COMMENT '所属影院编号',
PRIMARY KEY (`hall_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of hall
-- ----------------------------
INSERT INTO `hall` VALUES (1, '1号厅', 144, 1);
INSERT INTO `hall` VALUES (2, '1号厅', 144, 2);
INSERT INTO `hall` VALUES (3, '1号厅', 144, 3);
INSERT INTO `hall` VALUES (4, '1号厅', 144, 4);
INSERT INTO `hall` VALUES (5, '1号厅', 144, 5);
INSERT INTO `hall` VALUES (6, '1号厅', 144, 6);
INSERT INTO `hall` VALUES (7, '2号厅', 144, 1);
INSERT INTO `hall` VALUES (8, '2号厅', 144, 2);
INSERT INTO `hall` VALUES (9, '2号厅', 144, 3);
INSERT INTO `hall` VALUES (10, '2号厅', 144, 4);
INSERT INTO `hall` VALUES (11, '2号厅', 144, 5);
INSERT INTO `hall` VALUES (12, '2号厅', 144, 6);
INSERT INTO `hall` VALUES (13, '3号厅', 144, 1);
INSERT INTO `hall` VALUES (14, '1号厅', 144, 7);
INSERT INTO `hall` VALUES (15, '1号厅', 144, 8);
INSERT INTO `hall` VALUES (16, '1号厅', 144, 9);
INSERT INTO `hall` VALUES (17, '1号厅', 144, 10);
INSERT INTO `hall` VALUES (18, '1号厅', 144, 11);
INSERT INTO `hall` VALUES (19, '1号厅', 144, 12);
INSERT INTO `hall` VALUES (20, '1号厅', 144, 13);
INSERT INTO `hall` VALUES (21, '1号厅', 144, 14);
INSERT INTO `hall` VALUES (22, '1号厅', 144, 15);
INSERT INTO `hall` VALUES (23, '1号厅', 144, 16);
INSERT INTO `hall` VALUES (24, '1号厅', 144, 17);
INSERT INTO `hall` VALUES (25, '1号厅', 144, 18);
INSERT INTO `hall` VALUES (26, '2号厅', 144, 7);
INSERT INTO `hall` VALUES (27, '2号厅', 144, 8);
INSERT INTO `hall` VALUES (28, '2号厅', 144, 9);
INSERT INTO `hall` VALUES (29, '2号厅', 144, 10);
INSERT INTO `hall` VALUES (30, '2号厅', 144, 11);
INSERT INTO `hall` VALUES (31, '2号厅', 144, 12);
INSERT INTO `hall` VALUES (32, '2号厅', 144, 13);
INSERT INTO `hall` VALUES (33, '2号厅', 144, 14);
INSERT INTO `hall` VALUES (34, '2号厅', 144, 15);
INSERT INTO `hall` VALUES (35, '2号厅', 144, 16);
INSERT INTO `hall` VALUES (36, '2号厅', 144, 17);
INSERT INTO `hall` VALUES (37, '2号厅', 144, 18);
INSERT INTO `hall` VALUES (38, '3号厅', 144, 3);
INSERT INTO `hall` VALUES (39, '3号厅', 144, 5);
INSERT INTO `hall` VALUES (40, '3号厅', 144, 7);
INSERT INTO `hall` VALUES (41, '3号厅', 144, 10);
INSERT INTO `hall` VALUES (42, '3号厅', 144, 11);
INSERT INTO `hall` VALUES (43, '3号厅', 144, 15);
INSERT INTO `hall` VALUES (44, '3号厅', 144, 18);
INSERT INTO `hall` VALUES (45, 'IMAX厅', 144, 1);
INSERT INTO `hall` VALUES (46, 'IMAX厅', 144, 3);
INSERT INTO `hall` VALUES (47, 'IMAX厅', 144, 8);
INSERT INTO `hall` VALUES (48, 'IMAX厅', 144, 12);
INSERT INTO `hall` VALUES (49, 'IMAX厅', 144, 14);
INSERT INTO `hall` VALUES (50, 'IMAX厅', 144, 16);
INSERT INTO `hall` VALUES (51, 'IMAX厅', 144, 17);
-- ----------------------------
-- Table structure for movie
-- ----------------------------
DROP TABLE IF EXISTS `movie`;
CREATE TABLE `movie` (
`movie_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '电影编号',
`movie_cn_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电影名称(中文)',
`movie_fg_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电影名称(外语)',
`movie_actor` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影演职人员',
`movie_director` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影导演',
`movie_detail` varchar(350) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影详情',
`movie_duration` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影时长',
`movie_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影类型',
`movie_score` float(10, 1) NULL DEFAULT 0.0 COMMENT '电影评分 默认为0',
`movie_boxOffice` float(10, 4) NULL DEFAULT 0.0000 COMMENT '电影票房 默认为0',
`movie_commentCount` bigint(10) NULL DEFAULT 0 COMMENT '电影参评人数 默认为0',
`movie_releaseDate` date NOT NULL COMMENT '电影上映时间',
`movie_country` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影制片地区',
`movie_picture` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影海报',
`movie_state` int(3) NOT NULL DEFAULT 1 COMMENT '电影状态 默认为1 1:在线 0:下架',
PRIMARY KEY (`movie_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of movie
-- ----------------------------
INSERT INTO `movie` VALUES (1, '毒液:致命守护者', 'Venom', '汤姆·哈迪:埃迪·布洛克/毒液,米歇尔·威廉姆斯:安妮·韦英', '鲁本·弗雷斯彻', '身为记者的埃迪·布洛克(汤姆·哈迪饰)在调查生命基金会老板卡尔顿·德雷克(里兹·阿迈德饰)的过程中,事业遭受重创,与未婚妻安妮·韦英(米歇尔·威廉姆斯饰)的关系岌岌可危,并意外被外星共生体控制,他历经挣扎对抗,最终成为拥有强大超能力,无人可挡的“毒液“', '107分钟', '动作,科幻', 7.2, 1.0209, 7, '2019-06-24', '美国', '../upload/movies/c91fef2f9e2b4d5295cd12e9abf507d9.jpg', 1);
INSERT INTO `movie` VALUES (2, '神奇动物:格林德沃之罪', 'Fantastic Beasts: The Crimes of Grindelwald', '埃迪·雷德梅恩:纽特·斯卡曼德,凯瑟琳·沃特斯顿:蒂娜‧戈德斯坦,约翰尼·德普:盖勒·格林德沃', '大卫·叶茨', '在《神奇动物在那里》第一部的结尾,纽特·斯卡曼德(埃迪·雷德梅恩 饰)协助美国魔法国会,将强大的黑巫师盖勒特·格林德沃(约翰尼·德普 饰)抓捕归案。但格林德沃不久便兑现狂言成功越狱,并开始纠集信徒,着手实现他们的邪恶目的:让纯血统的巫师成为统治阶层,镇压一切非魔法生物。为挫败格林德沃的阴谋,阿不思·邓布利多(裘德·洛 饰)向昔日的学生纽特·斯卡曼德寻求帮助。纽特欣然允诺,却没有意识到,他将踏上的会是一段充满艰险的未来征途。此时的魔法世界面临空前的分裂乱局,阶层鸿沟日益加深,爱与忠诚备受考验,至亲好友也可能反目成仇……', '134分钟', '奇幻,冒险', 7.7, 1.0339, 5, '2019-06-25', '美国', '../upload/movies/Fantastic Beasts.jpg', 1);
INSERT INTO `movie` VALUES (3, '无名之辈', 'A Cool Fish', '陈建斌:马先勇,任素汐:马嘉旗,潘斌龙:李海根', '饶晓志', '在一座山间小城中,一对低配劫匪、一个落魄的泼皮保安、一个身体残疾却性格彪悍的残毒舌女以及一系列生活在社会不同轨迹上的小人物,在一个貌似平常的日子里,因为一把丢失的老枪和一桩当天发生在城中的乌龙劫案,从而被阴差阳错地拧到一起,发生的一幕幕令人啼笑皆非的荒诞喜剧', '108分钟', '荒诞,喜剧', 9.2, 1.0315, 5, '2019-07-05', '中国大陆', '../upload/movies/A Cool Fish.jpg', 1);
INSERT INTO `movie` VALUES (4, '名侦探柯南:零的执行人', '名探偵コナン ゼロの執行人', '高山南:江户川柯南,山崎和佳奈:毛利兰,林原惠美:灰原哀', '立川让', '5月1日,东京湾边的新建筑“海洋边缘”将举办首脑云集的东京峰会。然而,峰会开办前一周,会场发生超大规模的爆炸事件,并出现了安室透的身影。疑似恐怖袭击的事件引起了警察部门的严肃调查。在警察局大型搜查会议上,公安部门提交证物,却发现疑犯指纹与毛利小五郎(小山力也 配音)指纹吻合。作为律师的妃英理努力收集证据证明丈夫的无辜,却无力阻止毛利小五郎被收监。看到毛利兰(山崎和佳奈 配音)绝望哭泣的样子,柯南(高山南 配音)决定调查事件真相,还毛利小五郎清白。另一方面,少年侦探团的孩子们正紧密关注着无人探测器“天鹅”的回航任务。行踪诡异的安室透、惨遭陷害的毛利小五郎、错综复杂的警察部门、即将着陆的无人探测器;随着“机密任务”进入倒计时,关乎整个东京的可怕计划拉开帷幕…', '111分钟', '悬疑,冒险,动画', 8.5, 1.0256, 4, '2019-07-13', '日本', '../upload/movies/名探偵.jpg', 1);
INSERT INTO `movie` VALUES (5, '你好,之华', 'Last Letter', '周迅:袁之华,秦昊:尹川,杜江:周文涛', '岩井俊二', '有人慌张得见面,有人简单地告别。姐姐袁之南离世的那个清晨,只匆匆留下一封信和一张同学会邀请函。妹妹之华(周迅 饰)代替姐姐参加,却意外遇见年少时的倾慕对象尹川(秦昊 饰)。往日的记忆在苏醒,但再次相见,已物是人非', '114分钟', '爱情', 7.9, 1.0108, 5, '2019-07-20', '中国大陆、日本', '../upload/movies/Last Letter.jpg', 1);
INSERT INTO `movie` VALUES (6, '恐龙王', 'DINO KING', '吕佩玉:钢妈,王衡:斑大师,孙晔:八百度', '施雅雅', '陆地霸主特暴龙“斑大师”和自己的小儿子“小疙瘩”生活在一起。“小疙瘩”自幼失去了母亲,生性懦弱,严厉的“斑大师”虽然心底十分疼爱自己的孩子,但是急于让“小疙瘩”成长为新的陆地霸主,常常忍不住责骂“小疙瘩”,父子俩虽然相依为命,却始终有一些隔阂。 一天“小疙瘩”被几只邪恶的恐爪龙抓走,“斑大师”踏上漫漫的寻子之路,路途中他结识了有高度近视眼的美甲龙“八百度”,两人穿过“巨蝎峡”、走出“长颈龙绿洲”、踏上火山峡谷,经历了重重难关。而身处险境的“小疙瘩”也结识了一些新的朋友,并且开始和邪恶的恐爪龙斗智斗勇。最终父子两人终于相见,但是却不得不一起面对一个更加凶恶的史前怪物……', '95分钟', '喜剧,动画,冒险', 8.9, 1.0000, 2, '2018-12-10', '中国大陆', '../upload/movies/DINO KING.jpg', 0);
INSERT INTO `movie` VALUES (7, '冰封侠:时空行者', 'Bing Feng Xia II', '甄子丹:贺英,黄圣依:小美,王宝强:萨獒', '叶伟民', '明朝大将军贺英(甄子丹 饰)利用时空金球终于重返明朝,与锦衣卫兄弟萨獒(王宝强 饰)获悉了倭寇和朝廷奸党之间足以倾覆皇权的密谋,绵延400年的惊天危机一触即发。贺英也在红颜知己小美(黄圣依 饰)的帮助下开始了抗倭锄奸和保护族人的战斗', '87分钟', '剧情,动作', 4.1, 1.0000, 3, '2018-09-02', '中国大陆', '../upload/movies/Bing Feng Xia II.jpg', 0);
INSERT INTO `movie` VALUES (8, '梦境之源', 'Source of Dreams', '陈志朋:徐朗,颜丹晨:李雪,方中信:梁文道', '柳珂', '货车司机李昂由于童年时代内向懦弱,颓废度日,频频做噩梦,严重影响了正常的生活,并因此不得不接受心理医生曹井润的催眠治疗,却在梦境中意外卷入一场凶杀案。睿智破案的警探成为凶手,而真正的幕后黑手仍在逍遥法外……', '90分钟', '悬疑,推理', 5.9, 1.0000, 3, '2018-11-16', '中国大陆', '../upload/movies/Source of Dreams.jpg', 0);
INSERT INTO `movie` VALUES (9, '摘金奇缘', 'Crazy Rich Asians', '吴恬敏:朱瑞秋,亨利·戈尔丁:杨尼克,杨紫琼:杨爱莉', '朱浩伟', '新加坡富二代王子杨尼克(亨利·戈尔丁饰)自豪地带着美丽大方、学识傲人的女友朱瑞秋(吴恬敏饰)回家见亲友。而这个巨富大家族对朱瑞秋的态度,与她的想像相差十万八千里远,朱瑞秋一开始以为只是跟深爱的男人轻松浪漫地度假,不料却面对排山倒海般的压力,她必须坚强应对一群有心机的情敌和反对者,但更难搞的竟然是她的准婆婆杨爱莉(杨紫琼饰),因为埃莉诺认为朱瑞秋这个现代美国女孩永远都高攀不上她们家', '120分钟', '喜剧,爱情', 6.1, 1.0000, 3, '2018-11-30', '美国', '../upload/movies/Crazy Rich Asians.jpg', 0);
INSERT INTO `movie` VALUES (10, '海王', 'Aquaman', '杰森·莫玛:海王/亚瑟·库瑞,艾梅柏·希尔德:海后/湄拉,威廉·达福:努迪斯·维科', '温子仁', '在一场狂风暴雨的海边灯塔看守人汤姆·库瑞(特穆拉·莫里森饰)救了受伤的亚特兰蒂斯女王亚特兰娜(妮可·基德曼饰)之后,他们相爱了,生下了拥有半人类、半亚特兰蒂斯人的血统亚瑟·库瑞(杰森·莫玛饰)。为了救自己的爱人和儿子亚特兰娜选择了离开。\r\n几年之后,亚特兰娜被迫回到海底国家缔结政治婚姻,生下儿子奥姆(帕特里克·威尔森饰)。奥姆长大后当上国王对陆地人类充满憎恨,开始吞并海底中发展中的国家的兵力,一举消灭陆地人。奥姆的未婚妻海底王国泽贝尔公主湄拉(艾梅柏·希尔德饰)打算阻止这场战争,她到陆地找回亚瑟,让他以亚特兰娜女王长子身份回亚特兰蒂斯把王位争回来,而且湄拉要协助亚瑟找回能统治大海的失落的三叉戟', '143分钟', '动作,科幻', 7.6, 1.0000, 3, '2018-12-07', '美国、澳大利亚', '../upload/movies/Aquaman.jpg', 0);
INSERT INTO `movie` VALUES (15, '素人特工', 'The Rookies', '王大陆:赵风,张榕容:淼淼', '袁锦麟', '极限运动达人赵风(王大陆 饰),误打误撞闯入了一场国际犯罪交易,不得不跟随国际特工(米拉·乔沃维奇 饰)一起前往布达佩斯。在这里他与废柴刑警淼淼(张榕容 饰)、民间科学家丁山(许魏洲 饰)与待业医生LV(刘美彤 饰)组成一支素人特工小队。这四个特工小白和高级国际特攻米拉一起,与恐怖分子开启了一场又惊又喜的斗争。', '113分钟', '喜剧,动作,冒险', 7.2, 1.0000, 1, '2019-07-12', '中国大陆', '../upload/movies/素人特工.jpg', 1);
INSERT INTO `movie` VALUES (16, '追龙Ⅱ', 'Chasing the Dragon Ⅱ', '梁家辉:龙志强,古天乐:何天', '王晶', '悍匪龙志强(梁家辉 饰),在香港回归前,趁香港英政府不作为,而屡犯巨案,先后绑架富豪利家及雷家之长子,勒索超过二十亿元,事主怕被报复, 交赎款后都不敢报警。中国公安部极为关注,与香港警方合力,派香港警员何天(古天乐 饰)卧底潜入龙志强犯罪团伙,发现他正策划绑架澳门富豪贺不凡,最终陆港警察合力勇擒龙志强,救出贺不凡', '103分钟', '犯罪,剧情,动作', 7.9, 1.0120, 1, '2019-06-06', '中国大陆、中国香港', '../upload/movies/追龙Ⅱ.jpg', 1);
INSERT INTO `movie` VALUES (17, '玩具总动员4', 'Toy Story 4', '汤姆·汉克斯:胡迪,蒂姆·艾伦:巴斯光年', '乔什·库雷', '当邦妮将所有玩具带上房车家庭旅行时,胡迪(汤姆·汉克斯 配音)与伙伴们将共同踏上全新的冒险之旅,领略房间外面的世界有多广阔,甚至偶遇老朋友牧羊女(安妮·波茨 配音)。在多年的独自闯荡中,牧羊女已经变得热爱冒险,不再只是一个精致的洋娃娃。正当胡迪和牧羊女发现彼此对玩具的使命的意义大相径庭时,他们很快意识到更大的威胁即将到来。', '100分钟', '喜剧,动画,奇幻', 9.1, 1.0000, 1, '2019-06-21', '美国', '../upload/movies/玩具总动员4.jpg', 1);
INSERT INTO `movie` VALUES (18, '碟仙', 'Mortal Ouija', '黄奕:梦瑶,范逸臣:项天', '廉涛', '以网络直播为业的单亲妈妈梦瑶(黄奕 饰)带着上幼儿园的女儿雯雯住进了一栋便宜的学区房,然而,屋里的诡异氛围,与不时散发的奇怪恶臭,令梦瑶感到不安。某夜,雯雯竟然在梦游中,玩了前租客遗留的“碟仙”游戏。传说只要玩过的人,七日内必会被碟仙夺命!紧接着,屋内接连发生令人毛骨悚然的怪事。七日大限将至,眼看爱女危在旦夕,为了解开碟仙诅咒,夺回女儿,绝望的妈妈不惜做出了惊人的举动……', '83分钟', '恐怖,惊悚', 7.9, 1.0056, 1, '2019-06-21', '中国大陆', '../upload/movies/碟仙.jpg', 1);
INSERT INTO `movie` VALUES (19, '扫毒', 'The White Storm', '古天乐:苏建秋,刘青云:马昊天', '陈木胜', '以马昊天(刘青云 饰)为首的毒品调查科,与手下张子伟(张家辉 饰)和卧底苏建秋(古天乐 饰)在执行一次跨国的大型扫毒行动中,被毒犯巨头八面佛(卢海鹏 饰)暗中揭发反埋伏,最终全军覆没。面对生死关头,三位主角为求活存,被迫命运扭转,展开一场残酷的人生战役。', '134分钟', '剧情,犯罪', 8.9, 1.0000, 0, '2018-11-21', '中国大陆、中国香港', '../upload/movies/扫毒.jpg', 0);
INSERT INTO `movie` VALUES (20, '流浪地球', 'The Wandering Earth', '吴京:刘培强,屈楚萧:刘启', '郭帆', '近未来,科学家们发现太阳急速衰老膨胀,短时间内包括地球在内的整个太阳系都将被太阳所吞没。为了自救,人类提出一个名为“流浪地球”的大胆计划,即倾全球之力在地球表面建造上万座发动机和转向发动机,推动地球离开太阳系,用2500年的时间奔往另外一个栖息之地。中国航天员刘培强在儿子刘启四岁那年前往国际空间站,和国际同侪肩负起领航者的重任。转眼刘启长大,他带着妹妹朵朵偷偷跑到地表,偷开外公韩子昂的运输车,结果不仅遭到逮捕,还遭遇了全球发动机停摆的事件。为了修好发动机,阻止地球坠入木星,全球开始展开饱和式营救,连刘启他们的车也被强征加入。在与时间赛跑的过程中,无数的人前仆后继,奋不顾身,只为延续百代子孙生存的希望…… 本片根据刘慈欣的同名小说改编。', '125分钟', '剧情,冒险,科幻', 9.2, 1.0000, 1, '2019-07-05', '中国大陆、中国香港', '../upload/movies/流浪地球.jpg', 1);
INSERT INTO `movie` VALUES (21, '九龙不败', 'The Invincible Dragon', '张晋:九龙', '陈果', '警探九龙(张晋 饰),查案方式奇异狠辣却屡建奇功,是叱咤香港警界的精英干探, 但他处事独断爆裂,又被警队视为“偏执狂人”。九龙奉命调查一桩妙龄女警连环被凶杀 案,用尽手段后不仅毫无线索, 他的警花未婚妻方宁(邓丽欣 饰)竟然也在这场抓捕行动中意外失踪。在爱与痛的边缘挣扎的九龙,突然发现女警连环遇害只是第一步,凶手还有着更加血腥的阴谋,自己和未婚妻竟然也被算计其中。此时澳门再度发生女警被杀案,这次的作案手法更加令人发指,但凶手好像故意留下了线索,是危险陷阱还是复仇曙光?九龙义无反顾出发,在好友王梦奇(刘心悠 饰)及国际拳王冼力山(安德森·席尔瓦 饰)的协助下, 与澳门警司曹志德(郑嘉颖 饰)联手展开调查。魔高一丈,道高几何!血债血偿之前,就算流干最后一滴血,也要誓不罢休。', '100分钟', '剧情,动作,犯罪', 5.7, 1.0000, 1, '2019-07-02', '中国大陆、中国香港', '../upload/movies/九龙不败.jpg', 1);
INSERT INTO `movie` VALUES (22, '阿丽塔:战斗天使', 'Alita: Battle Angel', '罗莎·萨拉查:阿丽塔,克里斯托弗·沃尔兹:戴森·艾德博士', '罗伯特·罗德里格兹', '未来26世纪,科技发展,人类与机械改造人共存,弱肉强食是钢铁城唯一的生存法则。依德(克里斯托夫·沃尔兹 饰)是钢铁城著名的改造人医生,他在垃圾场发现了一个半机械少女残躯,依德医生将其拯救后为她取名阿丽塔(罗莎·萨拉扎尔 饰)。阿丽塔虽然重获生命却失去了记忆,如一个新生儿一样对这个世界充满新鲜感。在依德医生与好友雨果(基恩·约翰逊 饰)的帮助下,她逐步适应着新生活和街头险恶。一次偶然的机会,阿丽塔发现自己竟有着惊人的战斗天赋。 一次次猎杀激发着她的觉醒,阿丽塔逐渐明白自己注定为战斗而生,为正义而战。一场揭开自己身世之谜,并打破宇宙旧秩序的史诗级冒险之旅就这样展开。', '122分钟', '动作,冒险,科幻', 9.0, 1.0000, 0, '2019-07-11', '美国', '../upload/movies/阿丽塔:战斗天使.jpg', 1);
INSERT INTO `movie` VALUES (23, 'X战警:黑凤凰', 'X-Men: Dark Phoenix', '苏菲·特纳:琴·格雷/黑凤凰,詹姆斯·麦卡沃伊:查尔斯·泽维尔/X教授', '西蒙·金伯格', '在一次危及生命的太空营救行动中,琴·葛蕾(苏菲·特纳 饰)被神秘的宇宙力量击中,成为最强大的变种人。此后琴不仅要设法掌控日益增长、极不稳定的力量,更要与自己内心的恶魔抗争,她的失控让整个X战警大家庭分崩离析,也让整个星球陷入毁灭的威胁之中……', '114分钟', '动作,冒险,科幻', 7.8, 1.0000, 0, '2019-06-06', '美国', '../upload/movies/X战警:黑凤凰.jpg', 1);
INSERT INTO `movie` VALUES (24, '疯狂的外星人', 'Crazy Alien', '黄渤:耿浩,沈腾:大飞,马修·莫里森:扎克,汤姆·派福瑞:约翰', '宁浩', '耿浩(黄渤 饰)与一心想发大财的好兄弟大飞(沈腾 饰),经营着各自惨淡的“事业”,然而“天外来客”(徐峥 饰)的意外降临,打破了二人平静又拮据的生活。神秘的西方力量也派出“哼哈二将”在全球搜查外星人行踪。啼笑皆非的跨物种对决,别开生面的“星战”,在中国某海边城市激情上演。', '116分钟', '剧情,喜剧,科幻', 8.5, 1.0000, 0, '2019-07-10', '中国大陆、美国', '../upload/movies/疯狂的外星人.jpg', 1);
INSERT INTO `movie` VALUES (25, '八子', 'ADVANCE WAVE UPON WAVE', '刘端端:满崽,邵兵:大牛', '高希希', '上世纪30年代的赣南地区,在这个被称为中国革命“红色摇篮”的地方,曾经有这样一位母亲,她将八个儿子先后送入红军,奔赴战场前线。但战火无情,兄弟中的六人陆续牺牲,只剩下大哥杨大牛和最小的孩子满崽。满崽找到了大牛的部队,成了哥哥麾下的普通一兵,经过一场场战役的淬炼,新兵满崽迅速成长为一个真正的战士。最后的战斗打响了,为了掩护大部队安全撤离,杨大牛带领弟弟满崽和全体战友浴血肉搏,直至弹尽粮绝…… 英雄的身前,是枪林弹雨的沙场,而在英雄的身后,家乡的村庄依然宁静安详,微风吹过金黄的稻浪簌簌作响,一位年迈的母亲正在村头的小路旁孤独的守望……', '121分钟', '战争,历史,动作', 8.4, 1.0118, 0, '2019-06-30', '中国大陆', '../upload/movies/bazi.jpg', 1);
INSERT INTO `movie` VALUES (26, '我的青春都是你', 'Love The Way You Are', '宋威龙:方予可,宋芸桦:周林林,林妍柔:茹婷,黄俊捷:谢端西,金士杰:畜牧系老师', '周彤', '周林林(宋芸桦 饰)高考发挥超常进入东方大学,与同校理科状元方予可(宋威龙 饰)一同进入了最高学府。郎有情妾无意,方予可其实从幼儿园时期就心系周林林,人生若只如初见,儿时的初遇相见便立下了日久的暗恋情愫!但万人瞩目的帅哥方予可身边有天之骄女茹庭(林妍柔 饰),从小暗恋状元对周林林看不顺眼,周林林则对方予可身边的同为校园风云人物的小西学长(黄俊捷 饰)心存爱慕,修习大学恋爱秘籍,苦练恋爱通关技巧,十八般武艺七十二变法轮番上阵!四人之间情感纠葛,在校园里上演了一幕青春爱情喜剧!', '92分钟', '爱情,青春', 7.3, 1.0000, 1, '2019-06-21', '中国大陆、中国台湾', '../upload/movies/我的青春都是你.jpg', 1);
INSERT INTO `movie` VALUES (27, '银河补习班', 'Looking up', '邓超:马皓文,白宇:成年马飞', '俞白眉', '浩瀚太空,航天员意外失联,生命最大的绝境中,他回忆起自己那个最了不起的爸爸。一对父子跨越漫长的时光,守护爱和亲情,故事充满了欢乐、温暖、泪水与奇观。', '147分钟', '剧情,家庭', 9.1, 1.0200, 0, '2019-07-18', '中国大陆', '../upload/movies/银河补习班.jpg', 1);
INSERT INTO `movie` VALUES (28, '1', '2', '4:4,52:54235', '3', '5', '6', '7', 8.9, 0.0000, 0, '2019-07-02', '9', '../upload/movies/9a9351332a5149c895b57b4564dbe667.jpg', 1);
-- ----------------------------
-- Table structure for orderinfo
-- ----------------------------
DROP TABLE IF EXISTS `orderinfo`;
CREATE TABLE `orderinfo` (
`order_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '订单编号',
`user_id` bigint(10) NOT NULL COMMENT '所属用户编号',
`schedule_id` bigint(10) NOT NULL COMMENT '所属场次编号',
`order_position` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影票座位 (x排x座)',
`order_state` int(10) NOT NULL DEFAULT 1 COMMENT '订单状态 0:退票中 1:已支付 2:退票成功',
`order_price` int(10) NOT NULL COMMENT '订单价格',
`order_time` datetime(0) NOT NULL COMMENT '订单支付时间',
PRIMARY KEY (`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of orderinfo
-- ----------------------------
INSERT INTO `orderinfo` VALUES ('2019072100030210', 3, 25, '2排10座', 1, 38, '2019-07-21 07:01:36');
INSERT INTO `orderinfo` VALUES ('2019072100030306', 3, 310, '3排6座', 1, 40, '2019-07-21 14:44:34');
INSERT INTO `orderinfo` VALUES ('2019072100030307', 3, 26, '3排7座', 0, 40, '2019-07-21 07:07:09');
INSERT INTO `orderinfo` VALUES ('2019072100030409', 3, 26, '4排9座', 1, 40, '2019-07-21 07:14:37');
INSERT INTO `orderinfo` VALUES ('2019072100030508', 3, 310, '5排8座', 2, 40, '2019-07-21 14:44:35');
INSERT INTO `orderinfo` VALUES ('2019072100030603', 3, 310, '6排3座', 1, 40, '2019-07-21 14:44:35');
INSERT INTO `orderinfo` VALUES ('2019072100030606', 3, 310, '6排6座', 1, 40, '2019-07-21 14:44:35');
INSERT INTO `orderinfo` VALUES ('2019072100040606', 4, 27, '6排6座', 1, 55, '2019-07-21 08:55:39');
INSERT INTO `orderinfo` VALUES ('2019072100050506', 5, 65, '5排6座', 2, 45, '2019-07-21 08:52:01');
INSERT INTO `orderinfo` VALUES ('2019072100050507', 5, 65, '5排7座', 0, 45, '2019-07-21 08:52:01');
INSERT INTO `orderinfo` VALUES ('2019072100050509', 5, 135, '5排9座', 1, 32, '2019-07-21 08:50:26');
INSERT INTO `orderinfo` VALUES ('2019072100050510', 5, 135, '5排10座', 1, 32, '2019-07-21 08:50:27');
INSERT INTO `orderinfo` VALUES ('2019072100060502', 6, 136, '5排2座', 1, 34, '2019-07-21 08:50:23');
INSERT INTO `orderinfo` VALUES ('2019072100060503', 6, 136, '5排3座', 1, 34, '2019-07-21 08:50:23');
INSERT INTO `orderinfo` VALUES ('2019072100060504', 6, 136, '5排4座', 1, 34, '2019-07-21 08:50:23');
INSERT INTO `orderinfo` VALUES ('2019072100060509', 6, 122, '5排9座', 1, 28, '2019-07-21 08:52:24');
INSERT INTO `orderinfo` VALUES ('2019072100060602', 6, 153, '6排2座', 0, 32, '2019-07-21 08:52:16');
INSERT INTO `orderinfo` VALUES ('2019072100060603', 6, 153, '6排3座', 1, 32, '2019-07-21 08:52:16');
INSERT INTO `orderinfo` VALUES ('2019072100060604', 6, 103, '6排4座', 0, 35, '2019-07-21 08:53:12');
INSERT INTO `orderinfo` VALUES ('2019072100060605', 6, 103, '6排5座', 1, 35, '2019-07-21 08:53:12');
INSERT INTO `orderinfo` VALUES ('2019072100060606', 6, 103, '6排6座', 1, 35, '2019-07-21 08:53:12');
INSERT INTO `orderinfo` VALUES ('2019072100060703', 6, 65, '7排3座', 1, 45, '2019-07-21 08:50:45');
INSERT INTO `orderinfo` VALUES ('2019072100060704', 6, 65, '7排4座', 1, 45, '2019-07-21 08:50:45');
INSERT INTO `orderinfo` VALUES ('2019072100060705', 6, 65, '7排5座', 1, 45, '2019-07-21 08:50:45');
INSERT INTO `orderinfo` VALUES ('2019072100060706', 6, 65, '7排6座', 1, 45, '2019-07-21 08:50:45');
INSERT INTO `orderinfo` VALUES ('2019072100060709', 6, 122, '7排9座', 0, 28, '2019-07-21 08:52:25');
INSERT INTO `orderinfo` VALUES ('2019072100060803', 6, 158, '8排3座', 0, 35, '2019-07-21 08:51:30');
INSERT INTO `orderinfo` VALUES ('2019072100060804', 6, 158, '8排4座', 0, 35, '2019-07-21 08:51:31');
INSERT INTO `orderinfo` VALUES ('2019072200010507', 1, 232, '5排7座', 1, 30, '2019-07-22 11:09:46');
INSERT INTO `orderinfo` VALUES ('2019072200010608', 1, 232, '6排8座', 1, 30, '2019-07-22 11:09:46');
INSERT INTO `orderinfo` VALUES ('2019072200010707', 1, 232, '7排7座', 1, 30, '2019-07-22 11:09:46');
INSERT INTO `orderinfo` VALUES ('2019072200010808', 1, 232, '8排8座', 1, 30, '2019-07-22 11:09:46');
INSERT INTO `orderinfo` VALUES ('2019072200010910', 1, 136, '9排10座', 0, 34, '2019-07-21 17:00:56');
INSERT INTO `orderinfo` VALUES ('2019072200010911', 1, 136, '9排11座', 1, 34, '2019-07-21 17:00:56');
INSERT INTO `orderinfo` VALUES ('2019072200010912', 1, 160, '9排12座', 1, 35, '2019-07-22 11:46:52');
INSERT INTO `orderinfo` VALUES ('2019072200020508', 2, 83, '5排8座', 0, 44, '2019-07-22 11:32:49');
INSERT INTO `orderinfo` VALUES ('2019072200040106', 4, 94, '1排6座', 1, 54, '2019-07-22 01:10:02');
INSERT INTO `orderinfo` VALUES ('2019072200040107', 4, 94, '1排7座', 1, 54, '2019-07-22 01:10:02');
INSERT INTO `orderinfo` VALUES ('2019072200040408', 4, 39, '4排8座', 1, 48, '2019-07-22 03:51:27');
INSERT INTO `orderinfo` VALUES ('2019072200040409', 4, 135, '4排9座', 1, 32, '2019-07-22 01:11:16');
INSERT INTO `orderinfo` VALUES ('2019072200040410', 4, 135, '4排10座', 1, 32, '2019-07-22 01:11:16');
INSERT INTO `orderinfo` VALUES ('2019072200040508', 4, 135, '5排8座', 1, 32, '2019-07-22 01:11:16');
INSERT INTO `orderinfo` VALUES ('2019072200040511', 4, 135, '5排11座', 1, 32, '2019-07-22 01:11:16');
INSERT INTO `orderinfo` VALUES ('2019072200040609', 4, 135, '6排9座', 1, 32, '2019-07-22 01:11:45');
INSERT INTO `orderinfo` VALUES ('2019072200040610', 4, 135, '6排10座', 1, 32, '2019-07-22 01:11:45');
INSERT INTO `orderinfo` VALUES ('2019072400010310', 1, 27, '3排10座', 1, 55, '2019-07-24 02:30:42');
INSERT INTO `orderinfo` VALUES ('2019072400010311', 1, 27, '3排11座', 1, 55, '2019-07-24 02:30:43');
-- ----------------------------
-- Table structure for schedule
-- ----------------------------
DROP TABLE IF EXISTS `schedule`;
CREATE TABLE `schedule` (
`schedule_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '场次编号',
`hall_id` bigint(10) NOT NULL COMMENT '所属放映厅编号',
`movie_id` bigint(10) NOT NULL COMMENT '所属电影编号',
`schedule_startTime` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影放映时间',
`schedule_price` int(10) NOT NULL COMMENT '场次价格',
`schedule_remain` int(10) NOT NULL COMMENT '剩余座位数 默认=hall_capacity',
`schedule_state` int(10) NOT NULL DEFAULT 1 COMMENT '场次状态 默认1 1:上映中 0:下架',
PRIMARY KEY (`schedule_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 315 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of schedule
-- ----------------------------
INSERT INTO `schedule` VALUES (25, 1, 25, '2019-07-21 17:30', 38, 144, 1);
INSERT INTO `schedule` VALUES (26, 7, 25, '2019-07-22 20:00', 40, 143, 1);
INSERT INTO `schedule` VALUES (27, 7, 1, '2019-07-21 19:10', 55, 141, 0);
INSERT INTO `schedule` VALUES (28, 8, 25, '2019-07-23 17:00', 48, 144, 1);
INSERT INTO `schedule` VALUES (29, 1, 20, '2019-07-21 00:00', 38, 144, 1);
INSERT INTO `schedule` VALUES (30, 13, 1, '2019-07-22 19:20', 55, 144, 1);
INSERT INTO `schedule` VALUES (31, 7, 20, '2019-07-21 00:00', 38, 144, 1);
INSERT INTO `schedule` VALUES (32, 13, 20, '2019-07-21 00:00', 38, 144, 1);
INSERT INTO `schedule` VALUES (33, 1, 1, '2019-07-23 20:00', 55, 144, 1);
INSERT INTO `schedule` VALUES (34, 45, 20, '2019-07-22 20:30', 58, 144, 1);
INSERT INTO `schedule` VALUES (35, 8, 25, '2019-07-24 00:00', 39, 144, 1);
INSERT INTO `schedule` VALUES (36, 7, 1, '2019-07-24 20:10', 55, 144, 1);
INSERT INTO `schedule` VALUES (37, 7, 20, '2019-07-22 15:30', 38, 144, 1);
INSERT INTO `schedule` VALUES (38, 8, 20, '2019-07-23 14:20', 39, 144, 1);
INSERT INTO `schedule` VALUES (39, 2, 1, '2019-07-21 10:10', 48, 143, 1);
INSERT INTO `schedule` VALUES (40, 2, 1, '2019-07-22 10:10', 45, 144, 1);
INSERT INTO `schedule` VALUES (41, 8, 20, '2019-07-23 21:45', 39, 144, 1);
INSERT INTO `schedule` VALUES (42, 11, 25, '2019-07-23 12:30', 28, 144, 1);
INSERT INTO `schedule` VALUES (43, 8, 20, '2019-07-23 10:40', 39, 144, 1);
INSERT INTO `schedule` VALUES (44, 29, 25, '2019-07-25 00:00', 40, 144, 1);
INSERT INTO `schedule` VALUES (45, 8, 1, '2019-07-23 10:20', 45, 144, 1);
INSERT INTO `schedule` VALUES (46, 2, 20, '2019-07-22 19:30', 39, 144, 1);
INSERT INTO `schedule` VALUES (47, 8, 1, '2019-07-24 10:20', 45, 144, 1);
INSERT INTO `schedule` VALUES (48, 37, 25, '2019-07-23 20:00', 38, 144, 0);
INSERT INTO `schedule` VALUES (49, 45, 20, '2019-07-23 20:20', 58, 144, 1);
INSERT INTO `schedule` VALUES (50, 7, 20, '2019-07-23 16:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (51, 46, 20, '2019-07-23 15:15', 68, 144, 1);
INSERT INTO `schedule` VALUES (52, 3, 1, '2019-07-23 10:00', 45, 144, 1);
INSERT INTO `schedule` VALUES (53, 14, 20, '2019-07-24 13:00', 39, 144, 1);
INSERT INTO `schedule` VALUES (54, 46, 1, '2019-07-23 19:20', 67, 144, 1);
INSERT INTO `schedule` VALUES (55, 29, 20, '2019-07-24 17:10', 38, 144, 1);
INSERT INTO `schedule` VALUES (56, 9, 1, '2019-07-24 09:40', 45, 144, 1);
INSERT INTO `schedule` VALUES (57, 46, 1, '2019-07-24 19:30', 66, 144, 1);
INSERT INTO `schedule` VALUES (58, 32, 20, '2019-07-23 09:30', 36, 144, 1);
INSERT INTO `schedule` VALUES (59, 24, 3, '2019-07-25 13:35', 45, 144, 1);
INSERT INTO `schedule` VALUES (60, 49, 25, '2019-07-24 10:00', 50, 144, 1);
INSERT INTO `schedule` VALUES (61, 37, 20, '2019-07-23 22:00', 38, 144, 1);
INSERT INTO `schedule` VALUES (62, 5, 1, '2019-07-23 10:15', 43, 144, 1);
INSERT INTO `schedule` VALUES (63, 51, 3, '2019-07-23 17:05', 35, 144, 1);
INSERT INTO `schedule` VALUES (64, 36, 25, '2019-07-23 19:30', 38, 144, 1);
INSERT INTO `schedule` VALUES (65, 35, 3, '2019-07-24 19:05', 45, 138, 1);
INSERT INTO `schedule` VALUES (66, 29, 20, '2019-07-24 07:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (67, 4, 26, '2019-07-23 20:00', 28, 144, 1);
INSERT INTO `schedule` VALUES (68, 16, 3, '2019-07-23 18:05', 40, 144, 1);
INSERT INTO `schedule` VALUES (69, 10, 20, '2019-07-24 13:35', 38, 144, 1);
INSERT INTO `schedule` VALUES (70, 33, 26, '2019-07-24 21:00', 22, 144, 1);
INSERT INTO `schedule` VALUES (71, 4, 1, '2019-07-23 09:45', 43, 144, 1);
INSERT INTO `schedule` VALUES (72, 10, 1, '2019-07-23 19:20', 43, 144, 1);
INSERT INTO `schedule` VALUES (73, 24, 3, '2019-07-25 21:00', 45, 144, 1);
INSERT INTO `schedule` VALUES (74, 11, 21, '2019-07-23 14:15', 36, 144, 1);
INSERT INTO `schedule` VALUES (75, 23, 26, '2019-07-24 13:00', 25, 144, 1);
INSERT INTO `schedule` VALUES (76, 4, 1, '2019-07-24 09:50', 43, 144, 1);
INSERT INTO `schedule` VALUES (77, 31, 3, '2019-07-26 12:45', 35, 144, 1);
INSERT INTO `schedule` VALUES (78, 37, 26, '2019-07-24 19:05', 38, 144, 1);
INSERT INTO `schedule` VALUES (79, 11, 21, '2019-07-23 15:25', 36, 144, 1);
INSERT INTO `schedule` VALUES (80, 10, 1, '2019-07-24 20:00', 43, 144, 1);
INSERT INTO `schedule` VALUES (81, 10, 26, '2019-07-23 22:05', 28, 144, 1);
INSERT INTO `schedule` VALUES (82, 39, 21, '2019-07-23 20:05', 36, 144, 1);
INSERT INTO `schedule` VALUES (83, 11, 1, '2019-07-23 21:10', 44, 143, 1);
INSERT INTO `schedule` VALUES (84, 5, 21, '2019-07-24 10:20', 36, 144, 1);
INSERT INTO `schedule` VALUES (85, 24, 26, '2019-07-24 17:30', 25, 144, 1);
INSERT INTO `schedule` VALUES (86, 31, 26, '2019-07-22 19:00', 28, 144, 1);
INSERT INTO `schedule` VALUES (87, 5, 1, '2019-07-24 09:30', 43, 144, 1);
INSERT INTO `schedule` VALUES (88, 11, 21, '2019-07-24 22:15', 36, 144, 1);
INSERT INTO `schedule` VALUES (89, 17, 26, '2019-07-22 00:00', 29, 144, 1);
INSERT INTO `schedule` VALUES (90, 35, 3, '2019-07-24 18:40', 34, 144, 1);
INSERT INTO `schedule` VALUES (91, 39, 1, '2019-07-24 20:25', 44, 144, 1);
INSERT INTO `schedule` VALUES (92, 12, 21, '2019-07-23 14:10', 29, 144, 1);
INSERT INTO `schedule` VALUES (93, 12, 26, '2019-07-23 22:00', 29, 144, 1);
INSERT INTO `schedule` VALUES (94, 24, 5, '2019-07-21 19:55', 54, 142, 1);
INSERT INTO `schedule` VALUES (95, 12, 21, '2019-07-23 16:05', 29, 144, 1);
INSERT INTO `schedule` VALUES (96, 6, 1, '2019-07-23 10:20', 46, 144, 1);
INSERT INTO `schedule` VALUES (97, 8, 26, '2019-07-23 10:00', 25, 144, 1);
INSERT INTO `schedule` VALUES (98, 47, 24, '2019-07-28 14:45', 33, 144, 1);
INSERT INTO `schedule` VALUES (99, 12, 21, '2019-07-24 10:00', 29, 144, 1);
INSERT INTO `schedule` VALUES (100, 6, 1, '2019-07-23 21:10', 46, 144, 1);
INSERT INTO `schedule` VALUES (101, 29, 26, '2019-07-23 20:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (102, 12, 1, '2019-07-24 10:10', 46, 144, 1);
INSERT INTO `schedule` VALUES (103, 30, 21, '2019-07-23 13:10', 35, 141, 1);
INSERT INTO `schedule` VALUES (104, 12, 1, '2019-07-24 20:40', 46, 144, 1);
INSERT INTO `schedule` VALUES (105, 30, 21, '2019-07-23 21:05', 35, 144, 1);
INSERT INTO `schedule` VALUES (106, 25, 26, '2019-07-24 23:00', 39, 144, 1);
INSERT INTO `schedule` VALUES (107, 28, 21, '2019-07-24 16:05', 38, 144, 1);
INSERT INTO `schedule` VALUES (108, 14, 1, '2019-07-23 19:20', 44, 144, 1);
INSERT INTO `schedule` VALUES (109, 1, 15, '2019-07-23 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (110, 26, 1, '2019-07-24 10:20', 44, 144, 1);
INSERT INTO `schedule` VALUES (111, 51, 22, '2019-07-21 00:00', 59, 144, 1);
INSERT INTO `schedule` VALUES (112, 40, 1, '2019-07-24 22:00', 44, 144, 1);
INSERT INTO `schedule` VALUES (113, 4, 18, '2019-07-25 08:05', 65, 144, 1);
INSERT INTO `schedule` VALUES (114, 36, 22, '2019-07-21 00:00', 58, 144, 1);
INSERT INTO `schedule` VALUES (115, 34, 22, '2019-07-23 13:15', 49, 144, 1);
INSERT INTO `schedule` VALUES (116, 31, 22, '2019-07-23 13:20', 49, 144, 1);
INSERT INTO `schedule` VALUES (117, 16, 17, '2019-07-24 09:10', 35, 144, 1);
INSERT INTO `schedule` VALUES (118, 15, 1, '2019-07-23 20:30', 43, 144, 1);
INSERT INTO `schedule` VALUES (119, 27, 1, '2019-07-24 09:50', 43, 144, 1);
INSERT INTO `schedule` VALUES (120, 47, 18, '2019-07-25 16:30', 54, 144, 1);
INSERT INTO `schedule` VALUES (121, 47, 1, '2019-07-24 20:40', 56, 144, 1);
INSERT INTO `schedule` VALUES (122, 43, 18, '2019-07-24 04:25', 28, 142, 1);
INSERT INTO `schedule` VALUES (123, 1, 15, '2019-07-21 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (124, 16, 1, '2019-07-23 21:20', 41, 144, 1);
INSERT INTO `schedule` VALUES (125, 34, 18, '2019-07-21 17:15', 34, 144, 1);
INSERT INTO `schedule` VALUES (126, 7, 15, '2019-07-22 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (127, 28, 1, '2019-07-24 20:30', 41, 144, 1);
INSERT INTO `schedule` VALUES (128, 17, 1, '2019-07-23 14:15', 42, 144, 1);
INSERT INTO `schedule` VALUES (129, 1, 15, '2019-07-21 20:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (130, 29, 1, '2019-07-24 09:00', 42, 144, 1);
INSERT INTO `schedule` VALUES (131, 7, 15, '2019-07-22 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (132, 36, 22, '2019-07-24 16:20', 48, 144, 1);
INSERT INTO `schedule` VALUES (133, 3, 16, '2019-07-24 10:10', 45, 144, 1);
INSERT INTO `schedule` VALUES (134, 13, 15, '2019-07-23 10:30', 30, 144, 1);
INSERT INTO `schedule` VALUES (135, 25, 4, '2019-07-21 05:25', 32, 136, 1);
INSERT INTO `schedule` VALUES (136, 1, 2, '2019-07-23 10:05', 34, 139, 1);
INSERT INTO `schedule` VALUES (137, 13, 15, '2019-07-23 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (138, 7, 2, '2019-07-23 22:15', 34, 144, 1);
INSERT INTO `schedule` VALUES (139, 48, 22, '2019-07-24 15:25', 58, 144, 1);
INSERT INTO `schedule` VALUES (140, 49, 23, '2019-07-21 15:15', 42, 144, 1);
INSERT INTO `schedule` VALUES (141, 13, 15, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (142, 30, 22, '2019-07-23 16:15', 48, 144, 1);
INSERT INTO `schedule` VALUES (143, 7, 15, '2019-07-24 18:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (144, 13, 2, '2019-07-24 17:10', 34, 144, 1);
INSERT INTO `schedule` VALUES (145, 7, 15, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (146, 25, 2, '2019-07-23 19:30', 33, 144, 1);
INSERT INTO `schedule` VALUES (147, 40, 23, '2019-07-23 10:30', 39, 144, 1);
INSERT INTO `schedule` VALUES (148, 37, 2, '2019-07-24 10:05', 34, 144, 1);
INSERT INTO `schedule` VALUES (149, 26, 23, '2019-07-23 20:15', 39, 144, 1);
INSERT INTO `schedule` VALUES (150, 44, 2, '2019-07-24 19:10', 34, 144, 1);
INSERT INTO `schedule` VALUES (151, 24, 2, '2019-07-22 00:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (152, 32, 23, '2019-07-23 13:30', 40, 144, 1);
INSERT INTO `schedule` VALUES (153, 36, 2, '2019-07-23 00:00', 32, 142, 1);
INSERT INTO `schedule` VALUES (154, 51, 2, '2019-07-24 00:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (155, 10, 23, '2019-07-23 13:20', 39, 144, 1);
INSERT INTO `schedule` VALUES (156, 2, 15, '2019-07-21 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (157, 33, 23, '2019-07-23 19:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (158, 23, 2, '2019-07-23 09:00', 35, 142, 1);
INSERT INTO `schedule` VALUES (159, 2, 15, '2019-07-21 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (160, 35, 2, '2019-07-24 21:00', 35, 143, 1);
INSERT INTO `schedule` VALUES (161, 8, 15, '2019-07-21 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (162, 50, 2, '2019-07-25 20:05', 45, 144, 1);
INSERT INTO `schedule` VALUES (163, 8, 15, '2019-07-21 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (164, 22, 2, '2019-07-22 00:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (165, 27, 23, '2019-07-23 16:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (166, 2, 15, '2019-07-21 20:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (167, 34, 2, '2019-07-23 00:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (168, 43, 2, '2019-07-24 00:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (169, 47, 24, '2019-07-23 16:10', 48, 144, 1);
INSERT INTO `schedule` VALUES (170, 2, 15, '2019-07-23 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (171, 28, 24, '2019-07-23 15:05', 38, 144, 1);
INSERT INTO `schedule` VALUES (172, 8, 15, '2019-07-23 10:30', 30, 144, 1);
INSERT INTO `schedule` VALUES (173, 29, 24, '2019-07-21 15:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (174, 20, 3, '2019-07-23 09:00', 27, 144, 1);
INSERT INTO `schedule` VALUES (175, 8, 15, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (176, 32, 3, '2019-07-24 12:15', 27, 144, 1);
INSERT INTO `schedule` VALUES (177, 34, 24, '2019-07-24 10:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (178, 8, 15, '2019-07-24 13:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (179, 4, 3, '2019-07-23 15:00', 27, 144, 1);
INSERT INTO `schedule` VALUES (180, 8, 15, '2019-07-24 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (181, 10, 3, '2019-07-24 17:00', 27, 144, 1);
INSERT INTO `schedule` VALUES (182, 3, 15, '2019-07-22 09:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (183, 42, 24, '2019-07-24 13:35', 38, 144, 1);
INSERT INTO `schedule` VALUES (184, 25, 3, '2019-07-22 08:00', 26, 144, 1);
INSERT INTO `schedule` VALUES (185, 3, 15, '2019-07-22 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (186, 9, 15, '2019-07-22 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (187, 38, 15, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (188, 37, 3, '2019-07-24 14:05', 26, 144, 1);
INSERT INTO `schedule` VALUES (189, 35, 24, '2019-07-24 16:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (190, 38, 15, '2019-07-25 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (191, 44, 3, '2019-07-25 09:00', 26, 144, 1);
INSERT INTO `schedule` VALUES (192, 3, 15, '2019-07-25 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (193, 1, 4, '2019-07-22 23:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (194, 7, 4, '2019-07-23 23:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (195, 35, 24, '2019-07-24 16:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (196, 4, 15, '2019-07-23 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (197, 13, 4, '2019-07-24 23:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (198, 10, 15, '2019-07-23 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (199, 45, 4, '2019-07-25 23:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (200, 10, 15, '2019-07-24 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (201, 20, 4, '2019-07-23 23:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (202, 10, 15, '2019-07-24 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (203, 20, 4, '2019-07-24 23:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (204, 5, 15, '2019-07-23 11:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (205, 4, 4, '2019-07-23 00:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (206, 10, 4, '2019-07-24 00:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (207, 11, 15, '2019-07-23 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (208, 16, 21, '2019-07-23 13:25', 38, 144, 1);
INSERT INTO `schedule` VALUES (209, 39, 15, '2019-07-23 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (210, 5, 15, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (211, 11, 15, '2019-07-24 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (212, 37, 4, '2019-07-23 15:05', 32, 144, 1);
INSERT INTO `schedule` VALUES (213, 22, 22, '2019-07-23 16:05', 49, 144, 1);
INSERT INTO `schedule` VALUES (214, 44, 4, '2019-07-24 14:10', 32, 144, 1);
INSERT INTO `schedule` VALUES (215, 6, 15, '2019-07-23 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (216, 24, 5, '2019-07-23 04:00', 34, 144, 1);
INSERT INTO `schedule` VALUES (217, 12, 15, '2019-07-23 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (218, 12, 15, '2019-07-24 09:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (219, 42, 22, '2019-07-24 17:00', 48, 144, 1);
INSERT INTO `schedule` VALUES (220, 6, 15, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (221, 1, 16, '2019-07-23 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (222, 36, 5, '2019-07-21 14:54', 34, 144, 1);
INSERT INTO `schedule` VALUES (223, 13, 16, '2019-07-23 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (224, 20, 23, '2019-07-24 18:45', 40, 144, 1);
INSERT INTO `schedule` VALUES (225, 15, 5, '2019-07-23 04:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (226, 7, 16, '2019-07-24 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (227, 42, 5, '2019-07-24 04:00', 34, 144, 1);
INSERT INTO `schedule` VALUES (228, 7, 16, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (229, 4, 23, '2019-07-24 14:15', 39, 144, 1);
INSERT INTO `schedule` VALUES (230, 27, 5, '2019-07-23 05:05', 33, 144, 1);
INSERT INTO `schedule` VALUES (231, 13, 15, '2019-07-24 18:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (232, 2, 16, '2019-07-23 11:00', 30, 140, 1);
INSERT INTO `schedule` VALUES (233, 47, 23, '2019-07-23 20:15', 58, 144, 1);
INSERT INTO `schedule` VALUES (234, 2, 16, '2019-07-23 16:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (235, 2, 16, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (236, 15, 23, '2019-07-24 20:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (237, 8, 16, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (238, 11, 5, '2019-07-24 14:57', 32, 144, 1);
INSERT INTO `schedule` VALUES (239, 2, 16, '2019-07-24 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (240, 27, 5, '2019-07-21 14:58', 33, 144, 1);
INSERT INTO `schedule` VALUES (241, 41, 5, '2019-07-24 07:00', 32, 144, 1);
INSERT INTO `schedule` VALUES (242, 16, 24, '2019-07-23 20:05', 38, 144, 1);
INSERT INTO `schedule` VALUES (243, 3, 16, '2019-07-23 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (244, 22, 5, '2019-07-22 05:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (245, 38, 16, '2019-07-23 19:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (246, 34, 5, '2019-07-23 05:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (247, 9, 15, '2019-07-24 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (248, 41, 24, '2019-07-23 12:00', 38, 144, 1);
INSERT INTO `schedule` VALUES (249, 43, 5, '2019-07-24 05:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (250, 9, 16, '2019-07-24 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (251, 17, 24, '2019-07-24 20:15', 38, 144, 1);
INSERT INTO `schedule` VALUES (252, 4, 16, '2019-07-23 11:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (253, 10, 16, '2019-07-24 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (254, 30, 24, '2019-07-23 14:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (255, 5, 16, '2019-07-23 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (256, 22, 24, '2019-07-23 14:20', 38, 144, 1);
INSERT INTO `schedule` VALUES (257, 5, 16, '2019-07-23 19:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (258, 5, 16, '2019-07-24 13:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (259, 39, 16, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (260, 6, 16, '2019-07-23 00:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (261, 12, 16, '2019-07-24 16:00', 20, 144, 1);
INSERT INTO `schedule` VALUES (262, 1, 17, '2019-07-23 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (263, 7, 17, '2019-07-23 11:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (264, 13, 17, '2019-07-24 07:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (265, 7, 17, '2019-07-24 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (266, 2, 17, '2019-07-23 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (267, 8, 17, '2019-07-23 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (268, 2, 17, '2019-07-24 09:20', 30, 144, 1);
INSERT INTO `schedule` VALUES (269, 8, 17, '2019-07-24 15:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (270, 3, 17, '2019-07-23 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (271, 9, 17, '2019-07-23 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (272, 38, 17, '2019-07-24 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (273, 4, 17, '2019-07-23 14:00', 20, 144, 1);
INSERT INTO `schedule` VALUES (274, 10, 17, '2019-07-24 14:05', 20, 144, 1);
INSERT INTO `schedule` VALUES (275, 11, 17, '2019-07-23 10:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (276, 11, 17, '2019-07-24 17:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (277, 12, 17, '2019-07-23 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (278, 12, 17, '2019-07-24 11:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (279, 6, 17, '2019-07-23 09:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (280, 39, 17, '2019-07-23 21:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (281, 39, 17, '2019-07-24 00:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (282, 38, 17, '2019-07-24 08:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (283, 1, 18, '2019-07-23 08:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (284, 7, 18, '2019-07-23 12:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (285, 13, 18, '2019-07-24 14:00', 30, 144, 1);
INSERT INTO `schedule` VALUES (286, 1, 18, '2019-07-24 16:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (287, 2, 18, '2019-07-23 17:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (288, 2, 18, '2019-07-23 09:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (289, 2, 18, '2019-07-23 14:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (290, 2, 18, '2019-07-24 10:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (291, 2, 18, '2019-07-24 13:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (292, 3, 18, '2019-07-23 12:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (293, 9, 18, '2019-07-23 20:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (294, 3, 18, '2019-07-23 15:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (295, 9, 18, '2019-07-24 10:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (296, 9, 18, '2019-07-24 11:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (297, 38, 18, '2019-07-24 21:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (298, 10, 18, '2019-07-23 08:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (299, 4, 18, '2019-07-23 11:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (300, 4, 18, '2019-07-24 14:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (301, 10, 18, '2019-07-24 21:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (302, 5, 18, '2019-07-23 08:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (303, 11, 18, '2019-07-24 11:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (304, 39, 18, '2019-07-24 15:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (305, 6, 18, '2019-07-23 10:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (306, 12, 18, '2019-07-24 12:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (307, 12, 18, '2019-07-24 18:00', 33, 144, 1);
INSERT INTO `schedule` VALUES (308, 1, 27, '2019-07-23 00:00', 45, 144, 1);
INSERT INTO `schedule` VALUES (309, 7, 27, '2019-07-24 19:00', 45, 144, 1);
INSERT INTO `schedule` VALUES (310, 8, 27, '2019-07-23 20:00', 40, 140, 1);
INSERT INTO `schedule` VALUES (311, 4, 27, '2019-07-23 16:00', 49, 144, 1);
INSERT INTO `schedule` VALUES (312, 11, 27, '2019-07-24 19:15', 45, 144, 1);
INSERT INTO `schedule` VALUES (313, 8, 27, '2019-07-24 15:00', 35, 144, 1);
INSERT INTO `schedule` VALUES (314, 8, 20, '2019-07-18 04:04', 45, 144, 1);
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`user_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '会员编号',
`user_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '会员账号',
`user_pwd` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '会员密码',
`user_email` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '会员邮箱',
`user_role` int(10) NOT NULL DEFAULT 0 COMMENT '会员权限(默认为0)\r\n0:普通会员 1:管理员',
`user_headImg` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员头像',
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, 'user', 'user', '33734872621@qq.com', 0, '../upload/head/f6337987771546f9a143fc5206f047f4.jpg');
INSERT INTO `user` VALUES (2, 'admin', 'admin', '3456872621@qq.com', 1, '../upload/head/dc56255b1e4f4ad4b0a76a8eb0fc7f45.jpg');
INSERT INTO `user` VALUES (3, 'wxj', 'wxj', '937872111@126.com', 1, '../upload/head/de9d930c96e240bc9f4f91b914e5dddb.jpg');
INSERT INTO `user` VALUES (4, 'lpf', 'lpf', '23546211543@qq.com', 0, '../upload/head/85c888cf36d649d6aaea58f19cc8c143.jpg');
INSERT INTO `user` VALUES (5, 'wzw', 'wzw', '2154698421@126.com', 0, '../upload/head/bdc1cf2d9b9d4d5ca5d7a34f2ebfc5b3.jpg');
INSERT INTO `user` VALUES (6, 'hzw', 'hzw', 'a487953215@163.com', 0, '../upload/head/demo.jpg');
INSERT INTO `user` VALUES (7, 'lsw', 'lsw', '3215644123@qq.com', 0, '../upload/head/84c69b60d91e4c079e249a6cd09ef91c.jpg');
INSERT INTO `user` VALUES (8, 'bg12356484', '6484', '910050724@qq.com', 0, '../upload/head/demo.jpg');
INSERT INTO `user` VALUES (9, 'ao13546954', '6954', 'hsw236413512@163.com', 0, NULL);
INSERT INTO `user` VALUES (19, 'jd15154478', '4478', '5648132142@163.com', 0, '../upload/head/dc56255b1e4f4ad4b0a76a8eb0fc7f45.jpg');
INSERT INTO `user` VALUES (20, 'sn46845411', '5411', 'gs15648231@126.com', 0, '../upload/head/84c69b60d91e4c079e249a6cd09ef91c.jpg');
INSERT INTO `user` VALUES (21, 'gs12314864', '4864', '2154678122@qq.com', 0, '../upload/head/84c69b60d91e4c079e249a6cd09ef91c.jpg');
INSERT INTO `user` VALUES (22, 'jd12315164', '5164', '211215484@qq.com', 0, '../upload/head/dc56255b1e4f4ad4b0a76a8eb0fc7f45.jpg');
INSERT INTO `user` VALUES (23, 'kl15645641', '5641', 'g123456412@163.com', 0, '../upload/head/dd7cf74e264247ffbe888c4e163fb9ed.jpg');
INSERT INTO `user` VALUES (24, 'kd1231854', '1854', '123484547@qq.com', 0, NULL);
INSERT INTO `user` VALUES (25, 'tw1123484', '3484', '988744641@qq.com', 0, '../upload/head/dc56255b1e4f4ad4b0a76a8eb0fc7f45.jpg');
INSERT INTO `user` VALUES (26, 'if48648411', '8411', 'u365484741@163.com', 0, '../upload/head/dd7cf74e264247ffbe888c4e163fb9ed.jpg');
INSERT INTO `user` VALUES (27, 'od1561487', '1487', '1564562314@qq.com', 0, NULL);
INSERT INTO `user` VALUES (28, 'jd54687233', '7233', '165484754@qq.com', 0, NULL);
SET FOREIGN_KEY_CHECKS = 1;
================================================
FILE: pom.xml
================================================
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.movie</groupId>
<artifactId>Movie</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>Movie Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- mysql驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.12</version>
</dependency>
<!-- mybatis核心包 -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.6</version>
</dependency>
<!-- mybatis-spring适配器 -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>2.0.1</version>
</dependency>
<!-- spring框架 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.1.6.RELEASE</version>
</dependency>
<!-- AOP支持 -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.9.3</version>
</dependency>
<!-- spring 事务 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>5.1.6.RELEASE</version>
</dependency>
<!-- spring jdbc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.1.6.RELEASE</version>
</dependency>
<!-- 阿里巴巴连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.0.27</version>
</dependency>
<!-- spring 扩展包 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>5.1.6.RELEASE</version>
</dependency>
<!-- spring-webmvc框架 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.1.6.RELEASE</version>
</dependency>
<!-- 引入jackson相关的包 -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.51</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.thetransactioncompany/cors-filter -->
<!-- 跨域 -->
<dependency>
<groupId>com.thetransactioncompany</groupId>
<artifactId>cors-filter</artifactId>
<version>2.5</version>
</dependency>
<!-- 视图引擎freemarker -->
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.23</version>
</dependency>
<!-- pagerHelp 包 mybatis分页-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.1.4</version>
</dependency>
<!-- jstl依赖包 -->
<!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- 文件上传配置 -->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
<!-- 时间类型数据 -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.9</version>
</dependency>
</dependencies>
<build>
<finalName>Movie</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
================================================
FILE: src/main/java/com/controller/CommentController.java
================================================
package com.controller;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.alibaba.fastjson.JSONObject;
import com.entity.Comment;
import com.entity.User;
import com.github.pagehelper.PageInfo;
import com.service.ICommentService;
import com.service.IMovieService;
import com.service.IUserService;
/**
* 评论管理模块
* @author Wxj
*/
@Controller
@RequestMapping("/comment")
public class CommentController {
@Resource
private ICommentService commentService;
@Resource
private IUserService userService;
@Resource
private IMovieService movieService;
//用户: 修改评论、增加评论
//管理员:x 删除评论、 修改评论
//x查询用户的评论
@RequestMapping("findAllComments")
@ResponseBody
public JSONObject findAllComments() {
JSONObject obj = new JSONObject();
List<Comment> list = commentService.findAllComments();
for(Comment comment: list) {
comment.setComment_user(userService.findUserById(comment.getUser_id()));
}
obj.put("code", 0);
obj.put("msg","");
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
//测试 info.getTotal
@RequestMapping("findAllCommentsPage")
@ResponseBody
public JSONObject findAllCommentsPage(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,String keyword) {
PageInfo<Comment> info = commentService.findAllCommentsBySplitPage(page, limit, keyword);
//System.out.println(info);
for(Comment comment : info.getList()) {
comment.setComment_user(userService.findUserById(comment.getUser_id()));
}
JSONObject obj = new JSONObject();
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
@RequestMapping("addCommentByUser")
@ResponseBody
public JSONObject addCommentByUser(@RequestParam("movie_id")long movie_id,@RequestParam("comment_content")String comment_content,HttpServletRequest request) {
User user = (User)request.getSession().getAttribute("user");
JSONObject obj = new JSONObject();
if(user == null) {
obj.put("code",200);
obj.put("msg", "您未登录,登录之后才可评论~");
}else {
Comment comment = new Comment();
comment.setComment_content(comment_content);
comment.setMovie_id(movie_id);
comment.setUser_id(user.getUser_id());
comment.setComment_time(new Date());
Integer rs = commentService.addComemnt(comment);
if(rs > 0) {
Integer rs2 = movieService.addCommentCount(comment.getMovie_id());
if(rs2 > 0) {
obj.put("code", 0);
obj.put("msg", "评论成功~");
}else {
obj.put("code",200);
obj.put("msg", "评论失败2~");
}
}else {
obj.put("code",200);
obj.put("msg", "评论失败~");
}
}
return obj;
}
@RequestMapping("updateComment")
@ResponseBody
public JSONObject updateComment(@RequestParam("comment_id")long comment_id,@RequestParam("comment_content")String comment_content) {
JSONObject obj = new JSONObject();
Comment comment = this.commentService.findCommentById(comment_id);
comment.setComment_time(new Date());
comment.setComment_content(comment_content);
Integer rs = commentService.updateComment(comment);
if(rs > 0) {
obj.put("code", 0);
obj.put("msg", "修改成功~");
}else {
obj.put("code",200);
obj.put("msg", "修改失败~");
}
return obj;
}
@RequestMapping("deleteComemnt")
@ResponseBody
public JSONObject deleteComment(@RequestParam("comment_id")long comment_id) {
JSONObject obj = new JSONObject();
Integer rs2 = movieService.delCommentCount(commentService.findCommentById(comment_id).getMovie_id());
Integer rs = commentService.deleteComment(comment_id);
if(rs > 0) {
obj.put("code", 0);
obj.put("msg", "删除成功~");
}else {
obj.put("code", 200);
obj.put("msg", "删除失败~");
}
return obj;
}
@RequestMapping("findCommentsByUserName")
@ResponseBody
public JSONObject findCommentsByUserName(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,@RequestParam("user_name")String user_name) {
PageInfo<Comment> info = commentService.findCommentsByUserName(page, limit, user_name);
//System.out.println(info);
for(Comment comment : info.getList()) {
comment.setComment_user(userService.findUserById(comment.getUser_id()));
}
JSONObject obj = new JSONObject();
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
}
================================================
FILE: src/main/java/com/controller/MovieController.java
================================================
package com.controller;
import java.io.File;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Random;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import com.alibaba.fastjson.JSONObject;
import com.entity.Cinema;
import com.entity.Movie;
import com.service.ICinemaService;
import com.service.IMovieService;
import com.util.UUIDUtil;
/**
* 电影管理模块
* @author Wxj
*/
@Controller
@RequestMapping("/movie")
public class MovieController {
@Resource
private IMovieService movieService;
@Resource
private ICinemaService cinemaService;
//1.电影详情页 findid
//2.首页电影列表 + name搜索 + type搜素 + 时间、参评人数、评分排序
//3.增加、删除、修改
@RequestMapping("findMovieById")
@ResponseBody
public JSONObject findMovieById(@RequestParam("movie_id")long movie_id) {
JSONObject obj = new JSONObject();
Movie movie = movieService.findMovieById(movie_id);
List<Cinema> list = this.cinemaService.findCinemasByMovieId(movie_id);
obj.put("code", 0);
obj.put("data", movie);
obj.put("cinemaList",list);
obj.put("cinemaCount",list.size());
return obj;
}
@RequestMapping("findAllMovies")
@ResponseBody
public JSONObject findAllMovies() {
JSONObject obj = new JSONObject();
List<Movie> list = movieService.findAllMovies(1);
List<Movie> upcomingList = movieService.findAllMovies(0);
List<Movie> offList = movieService.sortMovieByBoxOffice();
String type[] = {"喜剧","动作","爱情","动画","科幻","惊悚","冒险","犯罪","悬疑"};
ArrayList<Object> typeArr = new ArrayList<Object>();
for(int i = 0;i < type.length;i++) {
List<Movie> movieList = this.movieService.findMoviesLikeType(type[i]);
float boxOffice = 0;
for(int j = 0; j < movieList.size();j++) {
boxOffice += movieList.get(j).getMovie_boxOffice();
}
JSONObject typeJson = new JSONObject();
typeJson.put(type[i], boxOffice);
typeArr.add(typeJson);
}
obj.put("code", 0);
obj.put("count", list.size());
obj.put("upcomingCount",upcomingList.size());
obj.put("data", list);
obj.put("data1", upcomingList);
obj.put("sort", offList);
obj.put("type", typeArr);
return obj;
}
@RequestMapping("findMoviesByName")
@ResponseBody
public JSONObject findMoviesByName(@RequestParam("name") String name) {
JSONObject obj = new JSONObject();
List<Movie> list = movieService.findMoviesLikeName(name);
obj.put("code", 0);
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("findMoviesByType")
@ResponseBody
public JSONObject findMoviesByType(@RequestParam("type") String type) {
JSONObject obj = new JSONObject();
List<Movie> list = movieService.findMoviesLikeType(type);
obj.put("code", 0);
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("sortAllMovies")
@ResponseBody
public JSONObject sortAllMovies(@RequestParam("order") String order) {
JSONObject obj = new JSONObject();
List<Movie> list = new ArrayList<Movie>();
switch (order) {
case "热门":
list = movieService.sortMovieByCount();
break;
case "时间":
list = movieService.sortMovieByDate();
break;
case "评价":
list = movieService.sortMovieByScore();
break;
}
obj.put("code",0);
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("deleteMovie")
@ResponseBody
public JSONObject deleteMovie(@RequestParam("movie_id") long movie_id) {
JSONObject obj = new JSONObject();
Integer rs = movieService.deleteMovie(movie_id);
if(rs > 0) {
obj.put("code",0);
obj.put("msg","下架成功~");
}else {
obj.put("code", 200);
obj.put("msg", "下架失败~");
}
return obj;
}
@RequestMapping("addMovie")
@ResponseBody
public JSONObject addMovie(@RequestParam(value="file",required=false) MultipartFile file,Movie movie,HttpServletRequest request) throws IOException {
String str = file.getOriginalFilename();
System.out.println("file:" + str);
String name = UUIDUtil.getUUID() + str.substring(str.lastIndexOf("."));
System.out.println("name:" + name);
String path = request.getServletContext().getRealPath("/upload/movies") + "/" + name;
System.out.println("path:" + path);
String filePath = "../upload/movies/" + name;
movie.setMovie_picture(filePath);
Date date = new Date();
java.sql.Date releaseDate = new java.sql.Date(date.getYear(), date.getMonth(), date.getDay());
//SimpleDateFormat dateFormat = new SimpleDateFormat("YYYY-MM-dd");
float random = 5 + (new Random().nextFloat() * 4);
DecimalFormat fnum = new DecimalFormat("##0.0");
String score = fnum.format(random);
movie.setMovie_score(Float.parseFloat(score));
movie.setReleaseDate(releaseDate);
Integer rs = movieService.addMovie(movie);
JSONObject obj = new JSONObject();
if(rs > 0) {
file.transferTo(new File(path));
System.out.println("文件写入成功,Path:" + path);
obj.put("code", 0);
obj.put("msg", "添加成功~");
}else {
obj.put("code", 200);
obj.put("msg", "添加失败~");
}
return obj;
}
@RequestMapping("updateMovie")
@ResponseBody
public JSONObject updateMovie(@RequestParam(value="file",required=false)MultipartFile file,Movie movie,HttpServletRequest request) throws IOException{
JSONObject obj = new JSONObject();
if(file != null) {
String str = file.getOriginalFilename();
System.out.println("file:" + str);
String name = UUIDUtil.getUUID() + str.substring(str.lastIndexOf("."));
System.out.println("name:" + name);
String path = request.getServletContext().getRealPath("/upload/movies") + "/" + name;
System.out.println("path:" + path);
String filePath = "../upload/movies/" + name;
file.transferTo(new File(path));
System.out.println("文件写入成功,Path:" + path);
movie.setMovie_picture(filePath);
}else {
Movie oldMovie = this.movieService.findMovieById(movie.getMovie_id());
movie.setMovie_picture(oldMovie.getMovie_picture());
}
Integer rs = movieService.updateMovie(movie);
if(rs > 0) {
obj.put("code", 0);
obj.put("msg", "修改成功~");
}else {
obj.put("code", 200);
obj.put("msg", "修改失败~");
}
return obj;
}
}
================================================
FILE: src/main/java/com/controller/OrderController.java
================================================
package com.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.alibaba.fastjson.JSONObject;
import com.entity.Order;
import com.entity.User;
import com.github.pagehelper.PageInfo;
import com.service.IMovieService;
import com.service.IOrderService;
import com.service.IScheduleService;
@Controller
@RequestMapping("/order")
public class OrderController {
@Resource
private IOrderService orderService;
@Resource
private IScheduleService scheduleService; //支付、退票成功 座位+-
@Resource
private IMovieService movieService; //支付、退票成功 票房+-
//查看订单是否 是支付的(返回给前端的数据)
@RequestMapping("findOrderById")
@ResponseBody
public JSONObject findOrderById(@RequestParam("order_id")String order_id) {
JSONObject obj = new JSONObject();
Order order = orderService.findOrderById(order_id);
List<Order> list = new ArrayList<Order>();
list.add(order);
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", list.size());
obj.put("data",list);
return obj;
}
@RequestMapping("findOrderByUserName")
@ResponseBody
public JSONObject findOrderByUserName(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,@RequestParam("user_name")String user_name) {
PageInfo<Order> info = orderService.findOrdersByUserName(page, limit, user_name);
JSONObject obj = new JSONObject();
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
@RequestMapping("findRefundOrderByUser")
@ResponseBody
public JSONObject findRefundOrderByUser(@RequestParam("user_name")String user_name) {
JSONObject obj = new JSONObject();
List<Order> list = this.orderService.findRefundOrderByUserName(user_name);
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("findAllOrders")
@ResponseBody
public JSONObject findAllOrders() {
JSONObject obj = new JSONObject();
List<Order> list = orderService.findAllOrders();
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("findAllOrdersPage")
@ResponseBody
public JSONObject findAllOrdersPage(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,String keyword) {
PageInfo<Order> info = orderService.findAllOrdersBySplitPage(page, limit, keyword);
JSONObject obj = new JSONObject();
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
@RequestMapping("findAllRefundOrder")
@ResponseBody
public JSONObject findAllRefundOrder(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit) {
JSONObject obj = new JSONObject();
PageInfo<Order> info = orderService.findOrdersByState(page, limit, 0);
obj.put("code", 0);
obj.put("msg", "");
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
@RequestMapping("buyTickets")
@ResponseBody
public JSONObject buyTickets(@RequestParam("schedule_id")long schedule_id,@RequestParam("position[]")String[] position,@RequestParam("price")int price,HttpServletRequest request) {
User user = (User)request.getSession().getAttribute("user");
JSONObject obj = new JSONObject();
if(user == null) {
obj.put("code",200);
obj.put("msg", "您未登录,登录之后才可购票~");
}else {
int done = 0;
int order_price = price / position.length;
String user_id = "";
switch(String.valueOf(user.getUser_id()).length()) {
case 1: user_id = "000" + String.valueOf(user.getUser_id()); break;
case 2: user_id = "00" + String.valueOf(user.getUser_id()); break;
case 3: user_id = "0" + String.valueOf(user.getUser_id()); break;
case 4: user_id = String.valueOf(user.getUser_id()); break;
}
for(int i = 0;i < position.length;i++) {
Order order = new Order();
String order_id = "";
Date date = new Date();
SimpleDateFormat dateFormat = new SimpleDateFormat("YYYYMMdd");
order_id += dateFormat.format(date);
order_id += user_id;
String index = "";
switch(position[i].length()) {
case 4:
index = "0" + position[i].replaceAll("排", "0");
index = index.replaceAll("座", "");
break;
case 5:
if(position[i].charAt(2) >= 48 && position[i].charAt(2) <= 57) {
index = "0" + position[i].replaceAll("排", "");
index = index.replaceAll("座", "");
}else {
index = position[i].replaceAll("排", "0");
index = index.replaceAll("座", "");
}
break;
case 6:
index = position[i].replaceAll("排", "");
index = index.replaceAll("座", "");
break;
}
order_id += index;
order.setOrder_id(order_id);
order.setOrder_position(position[i]);
order.setSchedule_id(schedule_id);
order.setUser_id(user.getUser_id());
order.setOrder_price(order_price);
order.setOrder_time(new Date());
Integer rs = this.orderService.addOrder(order);
Integer rs1 = this.scheduleService.delScheduleRemain(schedule_id);
done++;
}
if(done == position.length) {
float sum = (float)price/10000;
Integer rs2 = this.movieService.changeMovieBoxOffice(sum, this.scheduleService.findScheduleById(schedule_id).getMovie_id());
obj.put("code",0);
obj.put("msg", "购票成功~");
}else {
obj.put("code",200);
obj.put("msg", "购票失败~");
}
}
return obj;
}
@RequestMapping("applyForRefund")
@ResponseBody
public JSONObject applyForRefund(@RequestParam("order_id")String order_id) {
JSONObject obj = new JSONObject();
Integer rs = orderService.updateOrderStateToRefund(order_id);
if(rs > 0) {
obj.put("code", 0);
obj.put("msg", "退票申请已发送~");
}else {
obj.put("code", 200);
obj.put("msg", "操作失败~");
}
return obj;
}
@RequestMapping("agreeForRefund")
@ResponseBody
public JSONObject agreeForRefund(@RequestParam("order_id")String order_id) {
JSONObject obj = new JSONObject();
Integer rs = this.orderService.updateOrderStateToRefunded(order_id);
if(rs > 0) {
Order order = this.orderService.findOrderById(order_id);
int price = order.getOrder_price();
long movie_id = order.getOrder_schedule().getMovie_id();
Integer rs2 = this.movieService.changeMovieBoxOffice((float)price/10000, movie_id);
obj.put("code", 0);
obj.put("msg", "退票成功");
}else {
obj.put("code", 200);
obj.put("msg", "退票失败");
}
return obj;
}
}
================================================
FILE: src/main/java/com/controller/ScheduleController.java
================================================
package com.controller;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.alibaba.fastjson.JSONObject;
import com.entity.Cinema;
import com.entity.Hall;
import com.entity.Movie;
import com.entity.Order;
import com.entity.Schedule;
import com.github.pagehelper.PageInfo;
import com.service.ICinemaService;
import com.service.IHallService;
import com.service.IMovieService;
import com.service.IScheduleService;
@Controller
@RequestMapping("/schedule")
public class ScheduleController {
@Resource
private IScheduleService scheduleService;
@Resource
private IMovieService movieService;
@Resource
private ICinemaService cinemaService;
@Resource
private IHallService hallService;
@RequestMapping("findScheduleById")
@ResponseBody
public JSONObject findScheduleById(@RequestParam("schedule_id")long schedule_id) {
JSONObject obj = new JSONObject();
Schedule schedule = scheduleService.findScheduleById(schedule_id);
obj.put("code", 0);
obj.put("data",schedule);
return obj;
}
@RequestMapping("findAllScheduleByState")
@ResponseBody
public JSONObject findAllScheduleByState(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,@RequestParam("schedule_state")int schedule_state) {
JSONObject obj = new JSONObject();
PageInfo<Schedule> info = scheduleService.findAllScheduleByState(page, limit, schedule_state);
ArrayList<Integer> incomeArr = new ArrayList<Integer>();
for(int j = 0;j < info.getList().size();j++) {
List<Order> orderList = info.getList().get(j).getOrderList();
int income = 0;
for(int i = 0;i < orderList.size();i++) {
income += orderList.get(i).getOrder_price();
}
incomeArr.add(income);
}
obj.put("code", 0);
obj.put("count", info.getTotal());
obj.put("data", info.getList());
obj.put("income", incomeArr);
return obj;
}
@RequestMapping("findAllSchedule")
@ResponseBody
public JSONObject findAllSchedule(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit) {
JSONObject obj = new JSONObject();
PageInfo<Schedule> info = scheduleService.findAllSchedule(page, limit);
List<Movie> movieList = movieService.findAllMovies(1);
List<Cinema> cinemaList = cinemaService.findAllCinemas();
ArrayList<String> movieArr = new ArrayList<String>();
ArrayList<Integer> incomeArr = new ArrayList<Integer>();
for(int j = 0;j < info.getList().size();j++) {
List<Order> orderList = info.getList().get(j).getOrderList();
int income = 0;
for(int i = 0;i < orderList.size();i++) {
income += orderList.get(i).getOrder_price();
}
incomeArr.add(income);
}
for(int i = 0;i < movieList.size();i++) {
movieArr.add(movieList.get(i).getMovie_cn_name());
}
ArrayList<Object> cinema = new ArrayList<>();
for(int i = 0;i < cinemaList.size();i++) {
JSONObject cinemaObj = new JSONObject();
List<Hall> hallList = hallService.findHallByCinemaId(cinemaList.get(i).getCinema_id());
ArrayList<String> hallArr = new ArrayList<String>();
for(int j = 0;j < hallList.size();j++) {
hallArr.add(hallList.get(j).getHall_name());
}
cinemaObj.put(cinemaList.get(i).getCinema_name(), hallList);
cinema.add(cinemaObj);
}
obj.put("code", 0);
obj.put("count", info.getTotal());
obj.put("data", info.getList());
obj.put("movieName", movieArr);
obj.put("cinema", cinema);
obj.put("income", incomeArr);
return obj;
}
@RequestMapping("findScheduleByMovieName")
@ResponseBody
public JSONObject findScheduleByMovieName(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,@RequestParam("movie_name")String movie_name) {
JSONObject obj = new JSONObject();
PageInfo<Schedule> info = scheduleService.findScheduleByMovieName(page,limit,movie_name);
ArrayList<Integer> incomeArr = new ArrayList<Integer>();
for(int j = 0;j < info.getList().size();j++) {
List<Order> orderList = info.getList().get(j).getOrderList();
int income = 0;
for(int i = 0;i < orderList.size();i++) {
income += orderList.get(i).getOrder_price();
}
incomeArr.add(income);
}
obj.put("code", 0);
obj.put("count", info.getTotal());
obj.put("data", info.getList());
obj.put("income", incomeArr);
return obj;
}
@RequestMapping("findOffScheduleByMovieName")
@ResponseBody
public JSONObject findOffScheduleByMovieName(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,@RequestParam("movie_name")String movie_name) {
JSONObject obj = new JSONObject();
PageInfo<Schedule> info = scheduleService.findOffScheduleByMovieName(page, limit, movie_name);
ArrayList<Integer> incomeArr = new ArrayList<Integer>();
for(int j = 0;j < info.getList().size();j++) {
List<Order> orderList = info.getList().get(j).getOrderList();
int income = 0;
for(int i = 0;i < orderList.size();i++) {
income += orderList.get(i).getOrder_price();
}
incomeArr.add(income);
}
obj.put("code", 0);
obj.put("count", info.getTotal());
obj.put("data", info.getList());
obj.put("income", incomeArr);
return obj;
}
@RequestMapping("findScheduleByCinemaAndMovie")
@ResponseBody
public JSONObject findScheduleByCinemaAndMovie(@RequestParam("cinema_id")long cinema_id,@RequestParam("movie_id")long movie_id) {
JSONObject obj = new JSONObject();
List<Schedule> list = scheduleService.findScheduleByCineamIdAndMovieId(cinema_id, movie_id);
obj.put("code",0);
obj.put("count",list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("addSchedule")
@ResponseBody
public JSONObject addSchedule(@RequestParam("movie_name")String movie_name,@RequestParam("hall_name")String hall_name,@RequestParam("cinema_name")String cinema_name,
@RequestParam("schedule_price")int schedule_price,@RequestParam("schedule_startTime")String schedule_startTime) {
JSONObject obj = new JSONObject();
Schedule schedule = new Schedule();
Hall hall = this.hallService.findHallByCinemaAndHallName(cinema_name, hall_name);
schedule.setMovie_id(this.movieService.findMovieByName(movie_name).getMovie_id());
schedule.setHall_id(hall.getHall_id());
schedule.setSchedule_price(schedule_price);
schedule.setSchedule_startTime(schedule_startTime);
schedule.setSchedule_remain(hall.getHall_capacity());
Integer rs = this.scheduleService.addSchedule(schedule);
if(rs > 0) {
obj.put("code", 0);
obj.put("mgs", "增加成功~");
}else {
obj.put("code", 200);
obj.put("mgs", "增加失败~");
}
return obj;
}
@RequestMapping("updateSchedulePrice")
@ResponseBody
public JSONObject updateSchedulePrice(@RequestParam("schedule_id")long schedule_id,@RequestParam("schedule_price")int schedule_price) {
JSONObject obj = new JSONObject();
Schedule schedule = new Schedule();
schedule.setSchedule_id(schedule_id);
schedule.setSchedule_price(schedule_price);
Integer rs = this.scheduleService.updateSchedule(schedule);
if(rs > 0) {
obj.put("code", 0);
obj.put("mgs", "修改成功~");
}else {
obj.put("code", 200);
obj.put("mgs", "修改失败~");
}
return obj;
}
@RequestMapping("offlineSchedule")
@ResponseBody
public JSONObject offlineSchedule(@RequestParam("schedule_id")long schedule_id) {
JSONObject obj = new JSONObject();
Integer rs = this.scheduleService.deleteSchedule(schedule_id);
if(rs > 0) {
obj.put("code", 0);
obj.put("mgs", "下架成功~");
}else {
obj.put("code", 200);
obj.put("mgs", "下架失败~");
}
return obj;
}
/**
* 测试类Api 根据电影id找到所有放映该电影的影院列表
* @param movie_id
* @return
*/
@RequestMapping("findCinemasByMovieId")
@ResponseBody
public JSONObject findCinemasByMovieId(@RequestParam("movie_id")long movie_id) {
JSONObject obj = new JSONObject();
List<Cinema> list = this.cinemaService.findCinemasByMovieId(movie_id);
obj.put("code", 0);
obj.put("count", list.size());
obj.put("data", list);
return obj;
}
/**
* 测试专用api
*/
@RequestMapping("testHall")
@ResponseBody
public JSONObject testHall(@RequestParam("hall_name")String hall_name,@RequestParam("cinema_name")String cinema_name) {
Hall hall = this.hallService.findHallByCinemaAndHallName(cinema_name, hall_name);
JSONObject obj = new JSONObject();
obj.put("data", hall);
return obj;
}
}
================================================
FILE: src/main/java/com/controller/UserController.java
================================================
package com.controller;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.entity.User;
import com.github.pagehelper.PageInfo;
import com.service.IUserService;
import com.util.UUIDUtil;
/**
* 用户管理模块
* update: 2019年7月9日17:18:50
* @author Wxj
*/
@Controller
@RequestMapping("/user")
public class UserController {
//@Autowired
@Resource
private IUserService userService;
@RequestMapping("login")
@ResponseBody
public JSONObject login(String user_name,String user_pwd,HttpServletRequest request) {
JSONObject obj = new JSONObject();
User user = userService.login(user_name, user_pwd);
if(user != null) {
HttpSession session = request.getSession();
session.setAttribute("user", user);
if(user.getUser_role() == 0) {
obj.put("msg", "usersuccess");
obj.put("data", user);
return obj;
}else {
obj.put("msg", "adminsuccess");
obj.put("data", user);
return obj;
}
}
obj.put("msg", "fail");
return obj;
}
@RequestMapping("logout")
@ResponseBody
public String logout(HttpServletRequest request) {
HttpSession session = request.getSession();
session.removeAttribute("user");
return "index";
}
@RequestMapping("register")
@ResponseBody
public String register(User user) {
List<User> list = userService.findUserByName(user.getUser_name());
if(list.size() > 0) {
return "fail";
}else {
Integer rs = userService.addUser(user);
if(rs > 0) {
return "success";
}else {
return "fail";
}
}
}
@RequestMapping("updateUser")
@ResponseBody
public String updateUser(User user) {
Integer rs = userService.updateUserInfo(user);
if(rs > 0) {
return "success";
}else {
return "fail";
}
}
@RequestMapping("modifyUserPwd")
@ResponseBody
public String modifyUserPwd(@RequestParam("oldPwd")String oldPwd,@RequestParam("newPwd")String newPwd,HttpServletRequest request) {
HttpSession session = request.getSession();
User user = (User)session.getAttribute("user");
if(user.getUser_pwd().equals(oldPwd)) {
user.setUser_pwd(newPwd);
userService.updateUserInfo(user);
session.removeAttribute("user");
return "success";
}else {
return "fail";
}
}
@RequestMapping("findAllUser")
@ResponseBody
public JSONObject findAllUser(@RequestParam(value="page",defaultValue="1")Integer page,@RequestParam(value="limit",defaultValue="10")Integer limit,String keyword) {
PageInfo<User> info = userService.findAllUserBySplitPage(page, limit, keyword);
JSONObject obj = new JSONObject();
obj.put("msg", "");
obj.put("code", 0);
obj.put("count", info.getTotal());
obj.put("data", info.getList());
return obj;
}
@RequestMapping("findAllUserInfos")
@ResponseBody
public JSONObject findAllUserInfos() {
JSONObject obj = new JSONObject();
List<User> list = userService.findAllUserInfos();
obj.put("msg","");
obj.put("code",0);
obj.put("count",list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("findUserInfosByName")
@ResponseBody
public JSONObject findUserInfosByName(@RequestParam("user_name")String user_name) {
JSONObject obj = new JSONObject();
List<User> list = userService.findUserLikeName(user_name);
obj.put("msg","");
obj.put("code",0);
obj.put("count",list.size());
obj.put("data", list);
return obj;
}
@RequestMapping("/uploadHeadImg")
@ResponseBody
public JSONObject uploadHeadImg(@RequestParam(value="file",required=false) MultipartFile file,User user,HttpServletRequest request) throws IOException {
JSONObject obj = new JSONObject();
if(file != null) {
String str = file.getOriginalFilename();
System.out.println("file:"+str);
String name = UUIDUtil.getUUID() + str.substring(str.lastIndexOf("."));
System.out.println("name:"+name);
String path = request.getServletContext().getRealPath("/upload/head") + "/" + name;
System.out.println("path:"+path);
String filePath = "../upload/head/" + name;
user.setUser_headImg(filePath);
file.transferTo(new File(path));
System.out.println("文件写入成功,Path:" + path);
}else {
user.setUser_headImg(this.userService.findUserById(user.getUser_id()).getUser_headImg());
user.setUser_pwd(this.userService.findUserById(user.getUser_id()).getUser_pwd());
}
Integer rs = userService.updateUserInfo(user);
if(rs > 0) {
obj.put("code", 0);
obj.put("msg", "");
obj.put("data",user);
}else {
obj.put("code", 200);
obj.put("msg", "");
}
return obj;
}
/**
* 测试Api
* @param file
* @param user_name
* @param request
* @return
*/
@RequestMapping("test")
@ResponseBody
public JSONObject uploadImg(@RequestParam(value="file",required=false) MultipartFile file,@RequestParam("user_name")String user_name,HttpServletRequest request) {
System.out.println(file);
JSONObject obj = new JSONObject();
if(file == null) {
System.out.println("null");
}else {
String str = file.getOriginalFilename();
System.out.println("file:"+str);
String name = UUIDUtil.getUUID() + str.substring(str.lastIndexOf("."));
System.out.println("name:"+name);
String path = request.getServletContext().getRealPath("/upload/head") + "/" + name;
System.out.println("path:"+path);
String filePath = "upload/head/" + name;
System.out.println(filePath);
try {
file.transferTo(new File(path));
System.out.println("文件写入成功,Path:" + path);
}catch(IOException ex) {
ex.printStackTrace();
}
obj.put("file", name);
obj.put("user_name",user_name);
}
return obj;
}
}
================================================
FILE: src/main/java/com/entity/Cinema.java
================================================
package com.entity;
import java.util.List;
/**
* 电影院表实体对象
* @author Wxj
*/
public class Cinema {
private long cinema_id;
private String cinema_name; //影院名称
private String cinema_address; //影院地址
private List<Hall> hallList; //所有的放映厅集合
public long getCinema_id() {
return cinema_id;
}
public void setCinema_id(long cinema_id) {
this.cinema_id = cinema_id;
}
public String getCinema_name() {
return cinema_name;
}
public void setCinema_name(String cinema_name) {
this.cinema_name = cinema_name;
}
public String getCinema_address() {
return cinema_address;
}
public void setCinema_address(String cinema_address) {
this.cinema_address = cinema_address;
}
public List<Hall> getHallList() {
return hallList;
}
public void setHallList(List<Hall> hallList) {
this.hallList = hallList;
}
}
================================================
FILE: src/main/java/com/entity/Comment.java
================================================
package com.entity;
/**
* 评论表实体对象
* @author Wxj
*/
import java.util.Date;
public class Comment {
private long comment_id;
private long user_id; //所属用户编号
private String comment_content; //评论内容
private long movie_id; //所属电影编号
private Date comment_time; //评论时间
private User comment_user; //所属用户
public long getComment_id() {
return comment_id;
}
public void setComment_id(long comment_id) {
this.comment_id = comment_id;
}
public long getUser_id() {
return user_id;
}
public void setUser_id(long user_id) {
this.user_id = user_id;
}
public String getComment_content() {
return comment_content;
}
public void setComment_content(String comment_content) {
this.comment_content = comment_content;
}
public long getMovie_id() {
return movie_id;
}
public void setMovie_id(long movie_id) {
this.movie_id = movie_id;
}
public Date getComment_time() {
return comment_time;
}
public void setComment_time(Date comment_time) {
this.comment_time = comment_time;
}
public User getComment_user() {
return comment_user;
}
public void setComment_user(User comment_user) {
this.comment_user = comment_user;
}
}
================================================
FILE: src/main/java/com/entity/Hall.java
================================================
package com.entity;
import java.util.List;
/**
* 放映厅表实体对象
* @author Wxj
*/
public class Hall {
private long hall_id;
private String hall_name; //放映厅名称
private int hall_capacity; //放映厅容量
private long cinema_id; //所属影院编号
private Cinema hall_cinema; //所属影院
private List<Schedule> ScheduleList; //所有的电影场次集合
public long getHall_id() {
return hall_id;
}
public void setHall_id(long hall_id) {
this.hall_id = hall_id;
}
public List<Schedule> getScheduleList() {
return ScheduleList;
}
public void setScheduleList(List<Schedule> scheduleList) {
ScheduleList = scheduleList;
}
public Cinema getHall_cinema() {
return hall_cinema;
}
public void setHall_cinema(Cinema hall_cinema) {
this.hall_cinema = hall_cinema;
}
public String getHall_name() {
return hall_name;
}
public void setHall_name(String hall_name) {
this.hall_name = hall_name;
}
public int getHall_capacity() {
return hall_capacity;
}
public void setHall_capacity(int hall_capacity) {
this.hall_capacity = hall_capacity;
}
public long getCinema_id() {
return cinema_id;
}
public void setCinema_id(long cinema_id) {
this.cinema_id = cinema_id;
}
}
================================================
FILE: src/main/java/com/entity/Movie.java
================================================
package com.entity;
import java.sql.Date; //yyyy-mm-dd
import java.util.List;
/**
* 电影信息实体对象
* @author Wxj
*/
public class Movie {
private long movie_id;
private String movie_cn_name;
private String movie_fg_name;
private String movie_actor; //演职人员
private String movie_director; //导演
private String movie_detail; //电影详情
private String movie_duration; //电影时长
private String movie_type; //电影类型
private float movie_score; //电影评分
private float movie_boxOffice; //票房
private long movie_commentCount; //电影参评人数
private Date movie_releaseDate; //上映时间
private String movie_country; //制片地区
private String movie_picture; //电影海报地址
private int movie_state; //电影状态 默认1 1:在线 0:下架
private List<Comment> commentList; //所有的评论信息
public long getMovie_id() {
return movie_id;
}
public void setMovie_id(long movie_id) {
this.movie_id = movie_id;
}
public String getMovie_cn_name() {
return movie_cn_name;
}
public int getMovie_state() {
return movie_state;
}
public void setMovie_state(int movie_state) {
this.movie_state = movie_state;
}
public void setMovie_cn_name(String movie_cn_name) {
this.movie_cn_name = movie_cn_name;
}
public String getMovie_fg_name() {
return movie_fg_name;
}
public void setMovie_fg_name(String movie_fg_name) {
this.movie_fg_name = movie_fg_name;
}
public String getMovie_actor() {
return movie_actor;
}
public void setMovie_actor(String movie_actor) {
this.movie_actor = movie_actor;
}
public String getMovie_director() {
return movie_director;
}
public void setMovie_director(String movie_director) {
this.movie_director = movie_director;
}
public String getMovie_detail() {
return movie_detail;
}
public void setMovie_detail(String movie_detail) {
this.movie_detail = movie_detail;
}
public String getMovie_duration() {
return movie_duration;
}
public void setMovie_duration(String movie_duration) {
this.movie_duration = movie_duration;
}
public String getMovie_type() {
return movie_type;
}
public void setMovie_type(String movie_type) {
this.movie_type = movie_type;
}
public float getMovie_score() {
return movie_score;
}
public void setMovie_score(float movie_score) {
this.movie_score = movie_score;
}
public float getMovie_boxOffice() {
return movie_boxOffice;
}
public void setMovie_boxOffice(float movie_boxOffice) {
this.movie_boxOffice = movie_boxOffice;
}
public long getMovie_commentCount() {
return movie_commentCount;
}
public void setMovie_commentCount(long movie_commentCount) {
this.movie_commentCount = movie_commentCount;
}
public Date getReleaseDate() {
return movie_releaseDate;
}
public void setReleaseDate(Date releaseDate) {
this.movie_releaseDate = releaseDate;
}
public String getMovie_country() {
return movie_country;
}
public void setMovie_country(String movie_country) {
this.movie_country = movie_country;
}
public String getMovie_picture() {
return movie_picture;
}
public void setMovie_picture(String movie_picture) {
this.movie_picture = movie_picture;
}
public List<Comment> getCommentList() {
return commentList;
}
public void setCommentList(List<Comment> commentList) {
this.commentList = commentList;
}
}
================================================
FILE: src/main/java/com/entity/Order.java
================================================
package com.entity;
import java.util.Date;
import java.util.List;
/**
* 订单表实体对象
* @author Wxj
*
*/
public class Order {
private String order_id;
private long user_id; //所属用户编号
private long schedule_id; //所属场次编号,通过schedule_id-》场次信息-》放映厅信息+电影信息
private String order_position; //电影票座位信息
private int order_state; //订单状态 0:退票中 -1:无法退票 1:已支付 2:退票成功
private int order_price; //订单价格
private Date order_time; //订单支付时间
private User order_user; //所属用户对象
private Schedule order_schedule; //所属电影场次
public String getOrder_id() {
return order_id;
}
public void setOrder_id(String order_id) {
this.order_id = order_id;
}
public Date getOrder_time() {
return order_time;
}
public void setOrder_time(Date order_time) {
this.order_time = order_time;
}
public int getOrder_price() {
return order_price;
}
public void setOrder_price(int order_price) {
this.order_price = order_price;
}
public long getUser_id() {
return user_id;
}
public void setUser_id(long user_id) {
this.user_id = user_id;
}
public long getSchedule_id() {
return schedule_id;
}
public void setSchedule_id(long schedule_id) {
this.schedule_id = schedule_id;
}
public String getOrder_position() {
return order_position;
}
public void setOrder_position(String order_position) {
this.order_position = order_position;
}
public User getOrder_user() {
return order_user;
}
public int getOrder_state() {
return order_state;
}
public void setOrder_state(int order_state) {
this.order_state = order_state;
}
public void setOrder_user(User order_user) {
this.order_user = order_user;
}
public Schedule getOrder_schedule() {
return order_schedule;
}
public void setOrder_schedule(Schedule order_schedule) {
this.order_schedule = order_schedule;
}
}
================================================
FILE: src/main/java/com/entity/Schedule.java
================================================
package com.entity;
import java.util.Date;
import java.util.List;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 场次表实体对象
* @author Wxj
*/
public class Schedule {
private long schedule_id;
private long hall_id; //所属放映厅
private long movie_id; //放映的电影编号
//@DateTimeFormat(pattern="yyyy-MM-dd")
private String schedule_startTime; //电影放映时间
private int schedule_price; //售价
private int schedule_remain; //剩余座位数
private int schedule_state; //场次状态 1:上映中 0:下架
private Hall schedule_hall; //所属放映厅对象
private Movie schedule_movie; //放映的电影
private List<Order> orderList; //所有的订单集合
public long getSchedule_id() {
return schedule_id;
}
public void setSchedule_id(long schedule_id) {
this.schedule_id = schedule_id;
}
public int getSchedule_state() {
return schedule_state;
}
public void setSchedule_state(int schedule_state) {
this.schedule_state = schedule_state;
}
public Movie getSchedule_movie() {
return schedule_movie;
}
public void setSchedule_movie(Movie schedule_movie) {
this.schedule_movie = schedule_movie;
}
public long getHall_id() {
return hall_id;
}
public void setHall_id(long hall_id) {
this.hall_id = hall_id;
}
public long getMovie_id() {
return movie_id;
}
public void setMovie_id(long movie_id) {
this.movie_id = movie_id;
}
public String getSchedule_startTime() {
return schedule_startTime;
}
public void setSchedule_startTime(String schedule_startTime) {
this.schedule_startTime = schedule_startTime;
}
public int getSchedule_price() {
return schedule_price;
}
public void setSchedule_price(int schedule_price) {
this.schedule_price = schedule_price;
}
public int getSchedule_remain() {
return schedule_remain;
}
public void setSchedule_remain(int schedule_remain) {
this.schedule_remain = schedule_remain;
}
public Hall getSchedule_hall() {
return schedule_hall;
}
public void setSchedule_hall(Hall schedule_hall) {
this.schedule_hall = schedule_hall;
}
public List<Order> getOrderList() {
return orderList;
}
public void setOrderList(List<Order> orderList) {
this.orderList = orderList;
}
}
================================================
FILE: src/main/java/com/entity/User.java
================================================
package com.entity;
/**
* 用户表实体对象
* @author Wxj
*/
public class User {
private long user_id;
private String user_name; //用户账号
private String user_pwd; //用户密码
private String user_email; //用户邮箱
private int user_role; //用户权限 0:普通会员 1:管理员
private String user_headImg; //用户头像地址
public long getUser_id() {
return user_id;
}
public void setUser_id(long user_id) {
this.user_id = user_id;
}
public String getUser_name() {
return user_name;
}
public void setUser_name(String user_name) {
this.user_name = user_name;
}
public String getUser_pwd() {
return user_pwd;
}
public void setUser_pwd(String user_pwd) {
this.user_pwd = user_pwd;
}
public String getUser_email() {
return user_email;
}
public void setUser_email(String user_email) {
this.user_email = user_email;
}
public int getUser_role() {
return user_role;
}
public void setUser_role(int user_role) {
this.user_role = user_role;
}
public String getUser_headImg() {
return user_headImg;
}
public void setUser_headImg(String user_headImg) {
this.user_headImg = user_headImg;
}
}
================================================
FILE: src/main/java/com/mapper/CinemaMapper.java
================================================
package com.mapper;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.entity.Cinema;
@Repository
public interface CinemaMapper {
Cinema findCinemaById(long cinema_id);
Integer addCinema(Cinema cinema);
Integer updateCinema(Cinema cinema);
Integer deleteCinema(long cinema_id);
List<Cinema> findAllCinemas();
List<Cinema> findCinemasLikeName(String cinema_name);
List<Cinema> findCinemasByMovieId(long movie_id);
}
================================================
FILE: src/main/java/com/mapper/CinemaMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.CinemaMapper">
<resultMap type="com.entity.Cinema" id="BaseResultMap">
<id property="cinema_id" column="cinema_id" javaType="long"/>
<result property="cinema_name" column="cinema_name" javaType="java.lang.String"/>
<result property="cinema_address" column="cinema_address" javaType="java.lang.String"/>
</resultMap>
<select id="findCinemaById" parameterType="long" resultMap="BaseResultMap">
select * from cinema where cinema_id = #{cinema_id}
</select>
<select id="findAllCinemas" resultMap="BaseResultMap">
select * from cinema
</select>
<select id="findCinemasLikeName" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from cinema where cinema_name like '%${value}%'
</select>
<select id="findCinemasByMovieId" parameterType="long" resultMap="BaseResultMap">
select distinct cinema.* from hall,schedule,cinema
where hall.hall_id=schedule.hall_id and hall.cinema_id=cinema.cinema_id and schedule.movie_id = #{movie_id}
</select>
<insert id="addCinema" parameterType="com.entity.Cinema">
insert into cinema(cinema_name,cinema_address)
values(#{cinema_name},#{cinema_address})
</insert>
<update id="updateCinema" parameterType="com.entity.Cinema">
update cinema
<set>
cinema_name = #{cinema_name},
cinema_address = #{cinema_address}
</set>
where cinema_id = #{cinema_id}
</update>
<delete id="deleteCinema" parameterType="long">
delete from cinema where cinema_id = #{cinema_id}
</delete>
</mapper>
================================================
FILE: src/main/java/com/mapper/CommentMapper.java
================================================
package com.mapper;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.entity.Comment;
@Repository
public interface CommentMapper {
//用户: 修改评论、增加评论
//管理员: 删除评论、 修改评论
//查询用户的评论
Comment findCommentById(long comment_id);
Integer addComemnt(Comment comment);
Integer updateComment(Comment comment);
Integer deleteComment(long comment_id);
List<Comment> findAllComments();
List<Comment> findCommentsByMoiveId(long movie_id);
List<Comment> findCommentsByUserName(String user_name);
}
================================================
FILE: src/main/java/com/mapper/CommentMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.CommentMapper">
<resultMap type="com.entity.Comment" id="BaseResultMap">
<id property="comment_id" column="comment_id" javaType="long"/>
<result property="comment_content" column="comment_content" javaType="java.lang.String"/>
<result property="comment_time" column="comment_time" javaType="java.util.Date"/>
<result property="movie_id" column="movie_id" javaType="long"/>
<result property="user_id" column="user_id" javaType="long"/>
</resultMap>
<select id="findCommentById" parameterType="long" resultMap="BaseResultMap">
select * from comment where comment_id = #{comment_id}
</select>
<select id="findAllComments" resultMap="BaseResultMap">
select * from comment
</select>
<select id="findCommentsByUserName" parameterType="java.lang.String" resultMap="BaseResultMap">
select comment.* from comment,user where comment.user_id = user.user_id and user.user_name = #{user_name}
</select>
<select id="findCommentsByMoiveId" parameterType="long" resultMap="BaseResultMap">
select * from comment where movie_id = #{movie_id}
</select>
<insert id="addComemnt" parameterType="com.entity.Comment">
insert into comment(comment_content,comment_time,movie_id,user_id)
values(#{comment_content},#{comment_time},#{movie_id},#{user_id})
</insert>
<update id="updateComment" parameterType="com.entity.Comment">
update comment
<set>
comment_content = #{comment_content},
comment_time = #{comment_time},
movie_id = #{movie_id},
user_id = #{user_id}
</set>
where comment_id = #{comment_id}
</update>
<delete id="deleteComment" parameterType="long">
delete from comment where comment_id = #{comment_id}
</delete>
</mapper>
================================================
FILE: src/main/java/com/mapper/HallMapper.java
================================================
package com.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.entity.Hall;
@Repository
public interface HallMapper {
Hall findHallById(long hall_id);
Hall findHallByCinemaAndHallName(@Param("cinema_name")String cinema_name,@Param("hall_name")String hall_name);
Integer addHall(Hall hall);
Integer updateHall(Hall hall);
Integer deleteHall(long hall_id);
List<Hall> findHallByCinemaId(long cinema_id);
List<Hall> findAllHalls();
}
================================================
FILE: src/main/java/com/mapper/HallMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.HallMapper">
<resultMap type="com.entity.Hall" id="BaseResultMap">
<id property="hall_id" column="hall_id" javaType="long"/>
<result property="hall_name" column="hall_name" javaType="java.lang.String"/>
<result property="cinema_id" column="cinema_id" javaType="long"/>
</resultMap>
<select id="findHallById" parameterType="long" resultMap="BaseResultMap">
select * from hall where hall_id = #{hall_id}
</select>
<select id="findHallByCinemaAndHallName" resultMap="BaseResultMap">
select hall.* from hall,cinema where hall.cinema_id = cinema.cinema_id
and cinema_name = #{cinema_name} and hall_name= #{hall_name}
</select>
<select id="findHallByCinemaId" parameterType="long" resultMap="BaseResultMap">
select * from hall where cinema_id = #{cinema_id}
</select>
<select id="findAllHalls" resultMap="BaseResultMap">
select * from hall
</select>
<insert id="addHall" parameterType="com.entity.Hall">
insert into hall(hall_name,movie_id)
values(hall_name,movie_id)
</insert>
<update id="updateHall" parameterType="com.entity.Hall">
update hall
<set>
hall_name = #{hall_name},
movie_id = #{movie_id}
</set>
where hall_id = #{hall_id}
</update>
<delete id="deleteHall" parameterType="long">
delete from hall where hall_id = #{hall_id}
</delete>
</mapper>
================================================
FILE: src/main/java/com/mapper/MovieMapper.java
================================================
package com.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.entity.Movie;
@Repository
public interface MovieMapper {
Movie findMovieById(long movie_id);
Movie findMovieByName(String movie_cn_name);
Integer addMovie(Movie movie);
Integer deleteMovie(long movie_id);
Integer updateMovie(Movie movie);
Integer deleteMovieCommentCount(long movie_id);
Integer addMovieCommentCount(long movie_id);
Integer changeMovieBoxOffice(@Param("movie_boxOffice")float movie_boxOffice,@Param("movie_id")long movie_id);
List<Movie> findAllMovies(int movie_state);
List<Movie> findMoviesLikeName(String name);
List<Movie> findMoviesLikeType(String type);
//上映时间 参评人数 评分
List<Movie> sortMovieByDate();
List<Movie> sortMovieByCount();
List<Movie> sortMovieByScore();
//票房排序
List<Movie> sortMovieByBoxOffice();
}
================================================
FILE: src/main/java/com/mapper/MovieMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.MovieMapper">
<resultMap type="com.entity.Movie" id="BaseResultMap">
<id property="movie_id" column="movie_id" javaType="long"/>
<result property="movie_actor" column="movie_actor" javaType="java.lang.String"/>
<result property="movie_boxOffice" column="movie_boxOffice" javaType="float"/>
<result property="movie_cn_name" column="movie_cn_name" javaType="java.lang.String"/>
<result property="movie_commentCount" column="movie_commentCount" javaType="long"/>
<result property="movie_country" column="movie_country" javaType="java.lang.String"/>
<result property="movie_detail" column="movie_detail" javaType="java.lang.String"/>
<result property="movie_director" column="movie_director" javaType="java.lang.String"/>
<result property="movie_duration" column="movie_duration" javaType="java.lang.String"/>
<result property="movie_fg_name" column="movie_fg_name" javaType="java.lang.String"/>
<result property="movie_picture" column="movie_picture" javaType="java.lang.String"/>
<result property="movie_score" column="movie_score" javaType="float"/>
<result property="movie_type" column="movie_type" javaType="java.lang.String"/>
<result property="movie_releaseDate" column="movie_releaseDate" javaType="java.sql.Date"/>
<result property="movie_state" column="movie_state" javaType="java.lang.Integer"/>
</resultMap>
<select id="findMovieById" parameterType="long" resultMap="BaseResultMap">
select * from movie where movie_id = #{movie_id}
</select>
<select id="findMovieByName" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from movie where movie_cn_name = #{movie_cn_name}
</select>
<insert id="addMovie" parameterType="com.entity.Movie">
insert into movie(movie_cn_name,movie_fg_name,movie_actor,movie_director,movie_detail,movie_duration,movie_type,movie_score,movie_releaseDate,movie_country,movie_picture)
values(#{movie_cn_name},#{movie_fg_name},#{movie_actor},#{movie_director},#{movie_detail},#{movie_duration},#{movie_type},#{movie_score},#{movie_releaseDate},#{movie_country},#{movie_picture})
</insert>
<update id="deleteMovie" parameterType="long">
update movie
<set>
movie_state = 0
</set>
where movie_id = #{movie_id}
</update>
<update id="changeMovieBoxOffice">
update movie set movie_boxOffice = movie_boxOffice + #{movie_boxOffice} where movie_id = #{movie_id}
</update>
<update id="updateMovie" parameterType="com.entity.Movie">
update movie
<set>
movie_cn_name = #{movie_cn_name},
movie_fg_name = #{movie_fg_name},
movie_actor = #{movie_actor},
movie_director = #{movie_director},
movie_detail = #{movie_detail},
movie_duration = #{movie_duration},
movie_type = #{movie_type},
movie_country = #{movie_country},
movie_picture = #{movie_picture}
</set>
where movie_id = #{movie_id}
</update>
<update id="deleteMovieCommentCount" parameterType="long">
update movie set movie_commentCount = movie_commentCount -1 where movie_id = #{movie_id}
</update>
<update id="addMovieCommentCount" parameterType="long">
update movie set movie_commentCount = movie_commentCount +1 where movie_id = #{movie_id}
</update>
<select id="findAllMovies" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select * from movie where movie_state = #{movie_state}
</select>
<select id="findMoviesLikeName" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from movie where movie_cn_name like '%${value}%' and movie_state = 1
</select>
<select id="findMoviesLikeType" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from movie where movie_type like '%${value}%' and movie_state = 1
</select>
<select id="sortMovieByDate" resultMap="BaseResultMap">
select * from movie where movie_state = 1 order by movie_releaseDate DESC
</select>
<select id="sortMovieByCount" resultMap="BaseResultMap">
select * from movie where movie_state = 1 order by movie_commentCount DESC
</select>
<select id="sortMovieByScore" resultMap="BaseResultMap">
select * from movie where movie_state = 1 order by movie_score DESC
</select>
<select id="sortMovieByBoxOffice" resultMap="BaseResultMap">
select * from movie where movie_state = 1 order by movie_boxOffice desc
</select>
</mapper>
================================================
FILE: src/main/java/com/mapper/OrderMapper.java
================================================
package com.mapper;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.entity.Order;
@Repository
public interface OrderMapper {
Order findOrderById(String order_id);
Integer addOrder(Order order);
Integer updateOrderStateToRefund(String order_id); //申请退票
Integer updateOrderStateToRefunded(String order_id); //同意退票
List<Order> findRefundOrderByUserName(String user_name);
List<Order> findOrdersByUserName(String user_name);
List<Order> findAllOrders();
List<Order> findOrdersByScheduleId(long schedule_id);
List<Order> findOrdersByState(int order_state);
}
================================================
FILE: src/main/java/com/mapper/OrderMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.OrderMapper">
<resultMap type="com.entity.Order" id="BaseResultMap">
<id property="order_id" column="order_id" javaType="java.lang.String"/>
<result property="order_position" column="order_position" javaType="java.lang.String"/>
<result property="order_state" column="order_state" javaType="java.lang.Integer"/>
<result property="schedule_id" column="schedule_id" javaType="long"/>
<result property="user_id" column="user_id" javaType="long"/>
<result property="order_price" column="order_price" javaType="java.lang.Integer"/>
<result property="order_time" column="order_time" javaType="java.util.Date"/>
</resultMap>
<select id="findOrderById" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from orderinfo where order_id = #{order_id}
</select>
<select id="findAllOrders" resultMap="BaseResultMap">
select * from orderinfo order by order_time desc
</select>
<select id="findOrdersByScheduleId" parameterType="long" resultMap="BaseResultMap">
select * from orderinfo where schedule_id = #{schedule_id} and order_state != 2 order by order_time desc
</select>
<select id="findOrdersByState" parameterType="int" resultMap="BaseResultMap">
select * from orderinfo where order_state = #{order_state} order by order_time desc
</select>
<select id="findOrdersByUserName" parameterType="java.lang.String" resultMap="BaseResultMap">
select orderinfo.* from orderinfo,user where orderinfo.user_id = user.user_id and user.user_name = #{user_name} order by order_time desc
</select>
<select id="findRefundOrderByUserName" parameterType="java.lang.String" resultMap="BaseResultMap">
select orderinfo.* from orderinfo,user where orderinfo.user_id = user.user_id and user.user_name = #{user_name} and orderinfo.order_state = 0 order by order_time desc
</select>
<insert id="addOrder" parameterType="com.entity.Order">
insert into orderinfo(order_id,order_position,schedule_id,user_id,order_price,order_time)
values(#{order_id},#{order_position},#{schedule_id},#{user_id},#{order_price},#{order_time})
</insert>
<update id="updateOrderStateToRefund" parameterType="java.lang.String">
update orderinfo set order_state = 0 where order_id = #{order_id}
</update>
<update id="updateOrderStateToRefunded" parameterType="java.lang.String">
update orderinfo set order_state = 2 where order_id = #{order_id}
</update>
</mapper>
================================================
FILE: src/main/java/com/mapper/ScheduleMapper.java
================================================
package com.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.entity.Schedule;
@Repository
public interface ScheduleMapper {
Schedule findScheduleById(long schedule_id);
Integer addSchedule(Schedule schedule);
Integer updateSchedule(Schedule schedule);
Integer deleteSchedule(long schedule_id);
Integer addScheduleRemain(long schedule_id);
Integer delScheduleRemain(long schedule_id);
List<Schedule> findScheduleByMovieName(String movie_name);
List<Schedule> findOffScheduleByMovieName(String movie_name);
List<Schedule> findScheduleByState(int schedule_state);
List<Schedule> findAllSchedule();
List<Schedule> findScheduleByCinemaAndMovie(@Param("cinema_id")long cinema_id,@Param("movie_id")long movie_id);
List<Schedule> findScheduleByCinemaAndMovieAndHall(@Param("hall_id")long hall_id,@Param("cinema_id")long cinema_id,@Param("movie_id")long movie_id);
}
================================================
FILE: src/main/java/com/mapper/ScheduleMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.ScheduleMapper">
<resultMap type="com.entity.Schedule" id="BaseResultMap">
<id property="schedule_id" column="schedule_id" javaType="long"/>
<result property="hall_id" column="hall_id" javaType="long"/>
<result property="movie_id" column="movie_id" javaType="long"/>
<result property="schedule_price" column="schedule_price" javaType="java.lang.Integer"/>
<result property="schedule_remain" column="schedule_remain" javaType="java.lang.Integer"/>
<result property="schedule_startTime" column="schedule_startTime" javaType="java.lang.String"/>
<result property="schedule_state" column="schedule_state" javaType="java.lang.Integer"/>
</resultMap>
<select id="findScheduleById" parameterType="long" resultMap="BaseResultMap">
select * from schedule where schedule_id = #{schedule_id}
</select>
<select id="findScheduleByState" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select * from schedule where schedule_state = #{schedule_state}
</select>
<select id="findScheduleByCinemaAndMovie" resultMap="BaseResultMap">
select schedule.* from schedule,hall where schedule.hall_id=hall.hall_id
and hall.cinema_id = #{cinema_id} and movie_id = #{movie_id} and schedule_state = 1
</select>
<select id="findScheduleByCinemaAndMovieAndHall" resultMap="BaseResultMap">
select schedule.* from schedule,hall where schedule.hall_id=hall.hall_id
and hall.cinema_id = #{cinema_id} and movie_id = #{movie_id} and schedule.hall_id = #{hall_id} and schedule_state = 1
</select>
<select id="findAllSchedule" resultMap="BaseResultMap">
select * from schedule
</select>
<select id="findScheduleByMovieName" parameterType="java.lang.String" resultMap="BaseResultMap">
select schedule.* from schedule,movie
where schedule.movie_id = movie.movie_id and schedule.schedule_state = 1 and movie.movie_cn_name like '%${value}%'
</select>
<select id="findOffScheduleByMovieName" parameterType="java.lang.String" resultMap="BaseResultMap">
select schedule.* from schedule,movie
where schedule.movie_id = movie.movie_id and schedule.schedule_state = 0 and movie.movie_cn_name like '%${value}%'
</select>
<insert id="addSchedule" parameterType="com.entity.Schedule">
insert into schedule(hall_id,movie_id,schedule_price,schedule_remain,schedule_startTime)
values(#{hall_id},#{movie_id},#{schedule_price},#{schedule_remain},#{schedule_startTime})
</insert>
<update id="updateSchedule" parameterType="com.entity.Schedule">
update schedule
<set>
schedule_price = #{schedule_price}
</set>
where schedule_id = #{schedule_id}
</update>
<update id="deleteSchedule" parameterType="long">
update schedule set schedule_state = 0 where schedule_id = #{schedule_id}
</update>
<update id="addScheduleRemain" parameterType="long">
update schedule set schedule_remain = schedule_remain + 1 where schedule_id = #{schedule_id}
</update>
<update id="delScheduleRemain" parameterType="long">
update schedule set schedule_remain = schedule_remain - 1 where schedule_id = #{schedule_id}
</update>
</mapper>
================================================
FILE: src/main/java/com/mapper/UserMapper.java
================================================
package com.mapper;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.entity.User;
@Repository
public interface UserMapper {
User findUserById(long user_id);
Integer addUser(User user);
Integer deleteUser(long user_id);
Integer updateUser(User user);
List<User> findAllUser();
List<User> findUserByName(String name);
List<User> findUserLikeName(String name);
}
================================================
FILE: src/main/java/com/mapper/UserMapper.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mapper.UserMapper">
<resultMap type="com.entity.User" id="BaseResultMap">
<id property="user_id" column="user_id" javaType="long"/>
<result property="user_name" column="user_name" javaType="java.lang.String"/>
<result property="user_pwd" column="user_pwd" javaType="java.lang.String"/>
<result property="user_email" column="user_email" javaType="java.lang.String"/>
<result property="user_role" column="user_role" javaType="java.lang.Integer"/>
<result property="user_headImg" column="user_headImg" javaType="java.lang.String"/>
</resultMap>
<select id="findUserById" parameterType="long" resultMap="BaseResultMap">
select * from user where user_id = #{id}
</select>
<select id="findAllUser" resultMap="BaseResultMap">
select * from user
</select>
<select id="findUserByName" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from user where user_name = #{name}
</select>
<select id="findUserLikeName" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from user where user_name like '%${value}%'
</select>
<insert id="addUser" parameterType="com.entity.User">
insert into user(user_name,user_pwd,user_email)
values(#{user_name},#{user_pwd},#{user_email})
</insert>
<update id="updateUser" parameterType="com.entity.User">
update user
<set>
<if test="user_name!=null">
user_name = #{user_name},
</if>
<if test="user_pwd!=null">
user_pwd = #{user_pwd},
</if>
user_email = #{user_email},
user_headImg = #{user_headImg}
</set>
where user_id = #{user_id}
</update>
</mapper>
================================================
FILE: src/main/java/com/service/ICinemaService.java
================================================
package com.service;
import java.util.List;
import com.entity.Cinema;
public interface ICinemaService {
Cinema findCinemaById(long cinema_id);
Integer addCinema(Cinema cinema);
Integer updateCinema(Cinema cinema);
Integer deleteCinema(long cinema_id);
List<Cinema> findAllCinemas();
List<Cinema> findCinemasLikeName(String cinema_name);
List<Cinema> findCinemasByMovieId(long movie_id);
}
================================================
FILE: src/main/java/com/service/ICommentService.java
================================================
package com.service;
import java.util.List;
import com.entity.Comment;
import com.github.pagehelper.PageInfo;
public interface ICommentService {
Comment findCommentById(long comment_id);
Integer addComemnt(Comment comment);
Integer updateComment(Comment comment);
Integer deleteComment(long comment_id);
List<Comment> findAllComments();
List<Comment> findCommentsByMovieId(long movie_id);
PageInfo<Comment> findAllCommentsBySplitPage(Integer page,Integer limit,String keyword);
PageInfo<Comment> findCommentsByUserName(Integer page,Integer limit,String user_name);
}
================================================
FILE: src/main/java/com/service/IHallService.java
================================================
package com.service;
import java.util.List;
import com.entity.Hall;
public interface IHallService {
Hall findHallById(long hall_id);
Hall findHallByCinemaAndHallName(String cinema_name,String hall_name);
Integer addHall(Hall hall);
Integer updateHall(Hall hall);
Integer deleteHall(long hall_id);
List<Hall> findHallByCinemaId(long cinema_id);
List<Hall> findAllHalls();
}
================================================
FILE: src/main/java/com/service/IMovieService.java
================================================
package com.service;
import java.util.List;
import com.entity.Movie;
public interface IMovieService {
Movie findMovieById(long movie_id);
Movie findMovieByName(String movie_cn_name);
Integer addMovie(Movie movie);
Integer deleteMovie(long movie_id);
Integer updateMovie(Movie movie);
Integer delCommentCount(long movie_id);
Integer changeMovieBoxOffice(float price,long movie_id);
Integer addCommentCount(long movie_id);
List<Movie> findAllMovies(int movie_state);
List<Movie> findMoviesLikeName(String name);
List<Movie> findMoviesLikeType(String type);
//上映时间 参评人数 评分
List<Movie> sortMovieByDate();
List<Movie> sortMovieByCount();
List<Movie> sortMovieByScore();
List<Movie> sortMovieByBoxOffice();
}
================================================
FILE: src/main/java/com/service/IOrderService.java
================================================
package com.service;
import java.util.List;
import com.entity.Order;
import com.github.pagehelper.PageInfo;
public interface IOrderService {
Order findOrderById(String order_id);
Integer addOrder(Order order);
Integer updateOrderStateToRefund(String order_id); //申请退票
Integer updateOrderStateToRefunded(String order_id); //同意退票
PageInfo<Order> findOrdersByUserName(Integer page,Integer limit,String user_name);
List<Order> findAllOrders();
List<Order> findRefundOrderByUserName(String user_name);
PageInfo<Order> findOrdersByState(Integer page,Integer limit,int order_state);
PageInfo<Order> findAllOrdersBySplitPage(Integer page,Integer limit,String keyword);
}
================================================
FILE: src/main/java/com/service/IScheduleService.java
================================================
package com.service;
import java.util.List;
import com.entity.Schedule;
import com.github.pagehelper.PageInfo;
public interface IScheduleService {
Schedule findScheduleById(long schedule_id);
Integer addSchedule(Schedule schedule);
Integer updateSchedule(Schedule schedule);
Integer deleteSchedule(long schedule_id);
Integer addScheduleRemain(long schedule_id);
Integer delScheduleRemain(long schedule_id);
PageInfo<Schedule> findScheduleByMovieName(Integer page,Integer limit,String movie_name);
PageInfo<Schedule> findOffScheduleByMovieName(Integer page,Integer limit,String movie_name);
PageInfo<Schedule> findAllSchedule(Integer page,Integer limit);
PageInfo<Schedule> findAllScheduleByState(Integer page,Integer limit,int schedule_state);
List<Schedule> findScheduleByCinemaAndMovie(long cinema_id,long movie_id);
List<Schedule> findScheduleByCineamIdAndMovieId(long cinema_id,long movie_id);
}
================================================
FILE: src/main/java/com/service/IUserService.java
================================================
package com.service;
import java.util.List;
import com.entity.User;
import com.github.pagehelper.PageInfo;
public interface IUserService {
User login(String user_name,String user_pwd);
Integer updateUserInfo(User user);
User findUserById(long user_id);
List<User> findUserByName(String name);
List<User> findUserLikeName(String name);
Integer addUser(User user);
Integer deleteUser(long user_id);
List<User> findAllUserInfos();
PageInfo<User> findAllUserBySplitPage(Integer page,Integer limit,String keyword);
}
================================================
FILE: src/main/java/com/service/imp/CinemaServiceImp.java
================================================
package com.service.imp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Cinema;
import com.entity.Hall;
import com.entity.Schedule;
import com.mapper.CinemaMapper;
import com.mapper.HallMapper;
import com.mapper.ScheduleMapper;
import com.service.ICinemaService;
@Service
public class CinemaServiceImp implements ICinemaService{
@Autowired
private CinemaMapper cinemaMapper;
@Autowired
private HallMapper hallMapper;
@Autowired
private ScheduleMapper scheduleMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Cinema findCinemaById(long cinema_id) {
Cinema cinema = this.cinemaMapper.findCinemaById(cinema_id);
List<Hall> list = this.hallMapper.findHallByCinemaId(cinema_id);
cinema.setHallList(list);
return cinema;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Cinema> findCinemasByMovieId(long movie_id) {
List<Cinema> cinemaList = this.cinemaMapper.findCinemasByMovieId(movie_id);
for(Cinema cinema : cinemaList) {
List<Hall> hallList = this.hallMapper.findHallByCinemaId(cinema.getCinema_id());
for(Hall hall : hallList) {
hall.setScheduleList(this.scheduleMapper.findScheduleByCinemaAndMovieAndHall(hall.getHall_id(), hall.getCinema_id(), movie_id));
}
cinema.setHallList(hallList);
}
return cinemaList;
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addCinema(Cinema cinema) {
return this.cinemaMapper.addCinema(cinema);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateCinema(Cinema cinema) {
return this.cinemaMapper.updateCinema(cinema);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteCinema(long cinema_id) {
return this.cinemaMapper.deleteCinema(cinema_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Cinema> findAllCinemas() {
List<Cinema> list = this.cinemaMapper.findAllCinemas();
for(Cinema cinema : list) {
List<Hall> hallList = this.hallMapper.findHallByCinemaId(cinema.getCinema_id());
cinema.setHallList(hallList);
}
return list;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Cinema> findCinemasLikeName(String cinema_name) {
List<Cinema> list = this.cinemaMapper.findCinemasLikeName(cinema_name);
for(Cinema cinema : list) {
List<Hall> hallList = this.hallMapper.findHallByCinemaId(cinema.getCinema_id());
cinema.setHallList(hallList);
}
return list;
}
}
================================================
FILE: src/main/java/com/service/imp/CommentServiceImp.java
================================================
package com.service.imp;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Comment;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mapper.CommentMapper;
import com.service.ICommentService;
@Service
public class CommentServiceImp implements ICommentService{
@Autowired
private CommentMapper commentMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Comment findCommentById(long comment_id) {
return this.commentMapper.findCommentById(comment_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addComemnt(Comment comment) {
return this.commentMapper.addComemnt(comment);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateComment(Comment comment) {
return this.commentMapper.updateComment(comment);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteComment(long comment_id) {
return this.commentMapper.deleteComment(comment_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Comment> findAllComments() {
return this.commentMapper.findAllComments();
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Comment> findAllCommentsBySplitPage(Integer page, Integer limit, String keyword) {
PageHelper.startPage(page, limit);
List<Comment> list = new ArrayList<Comment>();
if(keyword != null && !keyword.trim().equals("")) {
System.out.println("keyword:"+keyword);
list = this.commentMapper.findCommentsByUserName(keyword);
}else {
//System.out.println("keyword:"+keyword);
list = this.commentMapper.findAllComments();
}
PageInfo<Comment> info = new PageInfo<Comment>(list);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Comment> findCommentsByUserName(Integer page, Integer limit,String user_name) {
PageHelper.startPage(page,limit);
List<Comment> list = new ArrayList<Comment>();
list = this.commentMapper.findCommentsByUserName(user_name);
PageInfo<Comment> info = new PageInfo<Comment>(list);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Comment> findCommentsByMovieId(long movie_id) {
return this.commentMapper.findCommentsByMoiveId(movie_id);
}
}
================================================
FILE: src/main/java/com/service/imp/HallServiceImp.java
================================================
package com.service.imp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Hall;
import com.mapper.CinemaMapper;
import com.mapper.HallMapper;
import com.service.IHallService;
@Service
public class HallServiceImp implements IHallService{
@Autowired
private HallMapper hallMapper;
@Autowired
private CinemaMapper cinemaMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Hall findHallById(long hall_id) {
Hall hall = this.hallMapper.findHallById(hall_id);
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
return hall;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Hall findHallByCinemaAndHallName(String cinema_name, String hall_name) {
return this.hallMapper.findHallByCinemaAndHallName(cinema_name, hall_name);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addHall(Hall hall) {
return this.hallMapper.addHall(hall);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateHall(Hall hall) {
return this.hallMapper.updateHall(hall);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteHall(long hall_id) {
return this.hallMapper.deleteHall(hall_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Hall> findHallByCinemaId(long cinema_id) {
List<Hall> list = this.hallMapper.findHallByCinemaId(cinema_id);
for(Hall hall : list) {
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
}
return list;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Hall> findAllHalls() {
List<Hall> list = this.hallMapper.findAllHalls();
for(Hall hall : list) {
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
}
return list;
}
}
================================================
FILE: src/main/java/com/service/imp/MovieServiceImp.java
================================================
package com.service.imp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Comment;
import com.entity.Movie;
import com.mapper.CommentMapper;
import com.mapper.MovieMapper;
import com.mapper.UserMapper;
import com.service.IMovieService;
@Service
public class MovieServiceImp implements IMovieService{
@Autowired
private MovieMapper movieMapper;
@Autowired
private CommentMapper commentMapper;
@Autowired
private UserMapper userMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Movie findMovieById(long movie_id) {
Movie movie = this.movieMapper.findMovieById(movie_id);
List<Comment> list = this.commentMapper.findCommentsByMoiveId(movie_id);
for(Comment comment : list) {
comment.setComment_user(this.userMapper.findUserById(comment.getUser_id()));
}
movie.setCommentList(list);
return movie;
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer changeMovieBoxOffice(float price, long movie_id) {
return this.movieMapper.changeMovieBoxOffice(price, movie_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Movie findMovieByName(String movie_cn_name) {
return this.movieMapper.findMovieByName(movie_cn_name);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addCommentCount(long movie_id) {
return this.movieMapper.addMovieCommentCount(movie_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer delCommentCount(long movie_id) {
return this.movieMapper.deleteMovieCommentCount(movie_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addMovie(Movie movie) {
return this.movieMapper.addMovie(movie);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteMovie(long movie_id) {
return this.movieMapper.deleteMovie(movie_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateMovie(Movie movie) {
return this.movieMapper.updateMovie(movie);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> findAllMovies(int movie_state) {
return this.movieMapper.findAllMovies(movie_state);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> findMoviesLikeName(String name) {
return this.movieMapper.findMoviesLikeName(name);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> findMoviesLikeType(String type) {
return this.movieMapper.findMoviesLikeType(type);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> sortMovieByDate() {
return this.movieMapper.sortMovieByDate();
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> sortMovieByCount() {
return this.movieMapper.sortMovieByCount();
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> sortMovieByScore() {
return this.movieMapper.sortMovieByScore();
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Movie> sortMovieByBoxOffice() {
return this.movieMapper.sortMovieByBoxOffice();
}
}
================================================
FILE: src/main/java/com/service/imp/OrderServiceImp.java
================================================
package com.service.imp;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Hall;
import com.entity.Order;
import com.entity.Schedule;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mapper.CinemaMapper;
import com.mapper.HallMapper;
import com.mapper.MovieMapper;
import com.mapper.OrderMapper;
import com.mapper.ScheduleMapper;
import com.mapper.UserMapper;
import com.service.IOrderService;
@Service
public class OrderServiceImp implements IOrderService{
@Autowired
private OrderMapper orderMapper;
@Autowired
private UserMapper userMapper;
@Autowired
private ScheduleMapper scheduleMapper;
@Autowired
private HallMapper hallMapper;
@Autowired
private MovieMapper movieMapper;
@Autowired
private CinemaMapper cinemaMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Order findOrderById(String order_id) {
Order order = this.orderMapper.findOrderById(order_id);
if(order != null) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}else {
order = null;
}
return order;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Order> findRefundOrderByUserName(String user_name) {
List<Order> list = this.orderMapper.findRefundOrderByUserName(user_name);
if(list.size() > 0) {
for(Order order : list) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}
}else {
list = null;
}
return list;
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addOrder(Order order) {
return this.orderMapper.addOrder(order);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateOrderStateToRefund(String order_id) {
return this.orderMapper.updateOrderStateToRefund(order_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateOrderStateToRefunded(String order_id) {
return this.orderMapper.updateOrderStateToRefunded(order_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Order> findOrdersByUserName(Integer page,Integer limit,String user_name) {
PageHelper.startPage(page, limit);
List<Order> list = this.orderMapper.findOrdersByUserName(user_name);
for(Order order : list) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}
PageInfo<Order> info = new PageInfo<Order>(list);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Order> findAllOrders() {
List<Order> list = this.orderMapper.findAllOrders();
for(Order order : list) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}
return list;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Order> findOrdersByState(Integer page,Integer limit,int order_state) {
PageHelper.startPage(page, limit);
List<Order> list = this.orderMapper.findOrdersByState(order_state);
for(Order order : list) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}
PageInfo<Order> info = new PageInfo<Order>(list);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Order> findAllOrdersBySplitPage(Integer page, Integer limit, String keyword) {
PageHelper.startPage(page, limit);
List<Order> list = new ArrayList<Order>();
if(keyword != null && !keyword.trim().equals("")) {
list = this.orderMapper.findOrdersByUserName(keyword);
}else {
list = this.orderMapper.findAllOrders();
}
for(Order order : list) {
order.setOrder_user(this.userMapper.findUserById(order.getUser_id()));
Schedule schedule = this.scheduleMapper.findScheduleById(order.getSchedule_id());
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
order.setOrder_schedule(schedule);
}
PageInfo<Order> info = new PageInfo<Order>(list);
return info;
}
}
================================================
FILE: src/main/java/com/service/imp/ScheduleServiceImp.java
================================================
package com.service.imp;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.Hall;
import com.entity.Order;
import com.entity.Schedule;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mapper.CinemaMapper;
import com.mapper.HallMapper;
import com.mapper.MovieMapper;
import com.mapper.OrderMapper;
import com.mapper.ScheduleMapper;
import com.service.IScheduleService;
@Service
public class ScheduleServiceImp implements IScheduleService{
@Autowired
private ScheduleMapper scheduleMapper;
@Autowired
private HallMapper hallMapper;
@Autowired
private MovieMapper movieMapper;
@Autowired
private OrderMapper orderMapper;
@Autowired
private CinemaMapper cinemaMapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public Schedule findScheduleById(long schedule_id) {
Schedule schedule = this.scheduleMapper.findScheduleById(schedule_id);
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
List<Order> list = this.orderMapper.findOrdersByScheduleId(schedule_id);
schedule.setOrderList(list);
return schedule;
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addSchedule(Schedule schedule) {
return this.scheduleMapper.addSchedule(schedule);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateSchedule(Schedule schedule) {
return this.scheduleMapper.updateSchedule(schedule);
}
/**
* 场次下架功能 而非删除
*/
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteSchedule(long schedule_id) {
return this.scheduleMapper.deleteSchedule(schedule_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addScheduleRemain(long schedule_id) {
return this.scheduleMapper.addScheduleRemain(schedule_id);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer delScheduleRemain(long schedule_id) {
return this.scheduleMapper.delScheduleRemain(schedule_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Schedule> findScheduleByMovieName(Integer page,Integer limit,String movie_name) {
PageHelper.startPage(page, limit);
List<Schedule> schedules = this.scheduleMapper.findScheduleByMovieName(movie_name);
for(Schedule schedule: schedules) {
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
List<Order> list = this.orderMapper.findOrdersByScheduleId(schedule.getSchedule_id());
schedule.setOrderList(list);
}
PageInfo<Schedule> info = new PageInfo<Schedule>(schedules);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Schedule> findOffScheduleByMovieName(Integer page, Integer limit, String movie_name) {
PageHelper.startPage(page, limit);
List<Schedule> schedules = this.scheduleMapper.findOffScheduleByMovieName(movie_name);
for(Schedule schedule: schedules) {
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
List<Order> list = this.orderMapper.findOrdersByScheduleId(schedule.getSchedule_id());
schedule.setOrderList(list);
}
PageInfo<Schedule> info = new PageInfo<Schedule>(schedules);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Schedule> findAllScheduleByState(Integer page,Integer limit,int schedule_state) {
PageHelper.startPage(page, limit);
List<Schedule> schedules = this.scheduleMapper.findScheduleByState(schedule_state);
for(Schedule schedule: schedules) {
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
List<Order> list = this.orderMapper.findOrdersByScheduleId(schedule.getSchedule_id());
schedule.setOrderList(list);
}
PageInfo<Schedule> info = new PageInfo<Schedule>(schedules);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<Schedule> findAllSchedule(Integer page,Integer limit) {
PageHelper.startPage(page, limit);
List<Schedule> schedules = this.scheduleMapper.findAllSchedule();
for(Schedule schedule: schedules) {
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
List<Order> list = this.orderMapper.findOrdersByScheduleId(schedule.getSchedule_id());
schedule.setOrderList(list);
}
PageInfo<Schedule> info = new PageInfo<Schedule>(schedules);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Schedule> findScheduleByCinemaAndMovie(long cinema_id, long movie_id) {
return this.scheduleMapper.findScheduleByCinemaAndMovie(cinema_id, movie_id);
}
/**
* selectSeat页面提供接口
*/
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<Schedule> findScheduleByCineamIdAndMovieId(long cinema_id, long movie_id) {
List<Schedule> list = this.scheduleMapper.findScheduleByCinemaAndMovie(cinema_id, movie_id);
for(Schedule schedule: list) {
Hall hall = this.hallMapper.findHallById(schedule.getHall_id());
hall.setHall_cinema(this.cinemaMapper.findCinemaById(hall.getCinema_id()));
schedule.setSchedule_hall(hall);
schedule.setSchedule_movie(this.movieMapper.findMovieById(schedule.getMovie_id()));
}
return list;
}
}
================================================
FILE: src/main/java/com/service/imp/UserServiceImp.java
================================================
package com.service.imp;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.entity.User;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.mapper.UserMapper;
import com.service.IUserService;
@Service
public class UserServiceImp implements IUserService{
@Autowired
private UserMapper usermapper;
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public User login(String user_name, String user_pwd) {
List<User> userList = usermapper.findUserByName(user_name);
for(User user : userList) {
if(user.getUser_pwd().equals(user_pwd)) {
return user;
}
}
return null;
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer updateUserInfo(User user) {
return this.usermapper.updateUser(user);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public User findUserById(long user_id) {
return this.usermapper.findUserById(user_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<User> findUserByName(String name) {
return this.usermapper.findUserByName(name);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer addUser(User user) {
return this.usermapper.addUser(user);
}
@Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception.class)
@Override
public Integer deleteUser(long user_id) {
return this.usermapper.deleteUser(user_id);
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public PageInfo<User> findAllUserBySplitPage(Integer page, Integer limit, String keyword) {
PageHelper.startPage(page, limit);
List<User> list = new ArrayList<User>();
if(keyword != null && !keyword.trim().equals("")) {
list = this.usermapper.findUserLikeName(keyword);
}else {
list = this.usermapper.findAllUser();
}
PageInfo<User> info = new PageInfo<User>(list);
return info;
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<User> findAllUserInfos() {
return this.usermapper.findAllUser();
}
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
@Override
public List<User> findUserLikeName(String name) {
return this.usermapper.findUserLikeName(name);
}
}
================================================
FILE: src/main/java/com/util/ResponseModel.java
================================================
package com.util;
/**
* 返回给浏览器的数据
* @param success 状态 true:成功 false:失败
* @param msg 提示信息
* @author Wxj
*/
public class ResponseModel {
private boolean success;
private String msg;
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
/**
* 默认成功
* @param msg
*/
public ResponseModel(String msg) {
this.setSuccess(true);
this.setMsg(msg);
}
public ResponseModel(boolean success,String msg) {
this.setSuccess(success);
this.setMsg(msg);
}
}
================================================
FILE: src/main/java/com/util/UUIDUtil.java
================================================
package com.util;
import java.util.UUID;
/**
* 生产唯一标识符
* @author Wxj
*/
public class UUIDUtil {
public static String getUUID() {
String str = UUID.randomUUID().toString();
str = str.replace("-", "");
return str;
}
}
================================================
FILE: src/main/java/com/util/test.java
================================================
package com.util;
import java.io.Console;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Random;
import com.alibaba.fastjson.JSONObject;
public class test {
public static void main(String[] args) {
// Date date = new Date();
// java.sql.Date zdate = new java.sql.Date(date.getYear(), date.getMonth(), date.getDay());
// System.out.println(date);
// System.out.println(zdate);
// for(int i = 0;i<20;i++) {
// float random = 5 + (new Random().nextFloat() * 4);
// DecimalFormat fnum = new DecimalFormat("##0.0");
// String score = fnum.format(random);
// //String rs = String.valueOf(random);
// System.out.println("score:" + score);
// }
// JSONObject obj = new JSONObject();
// JSONObject hallobj = new JSONObject();
// //ArrayList<String> cinemalist= new ArrayList<String>();
// for(int i = 0; i < 2;i++) {
// ArrayList<String> cinemalist= new ArrayList<String>();
// for(int j=0;j<2;j++) {
// cinemalist.add(String.valueOf(j+1)+"号厅");
// }
// hallobj.put("影院"+String.valueOf(i),cinemalist);
// }
// obj.put("cinema", hallobj);
// System.out.println(obj);
// JSONObject obj2 = obj.getJSONObject("cinema");
// //解析 1级
// System.out.println(obj2);
// //解析 2级
// ArrayList<String> halllist= new ArrayList<String>();
// halllist = (ArrayList<String>)obj2.get("影院0");
// System.out.println(halllist.get(0));
// ArrayList<Integer> arr = new ArrayList<Integer>();
// for(int i = 0;i < 5;i++) {
// arr.add(i);
// }
// System.out.println(arr.get(4));
// Date date = new Date();
// SimpleDateFormat dateFormat = new SimpleDateFormat("YYYYMMdd");
// String str = "";
// str += dateFormat.format(date);
// System.out.println(str);
// String [] str = {"3排4座","10排1座","5排12座","11排12座"};
// ArrayList<String> arr = new ArrayList<String>();
// for(int i = 0;i < str.length;i++) {
// //System.out.println(str[i].length());
// String index = "";
// switch(str[i].length()) {
// case 4:
// index = "0" + str[i].replaceAll("排", "0");
// index = index.replaceAll("座", "");
// break;
// case 5:
// if(str[i].charAt(2) >= 48 && str[i].charAt(2) <= 57) {
// index = "0" + str[i].replaceAll("排", "");
// index = index.replaceAll("座", "");
// }else {
// index = str[i].replaceAll("排", "0");
// index = index.replaceAll("座", "");
// }
// break;
// case 6:
// index = str[i].replaceAll("排", "");
// index = index.replaceAll("座", "");
// break;
// }
// arr.add(index);
// }
// System.out.println(arr);
//int price = 29;
//float box = (float)price /10000;
//System.out.println((float)price /10000);;
// DecimalFormat fnum = new DecimalFormat("##0.0000");
// String score = fnum.format(random);
ArrayList<Integer> arr = new ArrayList<>();
ArrayList<Integer> indexz = new ArrayList<>();
int num[] = {1,2,3,0,5,0,6};
for(int i = 0;i<num.length;i++) {
arr.add(num[i]);
}
for(int z = 0;z<arr.size();z++) {
if(arr.get(z) == 0) {
indexz.add(z);
}
}
System.out.println(arr);
System.out.println(indexz);
// arr.remove(3);
for(int y =0;y<indexz.size();y++) {
int test = 0;
int index = (indexz.get(y))-test;
System.out.println(index);
arr.remove(index);
test = test + 2;
}
System.out.println(arr);
}
}
================================================
FILE: src/main/resources/movie.sql
================================================
/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 50725
Source Host : localhost:3306
Source Schema : movie
Target Server Type : MySQL
Target Server Version : 50725
File Encoding : 65001
Date: 07/02/2020 15:24:12
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for cinema
-- ----------------------------
DROP TABLE IF EXISTS `cinema`;
CREATE TABLE `cinema` (
`cinema_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '影院编号',
`cinema_name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '影院名称',
`cinema_address` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '影院地址',
PRIMARY KEY (`cinema_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of cinema
-- ----------------------------
INSERT INTO `cinema` VALUES (1, '中山奇幻电影院', '石岐区岐头新村龙凤街4号大信溢彩荟二期8楼');
INSERT INTO `cinema` VALUES (2, '金逸影城中山石歧店', '石岐区大信南路2路大信新都汇5楼');
INSERT INTO `cinema` VALUES (3, '博纳国际影城(中山IMAX店)', '古镇区同兴路98号利和广场购物中心四楼4009号');
INSERT INTO `cinema` VALUES (4, 'UME影城(中山古镇店)', '古镇区中兴大道南一号花艺广场11层A区');
INSERT INTO `cinema` VALUES (5, '中影100影城石歧店', '石岐区康华路15号恒基大厦3楼');
INSERT INTO `cinema` VALUES (6, '橙天嘉禾影城(利和店)', '石岐区中山三路16号利和广场五层');
INSERT INTO `cinema` VALUES (7, '珠影GCC影城(中山杜比全景声店)', '火炬高技术产业开发区火炬开发区港城路7号明珠广场二期');
INSERT INTO `cinema` VALUES (8, '期遇·翼影城(东凤店)', '东凤镇东富路81号大顺时尚荟广场B座四楼(原君信大厦)');
INSERT INTO `cinema` VALUES (9, '中山IM电影城(南朗壹加壹店)', '南朗镇岭南路62号新壹加壹4楼');
INSERT INTO `cinema` VALUES (10, '艺达国际影城(小榄杜比全景声店)', '小榄镇新华中路118号大信新都汇118广场4楼');
INSERT INTO `cinema` VALUES (11, '中影天乐电影城(海州汇海城店)', '古镇镇古镇海州市场汇海城北门电梯5楼(星海湾对面)');
INSERT INTO `cinema` VALUES (12, '比高电影城(中山店)', '坦洲镇坦神北路118号皇爵假日广场4楼');
INSERT INTO `cinema` VALUES (13, '大地影院(星宝时代店)', '沙溪镇乐群坎溪村(星宝路6号星宝时代广场)');
INSERT INTO `cinema` VALUES (14, '中影星艺影城(南朗车站店)', '南朗镇南朗车站2楼');
INSERT INTO `cinema` VALUES (15, '中影太阳城影院(张家边店)', '火炬高技术产业开发区东镇东一路23号太阳城购物中心4楼(近群英华庭)');
INSERT INTO `cinema` VALUES (16, '五月花电影城(棕榈彩虹商业中心店)', '西区街道棕榈彩虹商业中心1座三楼(近新中医院)');
INSERT INTO `cinema` VALUES (17, '高菲影城(中山万益广场店)', '板芙镇迎宾大道8号(万益广场店)');
INSERT INTO `cinema` VALUES (18, '金逸影城(中山远洋城IMAX店)', '东区街道博爱六路28号远洋广场3幢大信新都汇4楼');
-- ----------------------------
-- Table structure for comment
-- ----------------------------
DROP TABLE IF EXISTS `comment`;
CREATE TABLE `comment` (
`comment_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '评论编号',
`user_id` bigint(10) NOT NULL COMMENT '所属用户编号',
`comment_content` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '评论内容',
`movie_id` bigint(10) NOT NULL COMMENT '所属电影编号',
`comment_time` datetime(0) NOT NULL COMMENT '评论时间',
PRIMARY KEY (`comment_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 57 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of comment
-- ----------------------------
INSERT INTO `comment` VALUES (3, 1, '不容错过1', 3, '2020-02-06 16:10:38');
INSERT INTO `comment` VALUES (4, 1, '车开电车侧壁如履平地,足踢卫星返回舱一脚拯救东京,我看柯南跟吴京此生必有一战吧', 4, '2019-07-13 11:15:01');
INSERT INTO `comment` VALUES (5, 1, '看到最后一直在想真正的主角【皮球】怎么还不登场,结果果然没有让我失望。哦对,主役是皮球的话,二番就是安室的车了吧。', 5, '2019-07-13 11:15:14');
INSERT INTO `comment` VALUES (7, 1, '东南亚电影院的观众们同时发出了杠铃般的笑声', 7, '2019-07-13 04:31:17');
INSERT INTO `comment` VALUES (8, 1, '谁要看你们检察院公安撕逼 我操 还我黑衣人组织', 8, '2019-07-13 11:15:51');
INSERT INTO `comment` VALUES (9, 1, '咸水族的那个帝王蟹,好像很好吃的样子!', 9, '2019-07-13 11:16:17');
INSERT INTO `comment` VALUES (10, 1, '还行,没吹得那么好,有点像强化娱乐性的海底版《黑豹》...故事线极其简单,打戏遍布扩成了143分钟的篇幅,对路人非常友好,不过这类过度炫目眼花缭乱的特效已经越看越麻木,什么海底《阿凡达》吹太过了,坐等《阿凡达2》的潘多拉海底世界吊打吧', 10, '2019-07-13 11:16:34');
INSERT INTO `comment` VALUES (12, 2, '女王:维科,这是我大儿子,剩下的话不用我多说了吧,以后该怎么办,你自己招子放亮一点,好处不会少了你的。维科:晓得了。zz', 2, '2019-07-20 02:21:17');
INSERT INTO `comment` VALUES (13, 2, '东有沉香劈山救母,西有海娃寻叉救母。绿色秋裤哲学变身,刺身放题海底大战。同母异父兄弟相残,弟妹大伯不伦之恋。温子仁携手徐锦江,亚裔之光拯救好莱坞!', 3, '2019-07-13 11:28:40');
INSERT INTO `comment` VALUES (14, 2, '2.5 “我的恋人,就是这个国家啊!”———————好久没有听到这么烂的话了', 4, '2019-07-13 11:33:21');
INSERT INTO `comment` VALUES (15, 2, '今年的柯南剧场版好无聊啊。。后面那段飙车简直夸张到无法理解,故事最后的反转也很让人无语,完全是多此一举,没有好的剧本就别拍了好吗,估计上映了也捞不到太多票房。ps:韩语版的柯南真的让人看得别扭不舒服..', 5, '2019-07-13 11:35:46');
INSERT INTO `comment` VALUES (16, 2, '渔夫和灯塔守护多数是鳏夫,私下里经常养一些人鱼交欢。海洋远比陆地深远得多,人们赞美阳光下的海洋,却不知深夜降临海面上会冒出可怕的妖怪,海底也会藏着嘲笑人类的高级文明。所以!温子仁同样是一个借大热系列ip来讲自己故事的导演!', 6, '2019-07-13 11:36:08');
INSERT INTO `comment` VALUES (17, 2, '海王可能要被微博营销号给奶死了。。。', 7, '2019-07-13 11:36:14');
INSERT INTO `comment` VALUES (18, 2, '当陆地人为自己的文明沾沾自喜时,亚特兰蒂斯的服装设计已经领先我们几百年。', 8, '2019-07-13 11:36:41');
INSERT INTO `comment` VALUES (19, 2, '温子仁就像一个从没拍过特效大片的暴发户。两星半,降降火。', 9, '2019-07-13 11:36:50');
INSERT INTO `comment` VALUES (20, 2, '剧本,导演都有问题,很多片段都似曾相识,硬是凑了两个半小时真是辛苦了我的膀胱。然而剧情不够美工来凑,海底阿凡达,温子仁难担大任,DC要超越漫威还有很长的路要走。', 10, '2019-07-13 11:36:58');
INSERT INTO `comment` VALUES (21, 3, '故事果然还是DC常规水准,营销能力那真是突飞猛进了,有点好奇温子仁拍西游记定海神针篇会是什么效果。本马王粉反而觉得本片最帅的是前面拉了皮的威廉达福……', 2, '2019-07-13 11:37:32');
INSERT INTO `comment` VALUES (22, 3, '前面的小男孩突然问起诉是什么意思,我就在想这个故事小孩看得懂吗?动作场景依然需要帮忙按住牛顿的棺材板。', 4, '2019-07-13 11:37:43');
INSERT INTO `comment` VALUES (23, 3, '7分。温子仁确实很厉害,原以为这该是系列中最无趣的一部,尤其各种水下戏份。结果,却难得拍的很好看。影片节奏感和大场面掌控上,确实很见功力。以及,温子仁还融入了很多他自己的趣味,也算很有趣的细节了。整体可看性还不错,就是略长了,海底的光怪陆离,看久了也会有些视觉疲劳。', 5, '2019-07-13 11:38:06');
INSERT INTO `comment` VALUES (24, 3, '渔夫和灯塔守护多数是鳏夫,私下里经常养一些人鱼交欢。海洋远比陆地深远得多,人们赞美阳光下的海洋,却不知深夜降临海面上会冒出可怕的妖怪,海底也会藏着嘲笑人类的高级文明。所以!温子仁同样是一个借大热系列ip来讲自己故事的导演!', 3, '2019-07-13 11:38:35');
INSERT INTO `comment` VALUES (25, 3, '故事老套了一点 但是昨晚我的主要任务是努力让自己不要在影院里发大水…Jason太尼玛适合这个角色了,就算他能轻而易举的把我操坏我也心甘情愿地承受这份痛苦', 9, '2019-07-13 11:39:10');
INSERT INTO `comment` VALUES (26, 4, '飞机里的那一段是纪念,也是传承。钢铁侠说过,我们做的一切其实并不重要,重要的是我们选择给后代留下什么。而蜘蛛侠是托尼留给我们最好的遗产。', 10, '2019-07-13 11:39:30');
INSERT INTO `comment` VALUES (27, 4, '多年以后,面对敌人,蜘蛛侠彼得·帕克将会回想起,托尼·斯塔克带他见识超级英雄们的那个遥远的下午。 两个彩蛋比正片有意思', 7, '2019-07-13 11:39:41');
INSERT INTO `comment` VALUES (28, 4, '轻轻松松、啪啪砰砰,这样的超级英雄电影不挺好?温子仁真DC良心大管家——从头到尾堆特效,经费才烧1.6亿!欣赏不来海王徐锦江,51岁的妮可真的美炸了~~~~~', 6, '2019-07-13 11:39:57');
INSERT INTO `comment` VALUES (29, 4, '天空属于卢卡斯 陆地属于杰克逊 海洋属于温子仁!!!', 2, '2019-07-13 11:40:13');
INSERT INTO `comment` VALUES (30, 4, '特效和场景都非常不错,但是剧情和主角都非常不真实,唯一的真实人类就是那个收到新衣服以后改颜色镶铆钉的生命力很旺盛的青蛙反派。', 8, '2019-07-13 11:40:20');
INSERT INTO `comment` VALUES (32, 5, '3.5;失落的亚特兰蒂斯之国,古远传说提供与一般超英片迥异的丰富背景,DC另辟蹊径,开启美妙神秘的水下世界,星站兵密集,温子仁不负众望且适时塞私货,海沟一战jump scare其乐无穷。视效惊人,音效震人,抛却鸡汤亲情,大场面调度甚是过瘾。妮可基德曼真·女神,形象太契合。', 2, '2019-07-13 11:41:14');
INSERT INTO `comment` VALUES (33, 5, '我宣布!2018就是骨科文艺复兴之年!!!', 9, '2019-07-13 11:41:29');
INSERT INTO `comment` VALUES (38, 2, '毒液好丑啊', 1, '2019-07-21 06:40:43');
INSERT INTO `comment` VALUES (39, 4, '哇,这个毒液真的丑,但是女主真的好看!', 1, '2019-07-21 08:59:44');
INSERT INTO `comment` VALUES (40, 6, '以为是R级片,结果是儿童片。汤老湿毫无邪气只有痞气,把一个反派英雄演得正气凛然到闷,而且毒液跟《寄生兽》一样竟然养着养着就变宠物了77', 1, '2019-07-21 09:04:27');
INSERT INTO `comment` VALUES (41, 5, '无名之辈@@', 3, '2019-07-21 09:05:03');
INSERT INTO `comment` VALUES (42, 5, '你好之华', 5, '2019-07-21 09:05:46');
INSERT INTO `comment` VALUES (43, 6, '你的眼睛像火蜥蜴是我笨拙的情话,疯子离开懦夫是她最凶的咒骂,交换亲人让我的愧疚在博格特前显形,歃血为盟使我的爱在厄里斯镜里再现。点金石可以长生,纳吉尼终会成兽,爱心咒语不能保证天长地久,万咒皆终无法阻止核爆之灾。听说魔法世界也有很多爱恨与无奈,麻瓜世界里今年我的入学信还是被寄丢。', 2, '2019-07-21 09:06:34');
INSERT INTO `comment` VALUES (44, 6, '活人办了葬礼,死人偏剩一口气。手机那头她是暗夜里绽放的花,天台边缘她是绝路尽头的桥。两个抢手机模型的憨皮,却无比清醒地看到对方的痴,何惧陷阱,哪管嫌疑。有的人是还没剥开的蛋壳,有的人是胸口夹带的铁板,有的人是虚张声势的水枪,有的人是无法愈合的伤口。几分痴憨皆是勇,几句咒骂都是爱。', 3, '2019-07-21 09:07:47');
INSERT INTO `comment` VALUES (45, 3, '毒液好恶心,快看吐了。', 1, '2019-07-21 09:08:33');
INSERT INTO `comment` VALUES (46, 6, '在岩井俊二的作品里算不上好,但也不差。里面的“时空信息传递”、“替身与错位”,看似是《情书》的反面,实则挖掘的是家庭代际的空间,引出稍显过满的群戏——每个角色都有互文关系。演员方面重点夸下金马提名的张子枫,没想到她竟是戏眼,两次落泪都是因为她。', 5, '2019-07-21 09:08:54');
INSERT INTO `comment` VALUES (47, 3, '允儿来了zz', 1, '2019-07-21 09:09:21');
INSERT INTO `comment` VALUES (48, 6, '顶顶顶', 4, '2019-07-21 09:09:23');
INSERT INTO `comment` VALUES (49, 6, '别想着拍给年轻人看,拍给人看行不行。', 15, '2019-07-21 09:10:12');
INSERT INTO `comment` VALUES (50, 6, '古天乐又缺钱建学校了', 16, '2019-07-21 09:10:38');
INSERT INTO `comment` VALUES (51, 6, '以为玩三就完结甚至不敢期待怕失望,然而完全是惊喜。新元素加入很出彩,Woody找到归属,我的玩具系列完美结局。', 17, '2019-07-21 09:11:04');
INSERT INTO `comment` VALUES (52, 6, '有点泰国惊悚片的味道了,说实话我好几次被吓的冷汗都出来了;虽然有一些场景还是感觉逻辑不通,但至少画面和节奏不渣。本来我都不知道这部电影,但是我对象说要看,那就看了这部,现在的问题是,他不在家的时候我怎么办?', 18, '2019-07-21 09:11:39');
INSERT INTO `comment` VALUES (53, 6, '一个悲伤的故事:太阳都要毁灭,地球都要流浪了,我国的校服还是这么丑......', 20, '2019-07-21 09:12:06');
INSERT INTO `comment` VALUES (54, 6, '不拍妓女三部曲的陈果就不是陈果了。电影拍得跟开玩笑一样。就像故事的走向,演员的演法,都带着些玩世不恭。而这不是诙谐是轻佻。观众并不想看你们在大银幕开玩笑。', 21, '2019-07-21 09:12:31');
INSERT INTO `comment` VALUES (55, 3, '我的青春也全都是你呀', 26, '2019-07-21 09:19:26');
INSERT INTO `comment` VALUES (56, 3, '我是superAdmin,欢迎大家评论', 1, '2020-02-06 15:00:54');
-- ----------------------------
-- Table structure for hall
-- ----------------------------
DROP TABLE IF EXISTS `hall`;
CREATE TABLE `hall` (
`hall_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '放映厅编号',
`hall_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '放映厅名称',
`hall_capacity` int(10) NOT NULL DEFAULT 144 COMMENT '放映厅容量 默认为144 12 x 12 ',
`cinema_id` bigint(10) NOT NULL COMMENT '所属影院编号',
PRIMARY KEY (`hall_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of hall
-- ----------------------------
INSERT INTO `hall` VALUES (1, '1号厅', 144, 1);
INSERT INTO `hall` VALUES (2, '1号厅', 144, 2);
INSERT INTO `hall` VALUES (3, '1号厅', 144, 3);
INSERT INTO `hall` VALUES (4, '1号厅', 144, 4);
INSERT INTO `hall` VALUES (5, '1号厅', 144, 5);
INSERT INTO `hall` VALUES (6, '1号厅', 144, 6);
INSERT INTO `hall` VALUES (7, '2号厅', 144, 1);
INSERT INTO `hall` VALUES (8, '2号厅', 144, 2);
INSERT INTO `hall` VALUES (9, '2号厅', 144, 3);
INSERT INTO `hall` VALUES (10, '2号厅', 144, 4);
INSERT INTO `hall` VALUES (11, '2号厅', 144, 5);
INSERT INTO `hall` VALUES (12, '2号厅', 144, 6);
INSERT INTO `hall` VALUES (13, '3号厅', 144, 1);
INSERT INTO `hall` VALUES (14, '1号厅', 144, 7);
INSERT INTO `hall` VALUES (15, '1号厅', 144, 8);
INSERT INTO `hall` VALUES (16, '1号厅', 144, 9);
INSERT INTO `hall` VALUES (17, '1号厅', 144, 10);
INSERT INTO `hall` VALUES (18, '1号厅', 144, 11);
INSERT INTO `hall` VALUES (19, '1号厅', 144, 12);
INSERT INTO `hall` VALUES (20, '1号厅', 144, 13);
INSERT INTO `hall` VALUES (21, '1号厅', 144, 14);
INSERT INTO `hall` VALUES (22, '1号厅', 144, 15);
INSERT INTO `hall` VALUES (23, '1号厅', 144, 16);
INSERT INTO `hall` VALUES (24, '1号厅', 144, 17);
INSERT INTO `hall` VALUES (25, '1号厅', 144, 18);
INSERT INTO `hall` VALUES (26, '2号厅', 144, 7);
INSERT INTO `hall` VALUES (27, '2号厅', 144, 8);
INSERT INTO `hall` VALUES (28, '2号厅', 144, 9);
INSERT INTO `hall` VALUES (29, '2号厅', 144, 10);
INSERT INTO `hall` VALUES (30, '2号厅', 144, 11);
INSERT INTO `hall` VALUES (31, '2号厅', 144, 12);
INSERT INTO `hall` VALUES (32, '2号厅', 144, 13);
INSERT INTO `hall` VALUES (33, '2号厅', 144, 14);
INSERT INTO `hall` VALUES (34, '2号厅', 144, 15);
INSERT INTO `hall` VALUES (35, '2号厅', 144, 16);
INSERT INTO `hall` VALUES (36, '2号厅', 144, 17);
INSERT INTO `hall` VALUES (37, '2号厅', 144, 18);
INSERT INTO `hall` VALUES (38, '3号厅', 144, 3);
INSERT INTO `hall` VALUES (39, '3号厅', 144, 5);
INSERT INTO `hall` VALUES (40, '3号厅', 144, 7);
INSERT INTO `hall` VALUES (41, '3号厅', 144, 10);
INSERT INTO `hall` VALUES (42, '3号厅', 144, 11);
INSERT INTO `hall` VALUES (43, '3号厅', 144, 15);
INSERT INTO `hall` VALUES (44, '3号厅', 144, 18);
INSERT INTO `hall` VALUES (45, 'IMAX厅', 144, 1);
INSERT INTO `hall` VALUES (46, 'IMAX厅', 144, 3);
INSERT INTO `hall` VALUES (47, 'IMAX厅', 144, 8);
INSERT INTO `hall` VALUES (48, 'IMAX厅', 144, 12);
INSERT INTO `hall` VALUES (49, 'IMAX厅', 144, 14);
INSERT INTO `hall` VALUES (50, 'IMAX厅', 144, 16);
INSERT INTO `hall` VALUES (51, 'IMAX厅', 144, 17);
-- ----------------------------
-- Table structure for movie
-- ----------------------------
DROP TABLE IF EXISTS `movie`;
CREATE TABLE `movie` (
`movie_id` bigint(10) NOT NULL AUTO_INCREMENT COMMENT '电影编号',
`movie_cn_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电影名称(中文)',
`movie_fg_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电影名称(外语)',
`movie_actor` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影演职人员',
`movie_director` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影导演',
`movie_detail` varchar(350) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影详情',
`movie_duration` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影时长',
`movie_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影类型',
`movie_score` float(10, 1) NULL DEFAULT 0.0 COMMENT '电影评分 默认为0',
`movie_boxOffice` float(10, 4) NULL DEFAULT 0.0000 COMMENT '电影票房 默认为0',
`movie_commentCount` bigint(10) NULL DEFAULT 0 COMMENT '电影参评人数 默认为0',
`movie_releaseDate` date NOT NULL COMMENT '电影上映时间',
`movie_country` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影制片地区',
`movie_picture` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '电影海报',
`movie_state` int(3) NOT NULL DEFAULT 1 COMMENT '电影状态 默认为1 1:在线 0:下架',
PRIMARY KEY (`movie_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of movie
-- ----------------------------
INSERT INTO `movie` VALUES (1, '毒液:致命守护者', 'Venom', '汤姆·哈迪:埃迪·布洛克/毒液,米歇尔·威廉姆斯:安妮·韦英', '鲁本·弗雷斯彻', '身为记者的埃迪·布洛克(汤姆·哈迪饰)在调查生命基金会老板卡尔顿·德雷克(里兹·阿迈德饰)的过程中,事业遭受重创,与未婚妻安妮·韦英(米歇尔·威廉姆斯饰)的关系岌岌可危,并意外被外星共生体控制,他历经挣扎对抗,最终成为拥有强大超能力,无人可挡的“毒液“', '107分钟', '动作,科幻', 7.2, 1.0220, 6, '2019-06-24', '美国', '../upload/movies/Venom.jpg', 1);
INSERT INTO `movie` VALUES (2, '神奇动物:格林德沃之罪', 'Fantastic Beasts: The Crimes of Grindelwald', '埃迪·雷德梅恩:纽特·斯卡曼德,凯瑟琳·沃特斯顿:蒂娜‧戈德斯坦,约翰尼·德普:盖勒·格林德沃', '大卫·叶茨', '在《神奇动物在那里》第一部的结尾,纽特·斯卡曼德(埃迪·雷德梅恩 饰)协助美国魔法国会,将强大的黑巫师盖勒特·格林德沃(约翰尼·德普 饰)抓捕归案。但格林德沃不久便兑现狂言成功越狱,并开始纠集信徒,着手实现他们的邪恶目的:让纯血统的巫师成为统治阶层,镇压一切非魔法生物。为挫败格林德沃的阴谋,阿不思·邓布利多(裘德·洛 饰)向昔日的学生纽特·斯卡曼德寻求帮助。纽特欣然允诺,却没有意识到,他将踏上的会是一段充满艰险的未来征途。此时的魔法世界面临空前的分裂乱局,阶层鸿沟日益加深,爱与忠诚备受考验,至亲好友也可能反目成仇……', '134分钟', '奇幻,冒险', 7.7, 1.0236, 5, '2019-06-25', '美国', '../upload/movies/Fantastic Beasts.jpg', 1);
INSERT INTO `movie` VALUES (3, '无名之辈', 'A Cool Fish', '陈建斌:马先勇,任素汐:马嘉旗,潘斌龙:李海根', '饶晓志', '在一座山间小城中,一对低配劫匪、一个落魄的泼皮保安、一个身体残疾却性格彪悍的残毒舌女以及一系列生活在社会不同轨迹上的小人物,在一个貌似平常的日子里,因为一把丢失的老枪和一桩当天发生在城中的乌龙劫案,从而被阴差阳错地拧到一起,发生的一幕幕令人啼笑皆非的荒诞喜剧', '108分钟', '荒诞,喜剧', 9.2, 1.0315, 5, '2019-07-05', '中国大陆', '../upload/movies/A Cool Fish.jpg', 1);
INSERT INTO `movie` VALUES (4, '名侦探柯南:零的执行人', '名探偵コナン ゼロの執行人', '高山南:江户川柯南,山崎和佳奈:毛利兰,林原惠美:灰原哀', '立川让', '5月1日,东京湾边的新建筑“海洋边缘”将举办首脑云集的东京峰会。然而,峰会开办前一周,会场发生超大规模的爆炸事件,并出现了安室透的身影。疑似恐怖袭击的事件引起了警察部门的严肃调查。在警察局大型搜查会议上,公安部门提交证物,却发现疑犯指纹与毛利小五郎(小山力也 配音)指纹吻合。作为律师的妃英理努力收集证据证明丈夫的无辜,却无力阻止毛利小五郎被收监。看到毛利兰(山崎和佳奈 配音)绝望哭泣的样子,柯南(高山南 配音)决定调查事件真相,还毛利小五郎清白。另一方面,少年侦探团的孩子们正紧密关注着无人探测器“天鹅”的回航任务。行踪诡异的安室透、惨遭陷害的毛利小五郎、错综复杂的警察部门、即将着陆的无人探测器;随着“机密任务”进入倒计时,关乎整个东京的可怕计划拉开帷幕…', '111分钟', '悬疑,冒险,动画', 8.5, 1.0064, 4, '2019-07-13', '日本', '../upload/movies/名探偵.jpg', 1);
INSERT INTO `movie` VALUES (5, '你好,之华', 'Last Letter', '周迅:袁之华,秦昊:尹川,杜江:周文涛', '岩井俊二', '有人慌张得见面,有人简单地告别。姐姐袁之南离世的那个清晨,只匆匆留下一封信和一张同学会邀请函。妹妹之华(周迅 饰)代替姐姐参加,却意外遇见年少时的倾慕对象尹川(秦昊 饰)。往日的记忆在苏醒,但再次相见,已物是人非', '114分钟', '爱情', 7.9, 1.0000, 5, '2019-07-20', '中国大陆、日本', '../upload/movies/Last Letter.jpg', 1);
INSERT INTO `movie` VALUES (6, '恐龙王', 'DINO KING', '吕佩玉:钢妈,王衡:斑大师,孙晔:八百度', '施雅雅', '陆地霸主特暴龙“斑大师”和自己的小儿子“小疙瘩”生活在一起。“小疙瘩”自幼失去了母亲,生性懦弱,严厉的“斑大师”虽然心底十分疼爱自己的孩子,但是急于让“小疙瘩”成长为新的陆地霸主,常常忍不住责骂“小疙瘩”,父子俩虽然相依为命,却始终有一些隔阂。 一天“小疙瘩”被几只邪恶的恐爪龙抓走,“斑大师”踏上漫漫的寻子之路,路途中他结识了有高度近视眼的美甲龙“八百度”,两人穿过“巨蝎峡”、走出“长颈龙绿洲”、踏上火山峡谷,经历了重重难关。而身处险境的“小疙瘩”也结识了一些新的朋友,并且开始和邪恶的恐爪龙斗智斗勇。最终父子两人终于相见,但是却不得不一起面对一个更加凶恶的史前怪物……', '95分钟', '喜剧,动画,冒险', 8.9, 1.0000, 2, '2018-12-10', '中国大陆', '../upload/movies/DINO KING.jpg', 0);
INSERT INTO `movie` VALUES (7, '冰封侠:时空行者', 'Bing Feng Xia II', '甄子丹:贺英,黄圣依:小美,王宝强:萨獒', '叶伟民', '明朝大将军贺英(甄子丹 饰)利用时空金球终于重返明朝,与锦衣卫兄弟萨獒(王宝强 饰)获悉了倭寇和朝廷奸党之间足以倾覆皇权的密谋,绵延400年的惊天危机一触即发。贺英也在红颜知己小美(黄圣依 饰)的帮助下开始了抗倭锄奸和保护族人的战斗', '87分钟', '剧情,动作', 4.1, 1.0000, 3, '2018-09-02', '中国大陆', '../upload/movies/Bing Feng Xia II.jpg', 0);
INSERT INTO `movie` VALUES (8, '梦境之源', 'Source of Dreams', '陈志朋:徐朗,颜丹晨:李雪,方中信:梁文道', '柳珂', '货车司机李昂由于童年时代内向懦弱,颓废度日,频频做噩梦,严重影响了正常的生活,并因此不得不接受心理医生曹井润的催眠治疗,却在梦境中意外卷入一场凶杀案。睿智破案的警探成为凶手,而真正的幕后黑手仍在逍遥法外……', '90分钟', '悬疑,推理', 5.9, 1.0000, 3, '2018-11-16', '中国大陆', '../upload/movies/Source of Dreams.jpg', 0);
INSERT INTO `movie` VALUES (9, '摘金奇缘', 'Crazy Rich Asians', '吴恬敏:朱瑞秋,亨利·戈尔丁:杨尼克,杨紫琼:杨爱莉', '朱浩伟', '新加坡富二代王子杨尼克(亨利·戈尔丁饰)自豪地带着美丽大方、学识傲人的女友朱瑞秋(吴恬敏饰)回家见亲友。而这个巨富大家族对朱瑞秋的态度,与她的想像相差十万八千里远,朱瑞秋一开始以为只是跟深爱的男人轻松浪漫地度假,不料却面对排山倒海般的压力,她必须坚强应对一群有心机的情敌和反对者,但更难搞的竟然是她的准婆婆杨爱莉(杨紫琼饰),因为埃莉诺认为朱瑞秋这个现代美国女孩永远都高攀不上她们家', '120分钟', '喜剧,爱情', 6.1, 1.0000, 4, '2018-11-30', '美国', '../upload/movies/Crazy Rich Asians.jpg', 0);
INSERT INTO `movie` VALUES (10, '海王', 'Aquaman', '杰森·莫玛:海王/亚瑟·库瑞,艾梅柏·希尔德:海后/湄拉,威廉·达福:努迪斯·维科', '温子仁', '在一场狂风暴雨的海边灯塔看守人汤姆·库瑞(特穆拉·莫里森饰)救了受伤的亚特兰蒂斯女王亚特兰娜(妮可·基德曼饰)之后,他们相爱了,生下了拥有半人类、半亚特兰蒂斯人的血统亚瑟·库瑞(杰森·莫玛饰)。为了救自己的爱人和儿子亚特兰娜选择了离开。\r\n几年之后,亚特兰娜被迫回到海底国家缔结政治婚姻,生下儿子奥姆(帕特里克·威尔森饰)。奥姆长大后当上国王对陆地人类充满憎恨,开始吞并海底中发展中的国家的兵力,一举消灭陆地人。奥姆的未婚妻海底王国泽贝尔公主湄拉(艾梅柏·希尔德饰)打算阻止这场战争,她到陆地找回亚瑟,让他以亚特兰娜女王长子身份回亚特兰蒂斯把王位争回来,而且湄拉要协助亚瑟找回能统治大海的失落的三叉戟', '143分钟', '动作,科幻', 7.6, 1.0000, 3, '2018-12-07', '美国、澳大利亚', '../upload/movies/Aquaman.jpg', 0);
INSERT INTO `movie` VALUES (15, '素人特工', 'The Rookies', '王大陆:赵风,张榕容:淼淼', '袁锦麟', '极限运动达人赵风(王大陆 饰),误打误撞闯入了一场国际犯罪交易,不得不跟随国际特工(米拉·乔沃维奇 饰)一起前往布达佩斯。在这里他与废柴刑警淼淼(张榕容 饰)、民间科学家丁山(许魏洲 饰)与待业医生LV(刘美彤 饰)组成一支素人特工小队。这四个特工小白和高级国际特攻米拉一起,与恐怖分子开启了一场又惊又喜的斗争。', '113分钟', '喜剧,动作,冒险', 7.2, 1.0000, 1, '2019-07-12', '中国大陆', '../upload/movies/素人特工.jpg', 1);
INSERT INTO `movie` VALUES (16, '追龙Ⅱ', 'Chasing the Dragon Ⅱ', '梁家辉:龙志强,古天乐:何天', '王晶', '悍匪龙志强(梁家辉 饰),在香港回归前,趁香港英政府不作为,而屡犯巨案,先后绑架富豪利家及雷家之长子,勒索超过二十亿元,事主怕被报复, 交赎款后都不敢报警。中国公安部极为关注,与香港警方合力,派香港警员何天(古天乐 饰)卧底潜入龙志强犯罪团伙,发现他正策划绑架澳门富豪贺不凡,最终陆港警察合力勇擒龙志强,救出贺不凡', '103分钟', '犯罪,剧情,动作', 7.9, 1.0000, 1, '2019-06-06', '中国大陆、中国香港', '../upload/movies/追龙Ⅱ.jpg', 1);
INSERT INTO `movie` VALUES (17, '玩具总动员4', 'Toy Story 4', '汤姆·汉克斯:胡迪,蒂姆·艾伦:巴斯光年', '乔什·库雷', '当邦妮将所有玩具带上房车家庭旅行时,胡迪(汤姆·汉克斯 配音)与伙伴们将共同踏上全新的冒险之旅,领略房间外面的世界有多广阔,甚至偶遇老朋友牧羊女(安妮·波茨 配音)。在多年的独自闯荡中,牧羊女已经变得热爱冒险,不再只是一个精致的洋娃娃。正当胡迪和牧羊女发现彼此对玩具的使命的意义大相径庭时,他们很快意识到更大的威胁即将到来。', '100分钟', '喜剧,动画,奇幻', 9.1, 1.0000, 1, '2019-06-21', '美国', '../upload/movies/玩具总动员4.jpg', 1);
INSERT INTO `movie` VALUES (18, '碟仙', 'Mortal Ouija', '黄奕:梦瑶,范逸臣:项天', '廉涛', '以网络直播为业的单亲妈妈梦瑶(黄奕 饰)带着上幼儿园的女儿雯雯住进了一栋便宜的学区房,然而,屋里的诡异氛围,与不时散发的奇怪恶臭,令梦瑶感到不安。某夜,雯雯竟然在梦游中,玩了前租客遗留的“碟仙”游戏。传说只要玩过的人,七日内必会被碟仙夺命!紧接着,屋内接连发生令人毛骨悚然的怪事。七日大限将至,眼看爱女危在旦夕,为了解开碟仙诅咒,夺回女儿,绝望的妈妈不惜做出了惊人的举动……', '83分钟', '恐怖,惊悚', 7.9, 1.0056, 1, '2019-06-21', '中国大陆', '../upload/movies/碟仙.jpg', 1);
INSERT INTO `movie` VALUES (19, '扫毒', 'The White Storm', '古天乐:苏建秋,刘青云:马昊天', '陈木胜', '以马昊天(刘青云 饰)为首的毒品调查科,与手下张子伟(张家辉 饰)和卧底苏建秋(古天乐 饰)在执行一次跨国的大型扫毒行动中,被毒犯巨头八面佛(卢海鹏 饰)暗中揭发反埋伏,最终全军覆没。面对生死关头,三位主角为求活存,被迫命运扭转,展开一场残酷的人生战役。', '134分钟', '剧情,犯罪', 8.9, 1.0000, 0, '2018-11-21', '中国大陆、中国香港', '../upload/movies/扫毒.jpg', 0);
INSERT INTO `movie` VALUES (20, '流浪地球', 'The Wandering Earth', '吴京:刘培强,屈楚萧:刘启', '郭帆', '近未来,科学家们发现太阳急速衰老膨胀,短时间内包括地球在内的整个太阳系都将被太阳所吞没。为了自救,人类提出一个名为“流浪地球”的大胆计划,即倾全球之力在地球表面建造上万座发动机和转向发动机,推动地球离开太阳系,用2500年的时间奔往另外一个栖息之地。中国航天员刘培强在儿子刘启四岁那年前往国际空间站,和国际同侪肩负起领航者的重任。转眼刘启长大,他带着妹妹朵朵偷偷跑到地表,偷开外公韩子昂的运输车,结果不仅遭到逮捕,还遭遇了全球发动机停摆的事件。为了修好发动机,阻止地球坠入木星,全球开始展开饱和式营救,连刘启他们的车也被强征加入。在与时间赛跑的过程中,无数的人前仆后继,奋不顾身,只为延续百代子孙生存的希望…… 本片根据刘慈欣的同名小说改编。', '125分钟', '剧情,冒险,科幻', 9.2, 1.0000, 1, '2019-07-05', '中国大陆、中国香港', '../upload/movies/流浪地球.jpg', 1);
INSERT INTO `movie` VALUES (21, '九龙不败', 'The Invincible Dragon', '张晋:九龙', '陈果', '警探九龙(张晋 饰),查案方式奇异狠辣却屡建奇功,是叱咤香港警界的精英干探, 但他处事独断爆裂,又被警队视为“偏执狂人”。九龙奉命调查一桩妙龄女警连环被凶杀 案,用尽手段后不仅毫无线索, 他的警花未婚妻方宁(邓丽欣 饰)竟然也在这场抓捕行动中意外失踪。在爱与痛的边缘挣扎的九龙,突然发现女警连环遇害只是第一步,凶手还有着更加血腥的阴谋,自己和未婚妻竟然也被算计其中。此时澳门再度发生女警被杀案,这次的作案手法更加令人发指,但凶手好像故意留下了线索,是危险陷阱还是复仇曙光?九龙义无反顾出发,在好友王梦奇(刘心悠 饰)及国际拳王冼力山(安德森·席尔瓦 饰)的协助下, 与澳门警司曹志德(郑嘉颖 饰)联手展开调查。魔高一丈,道高几何!血债血偿之前,就算流干最后一滴血,也要誓不罢休。', '100分钟', '剧情,动作,犯罪', 5.7, 1.0000, 1, '2019-07-02', '中国大陆、中国香港', '../upload/movies/九龙不败.jpg', 1);
INSERT INTO `movie` VALUES (22, '阿丽塔:战斗天使', 'Alita: Battle Angel', '罗莎·萨拉查:阿丽塔,克里斯托弗·沃尔兹:戴森·艾德博士', '罗伯特·罗德里格兹', '未来26世纪,科技发展,人类与机械改造人共存,弱肉强食是钢铁城唯一的生存法则。依德(克里斯托夫·沃尔兹 饰)是钢铁城著名的改造人医生,他在垃圾场发现了一个半机械少女残躯,依德医生将其拯救后为她取名阿丽塔(罗莎·萨拉扎尔 饰)。阿丽塔虽然重获生命却失去了记忆,如一个新生儿一样对这个世界充满新鲜感。在依德医生与好友雨果(基恩·约翰逊 饰)的帮助下,她逐步适应着新生活和街头险恶。一次偶然的机会,阿丽塔发现自己竟有着惊人的战斗天赋。 一次次猎杀激发着她的觉醒,阿丽塔逐渐明白自己注定为战斗而生,为正义而战。一场揭开自己身世之谜,并打破宇宙旧秩序的史诗级冒险之旅就这样展开。', '122分钟', '动作,冒险,科幻', 9.0, 1.0000, 0, '2019-07-11', '美国', '../upload/movies/阿丽塔:战斗天使.jpg', 1);
INSERT INTO `movie` VALUES (23, 'X战警:黑凤凰', 'X-Men: Dark Phoenix', '苏菲·特纳:琴·格雷/黑凤凰,詹姆斯·麦卡沃伊:查尔斯·泽维尔/X教授', '西蒙·金伯格', '在一次危及生命的太空营救行动中,琴·葛蕾(苏菲·特纳 饰)被神秘的宇宙力量击中,成为最强大的变种人。此后琴不仅要设法掌控日益增长、极不稳定的力量,更要与自己内心的恶魔抗争,她的失控让整个X战警大家庭分崩离析,也让整个星球陷入毁灭的威胁之中……', '114分钟', '动作,冒险,科幻', 7.8, 1.0000, 0, '2019-06-06', '美国', '../upload/movies/X战警:黑凤凰.jpg', 0);
INSERT INTO `movie` VALUES (24, '疯狂的外星人', 'Crazy Alien', '黄渤:耿浩,沈腾:大飞,马修·莫里森:扎克,汤姆·派福瑞:约翰', '宁浩', '耿浩(黄渤 饰)与一心想发大财的好兄弟大飞(沈腾 饰),经营着各自惨淡的“事业”,然而“天外来客”(徐峥 饰)的意外降临,打破了二人平静又拮据的生活。神秘的西方力量也派出“哼哈二将”在全球搜查外星人行踪。啼笑皆非的跨物种对决,别开生面的“星战”,在中国某海边城市激情上演。', '116分钟', '剧情,喜剧,科幻', 8.5, 1.0000, 0, '2019-07-10', '中国大陆、美国', '../upload/movies/疯狂的外星人.jpg', 1);
INSERT INTO `movie` VALUES (25, '八子', 'ADVANCE WAVE UPON WAVE', '刘端端:满崽,邵兵:大牛', '高希希', '上世纪30年代的赣南地区,在这个被称为中国革命“红色摇篮”的地方,曾经有这样一位母亲,她将八个儿子先后送入红军,奔赴战场前线。但战火无情,兄弟中的六人陆续牺牲,只剩下大哥杨大牛和最小的孩子满崽。满崽找到了大牛的部队,成了哥哥麾下的普通一兵,经过一场场战役的淬炼,新兵满崽迅速成长为一个真正的战士。最后的战斗打响了,为了掩护大部队安全撤离,杨大牛带领弟弟满崽和全体战友浴血肉搏,直至弹尽粮绝…… 英雄的身前,是枪林弹雨的沙场,而在英雄的身后,家乡的村庄依然宁静安详,微风吹过金黄的稻浪簌簌作响,一位年迈的母亲正在村头的小路旁孤独的守望……', '121分钟', '战争,历史,动作', 8.4, 1.0118, 0, '2019-06-30', '中国大陆', '../upload/movies/bazi.jpg', 1);
INSERT INTO `movie` VALUES (26, '我的青春都是你', 'Love The Way You Are', '宋威龙:方予可,宋芸桦:周林林,林妍柔:茹婷,黄俊捷:谢端西,金士杰:畜牧系老师', '周彤', '周林林(宋芸桦 饰)高考发挥超常进入东方大学,与同校理科状元方予可(宋威龙 饰)一同进入了最高学府。郎有情妾无意,方予可其实从幼儿园时期就心系周林林,人生若只如初见,儿时的初遇相见便立下了日久的暗恋情愫!但万人瞩目
gitextract_jaf7y3mn/
├── .classpath
├── .gitattributes
├── .project
├── .settings/
│ ├── .jsdtscope
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.m2e.core.prefs
│ ├── org.eclipse.wst.common.component
│ ├── org.eclipse.wst.common.project.facet.core.xml
│ ├── org.eclipse.wst.jsdt.ui.superType.container
│ ├── org.eclipse.wst.jsdt.ui.superType.name
│ └── org.eclipse.wst.validation.prefs
├── README.md
├── movie.sql
├── pom.xml
├── src/
│ └── main/
│ ├── java/
│ │ └── com/
│ │ ├── controller/
│ │ │ ├── CommentController.java
│ │ │ ├── MovieController.java
│ │ │ ├── OrderController.java
│ │ │ ├── ScheduleController.java
│ │ │ └── UserController.java
│ │ ├── entity/
│ │ │ ├── Cinema.java
│ │ │ ├── Comment.java
│ │ │ ├── Hall.java
│ │ │ ├── Movie.java
│ │ │ ├── Order.java
│ │ │ ├── Schedule.java
│ │ │ └── User.java
│ │ ├── mapper/
│ │ │ ├── CinemaMapper.java
│ │ │ ├── CinemaMapper.xml
│ │ │ ├── CommentMapper.java
│ │ │ ├── CommentMapper.xml
│ │ │ ├── HallMapper.java
│ │ │ ├── HallMapper.xml
│ │ │ ├── MovieMapper.java
│ │ │ ├── MovieMapper.xml
│ │ │ ├── OrderMapper.java
│ │ │ ├── OrderMapper.xml
│ │ │ ├── ScheduleMapper.java
│ │ │ ├── ScheduleMapper.xml
│ │ │ ├── UserMapper.java
│ │ │ └── UserMapper.xml
│ │ ├── service/
│ │ │ ├── ICinemaService.java
│ │ │ ├── ICommentService.java
│ │ │ ├── IHallService.java
│ │ │ ├── IMovieService.java
│ │ │ ├── IOrderService.java
│ │ │ ├── IScheduleService.java
│ │ │ ├── IUserService.java
│ │ │ └── imp/
│ │ │ ├── CinemaServiceImp.java
│ │ │ ├── CommentServiceImp.java
│ │ │ ├── HallServiceImp.java
│ │ │ ├── MovieServiceImp.java
│ │ │ ├── OrderServiceImp.java
│ │ │ ├── ScheduleServiceImp.java
│ │ │ └── UserServiceImp.java
│ │ └── util/
│ │ ├── ResponseModel.java
│ │ ├── UUIDUtil.java
│ │ └── test.java
│ ├── resources/
│ │ ├── movie.sql
│ │ ├── mybatis.xml
│ │ ├── mysql.properties
│ │ └── spring.xml
│ └── webapp/
│ ├── WEB-INF/
│ │ └── web.xml
│ ├── index.html
│ ├── jsp/
│ │ ├── buySeat.jsp
│ │ ├── buyTickets.jsp
│ │ ├── center.jsp
│ │ ├── footer.jsp
│ │ ├── header.jsp
│ │ ├── login.jsp
│ │ ├── mainPage.jsp
│ │ ├── manage.jsp
│ │ ├── movieDetail.jsp
│ │ ├── movieList.jsp
│ │ ├── pay.jsp
│ │ ├── payStatus.jsp
│ │ ├── selectSeat.jsp
│ │ └── test.jsp
│ └── static/
│ ├── bootstrap/
│ │ ├── bootstrap.js
│ │ ├── css/
│ │ │ ├── bootstrap-theme.css
│ │ │ ├── bootstrap.css
│ │ │ └── style.css
│ │ └── js/
│ │ ├── bootstrap.js
│ │ └── npm.js
│ ├── css/
│ │ ├── buySeat.css
│ │ ├── buyTickets.css
│ │ ├── center.css
│ │ ├── footer.css
│ │ ├── header.css
│ │ ├── login.css
│ │ ├── main.css
│ │ ├── main2.css
│ │ ├── manage.css
│ │ ├── modify.css
│ │ ├── movieDetail.css
│ │ ├── movieList.css
│ │ ├── pay.css
│ │ ├── paystatus.css
│ │ ├── selectSeat.css
│ │ └── style2.css
│ ├── images/
│ │ └── logo_h.psd
│ ├── js/
│ │ ├── Api.js
│ │ ├── classie.js
│ │ ├── echarts.js
│ │ ├── header.js
│ │ ├── main2.js
│ │ └── modernizr-custom.js
│ └── layui/
│ ├── css/
│ │ ├── index.css
│ │ ├── layui.css
│ │ ├── layui.mobile.css
│ │ └── modules/
│ │ ├── code.css
│ │ ├── laydate/
│ │ │ └── default/
│ │ │ └── laydate.css
│ │ └── layer/
│ │ └── default/
│ │ └── layer.css
│ ├── js/
│ │ └── firm.js
│ ├── lay/
│ │ └── modules/
│ │ ├── carousel.js
│ │ ├── code.js
│ │ ├── colorpicker.js
│ │ ├── element.js
│ │ ├── flow.js
│ │ ├── form.js
│ │ ├── jquery.js
│ │ ├── laydate.js
│ │ ├── layedit.js
│ │ ├── layer.js
│ │ ├── laypage.js
│ │ ├── laytpl.js
│ │ ├── mobile.js
│ │ ├── rate.js
│ │ ├── slider.js
│ │ ├── table.js
│ │ ├── transfer.js
│ │ ├── tree.js
│ │ ├── upload.js
│ │ └── util.js
│ ├── layui.all.js
│ └── layui.js
└── target/
├── classes/
│ ├── com/
│ │ └── mapper/
│ │ ├── CinemaMapper.xml
│ │ ├── CommentMapper.xml
│ │ ├── HallMapper.xml
│ │ ├── MovieMapper.xml
│ │ ├── OrderMapper.xml
│ │ ├── ScheduleMapper.xml
│ │ └── UserMapper.xml
│ ├── mybatis.xml
│ ├── mysql.properties
│ └── spring.xml
├── m2e-wtp/
│ └── web-resources/
│ └── META-INF/
│ ├── MANIFEST.MF
│ └── maven/
│ └── com.movie/
│ └── Movie/
│ ├── pom.properties
│ └── pom.xml
├── maven-archiver/
│ └── pom.properties
└── maven-status/
└── maven-compiler-plugin/
├── compile/
│ └── default-compile/
│ ├── createdFiles.lst
│ └── inputFiles.lst
└── testCompile/
└── default-testCompile/
└── inputFiles.lst
SYMBOL INDEX (2020 symbols across 51 files)
FILE: movie.sql
type `cinema` (line 24) | CREATE TABLE `cinema` (
type `comment` (line 57) | CREATE TABLE `comment` (
type `hall` (line 121) | CREATE TABLE `hall` (
type `movie` (line 188) | CREATE TABLE `movie` (
type `orderinfo` (line 239) | CREATE TABLE `orderinfo` (
type `schedule` (line 305) | CREATE TABLE `schedule` (
type `user` (line 614) | CREATE TABLE `user` (
FILE: src/main/java/com/controller/CommentController.java
class CommentController (line 25) | @Controller
method findAllComments (line 38) | @RequestMapping("findAllComments")
method findAllCommentsPage (line 53) | @RequestMapping("findAllCommentsPage")
method addCommentByUser (line 69) | @RequestMapping("addCommentByUser")
method updateComment (line 101) | @RequestMapping("updateComment")
method deleteComment (line 119) | @RequestMapping("deleteComemnt")
method findCommentsByUserName (line 135) | @RequestMapping("findCommentsByUserName")
FILE: src/main/java/com/controller/MovieController.java
class MovieController (line 32) | @Controller
method findMovieById (line 42) | @RequestMapping("findMovieById")
method findAllMovies (line 55) | @RequestMapping("findAllMovies")
method findMoviesByName (line 84) | @RequestMapping("findMoviesByName")
method findMoviesByType (line 95) | @RequestMapping("findMoviesByType")
method sortAllMovies (line 106) | @RequestMapping("sortAllMovies")
method deleteMovie (line 128) | @RequestMapping("deleteMovie")
method addMovie (line 143) | @RequestMapping("addMovie")
method updateMovie (line 176) | @RequestMapping("updateMovie")
FILE: src/main/java/com/controller/OrderController.java
class OrderController (line 24) | @Controller
method findOrderById (line 35) | @RequestMapping("findOrderById")
method findOrderByUserName (line 49) | @RequestMapping("findOrderByUserName")
method findRefundOrderByUser (line 61) | @RequestMapping("findRefundOrderByUser")
method findAllOrders (line 73) | @RequestMapping("findAllOrders")
method findAllOrdersPage (line 85) | @RequestMapping("findAllOrdersPage")
method findAllRefundOrder (line 97) | @RequestMapping("findAllRefundOrder")
method buyTickets (line 109) | @RequestMapping("buyTickets")
method applyForRefund (line 178) | @RequestMapping("applyForRefund")
method agreeForRefund (line 193) | @RequestMapping("agreeForRefund")
FILE: src/main/java/com/controller/ScheduleController.java
class ScheduleController (line 26) | @Controller
method findScheduleById (line 38) | @RequestMapping("findScheduleById")
method findAllScheduleByState (line 48) | @RequestMapping("findAllScheduleByState")
method findAllSchedule (line 69) | @RequestMapping("findAllSchedule")
method findScheduleByMovieName (line 109) | @RequestMapping("findScheduleByMovieName")
method findOffScheduleByMovieName (line 130) | @RequestMapping("findOffScheduleByMovieName")
method findScheduleByCinemaAndMovie (line 151) | @RequestMapping("findScheduleByCinemaAndMovie")
method addSchedule (line 162) | @RequestMapping("addSchedule")
method updateSchedulePrice (line 185) | @RequestMapping("updateSchedulePrice")
method offlineSchedule (line 203) | @RequestMapping("offlineSchedule")
method findCinemasByMovieId (line 226) | @RequestMapping("findCinemasByMovieId")
method testHall (line 239) | @RequestMapping("testHall")
FILE: src/main/java/com/controller/UserController.java
class UserController (line 32) | @Controller
method login (line 39) | @RequestMapping("login")
method logout (line 61) | @RequestMapping("logout")
method register (line 69) | @RequestMapping("register")
method updateUser (line 85) | @RequestMapping("updateUser")
method modifyUserPwd (line 96) | @RequestMapping("modifyUserPwd")
method findAllUser (line 111) | @RequestMapping("findAllUser")
method findAllUserInfos (line 123) | @RequestMapping("findAllUserInfos")
method findUserInfosByName (line 135) | @RequestMapping("findUserInfosByName")
method uploadHeadImg (line 147) | @RequestMapping("/uploadHeadImg")
method uploadImg (line 185) | @RequestMapping("test")
FILE: src/main/java/com/entity/Cinema.java
class Cinema (line 9) | public class Cinema {
method getCinema_id (line 15) | public long getCinema_id() {
method setCinema_id (line 18) | public void setCinema_id(long cinema_id) {
method getCinema_name (line 21) | public String getCinema_name() {
method setCinema_name (line 24) | public void setCinema_name(String cinema_name) {
method getCinema_address (line 27) | public String getCinema_address() {
method setCinema_address (line 30) | public void setCinema_address(String cinema_address) {
method getHallList (line 33) | public List<Hall> getHallList() {
method setHallList (line 36) | public void setHallList(List<Hall> hallList) {
FILE: src/main/java/com/entity/Comment.java
class Comment (line 9) | public class Comment {
method getComment_id (line 17) | public long getComment_id() {
method setComment_id (line 20) | public void setComment_id(long comment_id) {
method getUser_id (line 23) | public long getUser_id() {
method setUser_id (line 26) | public void setUser_id(long user_id) {
method getComment_content (line 29) | public String getComment_content() {
method setComment_content (line 32) | public void setComment_content(String comment_content) {
method getMovie_id (line 35) | public long getMovie_id() {
method setMovie_id (line 38) | public void setMovie_id(long movie_id) {
method getComment_time (line 41) | public Date getComment_time() {
method setComment_time (line 44) | public void setComment_time(Date comment_time) {
method getComment_user (line 47) | public User getComment_user() {
method setComment_user (line 50) | public void setComment_user(User comment_user) {
FILE: src/main/java/com/entity/Hall.java
class Hall (line 9) | public class Hall {
method getHall_id (line 16) | public long getHall_id() {
method setHall_id (line 19) | public void setHall_id(long hall_id) {
method getScheduleList (line 22) | public List<Schedule> getScheduleList() {
method setScheduleList (line 25) | public void setScheduleList(List<Schedule> scheduleList) {
method getHall_cinema (line 28) | public Cinema getHall_cinema() {
method setHall_cinema (line 31) | public void setHall_cinema(Cinema hall_cinema) {
method getHall_name (line 34) | public String getHall_name() {
method setHall_name (line 37) | public void setHall_name(String hall_name) {
method getHall_capacity (line 40) | public int getHall_capacity() {
method setHall_capacity (line 43) | public void setHall_capacity(int hall_capacity) {
method getCinema_id (line 46) | public long getCinema_id() {
method setCinema_id (line 49) | public void setCinema_id(long cinema_id) {
FILE: src/main/java/com/entity/Movie.java
class Movie (line 9) | public class Movie {
method getMovie_id (line 27) | public long getMovie_id() {
method setMovie_id (line 30) | public void setMovie_id(long movie_id) {
method getMovie_cn_name (line 33) | public String getMovie_cn_name() {
method getMovie_state (line 36) | public int getMovie_state() {
method setMovie_state (line 39) | public void setMovie_state(int movie_state) {
method setMovie_cn_name (line 42) | public void setMovie_cn_name(String movie_cn_name) {
method getMovie_fg_name (line 45) | public String getMovie_fg_name() {
method setMovie_fg_name (line 48) | public void setMovie_fg_name(String movie_fg_name) {
method getMovie_actor (line 51) | public String getMovie_actor() {
method setMovie_actor (line 54) | public void setMovie_actor(String movie_actor) {
method getMovie_director (line 57) | public String getMovie_director() {
method setMovie_director (line 60) | public void setMovie_director(String movie_director) {
method getMovie_detail (line 63) | public String getMovie_detail() {
method setMovie_detail (line 66) | public void setMovie_detail(String movie_detail) {
method getMovie_duration (line 69) | public String getMovie_duration() {
method setMovie_duration (line 72) | public void setMovie_duration(String movie_duration) {
method getMovie_type (line 75) | public String getMovie_type() {
method setMovie_type (line 78) | public void setMovie_type(String movie_type) {
method getMovie_score (line 81) | public float getMovie_score() {
method setMovie_score (line 84) | public void setMovie_score(float movie_score) {
method getMovie_boxOffice (line 87) | public float getMovie_boxOffice() {
method setMovie_boxOffice (line 90) | public void setMovie_boxOffice(float movie_boxOffice) {
method getMovie_commentCount (line 93) | public long getMovie_commentCount() {
method setMovie_commentCount (line 96) | public void setMovie_commentCount(long movie_commentCount) {
method getReleaseDate (line 99) | public Date getReleaseDate() {
method setReleaseDate (line 102) | public void setReleaseDate(Date releaseDate) {
method getMovie_country (line 105) | public String getMovie_country() {
method setMovie_country (line 108) | public void setMovie_country(String movie_country) {
method getMovie_picture (line 111) | public String getMovie_picture() {
method setMovie_picture (line 114) | public void setMovie_picture(String movie_picture) {
method getCommentList (line 117) | public List<Comment> getCommentList() {
method setCommentList (line 120) | public void setCommentList(List<Comment> commentList) {
FILE: src/main/java/com/entity/Order.java
class Order (line 11) | public class Order {
method getOrder_id (line 22) | public String getOrder_id() {
method setOrder_id (line 25) | public void setOrder_id(String order_id) {
method getOrder_time (line 28) | public Date getOrder_time() {
method setOrder_time (line 31) | public void setOrder_time(Date order_time) {
method getOrder_price (line 34) | public int getOrder_price() {
method setOrder_price (line 37) | public void setOrder_price(int order_price) {
method getUser_id (line 40) | public long getUser_id() {
method setUser_id (line 43) | public void setUser_id(long user_id) {
method getSchedule_id (line 46) | public long getSchedule_id() {
method setSchedule_id (line 49) | public void setSchedule_id(long schedule_id) {
method getOrder_position (line 52) | public String getOrder_position() {
method setOrder_position (line 55) | public void setOrder_position(String order_position) {
method getOrder_user (line 58) | public User getOrder_user() {
method getOrder_state (line 61) | public int getOrder_state() {
method setOrder_state (line 64) | public void setOrder_state(int order_state) {
method setOrder_user (line 67) | public void setOrder_user(User order_user) {
method getOrder_schedule (line 70) | public Schedule getOrder_schedule() {
method setOrder_schedule (line 73) | public void setOrder_schedule(Schedule order_schedule) {
FILE: src/main/java/com/entity/Schedule.java
class Schedule (line 12) | public class Schedule {
method getSchedule_id (line 25) | public long getSchedule_id() {
method setSchedule_id (line 28) | public void setSchedule_id(long schedule_id) {
method getSchedule_state (line 31) | public int getSchedule_state() {
method setSchedule_state (line 34) | public void setSchedule_state(int schedule_state) {
method getSchedule_movie (line 37) | public Movie getSchedule_movie() {
method setSchedule_movie (line 40) | public void setSchedule_movie(Movie schedule_movie) {
method getHall_id (line 43) | public long getHall_id() {
method setHall_id (line 46) | public void setHall_id(long hall_id) {
method getMovie_id (line 49) | public long getMovie_id() {
method setMovie_id (line 52) | public void setMovie_id(long movie_id) {
method getSchedule_startTime (line 55) | public String getSchedule_startTime() {
method setSchedule_startTime (line 58) | public void setSchedule_startTime(String schedule_startTime) {
method getSchedule_price (line 61) | public int getSchedule_price() {
method setSchedule_price (line 64) | public void setSchedule_price(int schedule_price) {
method getSchedule_remain (line 67) | public int getSchedule_remain() {
method setSchedule_remain (line 70) | public void setSchedule_remain(int schedule_remain) {
method getSchedule_hall (line 73) | public Hall getSchedule_hall() {
method setSchedule_hall (line 76) | public void setSchedule_hall(Hall schedule_hall) {
method getOrderList (line 79) | public List<Order> getOrderList() {
method setOrderList (line 82) | public void setOrderList(List<Order> orderList) {
FILE: src/main/java/com/entity/User.java
class User (line 6) | public class User {
method getUser_id (line 14) | public long getUser_id() {
method setUser_id (line 17) | public void setUser_id(long user_id) {
method getUser_name (line 20) | public String getUser_name() {
method setUser_name (line 23) | public void setUser_name(String user_name) {
method getUser_pwd (line 26) | public String getUser_pwd() {
method setUser_pwd (line 29) | public void setUser_pwd(String user_pwd) {
method getUser_email (line 32) | public String getUser_email() {
method setUser_email (line 35) | public void setUser_email(String user_email) {
method getUser_role (line 38) | public int getUser_role() {
method setUser_role (line 41) | public void setUser_role(int user_role) {
method getUser_headImg (line 44) | public String getUser_headImg() {
method setUser_headImg (line 47) | public void setUser_headImg(String user_headImg) {
FILE: src/main/java/com/mapper/CinemaMapper.java
type CinemaMapper (line 9) | @Repository
method findCinemaById (line 11) | Cinema findCinemaById(long cinema_id);
method addCinema (line 12) | Integer addCinema(Cinema cinema);
method updateCinema (line 13) | Integer updateCinema(Cinema cinema);
method deleteCinema (line 14) | Integer deleteCinema(long cinema_id);
method findAllCinemas (line 15) | List<Cinema> findAllCinemas();
method findCinemasLikeName (line 16) | List<Cinema> findCinemasLikeName(String cinema_name);
method findCinemasByMovieId (line 17) | List<Cinema> findCinemasByMovieId(long movie_id);
FILE: src/main/java/com/mapper/CommentMapper.java
type CommentMapper (line 9) | @Repository
method findCommentById (line 14) | Comment findCommentById(long comment_id);
method addComemnt (line 15) | Integer addComemnt(Comment comment);
method updateComment (line 16) | Integer updateComment(Comment comment);
method deleteComment (line 17) | Integer deleteComment(long comment_id);
method findAllComments (line 18) | List<Comment> findAllComments();
method findCommentsByMoiveId (line 19) | List<Comment> findCommentsByMoiveId(long movie_id);
method findCommentsByUserName (line 20) | List<Comment> findCommentsByUserName(String user_name);
FILE: src/main/java/com/mapper/HallMapper.java
type HallMapper (line 10) | @Repository
method findHallById (line 12) | Hall findHallById(long hall_id);
method findHallByCinemaAndHallName (line 13) | Hall findHallByCinemaAndHallName(@Param("cinema_name")String cinema_na...
method addHall (line 14) | Integer addHall(Hall hall);
method updateHall (line 15) | Integer updateHall(Hall hall);
method deleteHall (line 16) | Integer deleteHall(long hall_id);
method findHallByCinemaId (line 17) | List<Hall> findHallByCinemaId(long cinema_id);
method findAllHalls (line 18) | List<Hall> findAllHalls();
FILE: src/main/java/com/mapper/MovieMapper.java
type MovieMapper (line 10) | @Repository
method findMovieById (line 12) | Movie findMovieById(long movie_id);
method findMovieByName (line 13) | Movie findMovieByName(String movie_cn_name);
method addMovie (line 14) | Integer addMovie(Movie movie);
method deleteMovie (line 15) | Integer deleteMovie(long movie_id);
method updateMovie (line 16) | Integer updateMovie(Movie movie);
method deleteMovieCommentCount (line 17) | Integer deleteMovieCommentCount(long movie_id);
method addMovieCommentCount (line 18) | Integer addMovieCommentCount(long movie_id);
method changeMovieBoxOffice (line 19) | Integer changeMovieBoxOffice(@Param("movie_boxOffice")float movie_boxO...
method findAllMovies (line 20) | List<Movie> findAllMovies(int movie_state);
method findMoviesLikeName (line 21) | List<Movie> findMoviesLikeName(String name);
method findMoviesLikeType (line 22) | List<Movie> findMoviesLikeType(String type);
method sortMovieByDate (line 24) | List<Movie> sortMovieByDate();
method sortMovieByCount (line 25) | List<Movie> sortMovieByCount();
method sortMovieByScore (line 26) | List<Movie> sortMovieByScore();
method sortMovieByBoxOffice (line 28) | List<Movie> sortMovieByBoxOffice();
FILE: src/main/java/com/mapper/OrderMapper.java
type OrderMapper (line 9) | @Repository
method findOrderById (line 11) | Order findOrderById(String order_id);
method addOrder (line 12) | Integer addOrder(Order order);
method updateOrderStateToRefund (line 13) | Integer updateOrderStateToRefund(String order_id);
method updateOrderStateToRefunded (line 14) | Integer updateOrderStateToRefunded(String order_id);
method findRefundOrderByUserName (line 15) | List<Order> findRefundOrderByUserName(String user_name);
method findOrdersByUserName (line 16) | List<Order> findOrdersByUserName(String user_name);
method findAllOrders (line 17) | List<Order> findAllOrders();
method findOrdersByScheduleId (line 18) | List<Order> findOrdersByScheduleId(long schedule_id);
method findOrdersByState (line 19) | List<Order> findOrdersByState(int order_state);
FILE: src/main/java/com/mapper/ScheduleMapper.java
type ScheduleMapper (line 10) | @Repository
method findScheduleById (line 12) | Schedule findScheduleById(long schedule_id);
method addSchedule (line 13) | Integer addSchedule(Schedule schedule);
method updateSchedule (line 14) | Integer updateSchedule(Schedule schedule);
method deleteSchedule (line 15) | Integer deleteSchedule(long schedule_id);
method addScheduleRemain (line 16) | Integer addScheduleRemain(long schedule_id);
method delScheduleRemain (line 17) | Integer delScheduleRemain(long schedule_id);
method findScheduleByMovieName (line 18) | List<Schedule> findScheduleByMovieName(String movie_name);
method findOffScheduleByMovieName (line 19) | List<Schedule> findOffScheduleByMovieName(String movie_name);
method findScheduleByState (line 20) | List<Schedule> findScheduleByState(int schedule_state);
method findAllSchedule (line 21) | List<Schedule> findAllSchedule();
method findScheduleByCinemaAndMovie (line 22) | List<Schedule> findScheduleByCinemaAndMovie(@Param("cinema_id")long ci...
method findScheduleByCinemaAndMovieAndHall (line 23) | List<Schedule> findScheduleByCinemaAndMovieAndHall(@Param("hall_id")lo...
FILE: src/main/java/com/mapper/UserMapper.java
type UserMapper (line 8) | @Repository
method findUserById (line 10) | User findUserById(long user_id);
method addUser (line 11) | Integer addUser(User user);
method deleteUser (line 12) | Integer deleteUser(long user_id);
method updateUser (line 13) | Integer updateUser(User user);
method findAllUser (line 14) | List<User> findAllUser();
method findUserByName (line 15) | List<User> findUserByName(String name);
method findUserLikeName (line 16) | List<User> findUserLikeName(String name);
FILE: src/main/java/com/service/ICinemaService.java
type ICinemaService (line 7) | public interface ICinemaService {
method findCinemaById (line 8) | Cinema findCinemaById(long cinema_id);
method addCinema (line 9) | Integer addCinema(Cinema cinema);
method updateCinema (line 10) | Integer updateCinema(Cinema cinema);
method deleteCinema (line 11) | Integer deleteCinema(long cinema_id);
method findAllCinemas (line 12) | List<Cinema> findAllCinemas();
method findCinemasLikeName (line 13) | List<Cinema> findCinemasLikeName(String cinema_name);
method findCinemasByMovieId (line 14) | List<Cinema> findCinemasByMovieId(long movie_id);
FILE: src/main/java/com/service/ICommentService.java
type ICommentService (line 8) | public interface ICommentService {
method findCommentById (line 9) | Comment findCommentById(long comment_id);
method addComemnt (line 10) | Integer addComemnt(Comment comment);
method updateComment (line 11) | Integer updateComment(Comment comment);
method deleteComment (line 12) | Integer deleteComment(long comment_id);
method findAllComments (line 13) | List<Comment> findAllComments();
method findCommentsByMovieId (line 14) | List<Comment> findCommentsByMovieId(long movie_id);
method findAllCommentsBySplitPage (line 15) | PageInfo<Comment> findAllCommentsBySplitPage(Integer page,Integer limi...
method findCommentsByUserName (line 16) | PageInfo<Comment> findCommentsByUserName(Integer page,Integer limit,St...
FILE: src/main/java/com/service/IHallService.java
type IHallService (line 7) | public interface IHallService {
method findHallById (line 8) | Hall findHallById(long hall_id);
method findHallByCinemaAndHallName (line 9) | Hall findHallByCinemaAndHallName(String cinema_name,String hall_name);
method addHall (line 10) | Integer addHall(Hall hall);
method updateHall (line 11) | Integer updateHall(Hall hall);
method deleteHall (line 12) | Integer deleteHall(long hall_id);
method findHallByCinemaId (line 13) | List<Hall> findHallByCinemaId(long cinema_id);
method findAllHalls (line 14) | List<Hall> findAllHalls();
FILE: src/main/java/com/service/IMovieService.java
type IMovieService (line 7) | public interface IMovieService {
method findMovieById (line 8) | Movie findMovieById(long movie_id);
method findMovieByName (line 9) | Movie findMovieByName(String movie_cn_name);
method addMovie (line 10) | Integer addMovie(Movie movie);
method deleteMovie (line 11) | Integer deleteMovie(long movie_id);
method updateMovie (line 12) | Integer updateMovie(Movie movie);
method delCommentCount (line 13) | Integer delCommentCount(long movie_id);
method changeMovieBoxOffice (line 14) | Integer changeMovieBoxOffice(float price,long movie_id);
method addCommentCount (line 15) | Integer addCommentCount(long movie_id);
method findAllMovies (line 16) | List<Movie> findAllMovies(int movie_state);
method findMoviesLikeName (line 17) | List<Movie> findMoviesLikeName(String name);
method findMoviesLikeType (line 18) | List<Movie> findMoviesLikeType(String type);
method sortMovieByDate (line 20) | List<Movie> sortMovieByDate();
method sortMovieByCount (line 21) | List<Movie> sortMovieByCount();
method sortMovieByScore (line 22) | List<Movie> sortMovieByScore();
method sortMovieByBoxOffice (line 23) | List<Movie> sortMovieByBoxOffice();
FILE: src/main/java/com/service/IOrderService.java
type IOrderService (line 8) | public interface IOrderService {
method findOrderById (line 9) | Order findOrderById(String order_id);
method addOrder (line 10) | Integer addOrder(Order order);
method updateOrderStateToRefund (line 11) | Integer updateOrderStateToRefund(String order_id);
method updateOrderStateToRefunded (line 12) | Integer updateOrderStateToRefunded(String order_id);
method findOrdersByUserName (line 13) | PageInfo<Order> findOrdersByUserName(Integer page,Integer limit,String...
method findAllOrders (line 14) | List<Order> findAllOrders();
method findRefundOrderByUserName (line 15) | List<Order> findRefundOrderByUserName(String user_name);
method findOrdersByState (line 16) | PageInfo<Order> findOrdersByState(Integer page,Integer limit,int order...
method findAllOrdersBySplitPage (line 17) | PageInfo<Order> findAllOrdersBySplitPage(Integer page,Integer limit,St...
FILE: src/main/java/com/service/IScheduleService.java
type IScheduleService (line 8) | public interface IScheduleService {
method findScheduleById (line 9) | Schedule findScheduleById(long schedule_id);
method addSchedule (line 10) | Integer addSchedule(Schedule schedule);
method updateSchedule (line 11) | Integer updateSchedule(Schedule schedule);
method deleteSchedule (line 12) | Integer deleteSchedule(long schedule_id);
method addScheduleRemain (line 13) | Integer addScheduleRemain(long schedule_id);
method delScheduleRemain (line 14) | Integer delScheduleRemain(long schedule_id);
method findScheduleByMovieName (line 15) | PageInfo<Schedule> findScheduleByMovieName(Integer page,Integer limit,...
method findOffScheduleByMovieName (line 16) | PageInfo<Schedule> findOffScheduleByMovieName(Integer page,Integer lim...
method findAllSchedule (line 17) | PageInfo<Schedule> findAllSchedule(Integer page,Integer limit);
method findAllScheduleByState (line 18) | PageInfo<Schedule> findAllScheduleByState(Integer page,Integer limit,i...
method findScheduleByCinemaAndMovie (line 19) | List<Schedule> findScheduleByCinemaAndMovie(long cinema_id,long movie_...
method findScheduleByCineamIdAndMovieId (line 20) | List<Schedule> findScheduleByCineamIdAndMovieId(long cinema_id,long mo...
FILE: src/main/java/com/service/IUserService.java
type IUserService (line 9) | public interface IUserService {
method login (line 10) | User login(String user_name,String user_pwd);
method updateUserInfo (line 11) | Integer updateUserInfo(User user);
method findUserById (line 12) | User findUserById(long user_id);
method findUserByName (line 13) | List<User> findUserByName(String name);
method findUserLikeName (line 14) | List<User> findUserLikeName(String name);
method addUser (line 15) | Integer addUser(User user);
method deleteUser (line 16) | Integer deleteUser(long user_id);
method findAllUserInfos (line 17) | List<User> findAllUserInfos();
method findAllUserBySplitPage (line 18) | PageInfo<User> findAllUserBySplitPage(Integer page,Integer limit,Strin...
FILE: src/main/java/com/service/imp/CinemaServiceImp.java
class CinemaServiceImp (line 18) | @Service
method findCinemaById (line 27) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findCinemasByMovieId (line 36) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addCinema (line 50) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateCinema (line 56) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteCinema (line 62) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findAllCinemas (line 68) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findCinemasLikeName (line 79) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/CommentServiceImp.java
class CommentServiceImp (line 17) | @Service
method findCommentById (line 23) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addComemnt (line 29) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateComment (line 35) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteComment (line 41) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findAllComments (line 47) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllCommentsBySplitPage (line 55) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findCommentsByUserName (line 72) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findCommentsByMovieId (line 82) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/HallServiceImp.java
class HallServiceImp (line 15) | @Service
method findHallById (line 22) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findHallByCinemaAndHallName (line 30) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addHall (line 36) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateHall (line 42) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteHall (line 48) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findHallByCinemaId (line 54) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllHalls (line 64) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/MovieServiceImp.java
class MovieServiceImp (line 17) | @Service
method findMovieById (line 26) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method changeMovieBoxOffice (line 38) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findMovieByName (line 44) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addCommentCount (line 50) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method delCommentCount (line 56) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method addMovie (line 62) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteMovie (line 68) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateMovie (line 74) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findAllMovies (line 80) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findMoviesLikeName (line 86) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findMoviesLikeType (line 92) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method sortMovieByDate (line 98) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method sortMovieByCount (line 104) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method sortMovieByScore (line 110) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method sortMovieByBoxOffice (line 116) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/OrderServiceImp.java
class OrderServiceImp (line 24) | @Service
method findOrderById (line 39) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findRefundOrderByUserName (line 57) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addOrder (line 77) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateOrderStateToRefund (line 83) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateOrderStateToRefunded (line 89) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findOrdersByUserName (line 95) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllOrders (line 113) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findOrdersByState (line 129) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllOrdersBySplitPage (line 147) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/ScheduleServiceImp.java
class ScheduleServiceImp (line 22) | @Service
method findScheduleById (line 35) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addSchedule (line 48) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method updateSchedule (line 54) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteSchedule (line 63) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method addScheduleRemain (line 69) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method delScheduleRemain (line 75) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findScheduleByMovieName (line 81) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findOffScheduleByMovieName (line 98) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllScheduleByState (line 115) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllSchedule (line 132) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findScheduleByCinemaAndMovie (line 149) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findScheduleByCineamIdAndMovieId (line 158) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/service/imp/UserServiceImp.java
class UserServiceImp (line 17) | @Service
method login (line 23) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method updateUserInfo (line 35) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findUserById (line 41) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findUserByName (line 47) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method addUser (line 53) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method deleteUser (line 59) | @Transactional(propagation=Propagation.REQUIRED,rollbackFor=Exception....
method findAllUserBySplitPage (line 65) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findAllUserInfos (line 79) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
method findUserLikeName (line 85) | @Transactional(propagation=Propagation.REQUIRED,readOnly=true)
FILE: src/main/java/com/util/ResponseModel.java
class ResponseModel (line 8) | public class ResponseModel {
method isSuccess (line 12) | public boolean isSuccess() {
method setSuccess (line 15) | public void setSuccess(boolean success) {
method getMsg (line 18) | public String getMsg() {
method setMsg (line 21) | public void setMsg(String msg) {
method ResponseModel (line 28) | public ResponseModel(String msg) {
method ResponseModel (line 32) | public ResponseModel(boolean success,String msg) {
FILE: src/main/java/com/util/UUIDUtil.java
class UUIDUtil (line 8) | public class UUIDUtil {
method getUUID (line 10) | public static String getUUID() {
FILE: src/main/java/com/util/test.java
class test (line 13) | public class test {
method main (line 15) | public static void main(String[] args) {
FILE: src/main/resources/movie.sql
type `cinema` (line 24) | CREATE TABLE `cinema` (
type `comment` (line 57) | CREATE TABLE `comment` (
type `hall` (line 121) | CREATE TABLE `hall` (
type `movie` (line 188) | CREATE TABLE `movie` (
type `orderinfo` (line 239) | CREATE TABLE `orderinfo` (
type `schedule` (line 289) | CREATE TABLE `schedule` (
type `user` (line 598) | CREATE TABLE `user` (
FILE: src/main/webapp/static/bootstrap/bootstrap.js
function _defineProperties (line 15) | function _defineProperties(target, props) {
function _createClass (line 25) | function _createClass(Constructor, protoProps, staticProps) {
function _defineProperty (line 31) | function _defineProperty(obj, key, value) {
function _objectSpread (line 46) | function _objectSpread(target) {
function _inheritsLoose (line 65) | function _inheritsLoose(subClass, superClass) {
function toType (line 88) | function toType(obj) {
function getSpecialTransitionEndEvent (line 92) | function getSpecialTransitionEndEvent() {
function transitionEndEmulator (line 106) | function transitionEndEmulator(duration) {
function setTransitionEndSupport (line 121) | function setTransitionEndSupport() {
function Alert (line 245) | function Alert(element) {
function Button (line 423) | function Button(element) {
function Carousel (line 626) | function Carousel(element, config) {
function Collapse (line 1104) | function Collapse(element, config) {
function Dropdown (line 1507) | function Dropdown(element, config) {
function Modal (line 1972) | function Modal(element, config) {
function Tooltip (line 2569) | function Tooltip(element, config) {
function Popover (line 3207) | function Popover() {
function ScrollSpy (line 3404) | function ScrollSpy(element, config) {
function Tab (line 3708) | function Tab(element) {
FILE: src/main/webapp/static/bootstrap/js/bootstrap.js
function transitionEnd (line 34) | function transitionEnd() {
function removeElement (line 126) | function removeElement() {
function Plugin (line 142) | function Plugin(option) {
function Plugin (line 251) | function Plugin(option) {
function Plugin (line 475) | function Plugin(option) {
function getTargetFromTrigger (line 695) | function getTargetFromTrigger($trigger) {
function Plugin (line 707) | function Plugin(option) {
function getParent (line 774) | function getParent($this) {
function clearMenus (line 787) | function clearMenus(e) {
function Plugin (line 880) | function Plugin(option) {
function Plugin (line 1208) | function Plugin(option, _relatedTarget) {
function complete (line 1574) | function complete() {
function Plugin (line 1750) | function Plugin(option) {
function Plugin (line 1859) | function Plugin(option) {
function ScrollSpy (line 1902) | function ScrollSpy(element, options) {
function Plugin (line 2022) | function Plugin(option) {
function next (line 2131) | function next() {
function Plugin (line 2177) | function Plugin(option) {
function Plugin (line 2334) | function Plugin(option) {
FILE: src/main/webapp/static/js/classie.js
function classReg (line 22) | function classReg( className ) {
function toggleClass (line 55) | function toggleClass( elem, c ) {
FILE: src/main/webapp/static/js/echarts.js
function detect (line 118) | function detect(ua) {
function $override (line 277) | function $override(name, fn) {
function clone (line 302) | function clone(source) {
function merge (line 350) | function merge(target, source, overwrite) {
function mergeAll (line 392) | function mergeAll(targetAndSources, overwrite) {
function extend (line 405) | function extend(target, source) {
function defaults (line 420) | function defaults(target, source, overlay) {
function getContext (line 442) | function getContext() {
function indexOf (line 455) | function indexOf(array, value) {
function inherits (line 476) | function inherits(clazz, baseClazz) {
function mixin (line 495) | function mixin(target, source, overlay) {
function isArrayLike (line 506) | function isArrayLike(data) {
function each$1 (line 523) | function each$1(obj, cb, context) {
function map (line 552) | function map(obj, cb, context) {
function reduce (line 576) | function reduce(obj, cb, memo, context) {
function filter (line 599) | function filter(obj, cb, context) {
function find (line 625) | function find(obj, cb, context) {
function bind (line 642) | function bind(func, context) {
function curry (line 654) | function curry(func) {
function isArray (line 666) | function isArray(value) {
function isFunction$1 (line 675) | function isFunction$1(value) {
function isString (line 684) | function isString(value) {
function isObject$1 (line 693) | function isObject$1(value) {
function isBuiltInObject (line 705) | function isBuiltInObject(value) {
function isTypedArray (line 714) | function isTypedArray(value) {
function isDom (line 723) | function isDom(value) {
function eqNaN (line 734) | function eqNaN(value) {
function retrieve (line 744) | function retrieve(values) {
function retrieve2 (line 752) | function retrieve2(value0, value1) {
function retrieve3 (line 758) | function retrieve3(value0, value1, value2) {
function slice (line 773) | function slice() {
function normalizeCssArray (line 786) | function normalizeCssArray(val) {
function assert$1 (line 807) | function assert$1(condition, message) {
function trim (line 818) | function trim(str) {
function setAsPrimitive (line 834) | function setAsPrimitive(obj) {
function isPrimitive (line 838) | function isPrimitive(obj) {
function HashMap (line 846) | function HashMap(obj) {
function createHashMap (line 889) | function createHashMap(obj) {
function concatArray (line 893) | function concatArray(a, b) {
function noop (line 906) | function noop() {}
function create (line 961) | function create(x, y) {
function copy (line 980) | function copy(out, v) {
function clone$1 (line 991) | function clone$1(v) {
function set (line 1005) | function set(out, a, b) {
function add (line 1017) | function add(out, v1, v2) {
function scaleAndAdd (line 1030) | function scaleAndAdd(out, v1, v2, a) {
function sub (line 1042) | function sub(out, v1, v2) {
function len (line 1053) | function len(v) {
function lenSquare (line 1063) | function lenSquare(v) {
function mul (line 1074) | function mul(out, v1, v2) {
function div (line 1086) | function div(out, v1, v2) {
function dot (line 1098) | function dot(v1, v2) {
function scale (line 1108) | function scale(out, v, s) {
function normalize (line 1119) | function normalize(out, v) {
function distance (line 1138) | function distance(v1, v2) {
function distanceSquare (line 1152) | function distanceSquare(v1, v2) {
function negate (line 1163) | function negate(out, v) {
function lerp (line 1176) | function lerp(out, v1, v2, t) {
function applyTransform (line 1188) | function applyTransform(out, v, m) {
function min (line 1202) | function min(out, v1, v2) {
function max (line 1214) | function max(out, v1, v2) {
function Draggable (line 1251) | function Draggable() {
function param (line 1329) | function param(target, e) {
function normalizeQuery (line 1566) | function normalizeQuery(host, query) {
function on (line 1574) | function on(eventful, event, query, handler, context, isOnce) {
function getBoundingClientRect (line 1628) | function getBoundingClientRect(el) {
function clientToLocal (line 1634) | function clientToLocal(el, e, out, calculate) {
function defaultGetZrXY (line 1675) | function defaultGetZrXY(el, e, out) {
function normalizeEvent (line 1686) | function normalizeEvent(el, e, calculate) {
function addEventListener (line 1729) | function addEventListener(el, name, handler) {
function removeEventListener (line 1759) | function removeEventListener(el, name, handler) {
function isMiddleOrRightButtonOnMouseUpDown (line 1795) | function isMiddleOrRightButtonOnMouseUpDown(e) {
function dist$1 (line 1867) | function dist$1(pointPair) {
function center (line 1874) | function center(pointPair) {
function makeEventPacket (line 1920) | function makeEventPacket(eveType, targetInfo, event) {
function stopEvent (line 1942) | function stopEvent(event) {
function EmptyProxy (line 1946) | function EmptyProxy() {}
function isHover (line 2265) | function isHover(displayable, x, y) {
function create$1 (line 2303) | function create$1() {
function identity (line 2314) | function identity(out) {
function copy$1 (line 2329) | function copy$1(out, m) {
function mul$1 (line 2345) | function mul$1(out, m1, m2) {
function translate (line 2370) | function translate(out, a, v) {
function rotate (line 2386) | function rotate(out, a, rad) {
function scale$1 (line 2411) | function scale$1(out, a, v) {
function invert (line 2428) | function invert(out, a) {
function clone$2 (line 2456) | function clone$2(a) {
function isNotAroundZero (line 2484) | function isNotAroundZero(val) {
function Clip (line 3126) | function Clip(options) {
function clampCssByte (line 3500) | function clampCssByte(i) { // Clamp to integer 0 .. 255.
function clampCssAngle (line 3505) | function clampCssAngle(i) { // Clamp to integer 0 .. 360.
function clampCssFloat (line 3510) | function clampCssFloat(f) { // Clamp to float 0.0 .. 1.0.
function parseCssInt (line 3514) | function parseCssInt(str) { // int or percentage.
function parseCssFloat (line 3521) | function parseCssFloat(str) { // float or percentage.
function cssHueToRgb (line 3528) | function cssHueToRgb(m1, m2, h) {
function lerpNumber (line 3548) | function lerpNumber(a, b, p) {
function setRgba (line 3552) | function setRgba(out, r, g, b, a) {
function copyRgba (line 3556) | function copyRgba(out, a) {
function putToCache (line 3564) | function putToCache(colorStr, rgbaArr) {
function parse (line 3578) | function parse(colorStr, rgbaArr) {
function hsla2rgba (line 3694) | function hsla2rgba(hsla, rgba) {
function rgba2hsla (line 3722) | function rgba2hsla(rgba) {
function lift (line 3790) | function lift(color, level) {
function toHex (line 3816) | function toHex(color) {
function fastLerp (line 3830) | function fastLerp(normalizedValue, colors, out) {
function lerp$1 (line 3866) | function lerp$1(normalizedValue, colors, fullOutput) {
function modifyHSL (line 3913) | function modifyHSL(color, h, s, l) {
function modifyAlpha (line 3932) | function modifyAlpha(color, alpha) {
function stringify (line 3946) | function stringify(arrColor, type) {
function defaultGetter (line 3977) | function defaultGetter(target, key) {
function defaultSetter (line 3981) | function defaultSetter(target, key, value) {
function interpolateNumber (line 3991) | function interpolateNumber(p0, p1, percent) {
function interpolateString (line 4001) | function interpolateString(p0, p1, percent) {
function interpolateArray (line 4012) | function interpolateArray(p0, p1, percent, out, arrDim) {
function fillArr (line 4033) | function fillArr(arr0, arr1, arrDim) {
function isArraySame (line 4076) | function isArraySame(arr0, arr1, arrDim) {
function catmullRomInterpolateArray (line 4116) | function catmullRomInterpolateArray(
function catmullRomInterpolate (line 4151) | function catmullRomInterpolate(p0, p1, p2, p3, t, t2, t3) {
function cloneValue (line 4159) | function cloneValue(value) {
function rgba2String (line 4176) | function rgba2String(rgba) {
function getArrayDim (line 4184) | function getArrayDim(keyframes) {
function createTrackClip (line 4189) | function createTrackClip(animator, easing, oneTrackDone, keyframes, prop...
function animateTo (line 4805) | function animateTo(animatable, target, time, delay, easing, callback, fo...
function animateToShallow (line 4887) | function animateToShallow(animatable, path, source, target, time, delay,...
function setAttrByPath (line 4930) | function setAttrByPath(el, path, name, value) {
function BoundingRect (line 5211) | function BoundingRect(x, y, width, height) {
function minRunLength (line 5708) | function minRunLength(n) {
function makeAscendingRun (line 5719) | function makeAscendingRun(array, lo, hi, compare) {
function reverseRun (line 5742) | function reverseRun(array, lo, hi) {
function binaryInsertionSort (line 5752) | function binaryInsertionSort(array, lo, hi, start, compare) {
function gallopLeft (line 5798) | function gallopLeft(value, array, start, length, hint, compare) {
function gallopRight (line 5855) | function gallopRight(value, array, start, length, hint, compare) {
function TimSort (line 5916) | function TimSort(array, compare) {
function sort (line 6315) | function sort(array, compare, lo, hi) {
function shapeCompareFunc (line 6365) | function shapeCompareFunc(a, b) {
function createLinearGradient (line 6634) | function createLinearGradient(ctx, obj, rect) {
function createRadialGradient (line 6658) | function createRadialGradient(ctx, obj, rect) {
function returnFalse (line 7123) | function returnFalse() {
function createDom (line 7135) | function createDom(id, painter, dpr) {
function findExistImage (line 7372) | function findExistImage(newImageOrSrc) {
function createOrUpdateImage (line 7393) | function createOrUpdateImage(newImageOrSrc, image, hostEl, cb, cbPayload) {
function imageOnLoad (line 7437) | function imageOnLoad() {
function isImageReady (line 7450) | function isImageReady(image) {
function $override$1 (line 7465) | function $override$1(name, fn) {
function getWidth (line 7475) | function getWidth(text, font) {
function getBoundingRect (line 7511) | function getBoundingRect(text, font, textAlign, textVerticalAlign, textP...
function getPlainTextRect (line 7517) | function getPlainTextRect(text, font, textAlign, textVerticalAlign, text...
function getRichTextRect (line 7534) | function getRichTextRect(text, font, textAlign, textVerticalAlign, textP...
function adjustTextX (line 7559) | function adjustTextX(x, width, textAlign) {
function adjustTextY (line 7577) | function adjustTextY(y, height, textVerticalAlign) {
function adjustTextPositionOnRect (line 7594) | function adjustTextPositionOnRect(textPosition, rect, distance) {
function truncateText (line 7703) | function truncateText(text, containerWidth, font, ellipsis, options) {
function prepareTruncateOptions (line 7720) | function prepareTruncateOptions(containerWidth, font, ellipsis, options) {
function truncateSingleLine (line 7758) | function truncateSingleLine(textLine, options) {
function estimateLength (line 7796) | function estimateLength(text, contentWidth, ascCharWidth, cnCharWidth) {
function getLineHeight (line 7811) | function getLineHeight(font) {
function measureText (line 7822) | function measureText(text, font) {
function parsePlainText (line 7841) | function parsePlainText(text, font, padding, textLineHeight, truncate) {
function parseRichText (line 7914) | function parseRichText(text, style) {
function pushTokens (line 8076) | function pushTokens(block, str, styleName) {
function makeFont (line 8115) | function makeFont(style) {
function buildPath (line 8137) | function buildPath(ctx, shape) {
function normalizeTextStyle (line 8235) | function normalizeTextStyle(style) {
function normalizeStyle (line 8241) | function normalizeStyle(style) {
function renderText (line 8274) | function renderText(hostEl, ctx, text, style, rect, prevEl) {
function renderPlainText (line 8282) | function renderPlainText(hostEl, ctx, text, style, rect, prevEl) {
function renderRichText (line 8437) | function renderRichText(hostEl, ctx, text, style, rect, prevEl) {
function drawRichText (line 8453) | function drawRichText(hostEl, ctx, contentBlock, style, rect) {
function applyTextRotation (line 8529) | function applyTextRotation(ctx, style, rect, x, y) {
function placeToken (line 8549) | function placeToken(hostEl, ctx, token, style, lineHeight, lineTop, x, t...
function needDrawBackground (line 8612) | function needDrawBackground(style) {
function drawBackground (line 8621) | function drawBackground(hostEl, ctx, style, x, y, width, height) {
function onBgImageLoaded (line 8686) | function onBgImageLoaded(image, textBackgroundColor) {
function getBoxPosition (line 8692) | function getBoxPosition(blockHeiht, style, rect) {
function setCtx (line 8734) | function setCtx(ctx, prop, value) {
function getStroke (line 8744) | function getStroke(stroke, lineWidth) {
function getFill (line 8753) | function getFill(fill) {
function parsePercent (line 8762) | function parsePercent(value, maxValue) {
function getTextXForPadding (line 8772) | function getTextXForPadding(x, textAlign, textPadding) {
function needDrawText (line 8785) | function needDrawText(text, style) {
function Displayable (line 8867) | function Displayable(opts) {
function ZImage (line 9128) | function ZImage(opts) {
function parseInt10 (line 9235) | function parseInt10(val) {
function isLayerValid (line 9239) | function isLayerValid(layer) {
function isDisplayableCulled (line 9259) | function isDisplayableCulled(el, width, height) {
function isClipPathChanged (line 9269) | function isClipPathChanged(clipPaths, prevClipPaths) {
function doClip (line 9284) | function doClip(clipPaths, ctx) {
function createRoot (line 9297) | function createRoot(width, height) {
function updatePrevLayer (line 9907) | function updatePrevLayer(idx) {
function step (line 10432) | function step() {
function eventNameFix (line 10545) | function eventNameFix(name) {
function setTouchTimer (line 10569) | function setTouchTimer(instance) {
function isPointerFromTouch (line 10732) | function isPointerFromTouch(event) {
function initDomHandler (line 10755) | function initDomHandler(instance) {
function HandlerDomProxy (line 10779) | function HandlerDomProxy(dom) {
function init$1 (line 10895) | function init$1(dom, opts) {
function dispose$1 (line 10905) | function dispose$1(zr) {
function getInstance (line 10926) | function getInstance(id) {
function registerPainter (line 10930) | function registerPainter(name, Ctor) {
function delInstance (line 10934) | function delInstance(id) {
function normalizeToArray (line 11351) | function normalizeToArray(value) {
function defaultEmphasis (line 11374) | function defaultEmphasis(opt, key, subOpts) {
function getDataItemValue (line 11416) | function getDataItemValue(dataItem) {
function isDataItemOption (line 11426) | function isDataItemOption(dataItem) {
function mappingToExists (line 11442) | function mappingToExists(exists, newCptOptions) {
function makeIdAndName (line 11534) | function makeIdAndName(mapResult) {
function isNameSpecified (line 11611) | function isNameSpecified(componentModel) {
function isIdInner (line 11622) | function isIdInner(cptOption) {
function compressBatches (line 11636) | function compressBatches(batchA, batchB) {
function queryDataIndex (line 11687) | function queryDataIndex(data, payload) {
function makeInner (line 11727) | function makeInner() {
function parseFinder (line 11771) | function parseFinder(ecModel, finder, opt) {
function has (line 11824) | function has(obj, prop) {
function setAttribute (line 11828) | function setAttribute(dom, key, value) {
function getAttribute (line 11834) | function getAttribute(dom, key) {
function getTooltipRenderMode (line 11840) | function getTooltipRenderMode(renderModeOption) {
function parseClassType$1 (line 11876) | function parseClassType$1(componentType) {
function checkClassType (line 11889) | function checkClassType(componentType) {
function enableClassExtend (line 11899) | function enableClassExtend(RootClass, mandatoryMethods) {
function enableClassCheck (line 11944) | function enableClassCheck(Clz) {
function superCall (line 11963) | function superCall(context, methodName) {
function superApply (line 11968) | function superApply(context, methodName, args) {
function enableClassManagement (line 11978) | function enableClassManagement(entity, options) {
function isAroundZero (line 12257) | function isAroundZero(val) {
function isNotAroundZero$1 (line 12260) | function isNotAroundZero$1(val) {
function cubicAt (line 12273) | function cubicAt(p0, p1, p2, p3, t) {
function cubicDerivativeAt (line 12289) | function cubicDerivativeAt(p0, p1, p2, p3, t) {
function cubicRootAt (line 12308) | function cubicRootAt(p0, p1, p2, p3, val, roots) {
function cubicExtrema (line 12400) | function cubicExtrema(p0, p1, p2, p3, extrema) {
function cubicSubdivide (line 12444) | function cubicSubdivide(p0, p1, p2, p3, t, out) {
function cubicProjectPoint (line 12481) | function cubicProjectPoint(
function quadraticAt (line 12559) | function quadraticAt(p0, p1, p2, t) {
function quadraticDerivativeAt (line 12572) | function quadraticDerivativeAt(p0, p1, p2, t) {
function quadraticRootAt (line 12585) | function quadraticRootAt(p0, p1, p2, val, roots) {
function quadraticExtremum (line 12630) | function quadraticExtremum(p0, p1, p2) {
function quadraticSubdivide (line 12650) | function quadraticSubdivide(p0, p1, p2, t, out) {
function quadraticProjectPoint (line 12680) | function quadraticProjectPoint(
function fromPoints (line 12766) | function fromPoints(points, min$$1, max$$1) {
function fromLine (line 12800) | function fromLine(x0, y0, x1, y1, min$$1, max$$1) {
function fromCubic (line 12823) | function fromCubic(
function fromQuadratic (line 12870) | function fromQuadratic(x0, y0, x1, y1, x2, y2, min$$1, max$$1) {
function fromArc (line 12906) | function fromArc(
function containStroke$1 (line 13758) | function containStroke$1(x0, y0, x1, y1, lineWidth, x, y) {
function containStroke$2 (line 13802) | function containStroke$2(x0, y0, x1, y1, x2, y2, x3, y3, lineWidth, x, y) {
function containStroke$3 (line 13836) | function containStroke$3(x0, y0, x1, y1, x2, y2, lineWidth, x, y) {
function normalizeRadian (line 13859) | function normalizeRadian(angle) {
function containStroke$4 (line 13882) | function containStroke$4(
function windingLine (line 13924) | function windingLine(x0, y0, x1, y1, x, y) {
function isAroundEqual (line 13951) | function isAroundEqual(a, b) {
function swapExtrema (line 13959) | function swapExtrema() {
function windingCubic (line 13965) | function windingCubic(x0, y0, x1, y1, x2, y2, x3, y3, x, y) {
function windingQuadratic (line 14028) | function windingQuadratic(x0, y0, x1, y1, x2, y2, x, y) {
function windingArc (line 14077) | function windingArc(
function containPath (line 14141) | function containPath(data, lineWidth, isStroke, x, y) {
function contain (line 14325) | function contain(pathData, x, y) {
function containStroke (line 14329) | function containStroke(pathData, lineWidth, x, y) {
function Path (line 14344) | function Path(opts) {
function processArc (line 14830) | function processArc(x1, y1, x2, y2, fa, fs, rx, ry, psiDeg, cmd, path) {
function createPathProxyFromString (line 14893) | function createPathProxyFromString(data) {
function createPathOptions (line 15162) | function createPathOptions(str, opts) {
function createFromString (line 15193) | function createFromString(str, opts) {
function extendFromString (line 15202) | function extendFromString(str, opts) {
function mergePath$1 (line 15212) | function mergePath$1(pathEls, opts) {
function interpolate (line 15526) | function interpolate(p0, p1, p2, p3, t, t2, t3) {
function buildPath$1 (line 15677) | function buildPath$1(ctx, shape, closePath) {
function subPixelOptimizeLine$1 (line 15783) | function subPixelOptimizeLine$1(outputShape, inputShape, style) {
function subPixelOptimizeRect$1 (line 15826) | function subPixelOptimizeRect$1(outputShape, inputShape, style) {
function subPixelOptimize$1 (line 15858) | function subPixelOptimize$1(position, lineWidth, positiveOrNegative) {
function someVectorAt (line 16010) | function someVectorAt(shape, t, isTangent) {
function IncrementalDisplayble (line 16336) | function IncrementalDisplayble(opts) {
function extendShape (line 16490) | function extendShape(opts) {
function extendPath (line 16497) | function extendPath(pathData, opts) {
function makePath (line 16508) | function makePath(pathData, opts, rect, layout) {
function makeImage (line 16526) | function makeImage(imageUrl, rect, layout) {
function centerGraphic (line 16555) | function centerGraphic(rect, boundingRect) {
function resizePath (line 16585) | function resizePath(path, rect) {
function subPixelOptimizeLine (line 16610) | function subPixelOptimizeLine(param) {
function subPixelOptimizeRect (line 16636) | function subPixelOptimizeRect(param) {
function subPixelOptimize (line 16664) | function subPixelOptimize(position, lineWidth, positiveOrNegative) {
function hasFillOrStroke (line 16673) | function hasFillOrStroke(fillOrStroke) {
function liftColor (line 16681) | function liftColor(color) {
function cacheElementStl (line 16696) | function cacheElementStl(el) {
function doSingleEnterHover (line 16724) | function doSingleEnterHover(el) {
function setDefaultHoverFillStroke (line 16785) | function setDefaultHoverFillStroke(targetStyle, hoverStyle, prop) {
function doSingleLeaveHover (line 16791) | function doSingleLeaveHover(el) {
function traverseCall (line 16824) | function traverseCall(el, method) {
function setElementHoverStyle (line 16847) | function setElementHoverStyle(el, hoverStl) {
function isInEmphasis (line 16886) | function isInEmphasis(el) {
function onElementMouseOver (line 16890) | function onElementMouseOver(e) {
function onElementMouseOut (line 16899) | function onElementMouseOut(e) {
function enterEmphasis (line 16908) | function enterEmphasis() {
function leaveEmphasis (line 16913) | function leaveEmphasis() {
function setHoverStyle (line 16952) | function setHoverStyle(el, hoverStyle, opt) {
function setAsHoverStyleTrigger (line 16977) | function setAsHoverStyleTrigger(el, opt) {
function setLabelStyle (line 17012) | function setLabelStyle(
function setTextStyle (line 17076) | function setTextStyle(
function setText (line 17095) | function setText(textStyle, labelModel, defaultColor) {
function setTextStyleCommon (line 17142) | function setTextStyleCommon(textStyle, textStyleModel, opt, isEmphasis) {
function getRichItemNames (line 17217) | function getRichItemNames(textStyleModel) {
function setTokenTextStyle (line 17235) | function setTokenTextStyle(textStyle, textStyleModel, globalTextStyle, o...
function getAutoColor (line 17304) | function getAutoColor(color, opt) {
function applyDefaultTextStyle (line 17325) | function applyDefaultTextStyle(textStyle) {
function rollbackDefaultTextStyle (line 17382) | function rollbackDefaultTextStyle(style) {
function getFont (line 17392) | function getFont(opt, ecModel) {
function animateOrSetProps (line 17404) | function animateOrSetProps(isUpdate, el, props, animatableModel, dataInd...
function updateProps (line 17464) | function updateProps(el, props, animatableModel, dataIndex, cb) {
function initProps (line 17482) | function initProps(el, props, animatableModel, dataIndex, cb) {
function getTransform (line 17493) | function getTransform(target, ancestor) {
function applyTransform$1 (line 17513) | function applyTransform$1(target, transform, invert$$1) {
function transformDirection (line 17530) | function transformDirection(direction, transform, invert$$1) {
function groupTransition (line 17554) | function groupTransition(g1, g2, animatableModel, cb) {
function clipPointsByRect (line 17602) | function clipPointsByRect(points, rect) {
function clipRectByRect (line 17621) | function clipRectByRect(targetRect, rect) {
function createIcon (line 17645) | function createIcon(iconStr, opt, rect) {
function Model (line 17861) | function Model(option, parentModel, ecModel) {
function doGet (line 18009) | function doGet(obj, pathArr, parentModel) {
function getParent (line 18028) | function getParent(model, path) {
function getUID (line 18068) | function getUID(type) {
function enableSubTypeDefaulter (line 18077) | function enableSubTypeDefaulter(entity) {
function enableTopologicalTravel (line 18109) | function enableTopologicalTravel(entity, dependencyGetter) {
function _trim (line 18245) | function _trim(str) {
function linearMap (line 18258) | function linearMap(val, domain, range, clamp) {
function parsePercent$1 (line 18311) | function parsePercent$1(percent, all) {
function round$2 (line 18346) | function round$2(x, precision, returnStr) {
function asc (line 18356) | function asc(arr) {
function getPrecision (line 18367) | function getPrecision(val) {
function getPrecisionSafe (line 18389) | function getPrecisionSafe(val) {
function getPixelPrecision (line 18411) | function getPixelPrecision(dataExtent, pixelExtent) {
function getPercentWithPrecision (line 18432) | function getPercentWithPrecision(valueList, idx, precision) {
function remRadian (line 18491) | function remRadian(radian) {
function isRadianAroundZero (line 18500) | function isRadianAroundZero(val) {
function parseDate (line 18523) | function parseDate(value) {
function quantity (line 18590) | function quantity(val) {
function quantityExponent (line 18594) | function quantityExponent(val) {
function nice (line 18609) | function nice(val, round) {
function quantile (line 18691) | function quantile(ascArr, p) {
function reformIntervals (line 18721) | function reformIntervals(list) {
function isNumeric (line 18771) | function isNumeric(v) {
function addCommas (line 18822) | function addCommas(x) {
function toCamelCase (line 18836) | function toCamelCase(str, upperCaseFirst) {
function encodeHTML (line 18860) | function encodeHTML(source) {
function formatTpl (line 18881) | function formatTpl(tpl, paramsList, encode) {
function formatTplSimple (line 18916) | function formatTplSimple(tpl, param, encode) {
function getTooltipMarker (line 18935) | function getTooltipMarker(opt, extraCssText) {
function pad (line 18968) | function pad(str, len) {
function formatTime (line 18983) | function formatTime(tpl, value, isUTC) {
function capitalFirst (line 19025) | function capitalFirst(str) {
function boxLayout (line 19086) | function boxLayout(orient, group, gap, maxWidth, maxHeight) {
function getAvailableSize (line 19193) | function getAvailableSize(positionInfo, containerRect, margin) {
function getLayoutRect (line 19231) | function getLayoutRect(
function positionElement (line 19366) | function positionElement(el, positionInfo, containerRect, margin, opt) {
function sizeCalculable (line 19416) | function sizeCalculable(option, hvIdx) {
function mergeLayoutParam (line 19446) | function mergeLayoutParam(targetOption, newOption, opt) {
function getLayoutParams (line 19533) | function getLayoutParams(source) {
function copyLayoutParams (line 19542) | function copyLayoutParams(target, source) {
function getDependencies (line 19780) | function getDependencies(componentType) {
function getNearestColorPalette (line 19905) | function getNearestColorPalette(colors, requestColorNum) {
function getCoordSysDefineBySeries (line 20006) | function getCoordSysDefineBySeries(seriesModel) {
function isCategory (line 20128) | function isCategory(axisModel) {
function Source (line 20230) | function Source(fields) {
function detectSourceFormat (line 20327) | function detectSourceFormat(datasetModel) {
function getSource (line 20394) | function getSource(seriesModel) {
function resetSourceDefaulter (line 20402) | function resetSourceDefaulter(ecModel) {
function prepareSource (line 20423) | function prepareSource(seriesModel) {
function completeBySourceData (line 20474) | function completeBySourceData(data, sourceFormat, seriesLayoutBy, source...
function normalizeDimensionsDefine (line 20567) | function normalizeDimensionsDefine(dimensionsDefine) {
function arrayRowsTravelFirst (line 20606) | function arrayRowsTravelFirst(cb, seriesLayoutBy, data, maxLoop) {
function objectRowsCollectDimensions (line 20621) | function objectRowsCollectDimensions(data) {
function makeDefaultEncode (line 20637) | function makeDefaultEncode(
function getDatasetModel (line 20738) | function getDatasetModel(seriesModel) {
function guessOrdinal (line 20760) | function guessOrdinal(source, dimIndex) {
function doGuessOrdinal (line 20772) | function doGuessOrdinal(
function visitComponent (line 21016) | function visitComponent(mainType, dependencies) {
function getQueryCond (line 21251) | function getQueryCond(q) {
function doFilter (line 21270) | function doFilter(res) {
function isNotTargetSeries (line 21473) | function isNotTargetSeries(seriesModel, payload) {
function mergeTheme (line 21487) | function mergeTheme(option, theme) {
function initBase (line 21512) | function initBase(baseOption) {
function getComponentsByTypes (line 21551) | function getComponentsByTypes(componentsMap, types) {
function determineSubType (line 21567) | function determineSubType(mainType, newCptOption, existComponent) {
function createSeriesIndices (line 21582) | function createSeriesIndices(ecModel, seriesModels) {
function filterBySubType (line 21593) | function filterBySubType(components, condition) {
function assertSeriesInitialized (line 21606) | function assertSeriesInitialized(ecModel) {
function ExtensionAPI (line 21644) | function ExtensionAPI(chartInstance) {
function CoordinateSystemManager (line 21671) | function CoordinateSystemManager() {
function OptionManager (line 21797) | function OptionManager(api) {
function parseRawOption (line 22002) | function parseRawOption(rawOption, optionPreprocessorFuncs, isNew) {
function applyMediaQuery (line 22074) | function applyMediaQuery(query, ecWidth, ecHeight) {
function compare (line 22101) | function compare(real, expect, operator) {
function indicesEquals (line 22113) | function indicesEquals(indices1, indices2) {
function mergeOption (line 22139) | function mergeOption(oldOption, newOption) {
function compatEC2ItemStyle (line 22194) | function compatEC2ItemStyle(opt) {
function convertNormalEmphasis (line 22226) | function convertNormalEmphasis(opt, optType, useExtend) {
function removeEC3NormalStatus (line 22247) | function removeEC3NormalStatus(opt) {
function compatTextStyle (line 22259) | function compatTextStyle(opt, propName) {
function compatEC3CommonStyles (line 22273) | function compatEC3CommonStyles(opt) {
function processSeries (line 22281) | function processSeries(seriesOpt) {
function toArr (line 22384) | function toArr(o) {
function toObj (line 22388) | function toObj(o) {
function get (line 22486) | function get(opt, path) {
function set$1 (line 22498) | function set$1(opt, path, val, overwrite) {
function compatLayoutProperties (line 22514) | function compatLayoutProperties(option) {
function calculateStack (line 22637) | function calculateStack(stackInfoList) {
function DefaultDataProvider (line 22730) | function DefaultDataProvider(source, dimSize) {
function countSimply (line 22884) | function countSimply() {
function getItemSimply (line 22887) | function getItemSimply(idx) {
function appendDataSimply (line 22890) | function appendDataSimply(newData) {
function getRawValueSimply (line 22921) | function getRawValueSimply(dataItem, dataIndex, dimIndex, dimName) {
function getDimValueSimply (line 22962) | function getDimValueSimply(dataItem, dimName, dataIndex, dimIndex) {
function converDataValue (line 22972) | function converDataValue(value, dimInfo) {
function retrieveRawValue (line 23015) | function retrieveRawValue(data, dataIndex, dim) {
function retrieveRawAttr (line 23052) | function retrieveRawAttr(data, dataIndex, attr) {
function createTask (line 23229) | function createTask(define) {
function Task (line 23241) | function Task(define) {
function normalizeModBy (line 23296) | function normalizeModBy(val) {
function sequentialNext (line 23395) | function sequentialNext() {
function modNext (line 23399) | function modNext() {
function doProgress (line 23418) | function doProgress(taskIns, progress, start, end, modBy, modDataCount) {
function reset (line 23426) | function reset(taskIns, skip) {
function formatArrayValue (line 23849) | function formatArrayValue(value) {
function formatSingleValue (line 23910) | function formatSingleValue(val) {
function autoSeriesName (line 24077) | function autoSeriesName(seriesModel) {
function getSeriesAutoName (line 24086) | function getSeriesAutoName(seriesModel) {
function dataTaskCount (line 24097) | function dataTaskCount(context) {
function dataTaskReset (line 24101) | function dataTaskReset(context) {
function dataTaskProgress (line 24107) | function dataTaskProgress(param, context) {
function wrapData (line 24115) | function wrapData(data, seriesModel) {
function onDataSelfChange (line 24121) | function onDataSelfChange(seriesModel) {
function getCurrentTask (line 24129) | function getCurrentTask(seriesModel) {
function Chart (line 24275) | function Chart() {
function elSetState (line 24415) | function elSetState(el, state) {
function toggleHighlight (line 24430) | function toggleHighlight(data, payload, state) {
function renderTaskPlan (line 24455) | function renderTaskPlan(context) {
function renderTaskReset (line 24459) | function renderTaskReset(context) {
function throttle (line 24539) | function throttle(fn, delay, debounce) {
function createOrUpdate (line 24640) | function createOrUpdate(obj, fnAttr, rate, throttleType) {
function clear (line 24674) | function clear(obj, fnAttr) {
function replace (line 24979) | function replace(str, keyValues) {
function getConfig (line 24994) | function getConfig(path) {
function getTitle (line 25009) | function getTitle() {
function getSeriesTypeName (line 25017) | function getSeriesTypeName(type) {
function Scheduler (line 25162) | function Scheduler(ecInstance, api, dataProcessorHandlers, visualHandler...
function performStageTasks (line 25351) | function performStageTasks(scheduler, stageHandlers, ecModel, payload, o...
function createSeriesStageTask (line 25436) | function createSeriesStageTask(scheduler, stageHandler, stageHandlerReco...
function createOverallStageTask (line 25488) | function createOverallStageTask(scheduler, stageHandler, stageHandlerRec...
function overallTaskReset (line 25562) | function overallTaskReset(context) {
function stubReset (line 25568) | function stubReset(context, upstreamContext) {
function stubProgress (line 25572) | function stubProgress() {
function stubOnDirty (line 25577) | function stubOnDirty() {
function seriesTaskPlan (line 25581) | function seriesTaskPlan(context) {
function seriesTaskReset (line 25587) | function seriesTaskReset(context) {
function makeSeriesTaskProgress (line 25603) | function makeSeriesTaskProgress(resetDefineIdx) {
function seriesTaskCount (line 25619) | function seriesTaskCount(context) {
function pipe (line 25623) | function pipe(scheduler, seriesModel, task) {
function detectSeriseType (line 25656) | function detectSeriseType(legacyFunc) {
function mockMethods (line 25682) | function mockMethods(target, Clz) {
function parseXML (line 25983) | function parseXML(svg) {
function SVGParser (line 26001) | function SVGParser() {
function _parseGradientColorStops (line 26374) | function _parseGradientColorStops(xmlNode, gradient) {
function inheritStyle (line 26399) | function inheritStyle(parent, child) {
function parsePoints (line 26408) | function parsePoints(pointsString) {
function parseAttributes (line 26441) | function parseAttributes(xmlNode, el, defs, onlyInlineStyle) {
function getPaint (line 26512) | function getPaint(str, defs) {
function parseTransformAttribute (line 26527) | function parseTransformAttribute(xmlNode, node) {
function parseStyleAttribute (line 26574) | function parseStyleAttribute(xmlNode) {
function makeViewBoxTransform (line 26604) | function makeViewBoxTransform(viewBoxRect, width, height) {
function parseSVG (line 26637) | function parseSVG(xml, opt) {
function createRegisterEventWithLowercaseName (line 26809) | function createRegisterEventWithLowercaseName(method) {
function MessageCenter (line 26820) | function MessageCenter() {
function ECharts (line 26831) | function ECharts(dom, theme$$1, opts) {
function doConvertPixel (line 27339) | function doConvertPixel(methodName, finder, value) {
function prepare (line 27682) | function prepare(ecIns) {
function updateDirectly (line 27700) | function updateDirectly(ecIns, method, payload, mainType, subType) {
function updateStreamModes (line 27780) | function updateStreamModes(ecIns, ecModel) {
function doDispatchAction (line 27883) | function doDispatchAction(payload, silent) {
function flushPendingActions (line 27960) | function flushPendingActions(silent) {
function triggerUpdatedEvent (line 27968) | function triggerUpdatedEvent(silent) {
function bindRenderedEvent (line 27984) | function bindRenderedEvent(zr, ecIns) {
function prepareView (line 28047) | function prepareView(ecIns, type, ecModel, scheduler) {
function clearColorPalette (line 28134) | function clearColorPalette(ecModel) {
function render (line 28141) | function render(ecIns, ecModel, api, payload) {
function renderComponents (line 28159) | function renderComponents(ecIns, ecModel, api, payload, dirtyList) {
function renderSeries (line 28172) | function renderSeries(ecIns, ecModel, api, payload, dirtyMap) {
function performPostUpdateFuncs (line 28204) | function performPostUpdateFuncs(ecModel, api) {
function updateHoverLayerStatus (line 28353) | function updateHoverLayerStatus(zr, ecModel) {
function updateBlend (line 28376) | function updateBlend(seriesModel, chartView) {
function updateZ (line 28403) | function updateZ(model, view) {
function createExtensionAPI (line 28415) | function createExtensionAPI(ecInstance) {
function EventProcessor (line 28453) | function EventProcessor() {
function check (line 28543) | function check(query, host, prop, propOnHost) {
function enableConnect (line 28609) | function enableConnect(chart) {
function init (line 28661) | function init(dom, theme$$1, opts) {
function connect (line 28712) | function connect(groupId) {
function disConnect (line 28736) | function disConnect(groupId) {
function dispose (line 28749) | function dispose(chart) {
function getInstanceByDom (line 28766) | function getInstanceByDom(dom) {
function getInstanceById (line 28774) | function getInstanceById(key) {
function registerTheme (line 28781) | function registerTheme(name, theme$$1) {
function registerPreprocessor (line 28789) | function registerPreprocessor(preprocessorFunc) {
function registerProcessor (line 28797) | function registerProcessor(priority, processor) {
function registerPostUpdate (line 28805) | function registerPostUpdate(postUpdateFunc) {
function registerAction (line 28825) | function registerAction(actionInfo, eventName, action) {
function registerCoordinateSystem (line 28853) | function registerCoordinateSystem(type, CoordinateSystem$$1) {
function getCoordinateSystemDimensions (line 28862) | function getCoordinateSystemDimensions(type) {
function registerLayout (line 28879) | function registerLayout(priority, layoutTask) {
function registerVisual (line 28887) | function registerVisual(priority, visualTask) {
function normalizeRegister (line 28894) | function normalizeRegister(targetList, priority, fn, defaultPriority, vi...
function registerLoading (line 28922) | function registerLoading(name, loadingFx) {
function extendComponentModel (line 28930) | function extendComponentModel(opts/*, superClass*/) {
function extendComponentView (line 28943) | function extendComponentView(opts/*, superClass*/) {
function extendSeriesModel (line 28956) | function extendSeriesModel(opts/*, superClass*/) {
function extendChartView (line 28970) | function extendChartView(opts/*, superClass*/) {
function setCanvasCreator (line 28996) | function setCanvasCreator(creator) {
function registerMap (line 29026) | function registerMap(mapName, geoJson, specialAreas) {
function getMap (line 29034) | function getMap(mapName) {
function defaultKeyGetter (line 29090) | function defaultKeyGetter(item) {
function DataDiffer (line 29101) | function DataDiffer(oldArr, newArr, oldKeyGetter, newKeyGetter, context) {
function initIndexMap (line 29199) | function initIndexMap(arr, map, keyArr, keyGetterName, dataDiffer) {
function summarizeDimensions (line 29240) | function summarizeDimensions(data) {
function getDimensionTypeByAxis (line 29328) | function getDimensionTypeByAxis(axisType) {
function mayLabelDimType (line 29336) | function mayLabelDimType(dimType) {
function getIndicesCtor (line 29407) | function getIndicesCtor(list) {
function cloneChunk (line 29412) | function cloneChunk(originalChunk) {
function transferProperties (line 29427) | function transferProperties(target, source) {
function prepareChunks (line 29998) | function prepareChunks(storage, dimInfo, chunkSize, chunkCount, end) {
function prepareInvertedIndex (line 30019) | function prepareInvertedIndex(list) {
function getRawValueFromStore (line 30043) | function getRawValueFromStore(list, dimIndex, rawIndex) {
function getRawIndexWithoutIndices (line 30507) | function getRawIndexWithoutIndices(idx) {
function getRawIndexWithIndices (line 30511) | function getRawIndexWithIndices(idx) {
function getId (line 30558) | function getId(list, rawIndex) {
function normalizeDimensions (line 30570) | function normalizeDimensions(dimensions) {
function validateDimensions (line 30577) | function validateDimensions(list, dims) {
function cloneListForMapAndSample (line 30889) | function cloneListForMapAndSample(original, excludeDimensions) {
function cloneDimStore (line 30921) | function cloneDimStore(originalDimStore) {
function getInitialExtent (line 30929) | function getInitialExtent() {
function completeDimensions (line 31414) | function completeDimensions(sysDims, source, opt) {
function getDimCount (line 31587) | function getDimCount(source, sysDims, dimsDef, optDimCount) {
function genName (line 31603) | function genName(name, map$$1, fromZero) {
function enableDataStack (line 31699) | function enableDataStack(seriesModel, dimensionInfoList, opt) {
function isDimensionStacked (line 31797) | function isDimensionStacked(data, stackedDim /*, stackedByDim*/) {
function getStackedDimension (line 31815) | function getStackedDimension(data, targetDim) {
function createListFromArray (line 31846) | function createListFromArray(source, seriesModel, opt) {
function isNeedCompleteOrdinalData (line 31927) | function isNeedCompleteOrdinalData(source) {
function firstDataNotNull (line 31935) | function firstDataNotNull(data) {
function Scale (line 31970) | function Scale(setting) {
function OrdinalMeta (line 32134) | function OrdinalMeta(opt) {
function getOrCreateMap (line 32237) | function getOrCreateMap(ordinalMeta) {
function getName (line 32243) | function getName(obj) {
function intervalScaleNiceTicks (line 32415) | function intervalScaleNiceTicks(extent, splitNumber, minInterval, maxInt...
function getIntervalPrecision (line 32443) | function getIntervalPrecision(interval) {
function clamp (line 32448) | function clamp(niceTickExtent, idx, extent) {
function fixExtent (line 32453) | function fixExtent(niceTickExtent, extent) {
function intervalScaleGetTicks (line 32463) | function intervalScaleGetTicks(interval, extent, niceTickExtent, interva...
function getSeriesStackId (line 32733) | function getSeriesStackId(seriesModel) {
function getAxisKey (line 32737) | function getAxisKey(axis) {
function getLayoutOnAxis (line 32751) | function getLayoutOnAxis(opt) {
function prepareLayoutBarSeries (line 32780) | function prepareLayoutBarSeries(seriesType, ecModel) {
function makeColumnLayout (line 32791) | function makeColumnLayout(barSeries) {
function doCalBarWidthAndOffset (line 32825) | function doCalBarWidthAndOffset(seriesInfoList) {
function retrieveColumnLayout (line 32944) | function retrieveColumnLayout(barWidthAndOffset, axis, seriesModel) {
function layout (line 32958) | function layout(seriesType, ecModel) {
function progress (line 33088) | function progress(params, data) {
function isOnCartesian (line 33114) | function isOnCartesian(seriesModel) {
function isInLargeMode (line 33118) | function isInLargeMode(seriesModel) {
function getValueAxisStart (line 33123) | function getValueAxisStart(baseAxis, valueAxis, stacked) {
function fixRoundingError (line 33553) | function fixRoundingError(val, originalVal) {
function getScaleExtent (line 33580) | function getScaleExtent(scale, model) {
function adjustScaleForOverflow (line 33714) | function adjustScaleForOverflow(min, max, model, barWidthAndOffset) {
function niceScaleExtent (line 33749) | function niceScaleExtent(scale, model) {
function createScaleByModel (line 33787) | function createScaleByModel(model, axisType) {
function ifAxisCrossZero (line 33811) | function ifAxisCrossZero(axis) {
function makeLabelFormatter (line 33826) | function makeLabelFormatter(axis) {
function getAxisRawValue (line 33863) | function getAxisRawValue(axis, value) {
function estimateLabelUnionRect (line 33874) | function estimateLabelUnionRect(axis) {
function rotateTextRect (line 33918) | function rotateTextRect(textRect, rotate) {
function getOptionCategoryInterval (line 33934) | function getOptionCategoryInterval(model) {
function shouldShowAllLabels (line 33945) | function shouldShowAllLabels(axis) {
function symbolPathSetColor (line 34342) | function symbolPathSetColor(color, innerColor) {
function createSymbol (line 34373) | function createSymbol(symbolType, x, y, w, h, color, keepAspect) {
function createList (line 34443) | function createList(seriesModel) {
function createScale (line 34458) | function createScale(dataExtent, option) {
function mixinAxisModelCommonMethods (line 34484) | function mixinAxisModelCommonMethods(Model$$1) {
function isAroundEqual$1 (line 34501) | function isAroundEqual$1(a, b) {
function contain$1 (line 34505) | function contain$1(points, x, y) {
function Region (line 34556) | function Region(name, geometries, cp) {
function decode (line 34728) | function decode(json) {
function decodePolygon (line 34772) | function decodePolygon(coordinate, encodeOffsets, encodeScale) {
function createAxisLabels (line 34880) | function createAxisLabels(axis) {
function createAxisTicks (line 34895) | function createAxisTicks(axis, tickModel) {
function makeCategoryLabels (line 34902) | function makeCategoryLabels(axis) {
function makeCategoryLabelsActually (line 34911) | function makeCategoryLabelsActually(axis, labelModel) {
function makeCategoryTicks (line 34938) | function makeCategoryTicks(axis, tickModel) {
function makeRealNumberLabels (line 34980) | function makeRealNumberLabels(axis) {
function getListCache (line 34997) | function getListCache(axis, prop) {
function listCacheGet (line 35002) | function listCacheGet(cache, key) {
function listCacheSet (line 35010) | function listCacheSet(cache, key, value) {
function makeAutoCategoryInterval (line 35015) | function makeAutoCategoryInterval(axis) {
function calculateCategoryInterval (line 35027) | function calculateCategoryInterval(axis) {
function fetchAutoCategoryIntervalCalculationParams (line 35110) | function fetchAutoCategoryIntervalCalculationParams(axis) {
function makeLabelsByNumericCategoryInterval (line 35123) | function makeLabelsByNumericCategoryInterval(axis, categoryInterval, onl...
function makeLabelsByCustomizedCategoryInterval (line 35183) | function makeLabelsByCustomizedCategoryInterval(axis, categoryInterval, ...
function fixExtentWithBands (line 35474) | function fixExtentWithBands(extent, nTick) {
function fixOnBandTicksCoords (line 35491) | function fixOnBandTicksCoords(axis, ticksCoords, tickCategoryInterval, a...
function getDefaultLabel (line 35729) | function getDefaultLabel(data, dataIndex) {
function SymbolClz$1 (line 35777) | function SymbolClz$1(data, idx, seriesScope) {
function getScale (line 35798) | function getScale(symbolSize) {
function driftSymbol (line 35802) | function driftSymbol(dx, dy) {
function getLabelDefaultText (line 36059) | function getLabelDefaultText(idx, opt) {
function onMouseOver (line 36085) | function onMouseOver() {
function onMouseOut (line 36090) | function onMouseOut() {
function onEmphasis (line 36095) | function onEmphasis() {
function onNormal (line 36111) | function onNormal() {
function SymbolDraw (line 36175) | function SymbolDraw(symbolCtor) {
function symbolNeedsDraw (line 36183) | function symbolNeedsDraw(data, point, idx, opt) {
function updateIncrementalAndHover (line 36291) | function updateIncrementalAndHover(el) {
function normalizeUpdateOpt (line 36308) | function normalizeUpdateOpt(opt) {
function makeSeriesScope (line 36331) | function makeSeriesScope(data) {
function prepareDataCoordInfo (line 36369) | function prepareDataCoordInfo(coordSys, data, valueOrigin) {
function getValueStart (line 36406) | function getValueStart(valueAxis, valueOrigin) {
function getStackedOnPoint (line 36432) | function getStackedOnPoint(dataCoordInfo, coordSys, data, idx) {
function diffData (line 36495) | function diffData(oldData, newData) {
function isPointNull (line 36680) | function isPointNull(p) {
function drawSegment (line 36684) | function drawSegment(
function drawMono (line 36755) | function drawMono(
function drawNonMono (line 36814) | function drawNonMono(
function getBoundingBox (line 36907) | function getBoundingBox(points, smoothConstraint) {
function isPointsSame (line 37073) | function isPointsSame(points1, points2) {
function getSmooth (line 37087) | function getSmooth(smooth) {
function getAxisExtentWithGap (line 37091) | function getAxisExtentWithGap(axis) {
function getStackedOnPoints (line 37109) | function getStackedOnPoints(coordSys, data, dataCoordInfo) {
function createGridClipShape (line 37122) | function createGridClipShape(cartesian, hasAnimation, forSymbol, seriesM...
function createPolarClipShape (line 37176) | function createPolarClipShape(polar, hasAnimation, forSymbol, seriesMode...
function createClipShape (line 37216) | function createClipShape(coordSys, hasAnimation, forSymbol, seriesModel) {
function turnPointsIntoStep (line 37222) | function turnPointsIntoStep(points, coordSys, stepTurnAt) {
function getVisualGradient (line 37262) | function getVisualGradient(data, coordSys) {
function getIsIgnoreFunc (line 37355) | function getIsIgnoreFunc(seriesModel, data, coordSys) {
function canShowAllSymbolForCategory (line 37391) | function canShowAllSymbolForCategory(categoryAxis, data) {
function dataEach (line 37887) | function dataEach(data, idx) {
function progress (line 37973) | function progress(params, data) {
function dimAxisMapper (line 38140) | function dimAxisMapper(dim) {
function Cartesian2D (line 38261) | function Cartesian2D(name) {
function getAxisType (line 38861) | function getAxisType(axisDim, option) {
function isAxisUsedInTheGrid (line 38962) | function isAxisUsedInTheGrid(axisModel, gridModel, ecModel) {
function Grid (line 38966) | function Grid(gridModel, ecModel, api) {
function fixAxisOnZero (line 39034) | function fixAxisOnZero(axesMap, otherAxisDim, axis, onZeroRecords) {
function canOnZeroToAxis (line 39085) | function canOnZeroToAxis(axis) {
function adjustAxes (line 39130) | function adjustAxes() {
function createAxisCreator (line 39329) | function createAxisCreator(axisType) {
function unionExtent (line 39425) | function unionExtent(data, axis, seriesModel) {
function updateAxisTransform (line 39459) | function updateAxisTransform(axis, coordBase) {
function findAxesModels (line 39484) | function findAxesModels(seriesModel, ecModel) {
function isCartesian2D (line 39504) | function isCartesian2D(seriesModel) {
function makeAxisEventDataBase (line 39585) | function makeAxisEventDataBase(axisModel) {
function endTextLayout (line 39993) | function endTextLayout(opt, textPosition, textRotate, extent) {
function isSilent (line 40026) | function isSilent(axisModel) {
function fixMinMaxLabelShow (line 40035) | function fixMinMaxLabelShow(axisModel, labelEls, tickEls) {
function ignoreEl (line 40093) | function ignoreEl(el) {
function isTwoLabelOverlapped (line 40097) | function isTwoLabelOverlapped(current, next, labelLayout) {
function isNameLocationCenter (line 40117) | function isNameLocationCenter(nameLocation) {
function buildAxisTick (line 40121) | function buildAxisTick(axisBuilder, axisModel, opt) {
function buildAxisLabel (line 40180) | function buildAxisLabel(axisBuilder, axisModel, opt) {
function collect (line 40305) | function collect(ecModel, api) {
function collectAxesInfo (line 40338) | function collectAxesInfo(result, ecModel, api) {
function makeAxisPointerModel (line 40441) | function makeAxisPointerModel(
function collectSeriesInfo (line 40489) | function collectSeriesInfo(result, ecModel) {
function getLinkGroupIndex (line 40533) | function getLinkGroupIndex(linksOption, axis) {
function checkPropInLink (line 40547) | function checkPropInLink(linkPropValue, axisPropValue) {
function fixValue (line 40553) | function fixValue(axisModel) {
function getAxisInfo (line 40600) | function getAxisInfo(axisModel) {
function getAxisPointerModel (line 40605) | function getAxisPointerModel(axisModel) {
function isHandleTrigger (line 40610) | function isHandleTrigger(axisPointerModel) {
function makeKey (line 40618) | function makeKey(model) {
function updateAxisPointer (line 40706) | function updateAxisPointer(axisView, axisModel, ecModel, api, payload, f...
function disposeAxisPointer (line 40718) | function disposeAxisPointer(axisView, ecModel, api) {
function layout$1 (line 40768) | function layout$1(gridModel, axisModel, opt) {
function setLabel (line 41319) | function setLabel(
function fixPosition (line 41340) | function fixPosition(style, labelPositionOutside) {
function removeRect (line 41626) | function removeRect(dataIndex, animationModel, el) {
function removeSector (line 41638) | function removeSector(dataIndex, animationModel, el) {
function updateStyle (line 41679) | function updateStyle(
function getLineWidth (line 41717) | function getLineWidth(itemModel, rawLayout) {
function createLarge (line 41744) | function createLarge(seriesModel, group, incremental) {
function setLargeStyle (line 41761) | function setLargeStyle(el, seriesModel, data) {
function updateDataSelected (line 42153) | function updateDataSelected(uid, seriesModel, hasAnimation, api) {
function toggleItemSelected (line 42185) | function toggleItemSelected(el, layout, isSelected, selectedOffset, hasA...
function PiePiece (line 42209) | function PiePiece(data, idx) {
function onEmphasis (line 42306) | function onEmphasis() {
function onNormal (line 42316) | function onNormal() {
function adjustSingleSide (line 42697) | function adjustSingleSide(list, cx, cy, r, dir, viewWidth, viewHeight) {
function avoidOverlap (line 42788) | function avoidOverlap(labelLayoutList, cx, cy, r, viewWidth, viewHeight) {
function isPositionCenter (line 42825) | function isPositionCenter(layout) {
function LargeSymbolDraw (line 43379) | function LargeSymbolDraw() {
function IndicatorAxis (line 43691) | function IndicatorAxis(dim, scale, radiusExtent) {
function Radar (line 43740) | function Radar(radarModel, ecModel, api) {
function increaseInterval (line 43881) | function increaseInterval(interval) {
function defaultsShow (line 43996) | function defaultsShow(opt, show) {
function getColorIndex (line 44201) | function getColorIndex(areaOrLine, areaOrLineColorList, idx) {
function normalizeSymbolSize (line 44430) | function normalizeSymbolSize(symbolSize) {
function createSymbol$$1 (line 44448) | function createSymbol$$1(data, idx) {
function updateSymbols (line 44470) | function updateSymbols(oldPoints, newPoints, symbolGroup, data, idx, isI...
function getInitialPoints (line 44493) | function getInitialPoints(points) {
function onEmphasis (line 44615) | function onEmphasis() {
function onNormal (line 44619) | function onNormal() {
function pointsConverter (line 44672) | function pointsConverter(val, idx) {
function getBoundingRect$1 (line 45027) | function getBoundingRect$1(regions) {
function buildGraphic (line 45119) | function buildGraphic(mapRecord, boundingRect) {
function makeInvoker (line 45259) | function makeInvoker(methodName) {
function mapNotExistsError (line 45273) | function mapNotExistsError(mapName) {
function retrieveMap (line 45281) | function retrieveMap(mapName) {
function take (line 45567) | function take(zr, resourceKey, userKey) {
function release (line 45572) | function release(zr, resourceKey, userKey) {
function isTaken (line 45581) | function isTaken(zr, resourceKey) {
function getStore (line 45585) | function getStore(zr) {
function RoamController (line 45627) | function RoamController(zr) {
function mousedown (line 45727) | function mousedown(e) {
function mousemove (line 45746) | function mousemove(e) {
function mouseup (line 45774) | function mouseup(e) {
function mousewheel (line 45780) | function mousewheel(e) {
function pinch (line 45825) | function pinch(e) {
function checkPointerAndTrigger (line 45835) | function checkPointerAndTrigger(controller, eventName, behaviorToCheck, ...
function trigger (line 45848) | function trigger(controller, eventName, behaviorToCheck, e, contollerEve...
function isAvailableBehavior (line 45861) | function isAvailableBehavior(behaviorToCheck, e, settings) {
function updateViewOnPan (line 45894) | function updateViewOnPan(controllerHost, dx, dy) {
function updateViewOnZoom (line 45910) | function updateViewOnZoom(controllerHost, zoomDelta, zoomX, zoomY) {
function onIrrelevantElement (line 45963) | function onIrrelevantElement(e, api, targetCoordSysModel) {
function getFixedItemStyle (line 45992) | function getFixedItemStyle(model, scale) {
function updateMapSelectHandler (line 46005) | function updateMapSelectHandler(mapDraw, mapOrGeoModel, regionsGroup, ap...
function updateMapSelected (line 46047) | function updateMapSelected(mapOrGeoModel, regionsGroup) {
function MapDraw (line 46061) | function MapDraw(api, updateGroup) {
function makeActionBase (line 46352) | function makeActionBase() {
function onRegionHighDown (line 46592) | function onRegionHighDown(toHighOrDown) {
function enterRegionHighDown (line 46599) | function enterRegionHighDown(highDownRecord, toHighOrDown) {
function updateCenterAndZoom (line 46655) | function updateCenterAndZoom(
function TransformDummy (line 46796) | function TransformDummy() {
function View (line 46801) | function View(name) {
function doConvert$1 (line 47071) | function doConvert$1(methodName, ecModel, finder, value) {
function Geo (line 47108) | function Geo(name, map$$1, nameMap, invertLongitute) {
function doConvert (line 47266) | function doConvert(methodName, ecModel, finder, value) {
function resizeGeo (line 47306) | function resizeGeo(geoModel, api) {
function setGeoCoords (line 47392) | function setGeoCoords(geo, model) {
function dataStatistics (line 47646) | function dataStatistics(datas, statisticType) {
function linkList (line 47835) | function linkList(opt) {
function transferInjection (line 47868) | function transferInjection(opt, res) {
function changeInjection (line 47882) | function changeInjection(opt, res) {
function cloneShallowInjection (line 47887) | function cloneShallowInjection(opt, res) {
function getLinkedData (line 47905) | function getLinkedData(dataType) {
function isMainData (line 47912) | function isMainData(data) {
function linkAll (line 47916) | function linkAll(mainData, datas, opt) {
function linkSingle (line 47923) | function linkSingle(data, dataType, mainData, opt) {
function Tree (line 48274) | function Tree(hostModel, levelOptions, leavesOption) {
function buildHierarchy (line 48413) | function buildHierarchy(dataNode, parentNode) {
function addChild (line 48461) | function addChild(child, node) {
function init$2 (line 48690) | function init$2(root) {
function firstWalk (line 48736) | function firstWalk(node, separation) {
function secondWalk (line 48767) | function secondWalk(node) {
function separation (line 48774) | function separation(cb) {
function radialCoordinate (line 48784) | function radialCoordinate(x, y) {
function getViewRect (line 48798) | function getViewRect(seriesModel, api) {
function executeShifts (line 48812) | function executeShifts(node) {
function apportion (line 48840) | function apportion(subtreeV, subtreeW, ancestor, separation) {
function nextRight (line 48890) | function nextRight(node) {
function nextLeft (line 48902) | function nextLeft(node) {
function nextAncestor (line 48915) | function nextAncestor(nodeInLeft, node, ancestor) {
function moveSubtree (line 48926) | function moveSubtree(wl, wr, shift) {
function defaultSeparation (line 48935) | function defaultSeparation(node1, node2) {
function symbolNeedsDraw$1 (line 49197) | function symbolNeedsDraw$1(data, dataIndex) {
function getTreeNodeStyle (line 49205) | function getTreeNodeStyle(node, itemModel, seriesScope) {
function updateNode (line 49223) | function updateNode(data, dataIndex, symbolEl, group, seriesModel, serie...
function removeNode (line 49330) | function removeNode(data, dataIndex, symbolEl, group, seriesModel, serie...
function getEdgeShape (line 49364) | function getEdgeShape(seriesScope, sourceLayout, targetLayout) {
function eachAfter (line 49514) | function eachAfter(root, callback, separation) {
function eachBefore (line 49541) | function eachBefore(root, callback) {
function commonLayout (line 49582) | function commonLayout(seriesModel, api) {
function retrieveTargetInfo (line 49714) | function retrieveTargetInfo(payload, validPayloadTypes, seriesModel) {
function getPathToRoot (line 49735) | function getPathToRoot(node) {
function aboveViewRoot (line 49744) | function aboveViewRoot(viewRoot, node) {
function wrapTreePathInfo (line 49750) | function wrapTreePathInfo(node, seriesModel) {
function completeTreeValue (line 50070) | function completeTreeValue(dataNode) {
function setDefault (line 50107) | function setDefault(levels, ecModel) {
function Breadcrumb (line 50158) | function Breadcrumb(containerGroup) {
function makeItemPoints (line 50287) | function makeItemPoints(x, y, itemWidth, itemHeight, head, tail) {
function packEventData (line 50300) | function packEventData(el, seriesModel, itemNode) {
function createWrap (line 50351) | function createWrap() {
function dualTravel (line 50638) | function dualTravel(thisViewChildren, oldViewChildren, parentGroup, same...
function clearStorage (line 50679) | function clearStorage(storage) {
function renderFinally (line 50690) | function renderFinally() {
function onSelect (line 50990) | function onSelect(node) {
function createStorage (line 51080) | function createStorage() {
function renderNode (line 51088) | function renderNode(
function calculateZ (line 51350) | function calculateZ(depth, zInLevel) {
function handleRootToNode (line 51399) | function handleRootToNode(model, index) {
function preprocessForPiecewise (line 51665) | function preprocessForPiecewise(thisOption) {
function preprocessForSpecifiedCategory (line 51679) | function preprocessForSpecifiedCategory(thisOption) {
function normalizeVisualRange (line 51716) | function normalizeVisualRange(thisOption, isCategory) {
function makePartialColorVisualHandler (line 51742) | function makePartialColorVisualHandler(applyValue) {
function doMapToArray (line 51753) | function doMapToArray(normalized) {
function makeApplyVisual (line 51760) | function makeApplyVisual(visualType) {
function doMapCategory (line 51766) | function doMapCategory(normalized) {
function doMapFixed (line 51775) | function doMapFixed() {
function makeDoMap (line 51779) | function makeDoMap(sourceExtent) {
function getSpecifiedVisual (line 51796) | function getSpecifiedVisual(value) {
function setVisualToOption (line 51808) | function setVisualToOption(thisOption, visualArr) {
function updatePossible (line 52038) | function updatePossible(val, index) {
function littleThan (line 52048) | function littleThan(close, a, b) {
function travelTree (line 52101) | function travelTree(
function buildVisuals (line 52159) | function buildVisuals(
function calculateColor (line 52177) | function calculateColor(visuals) {
function calculateBorderColor (line 52194) | function calculateBorderColor(borderColorSaturation, thisNodeColor) {
function getValueVisualDefine (line 52200) | function getValueVisualDefine(visuals, name) {
function buildVisualMapping (line 52207) | function buildVisualMapping(
function getRangeVisual (line 52264) | function getRangeVisual(nodeModel, name) {
function mapVisual$1 (line 52271) | function mapVisual$1(nodeModel, visuals, child, index, mapping, seriesMo...
function squarify (line 52447) | function squarify(node, options, hideChildren, depth) {
function initChildren (line 52534) | function initChildren(node, nodeModel, totalArea, options, hideChildren,...
function filterByThreshold (line 52586) | function filterByThreshold(nodeModel, totalArea, sum, orderBy, orderedCh...
function sort$1 (line 52619) | function sort$1(viewChildren, orderBy) {
function statistic (line 52637) | function statistic(nodeModel, children, orderBy) {
function worst (line 52680) | function worst(row, rowFixedLength, ratio) {
function position (line 52706) | function position(row, rowFixedLength, rect, halfGapWidth, flush) {
function estimateRootSize (line 52753) | function estimateRootSize(seriesModel, targetInfo, viewRoot, containerWi...
function calculateRootPosition (line 52799) | function calculateRootPosition(layoutInfo, rootRect, targetInfo) {
function prunning (line 52838) | function prunning(node, clipRect, viewAbovePath, viewRoot, depth) {
function getUpperLabelHeight (line 52872) | function getUpperLabelHeight(model) {
function generateNodeKey (line 52925) | function generateNodeKey(id) {
function Node (line 53260) | function Node(id, dataIndex) {
function Edge (line 53336) | function Edge(n1, n2, dataIndex) {
function beforeLink (line 53581) | function beforeLink(nodeData, edgeData) {
function isLine (line 53824) | function isLine(shape) {
function makeSymbolTypeKey (line 53891) | function makeSymbolTypeKey(symbolCategory) {
function createSymbol$1 (line 53897) | function createSymbol$1(name, lineData, idx) {
function createLine (line 53919) | function createLine(points) {
function setLinePoints (line 53927) | function setLinePoints(targetShape, points) {
function updateSymbolAndLabelBeforeLineUpdate (line 53947) | function updateSymbolAndLabelBeforeLineUpdate() {
function Line$1 (line 54053) | function Line$1(lineData, idx, seriesScope) {
function LineDraw (line 54294) | function LineDraw(ctor) {
function doAdd (line 54337) | function doAdd(lineDraw, lineData, idx, seriesScope) {
function doUpdate (line 54349) | function doUpdate(lineDraw, oldLineData, newLineData, oldIdx, newIdx, se...
function updateIncrementalAndHover (line 54389) | function updateIncrementalAndHover(el) {
function makeSeriesScope$1 (line 54408) | function makeSeriesScope$1(lineData) {
function isPointNaN (line 54431) | function isPointNaN(pt) {
function lineNeedsDraw (line 54435) | function lineNeedsDraw(pts) {
function intersectCurveCircle (line 54464) | function intersectCurveCircle(curvePoints, center, radius) {
function getSymbolSize (line 54535) | function getSymbolSize(node) {
function getItemOpacity (line 54640) | function getItemOpacity(item, opacityPath) {
function fadeOutItem (line 54644) | function fadeOutItem(item, opacityPath, opacityRatio) {
function fadeInItem (line 54665) | function fadeInItem(item, opacityPath) {
function normalize$1 (line 55225) | function normalize$1(a) {
function simpleLayout$1 (line 55296) | function simpleLayout$1(seriesModel) {
function simpleLayoutEdge (line 55311) | function simpleLayoutEdge(graph) {
function circularLayout$1 (line 55404) | function circularLayout$1(seriesModel) {
function forceLayout$1 (line 55519) | function forceLayout$1(nodes, edges, opts) {
function getViewRect$1 (line 55816) | function getViewRect$1(seriesModel, api, aspect) {
function parsePosition (line 56129) | function parsePosition(seriesModel, api) {
function formatLabel (line 56145) | function formatLabel(label, labelFormatter) {
function FunnelPiece (line 56685) | function FunnelPiece(data, idx) {
function getViewRect$2 (line 56901) | function getViewRect$2(seriesModel, api) {
function getSortedIndices (line 56910) | function getSortedIndices(data, sort) {
function labelLayout$1 (line 56933) | function labelLayout$1(data) {
function createParallelIfNeeded (line 57137) | function createParallelIfNeeded(option) {
function mergeAxisOptionFromParallel (line 57159) | function mergeAxisOptionFromParallel(option) {
function getSpanSign (line 57334) | function getSpanSign(handleEnds, handleIndex) {
function restrict$1 (line 57341) | function restrict$1(value, extend) {
function Parallel (line 57378) | function Parallel(parallelModel, ecModel, api) {
function restrict (line 57834) | function restrict(len, extent) {
function layoutAxisWithoutExpand (line 57838) | function layoutAxisWithoutExpand(axisIndex, layoutInfo) {
function layoutAxisWithExpand (line 57847) | function layoutAxisWithExpand(axisIndex, layoutInfo) {
function create$2 (line 57905) | function create$2(ecModel, api) {
function getAxisType$1 (line 58072) | function getAxisType$1(axisName, option) {
function BrushController (line 58343) | function BrushController(zr) {
function getKey (line 58569) | function getKey(brushOption, index) {
function oldGetKey (line 58574) | function oldGetKey(cover, index) {
function addOrUpdate (line 58578) | function addOrUpdate(newIndex, oldIndex) {
function remove (line 58596) | function remove(oldIndex) {
function doEnableBrush (line 58631) | function doEnableBrush(controller, brushOption) {
function doDisableBrush (line 58647) | function doDisableBrush(controller) {
function createCover (line 58659) | function createCover(controller, brushOption) {
function endCreating (line 58667) | function endCreating(controller, creatingCover) {
function updateCoverShape (line 58676) | function updateCoverShape(controller, cover) {
function updateZ$1 (line 58683) | function updateZ$1(cover, brushOption) {
function updateCoverAfterCreation (line 58692) | function updateCoverAfterCreation(controller, cover) {
function getCoverRenderer (line 58697) | function getCoverRenderer(cover) {
function getPanelByPoint (line 58702) | function getPanelByPoint(controller, e, localCursorPoint) {
function getPanelByCover (line 58716) | function getPanelByCover(controller, cover) {
function clearCovers (line 58727) | function clearCovers(controller) {
function trigger$1 (line 58738) | function trigger$1(controller, opt) {
function shouldShowCover (line 58755) | function shouldShowCover(controller) {
function getTrackEnds (line 58771) | function getTrackEnds(track) {
function createBaseRectCover (line 58777) | function createBaseRectCover(doDrift, controller, brushOption, edgeNames) {
function updateBaseRect (line 58808) | function updateBaseRect(controller, cover, localRange, brushOption) {
function updateCommon (line 58839) | function updateCommon(controller, cover) {
function updateRectShape (line 58865) | function updateRectShape(controller, cover, name, x, y, w, h) {
function makeStyle (line 58872) | function makeStyle(brushOption) {
function formatRectRange (line 58876) | function formatRectRange(x, y, x2, y2) {
function getTransform$1 (line 58886) | function getTransform$1(controller) {
function getGlobalDirection (line 58890) | function getGlobalDirection(controller, localDirection) {
function driftRect (line 58910) | function driftRect(toRectRange, fromRectRange, controller, cover, name, ...
function driftPolygon (line 58928) | function driftPolygon(controller, cover, dx, dy, e) {
function toLocalDelta (line 58941) | function toLocalDelta(controller, dx, dy) {
function clipByPanel (line 58949) | function clipByPanel(controller, cover, data) {
function pointsToRect (line 58957) | function pointsToRect(points) {
function resetCursor (line 58971) | function resetCursor(controller, e, localCursorPoint) {
function preventDefault (line 59000) | function preventDefault(e) {
function mainShapeContain (line 59005) | function mainShapeContain(cover, x, y) {
function updateCoverByMouse (line 59009) | function updateCoverByMouse(controller, e, localCursorPoint, isEnd) {
function determineBrushType (line 59064) | function determineBrushType(brushType, panel) {
function handleDragEnd (line 59123) | function handleDragEnd(e) {
function getLineRenderer (line 59215) | function getLineRenderer(xyIndex) {
function makeRectPanelClipPath (line 59284) | function makeRectPanelClipPath(rect) {
function makeLinearBrushOtherExtent (line 59291) | function makeLinearBrushOtherExtent(rect, specifiedXYIndex) {
function makeRectIsTargetByCursor (line 59301) | function makeRectIsTargetByCursor(rect, api, targetModel) {
function normalizeRect (line 59310) | function normalizeRect(rect) {
function fromAxisAreaSelect (line 59479) | function fromAxisAreaSelect(axisModel, ecModel, payload) {
function getCoverInfoList (line 59487) | function getCoverInfoList(axisModel) {
function getCoordSysModel (line 59501) | function getCoordSysModel(axisModel, ecModel) {
function checkTrigger (line 59648) | function checkTrigger(view, triggerOn) {
function setEncodeAndDimensions (line 59743) | function setEncodeAndDimensions(source, seriesModel) {
function convertDimNameToNumber (line 59769) | function convertDimNameToNumber(dimName) {
function add (line 59836) | function add(newDataIndex) {
function update (line 59841) | function update(newDataIndex, oldDataIndex) {
function remove (line 59851) | function remove(oldDataIndex) {
function createGridClipShape$1 (line 59932) | function createGridClipShape$1(coordSys, seriesModel, cb) {
function createLinePoints (line 59955) | function createLinePoints(data, dataIndex, dimensions, coordSys) {
function addEl (line 59967) | function addEl(data, dataGroup, dataIndex, dimensions, coordSys) {
function makeSeriesScope$2 (line 59979) | function makeSeriesScope$2(seriesModel) {
function updateElCommon (line 59988) | function updateElCommon(el, data, dataIndex, seriesScope) {
function isEmptyValue (line 60031) | function isEmptyValue(val, axisType) {
function progress (line 60087) | function progress(params, data) {
function getItemOpacity$1 (line 60310) | function getItemOpacity$1(item, opacityPath) {
function fadeOutItem$1 (line 60314) | function fadeOutItem$1(item, opacityPath, opacityRatio) {
function fadeInItem$1 (line 60331) | function fadeInItem$1(item, opacityPath) {
function createGridClipShape$2 (line 60694) | function createGridClipShape$2(rect, seriesModel, cb) {
function nest (line 60778) | function nest() {
function getViewRect$3 (line 60939) | function getViewRect$3(seriesModel, api) {
function layoutSankey (line 60948) | function layoutSankey(nodes, edges, nodeWidth, nodeGap, width, height, i...
function computeNodeValues (line 60959) | function computeNodeValues(nodes) {
function computeNodeBreadths (line 60978) | function computeNodeBreadths(nodes, edges, nodeWidth, width, height, ori...
function moveSinksRight (line 61058) | function moveSinksRight(nodes, x, orient) {
function scaleNodeBreadths (line 61077) | function scaleNodeBreadths(nodes, kx, orient) {
function computeNodeDepths (line 61100) | function computeNodeDepths(nodes, edges, height, width, nodeGap, iterati...
function getKeyFunction (line 61125) | function getKeyFunction(orient) {
function initializeNodeDepth (line 61146) | function initializeNodeDepth(nodes, nodesByBreadth, edges, height, width...
function resolveCollisions (line 61198) | function resolveCollisions(nodesByBreadth, nodeGap, height, width, orien...
function relaxRightToLeft (line 61278) | function relaxRightToLeft(nodesByBreadth, alpha, orient) {
function weightedTarget (line 61296) | function weightedTarget(edge, orient) {
function weightedSource (line 61300) | function weightedSource(edge, orient) {
function center$1 (line 61304) | function center$1(node, orient) {
function getEdgeValue (line 61311) | function getEdgeValue(edge) {
function sum (line 61315) | function sum(array, f, orient) {
function relaxLeftToRight (line 61335) | function relaxLeftToRight(nodesByBreadth, alpha, orient) {
function computeEdgeDepths (line 61358) | function computeEdgeDepths(nodes, orient) {
function createNormalBox (line 61808) | function createNormalBox(itemLayout, data, dataIndex, constDim, isInit) {
function updateNormalBoxData (line 61824) | function updateNormalBoxData(itemLayout, el, data, dataIndex, isInit) {
function transInit (line 61851) | function transInit(points, dim, itemLayout) {
function groupSeriesByAxis (line 61958) | function groupSeriesByAxis(ecModel) {
function calculateBase (line 61981) | function calculateBase(groupItem) {
function layoutSingleSeries (line 62033) | function layoutSingleSeries(seriesModel, offset, boxWidth) {
function createNormalBox$1 (line 62415) | function createNormalBox$1(itemLayout, dataIndex, isInit) {
function setBoxCommon (line 62427) | function setBoxCommon(el, data, dataIndex, isSimpleBox) {
function transInit$1 (line 62448) | function transInit$1(points, itemLayout) {
function createLarge$1 (line 62481) | function createLarge$1(seriesModel, group, incremental) {
function setLargeStyle$1 (line 62505) | function setLargeStyle$1(sign, el, seriesModel, data) {
function progress (line 62607) | function progress(params, data) {
function getColor (line 62623) | function getColor(sign, model) {
function getBorderColor (line 62629) | function getBorderColor(sign, model) {
function normalProgress (line 62698) | function normalProgress(params, data) {
function largeProgress (line 62782) | function largeProgress(params, data) {
function getSign (line 62822) | function getSign(data, dataIndex, openVal, closeVal, closeDim) {
function calculateCandleWidth (line 62841) | function calculateCandleWidth(seriesModel, data) {
function normalizeSymbolSize$1 (line 62995) | function normalizeSymbolSize$1(symbolSize) {
function updateRipplePath (line 63002) | function updateRipplePath(rippleGroup, effectCfg) {
function EffectSymbol (line 63020) | function EffectSymbol(data, idx) {
function compatEc2 (line 63315) | function compatEc2(seriesOpt) {
function EffectLine (line 63644) | function EffectLine(lineData, idx, seriesScope) {
function Polyline$2 (line 63839) | function Polyline$2(lineData, idx, seriesScope) {
function EffectPolyline (line 63938) | function EffectPolyline(lineData, idx, seriesScope) {
function LargeLineDraw (line 64148) | function LargeLineDraw() {
function progress (line 64305) | function progress(params, lineData) {
function normalize$2 (line 64563) | function normalize$2(a) {
function dataEach (line 64585) | function dataEach(data, idx) {
function Heatmap (line 64722) | function Heatmap() {
function getIsInPiecewiseRange (line 64877) | function getIsInPiecewiseRange(dataExtent, pieceList, selected) {
function getIsInContinuousRange (line 64912) | function getIsInContinuousRange(dataExtent, range) {
function isGeoCoordSys (line 64923) | function isGeoCoordSys(coordSys) {
function getSymbolMeta (line 65393) | function getSymbolMeta(data, dataIndex, itemModel, opt) {
function prepareBarLength (line 65447) | function prepareBarLength(itemModel, symbolRepeat, layout, opt, output) {
function convertToCoordOnAxis (line 65482) | function convertToCoordOnAxis(axis, value) {
function prepareSymbolSize (line 65487) | function prepareSymbolSize(
function prepareLineWidth (line 65531) | function prepareLineWidth(itemModel, symbolScale, rotation, opt, output) {
function prepareLayoutInfo (line 65550) | function prepareLayoutInfo(
function createPath (line 65639) | function createPath(symbolMeta) {
function createOrUpdateRepeatSymbols (line 65660) | function createOrUpdateRepeatSymbols(bar, opt, symbolMeta, isUpdate) {
function createOrUpdateSingleSymbol (line 65750) | function createOrUpdateSingleSymbol(bar, opt, symbolMeta, isUpdate) {
function createOrUpdateBarRect (line 65802) | function createOrUpdateBarRect(bar, symbolMeta, isUpdate) {
function createOrUpdateClip (line 65825) | function createOrUpdateClip(bar, opt, symbolMeta, isUpdate) {
function getItemModel (line 65855) | function getItemModel(data, dataIndex) {
function getAnimationDelayParams (line 65862) | function getAnimationDelayParams(path) {
function isAnimationEnabled (line 65870) | function isAnimationEnabled() {
function updateHoverAnimation (line 65875) | function updateHoverAnimation(path, symbolMeta) {
function createBar (line 65893) | function createBar(data, opt, symbolMeta, isUpdate) {
function updateBar (line 65919) | function updateBar(bar, opt, symbolMeta) {
function removeBar (line 65940) | function removeBar(data, dataIndex, animationModel, bar) {
function getShapeStr (line 65966) | function getShapeStr(data, symbolMeta) {
function eachPath (line 65974) | function eachPath(bar, cb, context) {
function updateAttr (line 65981) | function updateAttr(el, immediateAttrs, animationAttrs, symbolMeta, isUp...
function updateCommon$1 (line 65994) | function updateCommon$1(bar, opt, symbolMeta) {
function toIntTimes (line 66032) | function toIntTimes(times) {
function Single (line 66203) | function Single(axisModel, ecModel, api) {
function create$3 (line 66488) | function create$3(ecModel, api) {
function layout$2 (line 66546) | function layout$2(axisModel, opt) {
function getAxisType$2 (line 66816) | function getAxisType$2(axisName, option) {
function processOnAxis (line 67034) | function processOnAxis(axisInfo, newValue, updaters, dontSnap, outputFin...
function buildPayloadsBySeries (line 67071) | function buildPayloadsBySeries(value, axisInfo) {
function showPointer (line 67134) | function showPointer(showValueMap, axisInfo, value, payloadBatch) {
function showTooltip (line 67138) | function showTooltip(dataByCoordSys, axisInfo, payloadInfo, value) {
function updateModelActually (line 67182) | function updateModelActually(showValueMap, axesInfo, outputFinder) {
function dispatchTooltipActually (line 67212) | function dispatchTooltipActually(dataByCoordSys, point, payload, dispatc...
function dispatchHighDownActually (line 67239) | function dispatchHighDownActually(axesInfo, dispatchAction, api) {
function findInputAxisInfo (line 67277) | function findInputAxisInfo(inputAxesInfo, axisInfo) {
function makeMapperParam (line 67288) | function makeMapperParam(axisInfo) {
function illegalPoint (line 67298) | function illegalPoint(point) {
function register (line 67443) | function register(key, api, handler) {
function initGlobalListeners (line 67457) | function initGlobalListeners(zr, api) {
function dispatchTooltipFinally (line 67482) | function dispatchTooltipFinally(pendings, api) {
function onLeave (line 67499) | function onLeave(record, e, dispatchAction) {
function doEnter (line 67503) | function doEnter(currTrigger, record, e, dispatchAction) {
function makeDispatchAction (line 67507) | function makeDispatchAction(api) {
function unregister (line 67538) | function unregister(key, api) {
function BaseAxisPointer (line 67643) | function BaseAxisPointer() {
function updateProps$1 (line 68094) | function updateProps$1(animationModel, moveAnimation, el, props) {
function propsEqual (line 68104) | function propsEqual(lastProps, newProps) {
function updateLabelShowHide (line 68117) | function updateLabelShowHide(labelEl, axisPointerModel) {
function getHandleTransProps (line 68121) | function getHandleTransProps(trans) {
function updateMandatoryProps (line 68128) | function updateMandatoryProps(group, axisPointerModel, silent) {
function buildElStyle (line 68165) | function buildElStyle(axisPointerModel) {
function buildLabelElOption (line 68183) | function buildLabelElOption(
function confineInContainer (line 68244) | function confineInContainer(position, width, height, api) {
function getValueLabel (line 68262) | function getValueLabel(value, axis, ecModel, seriesDataIndices, opt) {
function getTransformedPosition (line 68301) | function getTransformedPosition(axis, value, layoutInfo) {
function buildCartesianSingleLabelElOption (line 68313) | function buildCartesianSingleLabelElOption(
function makeLineShape (line 68332) | function makeLineShape(p1, p2, xDimIndex) {
function makeRectShape (line 68347) | function makeRectShape(xy, wh, xDimIndex) {
function makeSectorShape (line 68357) | function makeSectorShape(cx, cy, r0, r, startAngle, endAngle) {
function getCartesian (line 68462) | function getCartesian(grid, axis) {
function getAxisDimIndex (line 68500) | function getAxisDimIndex(axis) {
function getPointDimIndex (line 68683) | function getPointDimIndex(axis) {
function getGlobalExtent (line 68687) | function getGlobalExtent(coordSys, dimIndex) {
function comparer (line 68932) | function comparer(index1, index2) {
function keyGetter (line 69068) | function keyGetter(item) {
function process (line 69084) | function process(status, idx, oldIdx) {
function createGridClipShape$3 (line 69187) | function createGridClipShape$3(rect, seriesModel, cb) {
function themeRiverLayout$1 (line 69275) | function themeRiverLayout$1(data, seriesModel, height) {
function computeBaseline (line 69329) | function computeBaseline(data) {
function completeTreeValue$1 (line 69612) | function completeTreeValue$1(dataNode) {
function SunburstPiece (line 69680) | function SunburstPiece(node, seriesModel, ecModel) {
function getLabelAttr (line 69942) | function getLabelAttr(name) {
function getNodeColor (line 69995) | function getNodeColor(node, seriesModel, ecModel) {
function getRootId (line 70031) | function getRootId(node) {
function isNodeHighlighted (line 70041) | function isNodeHighlighted(node, activeNode, policy) {
function fillDefaultColor (line 70057) | function fillDefaultColor(node, seriesModel, color) {
function dualTravel (line 70134) | function dualTravel(newChildren, oldChildren) {
function doRenderNode (line 70157) | function doRenderNode(newNode, oldNode) {
function removeNode (line 70193) | function removeNode(node) {
function renderRollUp (line 70204) | function renderRollUp(virtualRoot, viewRoot) {
function handleRootToNode (line 70344) | function handleRootToNode(model, index) {
function handleHighlight (line 70371) | function handleHighlight(model, index) {
function handleUnhighlight (line 70393) | function handleUnhighlight(model, index) {
function initChildren$1 (line 70566) | function initChildren$1(node, isAsc) {
function sort$2 (line 70586) | function sort$2(children, sortOrder) {
function dataToCoordSize (line 70643) | function dataToCoordSize(dataSize, dataItem) {
function dataToCoordSize$1 (line 70696) | function dataToCoordSize$1(dataSize, dataItem) {
function dataToCoordSize$2 (line 70752) | function dataToCoordSize$2(dataSize, dataItem) {
function dataToCoordSize$3 (line 70802) | function dataToCoordSize$3(dataSize, dataItem) {
function setIncrementalAndHoverLayer (line 71050) | function setIncrementalAndHoverLayer(el) {
function createEl (line 71089) | function createEl(elOption) {
function updateEl (line 71133) | function updateEl(el, dataIndex, elOption, animatableModel, data, isInit...
function prepareStyleTransition (line 71212) | function prepareStyleTransition(prop, targetStyle, elOptionStyle, oldElS...
function makeRenderItem (line 71219) | function makeRenderItem(customSeries, data, ecModel, api) {
function wrapEncodeDef (line 71422) | function wrapEncodeDef(data) {
function createOrUpdate$1 (line 71435) | function createOrUpdate$1(el, dataIndex, elOption, animatableModel, grou...
function doCreateOrUpdate (line 71442) | function doCreateOrUpdate(el, dataIndex, elOption, animatableModel, grou...
function mergeChildren (line 71517) | function mergeChildren(el, dataIndex, elOption, animatableModel, data) {
function diffGroupChildren (line 71565) | function diffGroupChildren(context) {
function getKey (line 71579) | function getKey(item, idx) {
function processAddUpdate (line 71584) | function processAddUpdate(newIndex, oldIndex) {
function processRemove (line 71599) | function processRemove(oldIndex) {
function getPathData (line 71605) | function getPathData(shape) {
function hasOwnPathData (line 71610) | function hasOwnPathData(shape) {
function hasOwn (line 71614) | function hasOwn(host, prop) {
function createEl$1 (line 72017) | function createEl$1(id, targetElParent, elOption, elMap) {
function removeEl (line 72036) | function removeEl(existEl, elMap) {
function getCleanedElOption (line 72048) | function getCleanedElOption(elOption) {
function isSetLoc (line 72059) | function isSetLoc(obj, props) {
function setKeyInfoToNewElOption (line 72067) | function setKeyInfoToNewElOption(resultItem, newElOption) {
function mergeNewElOptionToExist (line 72089) | function mergeNewElOptionToExist(existList, index, newElOption) {
function setLayoutInfoToExist (line 72127) | function setLayoutInfoToExist(existItem, newElOption) {
function setEventData (line 72144) | function setEventData(el, graphicModel, elOption) {
function legendSelectActionHandler (line 72443) | function legendSelectActionHandler(methodName, payload, ecModel) {
function layout$3 (line 72543) | function layout$3(group, componentModel, api) {
function makeBackground (line 72570) | function makeBackground(rect, componentModel) {
function dispatchSelectAction (line 72966) | function dispatchSelectAction(name, api) {
function dispatchHighlightAction (line 72973) | function dispatchHighlightAction(seriesName, dataName, api, excludeSerie...
function dispatchDownplayAction (line 72986) | function dispatchDownplayAction(seriesName, dataName, api, excludeSeries...
function mergeAndNormalizeLayoutParams (line 73147) | function mergeAndNormalizeLayoutParams(legendModel, target, raw) {
function createPageButton (line 73265) | function createPageButton(name, iconIdx) {
function getItemInfo (line 73548) | function getItemInfo(el) {
function intersect (line 73560) | function intersect(itemInfo, winStart) {
function assembleTransition (line 73803) | function assembleTransition(duration) {
function assembleFont (line 73817) | function assembleFont(textStyleModel) {
function assembleCssText (line 73843) | function assembleCssText(tooltipModel) {
function TooltipContent (line 73893) | function TooltipContent(container, api) {
function TooltipRichContent (line 74094) | function TooltipRichContent(api) {
function buildTooltipModel (line 74974) | function buildTooltipModel(modelCascade) {
function makeDispatchAction$1 (line 74996) | function makeDispatchAction$1(payload, api) {
function refixTooltipPosition (line 75000) | function refixTooltipPosition(x, y, content, viewWidth, viewHeight, gapH...
function confineTooltipPosition (line 75024) | function confineTooltipPosition(x, y, content, viewWidth, viewHeight) {
function calcTooltipPosition (line 75037) | function calcTooltipPosition(position, rect, contentSize) {
function isCenterAlign (line 75069) | function isCenterAlign(align) {
function getSeriesStackId$1 (line 75141) | function getSeriesStackId$1(seriesModel) {
function getAxisKey$1 (line 75146) | function getAxisKey$1(axis) {
function barLayoutPolar (line 75155) | function barLayoutPolar(seriesType, ecModel, api) {
function calRadialBar (line 75301) | function calRadialBar(barSeries, api) {
function RadiusAxis (line 75442) | function RadiusAxis(scale, radiusExtent) {
function AngleAxis (line 75496) | function AngleAxis(scale, angleExtent) {
function getAxisType$3 (line 75919) | function getAxisType$3(axisDim, option) {
function resizePolar (line 76011) | function resizePolar(polar, polarModel, api) {
function updatePolarScale (line 76030) | function updatePolarScale(ecModel, api) {
function setAxis (line 76072) | function setAxis(axis, axisModel) {
function getAxisLineShape (line 76168) | function getAxisLineShape(polar, rExtent, angle) {
function getRadiusIdx (line 76181) | function getRadiusIdx(polar) {
function fixAngleOverlap (line 76187) | function fixAngleOverlap(list) {
function layoutAxis (line 76578) | function layoutAxis(polar, radiusAxisModel, axisAngle) {
function getLabelPosition (line 76668) | function getLabelPosition(value, axisModel, axisPointerModel, polar, lab...
function makeAction (line 77028) | function makeAction(method, actionInfo) {
function removeDuplicate (line 77129) | function removeDuplicate(arr) {
function hasKeys (line 77165) | function hasKeys(obj) {
function createVisualMappings (line 77181) | function createVisualMappings(option, stateList, supplementVisualOption) {
function replaceVisualOption (line 77225) | function replaceVisualOption(thisOption, newOption, keys) {
function applyVisual (line 77255) | function applyVisual(stateList, visualMappings, data, getValueState, sco...
function incrementalApplyVisual (line 77308) | function incrementalApplyVisual(stateList, visualMappings, getValueState...
function getLineSelectors (line 77429) | function getLineSelectors(xyIndex) {
function inLineRange (line 77458) | function inLineRange(p, range) {
function lineIntersectPolygon (line 77462) | function lineIntersectPolygon(lx, ly, l2x, l2y, points) {
function lineIntersect (line 77474) | function lineIntersect(a1x, a1y, a2x, a2y, b1x, b1y, b2x, b2y) {
function nearZero (line 77490) | function nearZero(val) {
function determinant (line 77494) | function determinant(v1, v2, v3, v4) {
function BrushTargetManager (line 77588) | function BrushTargetManager(option, ecModel, opt) {
function formatMinMax (line 77738) | function formatMinMax(minMax) {
function parseFinder$1 (line 77743) | function parseFinder$1(ecModel, option) {
function axisConvert (line 77887) | function axisConvert(axisNameIndex, to, coordSys, rangeOrCoordRange) {
function axisDiffProcessor (line 77927) | function axisDiffProcessor(axisNameIndex, values, refer, scales) {
function getScales (line 77936) | function getScales(xyMinMaxCurr, xyMinMaxOrigin) {
function getSize (line 77945) | function getSize(xyMinMax) {
function linkOthers (line 78045) | function linkOthers(seriesIndex) {
function brushed (line 78051) | function brushed(rangeInfoList) {
function stepAParallel (line 78077) | function stepAParallel(seriesModel, seriesIndex) {
function stepAOthers (line 78089) | function stepAOthers(seriesModel, seriesIndex, rangeInfoList) {
function dispatchAction (line 78152) | function dispatchAction(api, throttleType, throttleDelay, brushSelected,...
function doDispatch (line 78179) | function doDispatch(api, brushSelected) {
function checkInRange (line 78191) | function checkInRange(selectorsByBrushType, rangeInfoList, data, dataInd...
function getSelectorsByBrushType (line 78202) | function getSelectorsByBrushType(seriesModel) {
function brushModelNotControll (line 78224) | function brushModelNotControll(brushModel, seriesIndex) {
function bindSelector (line 78235) | function bindSelector(area) {
function getBoundingRectFromMinMax (line 78273) | function getBoundingRectFromMinMax(minMax) {
function generateBrushOption (line 78426) | function generateBrushOption(option, brushOption) {
function updateController (line 78550) | function updateController(brushModel, ecModel, api, payload) {
function register$1 (line 78642) | function register$1(name, ctor) {
function get$1 (line 78646) | function get$1(name) {
function Brush (line 78671) | function Brush(model, ecModel, api) {
function Calendar (line 78843) | function Calendar(calendarModel, ecModel, api) {
function cellSizeSpecified (line 78983) | function cellSizeSpecified(cellSize, idx) {
function doConvert$2 (line 79272) | function doConvert$2(methodName, ecModel, finder, value) {
function mergeAndNormalizeLayoutParams$1 (line 79410) | function mergeAndNormalizeLayoutParams$1(target, raw) {
function addPoints (line 79592) | function addPoints(date) {
function isCoordSupported (line 80230) | function isCoordSupported(coordType) {
function createNameEach (line 80242) | function createNameEach(names, attrs) {
function createLinkedNodesFinder (line 80288) | function createLinkedNodesFinder(forEachNode, forEachEdgeType, edgeIdGet...
function isInWindow (line 80737) | function isInWindow(value) {
function calculateDataExtent (line 80743) | function calculateDataExtent(axisProxy, axisDim, seriesModels) {
function fixExtentByAxis (line 80775) | function fixExtentByAxis(axisProxy, dataExtent) {
function setAxisModel (line 80812) | function setAxisModel(axisProxy, isRestore) {
function setMinMaxSpan (line 80834) | function setMinMaxSpan(axisProxy) {
function retrieveRaw (line 81392) | function retrieveRaw(option) {
function updateRangeUse (line 81403) | function updateRangeUse(dataZoomModel, rawOption) {
function save (line 81491) | function save(coordModel, axisModel, store, coordIndex) {
function setLabel (line 82235) | function setLabel(handleIndex) {
function getOtherDim (line 82393) | function getOtherDim(thisDim) {
function getCursor (line 82400) | function getCursor(orient) {
function register$2 (line 82482) | function register$2(api, dataZoomInfo) {
function unregister$1 (line 82537) | function unregister$1(api, dataZoomId) {
function generateCoordId (line 82555) | function generateCoordId(coordModel) {
function giveStore (line 82563) | function giveStore(api) {
function createController (line 82570) | function createController(api, newRecord) {
function cleanStore (line 82601) | function cleanStore(store) {
function dispatchAction$1 (line 82613) | function dispatchAction$1(api, batch) {
function mergeControllerParams (line 82623) | function mergeControllerParams(dataZoomInfos) {
function makeMover (line 82823) | function makeMover(getPercentDelta) {
function has$1 (line 83145) | function has$1(obj, name) {
function getColorVisual (line 83260) | function getColorVisual(seriesModel, visualMapModel, value, valueState) {
function toFixed (line 83658) | function toFixed(val) {
function completeSingle (line 83739) | function completeSingle(base) {
function completeInactive (line 83778) | function completeInactive(base, stateExist, stateAbsent) {
function completeController (line 83808) | function completeController(controller) {
function setStop (line 84098) | function setStop(value, valueState) {
function getColorStopValues (line 84147) | function getColorStopValues(visualMapModel, valueState, dataExtent) {
function getter (line 84283) | function getter(key) {
function setter (line 84287) | function setter(key, value) {
function getItemAlign (line 84359) | function getItemAlign(visualMapModel, api, itemSize) {
function convertDataIndex (line 84397) | function convertDataIndex(batch) {
function createPolygon (line 85209) | function createPolygon(points, cursor, onDrift, onDragEnd) {
function createHandlePoints (line 85223) | function createHandlePoints(handleIndex, textSize) {
function createIndicatorPoints (line 85229) | function createIndicatorPoints(isRange, halfHoverLinkSize, pos, extentMa...
function getHalfHoverLinkSize (line 85241) | function getHalfHoverLinkSize(visualMapModel, dataExtent, sizeExtent) {
function useHoverLinkOnHandle (line 85250) | function useHoverLinkOnHandle(visualMapModel) {
function getCursor$1 (line 85255) | function getCursor$1(orient) {
function has (line 85487) | function has(obj, state, visualType) {
function setStop (line 85639) | function setStop(interval, valueState) {
function normalizeReverse (line 85847) | function normalizeReverse(thisOption, pieceList) {
function renderItem (line 85915) | function renderItem(item) {
function onHoverLink (line 85958) | function onHoverLink(method) {
function fillLabel (line 86154) | function fillLabel(opt) {
function hasXOrY (line 86342) | function hasXOrY(item) {
function hasXAndY (line 86346) | function hasXAndY(item) {
function markerTypeCalculatorWithExtent (line 86374) | function markerTypeCalculatorWithExtent(
function dataTransform (line 86436) | function dataTransform(seriesModel, item) {
function getAxisInfo$1 (line 86485) | function getAxisInfo$1(item, data, coordSys, seriesModel) {
function dataDimToCoordDim (line 86505) | function dataDimToCoordDim(seriesModel, dataDim) {
function dataFilter$1 (line 86524) | function dataFilter$1(coordSys, item) {
function dimValueGetter (line 86530) | function dimValueGetter(item, dimName, dataIndex, dimIndex) {
function numCalculate (line 86538) | function numCalculate(data, valueDataDim, type) {
function updateMarkerLayout (line 86630) | function updateMarkerLayout(mpData, seriesModel, api) {
function createList$1 (line 86747) | function createList$1(coordSys, seriesModel, mpModel) {
function isInifinity (line 86958) | function isInifinity(val) {
function ifMarkLineHasOnlyDim (line 86963) | function ifMarkLineHasOnlyDim(dimIndex, fromCoord, toCoord, coordSys) {
function markLineFilter (line 86970) | function markLineFilter(coordSys, item) {
function updateSingleMarkerEndLayout (line 86992) | function updateSingleMarkerEndLayout(
function updateDataVisualAndLayout (line 87172) | function updateDataVisualAndLayout(data, idx, isFrom) {
function createList$2 (line 87198) | function createList$2(coordSys, seriesModel, mlModel) {
function isInifinity$1 (line 87385) | function isInifinity$1(val) {
function ifMarkLineHasOnlyDim$1 (line 87390) | function ifMarkLineHasOnlyDim$1(dimIndex, fromCoord, toCoord, coordSys) {
function markAreaFilter (line 87395) | function markAreaFilter(coordSys, item) {
function getSingleMarkerEndPoint (line 87426) | function getSingleMarkerEndPoint(data, idx, dims, seriesModel, api) {
function createList$3 (line 87620) | function createList$3(coordSys, seriesModel, maModel) {
function compatibleEC2 (line 87727) | function compatibleEC2(opt) {
function transferItem (line 87763) | function transferItem(opt) {
function has$2 (line 87785) | function has$2(obj, attr) {
function setOrigin (line 88546) | function setOrigin(targetGroup) {
function getBound (line 88554) | function getBound(rect) {
function toBound (line 88562) | function toBound(fromPos, from, to, dimIdx, boundIdx) {
function makeBtn (line 88720) | function makeBtn(position, iconPath, onclick, willRotate) {
function handleFrame (line 88813) | function handleFrame() {
function getViewRect$4 (line 88872) | function getViewRect$4(model, api) {
function makeIcon (line 88883) | function makeIcon(timelineModel, objPath, rect, opts) {
function giveSymbol (line 88898) | function giveSymbol(hostModel, itemStyleModel, group, opt, symbol, callb...
function pointerMoveTo (line 88955) | function pointerMoveTo(pointer, dataIndex, axis, timelineModel, noAnimat...
function processFeature (line 89135) | function processFeature(newIndex, oldIndex) {
function createIconPaths (line 89196) | function createIconPaths(featureModel, feature, featureName) {
function isUserFeatureName (line 89328) | function isUserFeatureName(featureName) {
function SaveAsImage (line 89355) | function SaveAsImage(model) {
function MagicType (line 89449) | function MagicType(model) {
function groupSeries (line 89645) | function groupSeries(ecModel) {
function assembleSeriesWithCategoryAxis (line 89691) | function assembleSeriesWithCategoryAxis(series) {
function assembleOtherSeries (line 89727) | function assembleOtherSeries(series) {
function getContentFromModel (line 89750) | function getContentFromModel(ecModel) {
function trim$1 (line 89767) | function trim$1(str) {
function isTSVFormat (line 89773) | function isTSVFormat(block) {
function parseTSVContents (line 89786) | function parseTSVContents(tsv) {
function parseListContents (line 89815) | function parseListContents(str) {
function parseContents (line 89858) | function parseContents(str, blockMetaList) {
function DataView (line 89890) | function DataView(model) {
function close (line 89973) | function close() {
function tryMergeDataOption (line 90051) | function tryMergeDataOption(newData, originalData) {
function push (line 90128) | function push(ecModel, newSnapshot) {
function pop (line 90164) | function pop(ecModel) {
function clear$1 (line 90187) | function clear$1(ecModel) {
function count (line 90195) | function count(ecModel) {
function giveStore$1 (line 90205) | function giveStore$1(ecModel) {
function DataZoom (line 90308) | function DataZoom(model, ecModel, api) {
function setBatch (line 90413) | function setBatch(dimName, coordSys, minMax) {
function findDataZoom (line 90434) | function findDataZoom(dimName, axisModel, ecModel) {
function retrieveAxisSetting (line 90462) | function retrieveAxisSetting(option) {
function updateBackBtnStatus (line 90473) | function updateBackBtnStatus(featureModel, ecModel) {
function updateZoomBtnStatus (line 90480) | function updateZoomBtnStatus(featureModel, ecModel, view, payload, api) {
function addForAxis (line 90550) | function addForAxis(axisName, dataZoomOpt) {
function forEachComponent (line 90585) | function forEachComponent(mainType, cb) {
function Restore (line 90615) | function Restore(model) {
function createNode (line 90673) | function createNode(tagName) {
function initVML (line 90695) | function initVML() {
function parseInt10$1 (line 91772) | function parseInt10$1(val) {
function VMLPainter (line 91779) | function VMLPainter(root, storage) {
function createMethodNotSupport (line 91949) | function createMethodNotSupport(method) {
function createElement (line 91967) | function createElement(name) {
function round4 (line 91988) | function round4(val) {
function isAroundZero$1 (line 91992) | function isAroundZero$1(val) {
function pathHasFill (line 91996) | function pathHasFill(style, isText) {
function pathHasStroke (line 92001) | function pathHasStroke(style, isText) {
function setTransform (line 92006) | function setTransform(svgEl, m) {
function attr (line 92012) | function attr(el, key, val) {
function attrXLink (line 92019) | function attrXLink(el, key, val) {
function bindStyle (line 92023) | function bindStyle(svgEl, style, isText, el) {
function pathDataToString$1 (line 92090) | function pathDataToString$1(path) {
function getVerticalAlignForSvg (line 92472) | function getVerticalAlignForSvg(verticalAlign) {
function Diff (line 92501) | function Diff() {}
function execEditLength (line 92537) | function execEditLength() {
function buildValues (line 92631) | function buildValues(diff, components, newArr, oldArr) {
function clonePath (line 92664) | function clonePath(path) {
function Definable (line 92694) | function Definable(
function GradientManager (line 92939) | function GradientManager(zrId, svgRoot) {
function ClippathManager (line 93160) | function ClippathManager(zrId, svgRoot) {
function ShadowManager (line 93326) | function ShadowManager(zrId, svgRoot) {
function hasShadow (line 93512) | function hasShadow(style) {
function parseInt10$2 (line 93525) | function parseInt10$2(val) {
function getSvgProxy (line 93529) | function getSvgProxy(el) {
function checkParentAvailable (line 93544) | function checkParentAvailable(parent, child) {
function insertAfter (line 93548) | function insertAfter(parent, child, prevSibling) {
function prepend (line 93556) | function prepend(parent, child) {
function remove$1 (line 93564) | function remove$1(parent, child) {
function getTextSvgElement (line 93570) | function getTextSvgElement(displayable) {
function getSvgElement (line 93574) | function getSvgElement(displayable) {
function createMethodNotSupport$1 (line 93893) | function createMethodNotSupport$1(method) {
FILE: src/main/webapp/static/js/header.js
function init_manage (line 2) | function init_manage(){
function init_comment (line 17) | function init_comment(){
function initHeader (line 119) | function initHeader(){
function mycenter (line 162) | function mycenter(){
function myinformation (line 165) | function myinformation(){
function ReLogin (line 169) | function ReLogin(){
FILE: src/main/webapp/static/js/main2.js
function throttle (line 56) | function throttle(fn, delay) {
function getMousePos (line 69) | function getMousePos(e) {
function lineEq (line 90) | function lineEq(y2, y1, x2, x1, currentVal) {
function init (line 187) | function init() {
function applyRoomTransform (line 196) | function applyRoomTransform(transform) {
function applyRoomTransition (line 201) | function applyRoomTransition(settings) {
function removeRoomTransition (line 207) | function removeRoomTransition() {
function scaleRoom (line 211) | function scaleRoom() {
function initEvents (line 216) | function initEvents() {
function showTiltCtrl (line 274) | function showTiltCtrl() {
function selectSeat (line 279) | function selectSeat(planseat) {
function previewSeat (line 297) | function previewSeat(seat) {
function zoomOutScreen (line 363) | function zoomOutScreen(callback) {
function disableTilt (line 372) | function disableTilt() {
function enableTilt (line 377) | function enableTilt() {
function videoPlay (line 382) | function videoPlay() {
function videoLoad (line 389) | function videoLoad() {
FILE: src/main/webapp/static/js/modernizr-custom.js
function r (line 3) | function r(e,n){return typeof e===n}
function o (line 3) | function o(){var e,n,t,o,s,i,a;for(var f in C)if(C.hasOwnProperty(f)){if...
function s (line 3) | function s(e){var n=w.className,t=Modernizr._config.classPrefix||"";if(x...
function i (line 3) | function i(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return...
function a (line 3) | function a(e,n){return!!~(""+e).indexOf(n)}
function f (line 3) | function f(){return"function"!=typeof n.createElement?n.createElement(ar...
function l (line 3) | function l(e,n){return function(){return e.apply(n,arguments)}}
function u (line 3) | function u(e,n,t){var o;for(var s in e)if(e[s]in n)return t===!1?e[s]:(o...
function p (line 3) | function p(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLo...
function d (line 3) | function d(){var e=n.body;return e||(e=f(x?"svg":"body"),e.fake=!0),e}
function c (line 3) | function c(e,t,r,o){var s,i,a,l,u="modernizr",p=f("div"),c=d();if(parseI...
function m (line 3) | function m(n,r){var o=n.length;if("CSS"in e&&"supports"in e.CSS){for(;o-...
function v (line 3) | function v(e,n,o,s){function l(){p&&(delete N.style,delete N.modElem)}if...
function h (line 3) | function h(e,n,t,o,s){var i=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" ...
function y (line 3) | function y(e,n,r){return h(e,t,t,n,r)}
FILE: src/main/webapp/static/layui/lay/modules/jquery.js
function n (line 2) | function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"func...
function r (line 2) | function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){ret...
function i (line 2) | function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}
function o (line 2) | function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]...
function a (line 2) | function a(){re.addEventListener?(re.removeEventListener("DOMContentLoad...
function s (line 2) | function s(){(re.addEventListener||"load"===e.event.type||"complete"===r...
function u (line 2) | function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace...
function l (line 2) | function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&...
function c (line 2) | function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.c...
function f (line 2) | function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe...
function d (line 2) | function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:functi...
function p (line 2) | function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.crea...
function h (line 2) | function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName...
function g (line 2) | function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval"...
function m (line 2) | function m(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}
function y (line 2) | function y(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,y=p(t),v=[],x=0;x...
function v (line 2) | function v(){return!0}
function x (line 2) | function x(){return!1}
function b (line 2) | function b(){try{return re.activeElement}catch(e){}}
function w (line 2) | function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof ...
function T (line 2) | function T(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeTy...
function C (line 2) | function C(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}
function E (line 2) | function E(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribu...
function N (line 2) | function N(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e...
function k (line 2) | function k(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase...
function S (line 2) | function S(e,t,n,r){t=oe.apply([],t);var i,o,a,s,u,l,c=0,f=e.length,d=f-...
function A (line 2) | function A(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)...
function D (line 2) | function D(e,t){var n=pe(t.createElement(e)).appendTo(t.body),r=pe.css(n...
function j (line 2) | function j(e){var t=re,n=lt[e];return n||(n=D(e,t),"none"!==n&&n||(ut=(u...
function L (line 2) | function L(e,t){return{get:function(){return e()?void delete this.get:(t...
function H (line 2) | function H(e){if(e in Et)return e;for(var t=e.charAt(0).toUpperCase()+e....
function q (line 2) | function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style...
function _ (line 2) | function _(e,t,n){var r=bt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2...
function F (line 2) | function F(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t...
function M (line 2) | function M(t,n,r){var i=!0,o="width"===n?t.offsetWidth:t.offsetHeight,a=...
function O (line 2) | function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}
function R (line 2) | function R(){return e.setTimeout(function(){Nt=void 0}),Nt=pe.now()}
function P (line 2) | function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Oe[i],r[...
function B (line 2) | function B(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]...
function W (line 2) | function W(e,t,n){var r,i,o,a,s,u,l,c,f=this,d={},p=e.style,h=e.nodeType...
function I (line 2) | function I(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e...
function $ (line 2) | function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().alwa...
function z (line 2) | function z(e){return pe.attr(e,"class")||""}
function X (line 2) | function X(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r...
function U (line 2) | function U(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],...
function V (line 2) | function V(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(r in t)voi...
function Y (line 2) | function Y(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];...
function J (line 2) | function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for...
function G (line 2) | function G(e){return e.style&&e.style.display||pe.css(e,"display")}
function K (line 2) | function K(e){for(;e&&1===e.nodeType;){if("none"===G(e)||"hidden"===e.ty...
function Q (line 2) | function Q(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||rn...
function Z (line 2) | function Z(){try{return new e.XMLHttpRequest}catch(t){}}
function ee (line 2) | function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(...
function te (line 2) | function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e...
function t (line 2) | function t(e,t,n,r){var i,o,a,s,u,l,f,p,h=t&&t.ownerDocument,g=t?t.nodeT...
function n (line 2) | function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete ...
function r (line 2) | function r(e){return e[P]=!0,e}
function i (line 2) | function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){ret...
function o (line 2) | function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]...
function a (line 2) | function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sour...
function s (line 2) | function s(e){return function(t){var n=t.nodeName.toLowerCase();return"i...
function u (line 2) | function u(e){return function(t){var n=t.nodeName.toLowerCase();return("...
function l (line 2) | function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i...
function c (line 2) | function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}
function f (line 2) | function f(){}
function d (line 2) | function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}
function p (line 2) | function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first...
function h (line 2) | function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)...
function g (line 2) | function g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}
function m (line 2) | function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o...
function y (line 2) | function y(e,t,n,i,o,a){return i&&!i[P]&&(i=y(i)),o&&!o[P]&&(o=y(o,a)),r...
function v (line 2) | function v(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.re...
function x (line 2) | function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var ...
function t (line 4) | function t(){var t,c,f=re.documentElement;f.appendChild(u),l.style.cssTe...
function r (line 4) | function r(t,n,r,i){var o,f,v,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c...
FILE: src/main/webapp/static/layui/lay/modules/layer.js
function e (line 2) | function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}
function o (line 2) | function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onlo...
FILE: src/main/webapp/static/layui/lay/modules/mobile.js
function t (line 2) | function t(t){return null==t?String(t):J[W.call(t)]||"object"}
function e (line 2) | function e(e){return"function"==t(e)}
function n (line 2) | function n(t){return null!=t&&t==t.window}
function r (line 2) | function r(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}
function i (line 2) | function i(e){return"object"==t(e)}
function o (line 2) | function o(t){return i(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.proto...
function a (line 2) | function a(t){var e=!!t&&"length"in t&&t.length,r=T.type(t);return"funct...
function s (line 2) | function s(t){return A.call(t,function(t){return null!=t})}
function u (line 2) | function u(t){return t.length>0?T.fn.concat.apply([],t):t}
function c (line 2) | function c(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/...
function l (line 2) | function l(t){return t in F?F[t]:F[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}
function f (line 2) | function f(t,e){return"number"!=typeof e||k[c(t)]?e:e+"px"}
function h (line 2) | function h(t){var e,n;return $[t]||(e=L.createElement(t),L.body.appendCh...
function p (line 2) | function p(t){return"children"in t?D.call(t.children):T.map(t.childNodes...
function d (line 2) | function d(t,e){var n,r=t?t.length:0;for(n=0;n<r;n++)this[n]=t[n];this.l...
function m (line 2) | function m(t,e,n){for(j in e)n&&(o(e[j])||Q(e[j]))?(o(e[j])&&!o(t[j])&&(...
function v (line 2) | function v(t,e){return null==e?T(t):T(t).filter(e)}
function g (line 2) | function g(t,n,r,i){return e(n)?n.call(t,r,i):n}
function y (line 2) | function y(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}
function x (line 2) | function x(t,e){var n=t.className||"",r=n&&n.baseVal!==E;return e===E?r?...
function b (line 2) | function b(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""=...
function w (line 2) | function w(t,e){e(t);for(var n=0,r=t.childNodes.length;n<r;n++)w(t.child...
function e (line 2) | function e(t){return t._zid||(t._zid=h++)}
function n (line 2) | function n(t,n,o,a){if(n=r(n),n.ns)var s=i(n.ns);return(v[e(t)]||[]).fil...
function r (line 2) | function r(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort()...
function i (line 2) | function i(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$...
function o (line 2) | function o(t,e){return t.del&&!y&&t.e in x||!!e}
function a (line 2) | function a(t){return b[t]||y&&x[t]||t}
function s (line 2) | function s(n,i,s,u,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);i.split(/\s/).for...
function u (line 2) | function u(t,r,i,s,u){var c=e(t);(r||"").split(/\s/).forEach(function(e)...
function c (line 2) | function c(e,n){return!n&&e.isDefaultPrevented||(n||(n=e),t.each(T,funct...
function l (line 2) | function l(t){var e,n={originalEvent:t};for(e in t)j.test(e)||t[e]===f||...
function e (line 2) | function e(e,n,r){var i=t.Event(n);return t(e).trigger(i,r),!i.isDefault...
function n (line 2) | function n(t,n,r,i){if(t.global)return e(n||x,r,i)}
function r (line 2) | function r(e){e.global&&0===t.active++&&n(e,null,"ajaxStart")}
function i (line 2) | function i(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}
function o (line 2) | function o(t,e){var r=e.context;return e.beforeSend.call(r,t,e)!==!1&&n(...
function a (line 2) | function a(t,e,r,i){var o=r.context,a="success";r.success.call(o,t,a,e),...
function s (line 2) | function s(t,e,r,i,o){var a=i.context;i.error.call(a,r,e,t),o&&o.rejectW...
function u (line 2) | function u(t,e,r){var o=r.context;r.complete.call(o,e,t),n(r,o,"ajaxComp...
function c (line 2) | function c(t,e,n){if(n.dataFilter==l)return t;var r=n.context;return n.d...
function l (line 2) | function l(){}
function f (line 2) | function f(t){return t&&(t=t.split(";",2)[0]),t&&(t==T?"html":t==j?"json...
function h (line 2) | function h(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}
function p (line 2) | function p(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t...
function d (line 2) | function d(e,n,r,i){return t.isFunction(n)&&(i=r,r=n,n=void 0),t.isFunct...
function m (line 2) | function m(e,n,r,i){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,f...
FILE: src/main/webapp/static/layui/lay/modules/util.js
function n (line 2) | function n(){a=e[l](function(){o.each(function(){var e=t(this),i=e.width...
function n (line 2) | function n(e,n,o){var r=t(this),l=t.data(this,g)||{};l.w=n!==i?n:r.width...
FILE: src/main/webapp/static/layui/layui.all.js
function s (line 2) | function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:...
function c (line 2) | function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),n,l):"function...
function n (line 2) | function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"func...
function r (line 2) | function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){ret...
function i (line 2) | function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}
function o (line 2) | function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]...
function a (line 2) | function a(){re.addEventListener?(re.removeEventListener("DOMContentLoad...
function s (line 2) | function s(){(re.addEventListener||"load"===e.event.type||"complete"===r...
function u (line 2) | function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace...
function l (line 2) | function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&...
function c (line 2) | function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.c...
function f (line 2) | function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe...
function d (line 2) | function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:functi...
function p (line 2) | function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.crea...
function h (line 2) | function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName...
function g (line 2) | function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval"...
function m (line 2) | function m(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}
function y (line 2) | function y(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,y=p(t),v=[],x=0;x...
function v (line 2) | function v(){return!0}
function x (line 2) | function x(){return!1}
function b (line 2) | function b(){try{return re.activeElement}catch(e){}}
function w (line 2) | function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof ...
function T (line 2) | function T(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeTy...
function C (line 2) | function C(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}
function E (line 2) | function E(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribu...
function N (line 2) | function N(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e...
function k (line 2) | function k(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase...
function S (line 2) | function S(e,t,n,r){t=oe.apply([],t);var i,o,a,s,u,l,c=0,f=e.length,d=f-...
function A (line 2) | function A(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)...
function D (line 2) | function D(e,t){var n=pe(t.createElement(e)).appendTo(t.body),r=pe.css(n...
function j (line 2) | function j(e){var t=re,n=lt[e];return n||(n=D(e,t),"none"!==n&&n||(ut=(u...
function L (line 2) | function L(e,t){return{get:function(){return e()?void delete this.get:(t...
function H (line 2) | function H(e){if(e in Et)return e;for(var t=e.charAt(0).toUpperCase()+e....
function q (line 2) | function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style...
function _ (line 2) | function _(e,t,n){var r=bt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2...
function F (line 2) | function F(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t...
function M (line 2) | function M(t,n,r){var i=!0,o="width"===n?t.offsetWidth:t.offsetHeight,a=...
function O (line 2) | function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}
function R (line 2) | function R(){return e.setTimeout(function(){Nt=void 0}),Nt=pe.now()}
function P (line 2) | function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Oe[i],r[...
function B (line 2) | function B(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]...
function W (line 2) | function W(e,t,n){var r,i,o,a,s,u,l,c,f=this,d={},p=e.style,h=e.nodeType...
function I (line 2) | function I(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e...
function $ (line 2) | function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().alwa...
function z (line 2) | function z(e){return pe.attr(e,"class")||""}
function X (line 2) | function X(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r...
function U (line 2) | function U(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],...
function V (line 2) | function V(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(r in t)voi...
function Y (line 2) | function Y(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];...
function J (line 2) | function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for...
function G (line 2) | function G(e){return e.style&&e.style.display||pe.css(e,"display")}
function K (line 2) | function K(e){for(;e&&1===e.nodeType;){if("none"===G(e)||"hidden"===e.ty...
function Q (line 2) | function Q(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||rn...
function Z (line 2) | function Z(){try{return new e.XMLHttpRequest}catch(t){}}
function ee (line 2) | function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(...
function te (line 2) | function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e...
function t (line 2) | function t(e,t,n,r){var i,o,a,s,u,l,f,p,h=t&&t.ownerDocument,g=t?t.nodeT...
function n (line 2) | function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete ...
function r (line 2) | function r(e){return e[P]=!0,e}
function i (line 2) | function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){ret...
function o (line 2) | function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]...
function a (line 2) | function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sour...
function s (line 2) | function s(e){return function(t){var n=t.nodeName.toLowerCase();return"i...
function u (line 2) | function u(e){return function(t){var n=t.nodeName.toLowerCase();return("...
function l (line 2) | function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i...
function c (line 2) | function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}
function f (line 2) | function f(){}
function d (line 2) | function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}
function p (line 2) | function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first...
function h (line 2) | function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)...
function g (line 2) | function g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}
function m (line 2) | function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o...
function y (line 2) | function y(e,t,n,i,o,a){return i&&!i[P]&&(i=y(i)),o&&!o[P]&&(o=y(o,a)),r...
function v (line 2) | function v(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.re...
function x (line 2) | function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var ...
function t (line 4) | function t(){var t,c,f=re.documentElement;f.appendChild(u),l.style.cssTe...
function r (line 4) | function r(t,n,r,i){var o,f,v,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c...
function e (line 5) | function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}
function o (line 5) | function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onlo...
function n (line 5) | function n(){a=e[l](function(){o.each(function(){var e=t(this),i=e.width...
function n (line 5) | function n(e,n,o){var r=t(this),l=t.data(this,g)||{};l.w=n!==i?n:r.width...
FILE: src/main/webapp/static/layui/layui.js
function s (line 2) | function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:...
function c (line 2) | function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),n,l):"function...
Condensed preview — 152 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,885K chars).
[
{
"path": ".classpath",
"chars": 1455,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<classpath>\n\t<classpathentry kind=\"src\" output=\"target/classes\" path=\"src/main/ja"
},
{
"path": ".gitattributes",
"chars": 88,
"preview": "\n*.js linguist-language=java\n*.css linguist-language=java\n*.html linguist-language=java\n"
},
{
"path": ".project",
"chars": 1044,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<projectDescription>\n\t<name>Movie</name>\n\t<comment></comment>\n\t<projects>\n\t</proj"
},
{
"path": ".settings/.jsdtscope",
"chars": 626,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<classpath>\n\t<classpathentry excluding=\"**/bower_components/*|**/node_modules/*|*"
},
{
"path": ".settings/org.eclipse.jdt.core.prefs",
"chars": 770,
"preview": "eclipse.preferences.version=1\norg.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled\norg.eclipse.jdt.core.compi"
},
{
"path": ".settings/org.eclipse.m2e.core.prefs",
"chars": 86,
"preview": "activeProfiles=\neclipse.preferences.version=1\nresolveWorkspaceProjects=true\nversion=1\n"
},
{
"path": ".settings/org.eclipse.wst.common.component",
"chars": 646,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><project-modules id=\"moduleCoreId\" project-version=\"1.5.0\">\n <wb-module deploy-"
},
{
"path": ".settings/org.eclipse.wst.common.project.facet.core.xml",
"chars": 245,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<faceted-project>\n <fixed facet=\"wst.jsdt.web\"/>\n <installed facet=\"jst.web\" ve"
},
{
"path": ".settings/org.eclipse.wst.jsdt.ui.superType.container",
"chars": 49,
"preview": "org.eclipse.wst.jsdt.launching.baseBrowserLibrary"
},
{
"path": ".settings/org.eclipse.wst.jsdt.ui.superType.name",
"chars": 6,
"preview": "Window"
},
{
"path": ".settings/org.eclipse.wst.validation.prefs",
"chars": 48,
"preview": "disabled=06target\neclipse.preferences.version=1\n"
},
{
"path": "README.md",
"chars": 2570,
"preview": "# 仿猫眼电影购票系统\n## 基于Spring+Spring MVC+Mybatis+Layui\n### 功能:\n* 前台:\n * 登录、注册、注销\n * 基本信息修改、修改头像、修改密码\n * 按标签检索电影\n *"
},
{
"path": "movie.sql",
"chars": 54978,
"preview": "/*\r\n Navicat Premium Data Transfer\r\n\r\n Source Server : localhost_3306\r\n Source Server Type : MySQL\r\n Source S"
},
{
"path": "pom.xml",
"chars": 4805,
"preview": "<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLoc"
},
{
"path": "src/main/java/com/controller/CommentController.java",
"chars": 4724,
"preview": "package com.controller;\n\nimport java.util.Date;\nimport java.util.List;\n\nimport javax.annotation.Resource;\nimport javax.s"
},
{
"path": "src/main/java/com/controller/MovieController.java",
"chars": 6473,
"preview": "package com.controller;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.text.DecimalFormat;\nimport java.te"
},
{
"path": "src/main/java/com/controller/OrderController.java",
"chars": 6956,
"preview": "package com.controller;\n\nimport java.text.SimpleDateFormat;\nimport java.util.ArrayList;\nimport java.util.Date;\nimport ja"
},
{
"path": "src/main/java/com/controller/ScheduleController.java",
"chars": 8647,
"preview": "package com.controller;\n\nimport java.util.ArrayList;\nimport java.util.Date;\nimport java.util.List;\n\nimport javax.annotat"
},
{
"path": "src/main/java/com/controller/UserController.java",
"chars": 6251,
"preview": "package com.controller;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.List;\n\nimport javax.annotatio"
},
{
"path": "src/main/java/com/entity/Cinema.java",
"chars": 832,
"preview": "package com.entity;\n\nimport java.util.List;\n\n/**\n * 电影院表实体对象\n * @author Wxj\n */\npublic class Cinema {\n\tprivate long cine"
},
{
"path": "src/main/java/com/entity/Comment.java",
"chars": 1152,
"preview": "package com.entity;\n/**\n * 评论表实体对象\n * @author Wxj\n */\n\nimport java.util.Date;\n\npublic class Comment {\n\tprivate long comm"
},
{
"path": "src/main/java/com/entity/Hall.java",
"chars": 1165,
"preview": "package com.entity;\n\nimport java.util.List;\n\n/**\n * 放映厅表实体对象\n * @author Wxj\n */\npublic class Hall {\n\tprivate long hall_i"
},
{
"path": "src/main/java/com/entity/Movie.java",
"chars": 3249,
"preview": "package com.entity;\n\nimport java.sql.Date;\t//yyyy-mm-dd\nimport java.util.List; \n/**\n * 电影信息实体对象\n * @author Wxj\n */\npubli"
},
{
"path": "src/main/java/com/entity/Order.java",
"chars": 1789,
"preview": "package com.entity;\n\nimport java.util.Date;\nimport java.util.List;\n\n/**\n * 订单表实体对象\n * @author Wxj\n *\n */\npublic class Or"
},
{
"path": "src/main/java/com/entity/Schedule.java",
"chars": 2137,
"preview": "package com.entity;\n\nimport java.util.Date;\nimport java.util.List;\n\nimport org.springframework.format.annotation.DateTim"
},
{
"path": "src/main/java/com/entity/User.java",
"chars": 1107,
"preview": "package com.entity;\n/**\n * 用户表实体对象\n * @author Wxj\n */\npublic class User {\n\tprivate long user_id;\t \n\tprivate String "
},
{
"path": "src/main/java/com/mapper/CinemaMapper.java",
"chars": 459,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.springframework.stereotype.Repository;\n\nimport com.entity.Cinema"
},
{
"path": "src/main/java/com/mapper/CinemaMapper.xml",
"chars": 1661,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/CommentMapper.java",
"chars": 525,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.springframework.stereotype.Repository;\n\nimport com.entity.Commen"
},
{
"path": "src/main/java/com/mapper/CommentMapper.xml",
"chars": 1860,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/HallMapper.java",
"chars": 529,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.ster"
},
{
"path": "src/main/java/com/mapper/HallMapper.xml",
"chars": 1494,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/MovieMapper.java",
"chars": 902,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.ster"
},
{
"path": "src/main/java/com/mapper/MovieMapper.xml",
"chars": 4477,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/OrderMapper.java",
"chars": 605,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.springframework.stereotype.Repository;\n\nimport com.entity.Order;"
},
{
"path": "src/main/java/com/mapper/OrderMapper.xml",
"chars": 2576,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/ScheduleMapper.java",
"chars": 961,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.ster"
},
{
"path": "src/main/java/com/mapper/ScheduleMapper.xml",
"chars": 3250,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/mapper/UserMapper.java",
"chars": 405,
"preview": "package com.mapper;\n\nimport java.util.List;\n\nimport org.springframework.stereotype.Repository;\n\nimport com.entity.User;\n"
},
{
"path": "src/main/java/com/mapper/UserMapper.xml",
"chars": 1752,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "src/main/java/com/service/ICinemaService.java",
"chars": 399,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Cinema;\n\npublic interface ICinemaService {\n\tCinema findC"
},
{
"path": "src/main/java/com/service/ICommentService.java",
"chars": 578,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Comment;\nimport com.github.pagehelper.PageInfo;\n\npublic "
},
{
"path": "src/main/java/com/service/IHallService.java",
"chars": 383,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Hall;\n\npublic interface IHallService {\n\tHall findHallByI"
},
{
"path": "src/main/java/com/service/IMovieService.java",
"chars": 724,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Movie;\n\npublic interface IMovieService {\n\tMovie findMovi"
},
{
"path": "src/main/java/com/service/IOrderService.java",
"chars": 675,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Order;\nimport com.github.pagehelper.PageInfo;\n\npublic in"
},
{
"path": "src/main/java/com/service/IScheduleService.java",
"chars": 915,
"preview": "package com.service;\n\nimport java.util.List;\n\nimport com.entity.Schedule;\nimport com.github.pagehelper.PageInfo;\n\npublic"
},
{
"path": "src/main/java/com/service/IUserService.java",
"chars": 525,
"preview": "package com.service;\n\n\nimport java.util.List;\n\nimport com.entity.User;\nimport com.github.pagehelper.PageInfo;\n\npublic in"
},
{
"path": "src/main/java/com/service/imp/CinemaServiceImp.java",
"chars": 2866,
"preview": "package com.service.imp;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport "
},
{
"path": "src/main/java/com/service/imp/CommentServiceImp.java",
"chars": 2761,
"preview": "package com.service.imp;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.springframework.beans.factory.a"
},
{
"path": "src/main/java/com/service/imp/HallServiceImp.java",
"chars": 2220,
"preview": "package com.service.imp;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport "
},
{
"path": "src/main/java/com/service/imp/MovieServiceImp.java",
"chars": 3693,
"preview": "package com.service.imp;\t\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport"
},
{
"path": "src/main/java/com/service/imp/OrderServiceImp.java",
"chars": 6545,
"preview": "package com.service.imp;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.springframework.beans.factory.a"
},
{
"path": "src/main/java/com/service/imp/ScheduleServiceImp.java",
"chars": 6669,
"preview": "package com.service.imp;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport "
},
{
"path": "src/main/java/com/service/imp/UserServiceImp.java",
"chars": 2613,
"preview": "package com.service.imp;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.springframework.beans.factory.a"
},
{
"path": "src/main/java/com/util/ResponseModel.java",
"chars": 633,
"preview": "package com.util;\n/**\n * 返回给浏览器的数据\n * @param success 状态 true:成功 false:失败\n * @param msg 提示信息\n * @author Wxj\n */\npublic cl"
},
{
"path": "src/main/java/com/util/UUIDUtil.java",
"chars": 229,
"preview": "package com.util;\n\nimport java.util.UUID;\n/**\n * 生产唯一标识符\n * @author Wxj\n */\npublic class UUIDUtil {\n\n\tpublic static Stri"
},
{
"path": "src/main/java/com/util/test.java",
"chars": 3376,
"preview": "package com.util;\n\nimport java.io.Console;\nimport java.text.DecimalFormat;\nimport java.text.SimpleDateFormat;\nimport jav"
},
{
"path": "src/main/resources/movie.sql",
"chars": 53441,
"preview": "/*\r\n Navicat Premium Data Transfer\r\n\r\n Source Server : localhost_3306\r\n Source Server Type : MySQL\r\n Source S"
},
{
"path": "src/main/resources/mybatis.xml",
"chars": 818,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE configuration PUBLIC \"-//mybatis.org//DTD Config 3.0//EN\" \"http://mybat"
},
{
"path": "src/main/resources/mysql.properties",
"chars": 116,
"preview": "driver=com.mysql.cj.jdbc.Driver\nurl=jdbc:mysql://localhost:3306/movie?serverTimezone=UTC\nusername=root\npassword=root"
},
{
"path": "src/main/resources/spring.xml",
"chars": 5553,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\" xmlns:xsi=\"http://www."
},
{
"path": "src/main/webapp/WEB-INF/web.xml",
"chars": 5885,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<web-app xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n xmlns=\"h"
},
{
"path": "src/main/webapp/index.html",
"chars": 0,
"preview": ""
},
{
"path": "src/main/webapp/jsp/buySeat.jsp",
"chars": 14085,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\"e"
},
{
"path": "src/main/webapp/jsp/buyTickets.jsp",
"chars": 20974,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/center.jsp",
"chars": 20812,
"preview": "<%@page import=\"com.entity.User\"%>\n<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF"
},
{
"path": "src/main/webapp/jsp/footer.jsp",
"chars": 1834,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%> \n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/header.jsp",
"chars": 2615,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%> \n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/login.jsp",
"chars": 9823,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n<head>"
},
{
"path": "src/main/webapp/jsp/mainPage.jsp",
"chars": 22456,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\"e"
},
{
"path": "src/main/webapp/jsp/manage.jsp",
"chars": 112408,
"preview": "<%@page import=\"com.entity.User\"%>\n<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF"
},
{
"path": "src/main/webapp/jsp/movieDetail.jsp",
"chars": 27207,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/movieList.jsp",
"chars": 16910,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/pay.jsp",
"chars": 9645,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\"e"
},
{
"path": "src/main/webapp/jsp/payStatus.jsp",
"chars": 3130,
"preview": "<%@page import=\"com.entity.User\"%>\n<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF"
},
{
"path": "src/main/webapp/jsp/selectSeat.jsp",
"chars": 9721,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html lang=\""
},
{
"path": "src/main/webapp/jsp/test.jsp",
"chars": 1809,
"preview": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\"\n pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n<head>"
},
{
"path": "src/main/webapp/static/bootstrap/bootstrap.js",
"chars": 123765,
"preview": "/*!\n * Bootstrap v4.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2018 The Bootstrap Authors (https://github.com/t"
},
{
"path": "src/main/webapp/static/bootstrap/css/bootstrap-theme.css",
"chars": 26132,
"preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
},
{
"path": "src/main/webapp/static/bootstrap/css/bootstrap.css",
"chars": 146010,
"preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://gi"
},
{
"path": "src/main/webapp/static/bootstrap/css/style.css",
"chars": 3220,
"preview": "\nbody{background:#fff;color:#5B5B5D;font-family:\"Microsoft YaHei\",\"Segoe UI\",\"Lucida Grande\",Helvetica,Arial,sans-serif}"
},
{
"path": "src/main/webapp/static/bootstrap/js/bootstrap.js",
"chars": 69707,
"preview": "/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under the MIT license"
},
{
"path": "src/main/webapp/static/bootstrap/js/npm.js",
"chars": 484,
"preview": "// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.\nrequ"
},
{
"path": "src/main/webapp/static/css/buySeat.css",
"chars": 7272,
"preview": ".container{\n display: block;\n margin-bottom: 100px;\n padding: 0;\n}\n.container .order-progress-bar{\n height: "
},
{
"path": "src/main/webapp/static/css/buyTickets.css",
"chars": 7515,
"preview": ".banner2 .wrapper {\n \t\t/*background: #000;*/\n\t width: 1200px;\n\t margin: 0 auto;\n\t height: 376px;\n\t positio"
},
{
"path": "src/main/webapp/static/css/center.css",
"chars": 7512,
"preview": ".container{\n\tpadding: 0;\n\twidth: 1200px;\n\theight: 1200px;\n\tmargin-bottom: 100px;\n}\n.container .contents .nav-next{\n\tfloa"
},
{
"path": "src/main/webapp/static/css/footer.css",
"chars": 359,
"preview": ".footer{\n margin-top: 50px;\n height: 211px;\n background-color: #262426;\n }\n .footer p{\n\tcolor: #666;\n }\n .foote"
},
{
"path": "src/main/webapp/static/css/header.css",
"chars": 4061,
"preview": ".header{\n/*\theight: 80px;\n\tbackground: white;\n\tborder-bottom: 1px solid #d8d8d8;*/\n\t/*height: 80px;\n\tposition: fixed;\n\tt"
},
{
"path": "src/main/webapp/static/css/login.css",
"chars": 3271,
"preview": "*{\n margin: 0px;\n padding: 0px;\n}\nbody{\n background-image: url('../images/2.jpg');\n}\n\n.screen{\n float: left;\n text"
},
{
"path": "src/main/webapp/static/css/main.css",
"chars": 3512,
"preview": ".main{\n\toverflow: hidden;\n\t/* height: 2159px; */\n\t/*background-color: green;*/\n}\n.main .main-inner{\n\twidth: 981px;\n\t/* h"
},
{
"path": "src/main/webapp/static/css/main2.css",
"chars": 4273,
"preview": "\n*{\n margin: 0;\n padding: 0;\n}\n.aside {\n float: right;\n width: 360px;\n}\n.ranking-box-wrapper .panel-content "
},
{
"path": "src/main/webapp/static/css/manage.css",
"chars": 6092,
"preview": ".container{\n\t/*padding: 0;*/\n\twidth: 1530px !important;\n\t/*height: 1200px;*/\n\t/*margin-bottom: 100px;*/\n}\n.container .co"
},
{
"path": "src/main/webapp/static/css/modify.css",
"chars": 3715,
"preview": ".Modifyform {\n height: 18.75em;\n width: 46em;\n margin-top: 150px;\n "
},
{
"path": "src/main/webapp/static/css/movieDetail.css",
"chars": 6716,
"preview": "\t.main-content {\n\t width: 1130px;\n\t float: left;\n\t}\n\t.tab-container .tab-title-container {\n\t\twidth: 1130px;\n\t\theig"
},
{
"path": "src/main/webapp/static/css/movieList.css",
"chars": 2879,
"preview": ".movies-channel {\n\t width: 1120px;\n\t margin: auto;\n\t overflow: hidden;\n\t}\n\t.tags-panel {\n\t border: 1px solid"
},
{
"path": "src/main/webapp/static/css/pay.css",
"chars": 3881,
"preview": ".container{\n display: block;\n margin-bottom: 100px;\n padding: 0;\n}\n.container .order-progress-bar{\n height: "
},
{
"path": "src/main/webapp/static/css/paystatus.css",
"chars": 2447,
"preview": ".container{\n display: block;\n margin-bottom: 100px;\n padding: 0;\n}\n.container .order-progress-bar{\n height: "
},
{
"path": "src/main/webapp/static/css/selectSeat.css",
"chars": 6843,
"preview": ".banner2 .wrapper {\n\t/*background: #000;*/\n\twidth: 1200px;\n\tmargin: 0 auto;\n\theight: 320px;\n\tposition: relative;\n\ttop: 7"
},
{
"path": "src/main/webapp/static/css/style2.css",
"chars": 2474,
"preview": "/*定义css变量*/\n:root{ \n\t--mywidth: 1420px;\n\t--myheight: 440px;\n}\n\n*{\n\tmargin: 0;\n\tpadding: 0;\n}\nhtml,body{\n\twidth: 100%;\n\th"
},
{
"path": "src/main/webapp/static/js/Api.js",
"chars": 116,
"preview": "var urlHead = \"http:///edy45u.\";\n\nvar urlFoot = \"natappfree.cc\";\n\nvar url = urlHead.toString() + urlFoot.toString();"
},
{
"path": "src/main/webapp/static/js/classie.js",
"chars": 1972,
"preview": "/*!\n * classie v1.0.1\n * class helper functions\n * from bonzo https://github.com/ded/bonzo\n * MIT license\n * \n * classie"
},
{
"path": "src/main/webapp/static/js/echarts.js",
"chars": 2882309,
"preview": "(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof"
},
{
"path": "src/main/webapp/static/js/header.js",
"chars": 8628,
"preview": "//验证用户身份\nfunction init_manage(){\n var user_json = JSON.parse(localStorage.getItem(\"userJson\"));\n var user_role = "
},
{
"path": "src/main/webapp/static/js/main2.js",
"chars": 13056,
"preview": "/**\n * main.js\n * http://www.codrops.com\n *\n * Licensed under the MIT license.\n * http://www.opensource.org/licenses/mit"
},
{
"path": "src/main/webapp/static/js/modernizr-custom.js",
"chars": 4770,
"preview": "/*! modernizr 3.2.0 (Custom Build) | MIT *\n * http://modernizr.com/download/?-csstransitions-preserve3d-prefixed-setclas"
},
{
"path": "src/main/webapp/static/layui/css/index.css",
"chars": 14821,
"preview": "/**\n \n @Name: layuiNetCompany - 大气风格的网络公司企业模版\n @Author: xuxingyu\n @Copyright: layui.com\n \n */\n\n\nbody{background: #fff;}\n"
},
{
"path": "src/main/webapp/static/layui/css/layui.css",
"chars": 93327,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n.layui-inline, img {\n display: inline-block;\n vertical-al"
},
{
"path": "src/main/webapp/static/layui/css/layui.mobile.css",
"chars": 9885,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,inp"
},
{
"path": "src/main/webapp/static/layui/css/modules/code.css",
"chars": 1063,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n html #layuicss-skincodecss{display:none;position:absolute;widt"
},
{
"path": "src/main/webapp/static/layui/css/modules/laydate/default/laydate.css",
"chars": 7537,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n .laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate"
},
{
"path": "src/main/webapp/static/layui/css/modules/layer/default/layer.css",
"chars": 14425,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n .layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .la"
},
{
"path": "src/main/webapp/static/layui/js/firm.js",
"chars": 2237,
"preview": "\n\nlayui.define(['jquery', 'element', 'carousel', 'laypage'], function(exports){\n var $ = layui.jquery\n ,element = layu"
},
{
"path": "src/main/webapp/static/layui/lay/modules/carousel.js",
"chars": 3862,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var i=layui.$,"
},
{
"path": "src/main/webapp/static/layui/lay/modules/code.js",
"chars": 1177,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var a=layui.$,"
},
{
"path": "src/main/webapp/static/layui/lay/modules/colorpicker.js",
"chars": 11731,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var i=layui.jq"
},
{
"path": "src/main/webapp/static/layui/lay/modules/element.js",
"chars": 7260,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(t){\"use strict\";var a=layui.$,"
},
{
"path": "src/main/webapp/static/layui/lay/modules/flow.js",
"chars": 1996,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var l=layui.$,"
},
{
"path": "src/main/webapp/static/layui/lay/modules/form.js",
"chars": 9181,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"layer\",function(e){\"use strict\";var t=layui.$,i"
},
{
"path": "src/main/webapp/static/layui/lay/modules/jquery.js",
"chars": 97648,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;!function(e,t){\"object\"==typeof module&&\"object\"==typeof modu"
},
{
"path": "src/main/webapp/static/layui/lay/modules/laydate.js",
"chars": 27053,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;!function(){\"use strict\";var e=window.layui&&layui.define,t={"
},
{
"path": "src/main/webapp/static/layui/lay/modules/layedit.js",
"chars": 12221,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define([\"layer\",\"form\"],function(t){\"use strict\";var e="
},
{
"path": "src/main/webapp/static/layui/lay/modules/layer.js",
"chars": 22041,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;!function(e,t){\"use strict\";var i,n,a=e.layui&&layui.define,o"
},
{
"path": "src/main/webapp/static/layui/lay/modules/laypage.js",
"chars": 4464,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(function(e){\"use strict\";var a=document,t=\"getEl"
},
{
"path": "src/main/webapp/static/layui/lay/modules/laytpl.js",
"chars": 1834,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(function(e){\"use strict\";var r={open:\"{{\",close:"
},
{
"path": "src/main/webapp/static/layui/lay/modules/mobile.js",
"chars": 33700,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(function(i){i(\"layui.mobile\",layui.v)});layui.de"
},
{
"path": "src/main/webapp/static/layui/lay/modules/rate.js",
"chars": 2749,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var a=layui.jq"
},
{
"path": "src/main/webapp/static/layui/lay/modules/slider.js",
"chars": 7049,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(e){\"use strict\";var i=layui.jq"
},
{
"path": "src/main/webapp/static/layui/lay/modules/table.js",
"chars": 31169,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define([\"laytpl\",\"laypage\",\"layer\",\"form\",\"util\"],funct"
},
{
"path": "src/main/webapp/static/layui/lay/modules/transfer.js",
"chars": 6273,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define([\"laytpl\",\"form\"],function(e){\"use strict\";var a"
},
{
"path": "src/main/webapp/static/layui/lay/modules/tree.js",
"chars": 16441,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"form\",function(e){\"use strict\";var i=layui.$,a="
},
{
"path": "src/main/webapp/static/layui/lay/modules/upload.js",
"chars": 7007,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"layer\",function(e){\"use strict\";var t=layui.$,i"
},
{
"path": "src/main/webapp/static/layui/lay/modules/util.js",
"chars": 3598,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;layui.define(\"jquery\",function(t){\"use strict\";var e=layui.$,"
},
{
"path": "src/main/webapp/static/layui/layui.all.js",
"chars": 280415,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;!function(e){\"use strict\";var t=document,o={modules:{},status"
},
{
"path": "src/main/webapp/static/layui/layui.js",
"chars": 6661,
"preview": "/** layui-v2.5.4 MIT License By https://www.layui.com */\n ;!function(e){\"use strict\";var t=document,o={modules:{},status"
},
{
"path": "target/classes/com/mapper/CinemaMapper.xml",
"chars": 1661,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/CommentMapper.xml",
"chars": 1860,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/HallMapper.xml",
"chars": 1494,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/MovieMapper.xml",
"chars": 4477,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/OrderMapper.xml",
"chars": 2576,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/ScheduleMapper.xml",
"chars": 3250,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/com/mapper/UserMapper.xml",
"chars": 1752,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper\nPUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\"\n\"http://mybatis.org/"
},
{
"path": "target/classes/mybatis.xml",
"chars": 818,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE configuration PUBLIC \"-//mybatis.org//DTD Config 3.0//EN\" \"http://mybat"
},
{
"path": "target/classes/mysql.properties",
"chars": 116,
"preview": "driver=com.mysql.cj.jdbc.Driver\nurl=jdbc:mysql://localhost:3306/movie?serverTimezone=UTC\nusername=root\npassword=root"
},
{
"path": "target/classes/spring.xml",
"chars": 5553,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<beans xmlns=\"http://www.springframework.org/schema/beans\" xmlns:xsi=\"http://www."
},
{
"path": "target/m2e-wtp/web-resources/META-INF/MANIFEST.MF",
"chars": 100,
"preview": "Manifest-Version: 1.0\nBuilt-By: Wxj\nBuild-Jdk: 1.8.0_181\nCreated-By: Maven Integration for Eclipse\n\n"
},
{
"path": "target/m2e-wtp/web-resources/META-INF/maven/com.movie/Movie/pom.properties",
"chars": 235,
"preview": "#Generated by Maven Integration for Eclipse\n#Mon Jul 22 09:09:35 CST 2019\nversion=0.0.1-SNAPSHOT\ngroupId=com.movie\nm2e.p"
},
{
"path": "target/m2e-wtp/web-resources/META-INF/maven/com.movie/Movie/pom.xml",
"chars": 4805,
"preview": "<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLoc"
},
{
"path": "target/maven-archiver/pom.properties",
"chars": 108,
"preview": "#Generated by Maven\n#Sun Jul 21 23:12:59 CST 2019\nversion=0.0.1-SNAPSHOT\ngroupId=com.movie\nartifactId=Movie\n"
},
{
"path": "target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst",
"chars": 0,
"preview": ""
},
{
"path": "target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst",
"chars": 3148,
"preview": "C:\\Users\\Wxj\\Desktop\\东软\\movice\\Movie\\Movie\\src\\main\\java\\com\\service\\imp\\CommentServiceImp.java\nC:\\Users\\Wxj\\Desktop\\东软\\"
},
{
"path": "target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst",
"chars": 0,
"preview": ""
}
]
// ... and 1 more files (download for full content)
About this extraction
This page contains the full source code of the banbanzzz/Movie GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 152 files (4.4 MB), approximately 1.2M tokens, and a symbol index with 2020 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.