Showing preview only (1,153K chars total). Download the full file or copy to clipboard to get everything.
Repository: 18121259693/projectoa
Branch: master
Commit: c90e1423859d
Files: 117
Total size: 1.1 MB
Directory structure:
gitextract_jaeyj9v4/
├── .gitignore
├── LICENSE
├── README.md
├── build.gradle
├── database/
│ ├── DB设计.xlsx
│ └── dboa.sql
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── src/
├── main/
│ ├── java/
│ │ └── com/
│ │ └── zmh/
│ │ └── projectoa/
│ │ ├── ProjectoaApplication.java
│ │ ├── ServletInitializer.java
│ │ ├── config/
│ │ │ ├── MyShiroRealm.java
│ │ │ └── ShiroConfiguration.java
│ │ ├── controller/
│ │ │ ├── AdminController.java
│ │ │ ├── CalendarController.java
│ │ │ ├── DepartmentController.java
│ │ │ ├── IndexController.java
│ │ │ ├── LoginController.java
│ │ │ ├── MessageController.java
│ │ │ ├── NoticeController.java
│ │ │ ├── PositionController.java
│ │ │ ├── UserinfoController.java
│ │ │ └── UsersController.java
│ │ ├── dto/
│ │ │ └── ReturnDto.java
│ │ ├── mapper/
│ │ │ ├── CalendarMapper.java
│ │ │ ├── DepartmentsMapper.java
│ │ │ ├── MessagesMapper.java
│ │ │ ├── NoticesMapper.java
│ │ │ ├── PositionsMapper.java
│ │ │ ├── UserinfoMapper.java
│ │ │ └── UsersMapper.java
│ │ ├── model/
│ │ │ ├── Calendar.java
│ │ │ ├── CalendarExample.java
│ │ │ ├── Departments.java
│ │ │ ├── DepartmentsExample.java
│ │ │ ├── Messages.java
│ │ │ ├── MessagesExample.java
│ │ │ ├── Notices.java
│ │ │ ├── NoticesExample.java
│ │ │ ├── Positions.java
│ │ │ ├── PositionsExample.java
│ │ │ ├── Userinfo.java
│ │ │ ├── UserinfoExample.java
│ │ │ ├── Users.java
│ │ │ └── UsersExample.java
│ │ ├── service/
│ │ │ ├── DepartmentService.java
│ │ │ ├── MessageService.java
│ │ │ ├── NoticeService.java
│ │ │ ├── PositionService.java
│ │ │ ├── RedisService.java
│ │ │ ├── UserinfoService.java
│ │ │ └── UsersService.java
│ │ └── util/
│ │ ├── JSONUtil.java
│ │ ├── MD5Util.java
│ │ ├── ParameterUtil.java
│ │ └── ReadFileUtil.java
│ └── resources/
│ ├── application.properties
│ ├── banner.txt
│ ├── logback.xml
│ ├── public/
│ │ └── error/
│ │ └── 404.html
│ ├── static/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ │ ├── admin.css
│ │ │ │ ├── app.css
│ │ │ │ ├── app.less
│ │ │ │ ├── calculator.css
│ │ │ │ ├── flipclock.css
│ │ │ │ ├── fullcalendar.print.css
│ │ │ │ └── todomvc.css
│ │ │ ├── fonts/
│ │ │ │ └── FontAwesome.otf
│ │ │ └── js/
│ │ │ ├── app.js
│ │ │ ├── calculator.js
│ │ │ ├── moment.js
│ │ │ ├── theme.js
│ │ │ ├── todomvc.js
│ │ │ └── vue.js
│ │ ├── js/
│ │ │ ├── common.js
│ │ │ ├── index.js
│ │ │ ├── logs.js
│ │ │ ├── message.js
│ │ │ ├── message_dtl.js
│ │ │ ├── notice.js
│ │ │ ├── notice_create.js
│ │ │ ├── notice_dtl.js
│ │ │ ├── user.js
│ │ │ ├── user_create.js
│ │ │ ├── user_edit.js
│ │ │ ├── userinfo.js
│ │ │ └── userinfo_detail.js
│ │ └── prism/
│ │ ├── prism.css
│ │ └── prism.js
│ └── templates/
│ ├── mapper/
│ │ ├── CalendarMapper.xml
│ │ ├── DepartmentsMapper.xml
│ │ ├── MessagesMapper.xml
│ │ ├── NoticesMapper.xml
│ │ ├── PositionsMapper.xml
│ │ ├── UserinfoMapper.xml
│ │ └── UsersMapper.xml
│ └── view/
│ ├── 403.html
│ ├── calendar.html
│ ├── changePassWord.html
│ ├── common/
│ │ └── common.html
│ ├── index.html
│ ├── login.html
│ ├── logs.html
│ ├── message.html
│ ├── message_dtl.html
│ ├── notice.html
│ ├── notice_create.html
│ ├── notice_dtl.html
│ ├── springbootadmin.html
│ ├── table.html
│ ├── user.html
│ ├── user_create.html
│ ├── user_edit.html
│ ├── userinfo.html
│ └── userinfo_detail.html
└── test/
└── java/
└── com/
└── zmh/
└── projectoa/
└── ProjectoaApplicationTests.java
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.gradle
/build/
!gradle/wrapper/gradle-wrapper.jar
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
---
## 特别鸣谢
本项目 CDN 加速及安全防护由 Tencent EdgeOne 赞助
[](https://edgeone.ai/zh?from=github)
---
# 个人主页
[https://zzzmh.cn/](https://zzzmh.cn/)
---
# 友情链接
[https://yunduo250.com/](https://yunduo250.com/)
---
# 关于本项目简介
[https://zzzmh.cn/single.jsp?id=2](https://zzzmh.cn/single.jsp?id=2)
---
# 线上预览地址
[https://zzzmh.cn/projectoa/index](https://zzzmh.cn/projectoa/index)
测试账号: `admin`
测试密码: `123456`
---
# 笔记
* **DB具体设计笔记地址**: [http://leanote.com/blog/post/5a82b593ab644140d2000fdf](http://leanote.com/blog/post/5a82b593ab644140d2000fdf)
* **开发日志地址**: [http://leanote.com/blog/post/5a7bb4d5ab6441766a0008f1](http://leanote.com/blog/post/5a7bb4d5ab6441766a0008f1)
* **Redis相关设计和实现方法**: [http://leanote.com/blog/post/5a8e1f37ab64410bff0002ee](http://leanote.com/blog/post/5a8e1f37ab64410bff0002ee)
* **Shiro相关**: [http://leanote.com/blog/post/5a8e6b48ab64410bff000863](http://leanote.com/blog/post/5a8e6b48ab64410bff000863)
---
# 参考
* **ityouknow的springboot系列**: 参考了他的第三、四、十四、二十章节,他官网里有他的源码GITHUB:[http://www.ityouknow.com/spring-boot.html](http://www.ityouknow.com/spring-boot.html)
* **使用spring-boot-admin对spring-boot服务进行监控**: [http://blog.csdn.net/clementad/article/details/70613209](http://blog.csdn.net/clementad/article/details/70613209)
* **详解html和thymeleaf中的相对路径,解决springboot前台页面的相对路径问题**: [http://blog.csdn.net/qq_35603331/article/details/76255125](http://blog.csdn.net/qq_35603331/article/details/76255125)
* **彩虹猫启动画面**: [https://raw.githubusercontent.com/snicoll-demos/spring-boot-4tw-uni/master/spring-boot-4tw-web/src/main/resources/banner.txt](https://raw.githubusercontent.com/snicoll-demos/spring-boot-4tw-uni/master/spring-boot-4tw-web/src/main/resources/banner.txt)
* **SpringBoot项目中使用redis缓存的方法步骤**: [http://www.jb51.net/article/129775.htm](http://www.jb51.net/article/129775.htm)
* **开涛大神的《跟我学Shiro》系列**: [http://jinnianshilongnian.iteye.com/blog/2018398](http://jinnianshilongnian.iteye.com/blog/2018398)
---
# 感谢
该项目是由 **程衫耘朵** 和 **张明辉** 共同完成!
特别要感谢**云朵**同学的鼎力相助!!!
* [https://github.com/chsyd1028](https://github.com/chsyd1028)
* [https://github.com/zzzmhcn](https://github.com/zzzmhcn)
---
# 改善空间
1. `calculator.js` 中存在监控键盘事件方法,会影响文字输入时,按退格无效的情况。目前只在首页引入 `calculator.js`,但还是影响了 `todoList` 备忘录的输入删除。
2. `Shiro` 和 `springbootadmin` 冲突问题,目前只通过反过来配置 `Shiro` 解决,使用起来差别不大,但不完美。
3. 手机端部分组件兼容性不强,例如表格在手机显示不理想。
4. `Shiro` 未使用盐值加密。
5. `Redis` 命名方式和存读方式还有优化空间。
---
# 注意
* 初次使用请修改配置文件 `projectoa\src\main\resources\application.properties`:
* `spring.datasource.***`: 配置MySQL
* `spring.redis.***`: 配置Redis (如果是本机就不用配)
* `logback.filepath`: 配置输出日志路径
* 首次使用需要向数据库导入 `projectoa\database\dboa.sql` 文件。
* 请使用 **IDEA 2017.03 或以上版本** 导入本项目,并且建议使用本地独立版本的 **Gradle (4.4以上)**。
================================================
FILE: build.gradle
================================================
buildscript {
ext {
springBootVersion = '1.5.10.RELEASE'
}
repositories {
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'org.springframework.boot'
apply plugin: 'war'
group = 'com.zmh'
version = '0.0.1'
sourceCompatibility = 1.8
repositories {
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
configurations {
providedRuntime
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
//数据库相关
compile('mysql:mysql-connector-java')
compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1')
//友好的HTML规范 搭配spring.thymeleaf.mode=LEGACYHTML5
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('net.sourceforge.nekohtml:nekohtml:1.9.22')
//热部署 搭配spring.thymeleaf.cache=false
compile('org.springframework.boot:spring-boot-devtools')
//SpringBoot内置的Redis
compile('org.springframework.boot:spring-boot-starter-data-redis')
//内置tomcat 仅开发测试用
//runtime('org.springframework.boot:spring-boot-starter-tomcat')
//spring-boot-admin 图形化管理页面
compile('de.codecentric:spring-boot-admin-server:1.5.7')
compile('de.codecentric:spring-boot-admin-server-ui:1.5.7')
compile('de.codecentric:spring-boot-admin-starter-client:1.5.7')
//pagehelper
compile group: 'com.github.pagehelper', name: 'pagehelper-spring-boot-starter', version: '1.2.3'
//使用的是shiro-spring 而非shiro
compile('org.apache.shiro:shiro-spring:1.4.0')
compile('com.github.theborakompanioni:thymeleaf-extras-shiro:1.2.1')
//测试
testCompile('org.springframework.boot:spring-boot-starter-test')
}
================================================
FILE: database/dboa.sql
================================================
/*
Navicat MySQL Data Transfer
Source Server : 139.196.72.225
Source Server Version : 50721
Source Host : localhost:3306
Source Database : dboa
Target Server Type : MYSQL
Target Server Version : 50721
File Encoding : 65001
Date: 2018-03-19 09:46:02
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for calendar
-- ----------------------------
DROP TABLE IF EXISTS `calendar`;
CREATE TABLE `calendar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`start_time` datetime NOT NULL,
`end_time` datetime NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of calendar
-- ----------------------------
-- ----------------------------
-- Table structure for departments
-- ----------------------------
DROP TABLE IF EXISTS `departments`;
CREATE TABLE `departments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`department` varchar(255) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of departments
-- ----------------------------
INSERT INTO `departments` VALUES ('1', '管理员', '2018-02-13 22:28:22', '2018-02-13 22:32:19');
INSERT INTO `departments` VALUES ('2', '人事部', '2018-02-13 22:28:49', null);
INSERT INTO `departments` VALUES ('3', '财务部', '2018-02-13 22:28:54', null);
INSERT INTO `departments` VALUES ('4', '市场部', '2018-02-13 22:29:10', null);
INSERT INTO `departments` VALUES ('5', '开发部', '2018-02-13 22:29:18', null);
-- ----------------------------
-- Table structure for messages
-- ----------------------------
DROP TABLE IF EXISTS `messages`;
CREATE TABLE `messages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`message` text,
`send_id` int(11) NOT NULL,
`receive_id` int(11) NOT NULL,
`is_del` varchar(1) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of messages
-- ----------------------------
INSERT INTO `messages` VALUES ('7', '渣渣', '渣渣渣渣渣渣', '8', '1', null, '2018-02-27 10:10:41', null);
INSERT INTO `messages` VALUES ('8', '渣渣', '渣渣渣渣渣渣', '8', '1', null, '2018-02-27 10:10:48', null);
INSERT INTO `messages` VALUES ('9', '渣渣', '渣渣渣渣渣渣', '8', '1', null, '2018-02-27 10:10:51', null);
INSERT INTO `messages` VALUES ('10', '渣渣', '渣渣渣渣渣渣', '8', '1', null, '2018-02-27 10:10:53', null);
INSERT INTO `messages` VALUES ('11', '喂喂喂', '喂喂喂喂喂喂喂喂喂喂喂喂', '8', '1', null, '2018-02-27 11:18:06', null);
INSERT INTO `messages` VALUES ('12', '喂喂喂', '喂喂喂喂喂喂喂喂喂喂喂喂', '8', '1', null, '2018-02-27 11:18:07', null);
INSERT INTO `messages` VALUES ('13', '喂喂喂', '喂喂喂喂喂喂喂喂喂喂喂喂', '8', '1', null, '2018-02-27 11:18:09', null);
INSERT INTO `messages` VALUES ('14', '我我我我我我我我我我', '我我我我', '1', '8', null, '2018-02-27 12:08:40', null);
INSERT INTO `messages` VALUES ('15', '我我我我我我我我我', '我我我我', '1', '8', null, '2018-02-27 12:08:45', null);
INSERT INTO `messages` VALUES ('16', '你好管理员', '我是你爸爸', '8', '1', null, '2018-02-28 11:27:20', null);
INSERT INTO `messages` VALUES ('17', '在吗在吗', '我是你爸爸', '8', '1', null, '2018-02-28 11:27:27', null);
INSERT INTO `messages` VALUES ('18', '黑黑黑', '我是你爸爸', '8', '1', null, '2018-02-28 11:27:34', null);
INSERT INTO `messages` VALUES ('19', '你好本尊', '再见本尊', '1', '8', null, '2018-02-28 11:34:01', null);
INSERT INTO `messages` VALUES ('20', '你好本尊123', '再见本尊123', '1', '8', null, '2018-02-28 11:34:05', null);
INSERT INTO `messages` VALUES ('21', '你好本尊456', '再见本尊456', '1', '8', null, '2018-02-28 11:34:10', null);
INSERT INTO `messages` VALUES ('22', '维护', '维护123', '8', '1', null, '2018-02-28 16:35:23', null);
INSERT INTO `messages` VALUES ('23', '管理员大人你好', '管理员大人你好', '10', '1', null, '2018-02-28 17:11:13', null);
INSERT INTO `messages` VALUES ('24', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '1', null, '2018-03-05 11:05:51', null);
INSERT INTO `messages` VALUES ('25', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '3', null, '2018-03-05 11:05:51', null);
INSERT INTO `messages` VALUES ('26', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '7', null, '2018-03-05 11:05:51', null);
INSERT INTO `messages` VALUES ('27', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '1', null, '2018-03-05 11:05:54', null);
INSERT INTO `messages` VALUES ('28', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '3', null, '2018-03-05 11:05:54', null);
INSERT INTO `messages` VALUES ('29', '你好 请问', '我是谁?我在哪?发生了什么?', '8', '7', null, '2018-03-05 11:05:54', null);
INSERT INTO `messages` VALUES ('30', '你好管理员', 'http://zhangminghui.iok.la/projectoa', '8', '1', null, '2018-03-05 11:06:07', null);
INSERT INTO `messages` VALUES ('31', '你好管理员', '管理员大人 我的电脑坏了!!!!', '8', '1', null, '2018-03-05 11:06:40', null);
-- ----------------------------
-- Table structure for notices
-- ----------------------------
DROP TABLE IF EXISTS `notices`;
CREATE TABLE `notices` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`notice` text,
`send_id` int(11) NOT NULL,
`is_del` varchar(1) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of notices
-- ----------------------------
INSERT INTO `notices` VALUES ('1', '新年快乐', '新年快乐', '1', null, '2018-02-28 16:24:22', null);
INSERT INTO `notices` VALUES ('2', '万事如意', '万事如意万事如意万事如意', '1', null, '2018-02-28 16:27:32', null);
INSERT INTO `notices` VALUES ('3', '大吉大利', '大吉大利', '1', null, '2018-03-01 11:20:18', null);
INSERT INTO `notices` VALUES ('4', '今晚吃鸡', '今晚吃鸡', '1', null, '2018-03-01 11:20:25', null);
INSERT INTO `notices` VALUES ('5', '测试一下公告的长度可以有多长', '一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十一二三四五六七九十', '1', null, '2018-03-01 13:12:07', null);
INSERT INTO `notices` VALUES ('6', '祝大家元宵节快乐', '祝大家元宵节快乐!', '1', null, '2018-03-01 13:45:51', null);
INSERT INTO `notices` VALUES ('7', '新年快乐', '万事如意', '1', null, '2018-03-01 13:50:44', null);
INSERT INTO `notices` VALUES ('8', '新年快乐', '万事如意', '1', null, '2018-03-01 13:51:06', null);
INSERT INTO `notices` VALUES ('9', '重要通知', '2018年3月8日 全公司女同志放假1天', '1', null, '2018-03-05 11:01:37', null);
INSERT INTO `notices` VALUES ('10', '震惊!', '震惊!公司居然发生如此骇人听闻之事!', '1', null, '2018-03-05 11:02:21', null);
INSERT INTO `notices` VALUES ('11', '重要通知', '即日起 公司网站正式上线!http://zhangminghui.iok.la/projectoa\n欢迎访问', '1', null, '2018-03-05 11:03:01', null);
INSERT INTO `notices` VALUES ('12', '测试', '测试 2018-3-5 11:03:17', '1', null, '2018-03-05 11:03:44', null);
INSERT INTO `notices` VALUES ('13', '测试测试', '2018年3月5日11:03:36', '1', null, '2018-03-05 11:03:58', null);
INSERT INTO `notices` VALUES ('14', '测试测', '2018-3-5 11:03:49', '1', null, '2018-03-05 11:04:12', null);
INSERT INTO `notices` VALUES ('15', '测试测是我才是', '2018年3月5日11:04:02', '1', null, '2018-03-05 11:04:25', null);
INSERT INTO `notices` VALUES ('16', '喜大普奔!', '本公司女员工三八妇女节 2018年3月8日放假一整天', '1', null, '2018-03-05 11:10:54', null);
-- ----------------------------
-- Table structure for positions
-- ----------------------------
DROP TABLE IF EXISTS `positions`;
CREATE TABLE `positions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`position` varchar(255) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of positions
-- ----------------------------
INSERT INTO `positions` VALUES ('1', '管理员', '2018-02-13 22:31:17', '2018-02-13 22:32:11');
INSERT INTO `positions` VALUES ('2', '经理', '2018-02-13 22:31:45', null);
INSERT INTO `positions` VALUES ('3', '主管', '2018-02-13 22:31:50', null);
INSERT INTO `positions` VALUES ('4', '普通', '2018-02-13 22:31:56', null);
-- ----------------------------
-- Table structure for userinfo
-- ----------------------------
DROP TABLE IF EXISTS `userinfo`;
CREATE TABLE `userinfo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`sex` varchar(255) DEFAULT NULL,
`birthday` date DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`identity_card` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`qq` int(11) DEFAULT NULL,
`wechat` varchar(255) DEFAULT NULL,
`weibo` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`is_del` varchar(1) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of userinfo
-- ----------------------------
INSERT INTO `userinfo` VALUES ('1', '1', '1', '1970-01-02', '39', '310123456789451234', 'admin@projectoa.com', '123456789', '123456789', '123456789', '12345678901', null, '2018-02-13 22:32:56', '2018-03-08 12:54:11');
INSERT INTO `userinfo` VALUES ('3', '3', '2', '1970-01-01', null, '', '', null, '', '', '', null, '2018-02-14 22:27:04', '2018-03-05 11:09:02');
INSERT INTO `userinfo` VALUES ('5', '7', '3', '2018-01-30', '25', '222222222222222222', '420120577@qq.com', '420120577', 'weichat', 'weibo', '13919191919', '1', '2018-02-14 22:47:02', '2018-02-25 19:57:25');
INSERT INTO `userinfo` VALUES ('6', '8', '1', '1992-04-02', '18', '313132121313313', '', null, '', '', '', null, '2018-02-15 13:25:56', '2018-02-26 11:27:44');
INSERT INTO `userinfo` VALUES ('7', '9', null, null, null, null, null, null, null, null, null, '1', '2018-02-15 13:30:31', '2018-02-26 11:41:07');
INSERT INTO `userinfo` VALUES ('8', '10', null, null, null, null, null, null, null, null, null, '0', '2018-02-18 11:56:03', '2018-02-22 22:37:31');
INSERT INTO `userinfo` VALUES ('9', '11', '2', null, null, '', '', null, '', '', '', null, '2018-02-20 22:17:30', '2018-03-02 11:50:22');
INSERT INTO `userinfo` VALUES ('10', '12', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:10:42', null);
INSERT INTO `userinfo` VALUES ('11', '13', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:10:47', null);
INSERT INTO `userinfo` VALUES ('12', '14', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:11:00', null);
INSERT INTO `userinfo` VALUES ('13', '15', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:11:03', null);
INSERT INTO `userinfo` VALUES ('14', '16', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:11:05', null);
INSERT INTO `userinfo` VALUES ('15', '17', null, null, null, null, null, null, null, null, null, null, '2018-03-02 15:11:07', null);
INSERT INTO `userinfo` VALUES ('16', '18', null, null, null, null, null, null, null, null, null, '1', '2018-03-02 15:11:09', '2018-03-02 15:58:27');
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(31) NOT NULL,
`password` varchar(255) NOT NULL,
`realname` varchar(31) NOT NULL,
`department_id` int(11) NOT NULL,
`position_id` int(11) NOT NULL,
`is_del` varchar(1) NOT NULL DEFAULT '0',
`last_login_time` timestamp NULL DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES ('1', 'admin', 'e10adc3949ba59abbe56e057f20f883e', '管理员', '1', '1', '0', '2018-03-17 22:09:30', '2018-02-13 22:32:48', '2018-03-17 22:09:29');
INSERT INTO `users` VALUES ('3', 'chengshanyunduo', 'e10adc3949ba59abbe56e057f20f883e', '程杉耘朵', '2', '4', '0', '2018-03-05 11:08:38', '2018-02-14 22:27:04', '2018-03-05 11:09:32');
INSERT INTO `users` VALUES ('7', 'csyd1028', 'e10adc3949ba59abbe56e057f20f883e', '耘朵', '2', '2', '1', null, '2018-02-14 22:47:02', '2018-03-01 13:49:17');
INSERT INTO `users` VALUES ('8', 'zhangminghui', 'e10adc3949ba59abbe56e057f20f883e', '张明辉', '3', '3', '0', '2018-03-08 16:14:12', '2018-02-15 13:25:56', '2018-03-08 16:14:12');
INSERT INTO `users` VALUES ('9', 'zmh0403', 'e10adc3949ba59abbe56e057f20f883e', '张大大', '2', '1', '0', '2018-03-01 13:18:30', '2018-02-15 13:30:31', '2018-03-01 13:18:29');
INSERT INTO `users` VALUES ('10', 'zhangdabao', 'e10adc3949ba59abbe56e057f20f883e', '张大宝', '5', '4', '0', '2018-03-01 13:22:16', '2018-02-18 11:56:02', '2018-03-01 13:22:16');
INSERT INTO `users` VALUES ('11', 'csyd11', 'e10adc3949ba59abbe56e057f20f883e', '程宝宝', '4', '3', '0', '2018-03-02 11:50:12', '2018-02-20 22:17:30', '2018-03-02 11:50:11');
INSERT INTO `users` VALUES ('12', 'testman', 'e10adc3949ba59abbe56e057f20f883e', '张三', '1', '1', '0', '2018-03-02 15:12:31', '2018-03-02 15:10:41', '2018-03-05 10:16:23');
INSERT INTO `users` VALUES ('13', 'testman123', 'e10adc3949ba59abbe56e057f20f883e', '李四', '5', '4', '0', null, '2018-03-02 15:10:47', '2018-03-05 10:16:26');
INSERT INTO `users` VALUES ('14', 'testman1', 'e10adc3949ba59abbe56e057f20f883e', '王五', '5', '4', '0', null, '2018-03-02 15:11:00', '2018-03-05 10:16:29');
INSERT INTO `users` VALUES ('15', 'testman11', 'e10adc3949ba59abbe56e057f20f883e', '赵六', '5', '4', '0', null, '2018-03-02 15:11:02', '2018-03-05 10:16:35');
INSERT INTO `users` VALUES ('16', 'testman111', 'e10adc3949ba59abbe56e057f20f883e', '测试员', '5', '4', '0', null, '2018-03-02 15:11:05', '2018-03-05 10:16:40');
INSERT INTO `users` VALUES ('17', 'testman1111', 'e10adc3949ba59abbe56e057f20f883e', '测试员', '2', '4', '0', null, '2018-03-02 15:11:07', '2018-03-11 10:44:16');
INSERT INTO `users` VALUES ('18', 'testman11111', 'e10adc3949ba59abbe56e057f20f883e', '测试员', '5', '4', '1', null, '2018-03-02 15:11:09', '2018-03-05 10:16:44');
================================================
FILE: gradle/wrapper/gradle-wrapper.properties
================================================
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip
================================================
FILE: gradlew
================================================
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save ( ) {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
================================================
FILE: gradlew.bat
================================================
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
================================================
FILE: src/main/java/com/zmh/projectoa/ProjectoaApplication.java
================================================
package com.zmh.projectoa;
import de.codecentric.boot.admin.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableAdminServer
public class ProjectoaApplication {
public static void main(String[] args) {
SpringApplication.run(ProjectoaApplication.class, args);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/ServletInitializer.java
================================================
package com.zmh.projectoa;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(ProjectoaApplication.class);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/config/MyShiroRealm.java
================================================
package com.zmh.projectoa.config;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.UsersService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.*;
import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.authz.SimpleAuthorizationInfo;
import org.apache.shiro.realm.AuthorizingRealm;
import org.apache.shiro.subject.PrincipalCollection;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
/**
* shiro的认证最终是交给了Realm进行执行
* 所以我们需要自己重新实现一个Realm,此Realm继承AuthorizingRealm
* Created by sun on 2017-4-2.
*/
public class MyShiroRealm extends AuthorizingRealm {
private static final Log logger = LogFactory.getLog(MyShiroRealm.class);
@Autowired
UsersService usersService;
/**
* 登录认证
*/
@Override
protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException {
//1.把AuthenticationToken转换为UsernamePasswordToken
UsernamePasswordToken upToken = (UsernamePasswordToken) authenticationToken;
//2.从UsernamePasswordToken中来获取username
String username = upToken.getUsername();
//3.调用数据库的方法, 从数据库中查询username对应的用户记录
Users temp = new Users();
temp.setUsername(username);
Users user = usersService.queryUserByUsername(temp);
//4.若用户不存在, 则可抛出UnknownAccountException异常
if (Objects.isNull(user)){
throw new UnknownAccountException("用户不存在");
}
//5.根据用户信息的情况,决定是否需要抛出其他的AuthenticationException异常
if ("1".equals(user.getIsDel())){
throw new LockedAccountException("用户状态异常");
}
//6.根据用户的情况, 来构建AuthenticationInfo对象并返回, 通常使用的实现类为:SimpleAuthenticationInfo
//以下信息是从数据库中获取的
//1.principal:认证的实体信息,可以是username,也可以是数表对应的实体类对象
Object principal = user;
//2.creadentials: 密码
//String pw = MD5Util.string2MD5("123456");
Object credentials = user.getPassword();
//3. realName: 当前对象的name,调用弗雷的getName()方法即可
String realmName = user.getRealname();
SecurityUtils.getSubject().getSession().setAttribute("user", user);
SimpleAuthenticationInfo info = new SimpleAuthenticationInfo(principal, credentials, realmName);
return info;
}
/**
* 权限认证(为当前登录的Subject授予角色和权限)
*
* 该方法的调用时机为需授权资源被访问时,并且每次访问需授权资源都会执行该方法中的逻辑,这表明本例中并未启用AuthorizationCache,
* 如果连续访问同一个URL(比如刷新),该方法不会被重复调用,Shiro有一个时间间隔(也就是cache时间,在ehcache-shiro.xml中配置),
* 超过这个时间间隔再刷新页面,该方法会被执行
*
* doGetAuthorizationInfo()是权限控制,
* 当访问到页面的时候,使用了相应的注解或者shiro标签才会执行此方法否则不会执行,
* 所以如果只是简单的身份认证没有权限的控制的话,那么这个方法可以不进行实现,直接返回null即可
*
* 简单来说这个方法的功能就是赋权
* 根据数据库里面的分类
* 不同的用户类型给与不同的权限
* 前后端会根据这里的权限,进行智能的显示其对应的页面和功能
* 如果强行访问无权访问的url也会被弹开
*
* 这里是按照一个简单粗暴的方式分权
* admin享有一切权限
*
* 人事的所有人都可以管理人员信息
* 经理及以上可以允许发送公告的行为
*/
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
//0.创建SimpleAuthorizationInfo
SimpleAuthorizationInfo info = new SimpleAuthorizationInfo();
//1.从PrincipalCollection中获取登陆用户的信息
Object principal = principals.getPrimaryPrincipal();
//2.利用登陆用户的信息来获取当前用户的角色或权限(可能需要查询数据库)
Users user = (Users) principal;
//存放角色的set
Set<String> roles = new HashSet<>();
Integer departmentId = user.getDepartmentId();
Integer positionId = user.getPositionId();
//管理员角色
if (departmentId == 1){
roles.add("admin");
roles.add("user");
}
//人事角色
if (departmentId == 2){
roles.add("user");
}
info.setRoles(roles);
//存放具体的行为的set
Set<String> permissions = new HashSet<String>();
//只有管理员或者经理,才允许发送公告
if(positionId == 1 || positionId == 2){
permissions.add("notice");
}
info.setStringPermissions(permissions);
return info;
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/config/ShiroConfiguration.java
================================================
package com.zmh.projectoa.config;
import at.pollux.thymeleaf.shiro.dialect.ShiroDialect;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
import org.apache.shiro.spring.web.ShiroFilterFactoryBean;
import org.apache.shiro.web.mgt.DefaultWebSecurityManager;
import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Created by ChengShanyunduo
* 2018/1/8
*/
@Configuration
@EnableTransactionManagement
public class ShiroConfiguration {
private final Log logger = LogFactory.getLog(ShiroConfiguration.class);
@Bean(name = "myShiroRealm")
public MyShiroRealm myShiroRealm(){
MyShiroRealm realm = new MyShiroRealm();
//前台输入的为mD5加密的
HashedCredentialsMatcher md5 = new HashedCredentialsMatcher("MD5");
realm.setCredentialsMatcher(md5);
return realm;
}
@Bean(name = "lifecycleBeanPostProcessor")
public LifecycleBeanPostProcessor lifecycleBeanPostProcessor(){
return new LifecycleBeanPostProcessor();
}
@Bean
public DefaultAdvisorAutoProxyCreator defaultAdvisorAutoProxyCreator(){
DefaultAdvisorAutoProxyCreator creator = new DefaultAdvisorAutoProxyCreator();
creator.setProxyTargetClass(true);
return creator;
}
@Bean(name = "securityManager")
public DefaultWebSecurityManager defaultWebSecurityManager(MyShiroRealm realm){
DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();
//设置realm,多个realm可以用securityManager.setRealms();
securityManager.setRealm(realm);
//设置认证策略
//ModularRealmAuthenticator authenticator = new ModularRealmAuthenticator();
//authenticator.setAuthenticationStrategy(new AtLeastOneSuccessfulStrategy());
//securityManager.setAuthenticator(authenticator);
return securityManager;
}
@Bean
public AuthorizationAttributeSourceAdvisor authorizationAttributeSourceAdvisor(DefaultWebSecurityManager securityManager){
AuthorizationAttributeSourceAdvisor advisor = new AuthorizationAttributeSourceAdvisor();
advisor.setSecurityManager(securityManager);
return advisor;
}
//shirofilter,使用springboot时name可以随设置,不需要context设置,
@Bean(name = "shiroFilter")
public ShiroFilterFactoryBean shiroFilterFactoryBean(DefaultWebSecurityManager securityManager){
ShiroFilterFactoryBean factoryBean = new ShiroFilterFactoryBean();
factoryBean.setSecurityManager(securityManager);
// 如果不设置默认会自动寻找Web工程根目录下的"/login.jsp"页面
//登录页面(请求)
factoryBean.setLoginUrl("/login");
// 登录成功后要跳转的连接 (请求)
factoryBean.setSuccessUrl("/index");
//没有权限页面
factoryBean.setUnauthorizedUrl("/403");
loadShiroFilterChain(factoryBean);
return factoryBean;
}
@Bean
public ShiroDialect shiroDialect() {
return new ShiroDialect();
}
/**
* 加载ShiroFilter权限控制规则
* 这块代码是负责拦截的
* 也就是说,如果当前登陆的人,不符合访问某个url的访问权限条件的,直接给他弹开
* 也就是分配谁能访问谁
*/
private void loadShiroFilterChain(ShiroFilterFactoryBean factoryBean) {
/**下面这些规则配置最好配置到配置文件中*/
Map<String, String> filterChainMap = new LinkedHashMap<String, String>();
Map<String, String> filterChainMapTemp = new LinkedHashMap<String, String>();
/** authc:该过滤器下的页面必须验证后才能访问,它是Shiro内置的一个拦截器
* org.apache.shiro.web.filter.authc.FormAuthenticationFilter */
// anon:它对应的过滤器里面是空的,什么都没做,可以理解为不拦截
//authc:所有url都必须认证通过才可以访问; anon:所有url都都可以匿名访问
//暂时没有好的办法解决shiro和sba冲突问题, 暂时使用新的shiro配置方案
filterChainMap.put("/login", "anon");
filterChainMap.put("/login/check", "anon");
filterChainMap.put("/403", "anon");
filterChainMap.put("/assets/**", "anon");
filterChainMap.put("/js/**", "anon");
filterChainMap.put("/prism/**", "anon");
//给SpringBootAdmin开启权限
filterChainMap.put("/monitor/**", "anon");
filterChainMap.put("/api/**", "anon");
filterChainMap.put("/health/**", "anon");
//权限分配
filterChainMap.put("/admin/**", "authc,roles[admin]");
filterChainMap.put("/user/**", "authc,roles[user]");
//行为分配
filterChainMap.put("/notice/notice_create", "authc,perms[notice]");
filterChainMap.put("/notice/notice_send", "authc,perms[notice]");
//登出的过滤器
filterChainMap.put("/logout", "logout");
filterChainMap.put("/**", "authc");
/**
* 为了放行Spring Boot Admin
* 这里启用临时方案 PlanB
* 将shiro倒过来使用
* 所有使用到的页面都加密成需要登陆才能访问
* 其余所有一律采取不拦截
*/
filterChainMapTemp.put("/notice/notice_create", "authc,perms[notice]");
filterChainMapTemp.put("/notice/notice_send", "authc,perms[notice]");
filterChainMapTemp.put("/js/**", "authc");
filterChainMapTemp.put("/index/**", "authc");
filterChainMapTemp.put("/user/**", "authc,roles[user]");
filterChainMapTemp.put("/userinfo/**", "authc");
filterChainMapTemp.put("/calendar/**", "authc");
filterChainMapTemp.put("/admin/**", "authc,roles[admin]");
filterChainMapTemp.put("/message/**", "authc");
filterChainMapTemp.put("/notice/**", "authc");
filterChainMapTemp.put("/logout", "logout");
filterChainMapTemp.put("/**","anon");
factoryBean.setFilterChainDefinitionMap(filterChainMapTemp);
}
/*1.LifecycleBeanPostProcessor,这是个DestructionAwareBeanPostProcessor的子类,负责org.apache.shiro.util.Initializable类型bean的生命周期的,初始化和销毁。主要是AuthorizingRealm类的子类,以及EhCacheManager类。
2.HashedCredentialsMatcher,这个类是为了对密码进行编码的,防止密码在数据库里明码保存,当然在登陆认证的生活,这个类也负责对form里输入的密码进行编码。
3.ShiroRealm,这是个自定义的认证类,继承自AuthorizingRealm,负责用户的认证和权限的处理,可以参考JdbcRealm的实现。
4.EhCacheManager,缓存管理,用户登陆成功后,把用户信息和权限信息缓存起来,然后每次用户请求时,放入用户的session中,如果不设置这个bean,每个请求都会查询一次数据库。
5.SecurityManager,权限管理,这个类组合了登陆,登出,权限,session的处理,是个比较重要的类。
6.ShiroFilterFactoryBean,是个factorybean,为了生成ShiroFilter。它主要保持了三项数据,securityManager,filters,filterChainDefinitionManager。
7.DefaultAdvisorAutoProxyCreator,Spring的一个bean,由Advisor决定对哪些类的方法进行AOP代理。
8.AuthorizationAttributeSourceAdvisor,shiro里实现的Advisor类,内部使用AopAllianceAnnotationsAuthorizingMethodInterceptor来拦截用以下注解的方法。*/
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/AdminController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.util.ReadFileUtil;
import org.springframework.beans.factory.annotation.Value;
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;
/**
* @author zmh
* @date 2018/2/18 16:24
* 在页面标签栏里显示日志文件
*/
@Controller
@RequestMapping(value = "/admin")
public class AdminController {
//这两个参数从application.properties获取
@Value("${logback.filepath}")
private String filePath;
@Value("${logback.charset}")
private String charSet;
/**
* 获取所有日志文件的文件名
* @return
*/
@RequestMapping(value = "/getFileNames")
@ResponseBody
public ReturnDto getFileNames(){
return ReadFileUtil.getFileName(filePath);
}
/**
* 获取所有日志文件的文件名
* @return
*/
@RequestMapping(value = "/readFiles")
@ResponseBody
public ReturnDto readFiles(@RequestParam("fileName")String fileName){
return ReadFileUtil.readFileByLines(filePath,fileName,charSet);
}
/**
* 日志
*/
@RequestMapping(value = "/logs")
public String logs(){
return "logs";
}
/**
* 系统监控
*/
@RequestMapping(value = "/springbootadmin")
public String springbootadmin(){
return "springbootadmin";
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/CalendarController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.service.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
@Controller
public class CalendarController {
@Autowired
private RedisService redisService;
/**
* 日历
*/
@RequestMapping(value = "/calendar")
public String calendar() {
return "calendar";
}
/**
* 缓存日志备注
* key是 calendar加userID
* value是 JSON格式备注
*/
@RequestMapping(value = "/calendarSetValue")
@ResponseBody
public ReturnDto calendarSetValue(@RequestParam("value") String value, HttpServletRequest request) {
String key = "calendar_" + request.getSession().getAttribute("userID");
redisService.setValue(key, value);
return ReturnDto.buildSuccessReturnDto();
}
/**
* 获取日志备注
* key是 calendar加userID
* return是 JSON格式备注
*/
@RequestMapping(value = "/calendarGetValue")
@ResponseBody
public ReturnDto calendarGetValue(HttpServletRequest request) {
String key = "calendar_" + request.getSession().getAttribute("userID");
String value = redisService.getValue(key);
if (value != null) {
return ReturnDto.buildSuccessReturnDto(value);
} else {
return ReturnDto.buildFailedReturnDto("value is null");
}
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/DepartmentController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Departments;
import com.zmh.projectoa.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
/**
* Created by ChengShanyunduo
* 2018/2/14
*/
@Controller
@RequestMapping("/department")
public class DepartmentController {
@Autowired
DepartmentService departmentService;
/**
* 查询部门
* @return
*/
@RequestMapping(value = "/query")
@ResponseBody
public ReturnDto queryDepartment(){
List<Departments> departments = departmentService.queryDepartment();
return ReturnDto.buildSuccessReturnDto(departments);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/IndexController.java
================================================
package com.zmh.projectoa.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @Author: ZMH
* @Date: 2018/2/9 22:49
* 主页的Controller
*/
@Controller
public class IndexController {
/**
* 登陆跳转
*/
@RequestMapping(value = "/")
public String in(){
return "login";
}
/**
* 主页
*/
@RequestMapping(value = "/index")
public String index(){
return "index";
}
/**
* 没有权限访问
*/
@RequestMapping(value = "/403")
public String error403(){
return "403";
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/LoginController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.UsersService;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
/**
* @Author: ZMH
* @Date: 2018/2/9 22:48
* 登陆Controller
*/
@Controller
public class LoginController {
Logger logger = LoggerFactory.getLogger(LoginController.class.getName());
@Autowired
UsersService usersService;
@RequestMapping(value = "/login")
public String login(){
return "login";
}
@RequestMapping(value = "/login/check")
//@ResponseBody
public String check(@RequestParam("username")String username, @RequestParam("password")String password,
HttpServletRequest request){
Subject currentUser = SecurityUtils.getSubject();
if (!currentUser.isAuthenticated()){
UsernamePasswordToken token = new UsernamePasswordToken(username, password);
try {
currentUser.login(token);
Users user = (Users)currentUser.getPrincipals().getPrimaryPrincipal();
Integer id = user.getId();
user = new Users();
user.setLastLoginTime(new Date());
request.getSession().setAttribute("userID",id);
usersService.editUser(id,user);
}catch (IncorrectCredentialsException ae){
logger.error("登录验证不通过 : 账号或密码不正确! username:"+username+" password:"+password);
}
catch (AuthenticationException ae){
logger.error("登录验证不通过 : " + ae.getMessage());
}
}
return "redirect:/index";
//return ReturnDto.buildSuccessReturnDto("");
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/MessageController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Messages;
import com.zmh.projectoa.service.MessageService;
import com.zmh.projectoa.service.RedisService;
import com.zmh.projectoa.service.UsersService;
import com.zmh.projectoa.util.JSONUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
/**
* @author zmh
* @date 2018/2/1521:41
* 站内信
*/
@Controller
@RequestMapping(value = "/message")
public class MessageController {
@Autowired
UsersService usersService;
@Autowired
MessageService messageService;
@Autowired
RedisService redisService;
/**
* 站内信箱
*/
@RequestMapping(value = "/message")
public String message() {
return "message";
}
/**
* 站内信详情
*/
@RequestMapping(value = "/message_dtl/{id}")
public String message_dtl() {
return "message_dtl";
}
/**
* 发送站内信
*/
@RequestMapping(value = "/send_message")
@ResponseBody
public ReturnDto sendMessage(@RequestParam("userIDs") String userIDs, @RequestParam("title") String title,
@RequestParam("message") String message, HttpServletRequest request) {
String userID[] = userIDs.split(",");
Integer sendId = (Integer) request.getSession().getAttribute("userID");
for (String receiveId : userID) {
Messages messages = new Messages();
messages.setSendId(sendId);
messages.setReceiveId(Integer.parseInt(receiveId));
messages.setTitle(title);
messages.setMessage(message);
int messageID = messageService.insertMessage(messages);
String unReadMessageIDs = redisService.getValue("message_" + receiveId);
if (Objects.isNull(unReadMessageIDs) || "null".equals(unReadMessageIDs))
unReadMessageIDs = String.valueOf(messageID);
else
unReadMessageIDs += "," + messageID;
redisService.setValue("message_" + receiveId, unReadMessageIDs);
}
return ReturnDto.buildSuccessReturnDto("success");
}
/**
* 返回特别定制的所有用户信息给用户选择站内信发给谁
*/
@RequestMapping(value = "/getAllUser")
@ResponseBody
public ReturnDto getAllUser(HttpServletRequest request) {
Integer id = (Integer) request.getSession().getAttribute("userID");
return usersService.getAllUser(id);
}
/**
* 获取本人未读信息
*/
@RequestMapping(value = "/getUnReadMessages")
@ResponseBody
public ReturnDto getUnReadMessages(HttpServletRequest request) {
Integer id = (Integer) request.getSession().getAttribute("userID");
//这里的思路是去redis取message_+'本人id'为key的value 里面包含所有未读messageID
String unReadMessageIDs = redisService.getValue("message_" + id);
//取出来是空直接跳过 标准格式是10,22,44 代表未读messageID
if (!Objects.isNull(unReadMessageIDs) && !"null".equals(unReadMessageIDs) && unReadMessageIDs.length() > 0) {
List<Integer> list = JSONUtil.String2List(unReadMessageIDs);
//返回一个list<map> map包括发件人姓名 和 message的 id titile
List<Map<String, String>> selectByIDs = messageService.selectByIDs(list);
return ReturnDto.buildSuccessReturnDto(selectByIDs);
}
return ReturnDto.buildFailedReturnDto("数据异常");
}
/**
* 设为已读
* 从redis中剔除这条
*/
@RequestMapping(value = "/setIsRead")
@ResponseBody
public ReturnDto setIsRead(@RequestParam("id") Integer messageID, HttpServletRequest request) {
Integer userID = (Integer) request.getSession().getAttribute("userID");
List<Integer> list = new ArrayList<>();
String unReadMessageIDs = redisService.getValue("message_" + userID);
//取出来是空直接跳过 标准格式是10,22,44 代表未读messageID
if (!Objects.isNull(unReadMessageIDs) && !"null".equals(unReadMessageIDs)) {
list = JSONUtil.String2List(unReadMessageIDs);
}
if(!list.contains(messageID))
return ReturnDto.buildFailedReturnDto("这条信息不存在");
list.remove(messageID);
unReadMessageIDs = JSONUtil.List2String(list);
redisService.setValue("message_" + userID, unReadMessageIDs);
return ReturnDto.buildSuccessReturnDto("success");
}
/**
* 本人所有接收到的信
*/
@RequestMapping(value = "/getMessages")
@ResponseBody
public ReturnDto getMessages(HttpServletRequest request) {
Integer id = (Integer) request.getSession().getAttribute("userID");
Integer pageNum;
try {
pageNum = Integer.parseInt(request.getParameter("pageNum"));
}catch (Exception e){
pageNum = 1;
}
return ReturnDto.buildSuccessReturnDto(messageService.selectByreceiveID(id, pageNum));
}
/**
* 返回某一条详细信息
* 新增判断这条信息是否属于这个人
*/
@RequestMapping(value = "/getMessageDtl")
@ResponseBody
public ReturnDto checkMessage(@RequestParam("id") Integer id, HttpServletRequest request) {
Integer userID = (Integer) request.getSession().getAttribute("userID");
Messages message = messageService.selectByID(id);
if(userID != null && message != null && !"".equals(userID)
&& userID.intValue() == message.getReceiveId().intValue())
return ReturnDto.buildSuccessReturnDto(message);
return ReturnDto.buildFailedReturnDto("没有权限");
}
/**
* 传入ID 返回发件人
*/
@RequestMapping(value = "/getSendUserName")
@ResponseBody
public ReturnDto getSendUserName(@RequestParam("id") Integer id) {
return ReturnDto.buildSuccessReturnDto(usersService.detailUser(id).getRealname());
}
/**
* 最后一条信息
*/
@RequestMapping(value = "/getLastMessage")
@ResponseBody
public ReturnDto getLastMessage(HttpServletRequest request) {
Integer id = (Integer) request.getSession().getAttribute("userID");
return ReturnDto.buildSuccessReturnDto(messageService.getLastMessage(id));
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/NoticeController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Notices;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.NoticeService;
import com.zmh.projectoa.service.RedisService;
import com.zmh.projectoa.service.UsersService;
import com.zmh.projectoa.util.JSONUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
/**
* @author zmh
* @date 2018/2/1521:41
* 公告板
*/
@Controller
@RequestMapping("/notice")
public class NoticeController {
@Autowired
private NoticeService noticeService;
@Autowired
private RedisService redisService;
@Autowired
private UsersService usersService;
/**
* 通知公告
*/
@RequestMapping(value = "/notice")
public String notice() {
return "notice";
}
/**
* 新建公告
*/
@RequestMapping(value = "/notice_create")
public String createNotice() {
return "notice_create";
}
/**
* 公告详情
*/
@RequestMapping(value = "/notice_dtl/{id}")
public String message_dtl() {
return "notice_dtl";
}
/**
* 发送站内信
* 这里接收到站内信后
* 存数据库
* 加入所有人的redis
*/
@RequestMapping(value = "/send_notice")
@ResponseBody
public ReturnDto sendNotice(@RequestParam("title") String title, @RequestParam("notice") String notice, HttpServletRequest request) {
Integer userID = (Integer) request.getSession().getAttribute("userID");
Notices notices = new Notices();
notices.setSendId(userID);
notices.setTitle(title);
notices.setNotice(notice);
//这里返回的是数据库里的noticeID
Integer noticeID = noticeService.insertNotice(notices);
//再存入所有人的redis
List<Users> usersList = usersService.getAllUsers();
for (Users user : usersList) {
List<Integer> list = JSONUtil.String2List(redisService
.getValue("notice_" + user.getId()));
list.add(noticeID);
redisService.setValue("notice_" + user.getId(), JSONUtil.List2String(list));
}
return ReturnDto.buildSuccessReturnDto("success");
}
/**
* 获取本人未读信息
*/
@RequestMapping(value = "/getUnReadNotices")
@ResponseBody
public ReturnDto getUnReadNotices(HttpServletRequest request) {
Integer userID = (Integer) request.getSession().getAttribute("userID");
//这里的思路是去redis取message_+'本人id'为key的value 里面包含所有未读messageID
String unReadNotices = redisService.getValue("notice_" + userID);
//取出来是空直接跳过 标准格式是10,22,44 代表未读messageID
List<Integer> list = JSONUtil.String2List(unReadNotices);
//返回一个list<map> map包括发件人姓名 和 notice id titile
if (list != null && list.size() > 0) {
List<Map<String, String>> selectByIDs = noticeService.selectByIDs(list);
return ReturnDto.buildSuccessReturnDto(selectByIDs);
}
return ReturnDto.buildFailedReturnDto("数据异常");
}
/**
* 本人所有接收到的信
*/
@RequestMapping(value = "/getNotices")
@ResponseBody
public ReturnDto getNotices(@RequestParam(value = "pageNum") Integer pageNum) {
return ReturnDto.buildSuccessReturnDto(noticeService.getAllNotices(pageNum));
}
/**
* 返回某一条详细信息
*/
@RequestMapping(value = "/getNoticeDtl")
@ResponseBody
public ReturnDto checkMessage(@RequestParam("id") Integer id) {
Notices notices = noticeService.selectByID(id);
return ReturnDto.buildSuccessReturnDto(notices);
}
/**
* 设为已读
* 从redis中剔除这条
*/
@RequestMapping(value = "/setIsRead")
@ResponseBody
public ReturnDto setIsRead(@RequestParam("id") Integer noticeID, HttpServletRequest request) {
Integer userID = (Integer) request.getSession().getAttribute("userID");
List<Integer> list = new ArrayList<>();
String unReadNoticeIDs = redisService.getValue("notice_" + userID);
//取出来是空直接跳过 标准格式是10,22,44 代表未读messageID
if (!Objects.isNull(unReadNoticeIDs) && !"null".equals(unReadNoticeIDs)) {
list = JSONUtil.String2List(unReadNoticeIDs);
}
if(!list.contains(noticeID))
return ReturnDto.buildFailedReturnDto("这条信息不存在");
list.remove(noticeID);
unReadNoticeIDs = JSONUtil.List2String(list);
redisService.setValue("notice_" + userID, unReadNoticeIDs);
return ReturnDto.buildSuccessReturnDto("success");
}
/**
* 最后一条公告
*/
@RequestMapping(value = "/getLastNotice")
@ResponseBody
public ReturnDto getLastMessage() {
return ReturnDto.buildSuccessReturnDto(noticeService.getLastNotice());
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/PositionController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Positions;
import com.zmh.projectoa.service.PositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
/**
* Created by ChengShanyunduo
* 2018/2/14
*/
@Controller
@RequestMapping("/position")
public class PositionController {
@Autowired
PositionService positionService;
/**
* 查询职位
* @return
*/
@RequestMapping(value = "/query")
@ResponseBody
public ReturnDto queryPosition(){
List<Positions> positions = positionService.queryPosition();
return ReturnDto.buildSuccessReturnDto(positions);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/UserinfoController.java
================================================
package com.zmh.projectoa.controller;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Userinfo;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.RedisService;
import com.zmh.projectoa.service.UserinfoService;
import com.zmh.projectoa.service.UsersService;
import com.zmh.projectoa.util.MD5Util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
/**
* Created by ChengShanyunduo
* 2018/2/25
*/
@Controller
@RequestMapping("/userinfo")
public class UserinfoController {
Logger logger = LoggerFactory.getLogger(LoginController.class.getName());
@Autowired
UserinfoService userinfoService;
@Autowired
UsersService usersService;
@Autowired
RedisService redisService;
/**
* 默认头像
*/
public static final Integer defaultHeadImage = 9;
/**
* 个人
*/
@RequestMapping(value = "/userinfo")
public String userinfo() {
return "userinfo";
}
@RequestMapping(value = "/getUserinfo")
@ResponseBody
public ReturnDto getUserinfo(HttpServletRequest request) {
//id应该再session中取,id为user表中id
Integer id = (Integer) request.getSession().getAttribute("userID");
Userinfo userinfo = userinfoService.getUserinfoByUserId(id);
return ReturnDto.buildSuccessReturnDto(userinfo);
}
@RequestMapping(value = "/saveUserinfo")
@ResponseBody
public ReturnDto saveUserinfo(Userinfo userinfo, HttpServletRequest request) {
//id应该再session中取,id为user表中id
Integer id = (Integer) request.getSession().getAttribute("userID");
userinfo.setUserId(id);
//头像保存到redis
redisService.setValue("headImage_" + id, String.valueOf(userinfo.getHeadImage()));
int result = userinfoService.saveUserinfo(userinfo);
if (result == 1) {
return ReturnDto.buildSuccessReturnDto("保存成功");
} else {
return ReturnDto.buildFailedReturnDto("保存失败,请联系管理员");
}
}
@RequestMapping(value = "/getSelf")
@ResponseBody
public ReturnDto getSelf(HttpServletRequest request) {
//用户id从session中取,是user表中的id
Integer id = (Integer) request.getSession().getAttribute("userID");
Users user = usersService.detailUser(id);
return ReturnDto.buildSuccessReturnDto(user);
}
@RequestMapping(value = "/changePassWord")
public String changePassWord() {
return "changePassWord";
}
@RequestMapping(value = "/setNewPassWord")
@ResponseBody
public ReturnDto setPassWord(@RequestParam("oldpassword") String oldpassword,
@RequestParam("newpassword") String newpassword,
@RequestParam("repeatpassword") String repeatpassword,
HttpServletRequest request) {
//用户id从session中取,是user表中的id
Integer id = (Integer) request.getSession().getAttribute("userID");
//验证旧密码是否正确环节
Users user = usersService.detailUser(id);
if (!user.getPassword().equals(MD5Util.string2MD5(oldpassword))) {
logger.error("旧密码不正确");
return ReturnDto.buildFailedReturnDto("旧密码不正确");
}
System.out.println(newpassword + "\t" + repeatpassword);
//验证新密码是否合法环节 首先防止null或者空字符串蒙混过关 并且再次确认两次输入一致
if (newpassword != null && !"".equals(newpassword) && newpassword.equals(repeatpassword)) {
//验证新密码是否合法
if (!newpassword.matches(".*[a-zA-Z0-9]+.*") || newpassword.length() > 20 || newpassword.length() < 6) {
logger.error("新密码不合法");
return ReturnDto.buildFailedReturnDto("新密码不合法");
}
//更新新密码
Users temp = new Users();
temp.setPassword(MD5Util.string2MD5(newpassword));
int i = usersService.editUser(id, temp);
System.out.println(i + " " + MD5Util.string2MD5(newpassword));
if (i > 0) {
//返回修改成功
return ReturnDto.buildSuccessReturnDto("success");
}
}
logger.error("未知的异常");
//默认返回错误
return ReturnDto.buildFailedReturnDto("error");
}
/**
* 根据 id 返回头像num
*/
@RequestMapping(value = "/getHeadImageNumByID")
@ResponseBody
public ReturnDto getHeadImageNumByID(HttpServletRequest request) {
Integer id = (Integer) request.getSession().getAttribute("userID");
String num = redisService.getValue("headImage_" + id);
Integer result = defaultHeadImage;//先给个默认值
try {
result = Integer.parseInt(num);
} catch (NumberFormatException e) {
}
return ReturnDto.buildSuccessReturnDto(result);
}
/**
* 根据 id 返回头像num
* 这里先获取redis中best的ID,是最佳员工的userID
* 再获取这个人的头像
* 那么这个人如果没设置过头像 redis的headImage_+他的ID是没有内容的
* 这样的情况下给默认值1 就是用默认的头像01.jpg
*/
@RequestMapping(value = "/getBestImageNum")
@ResponseBody
public ReturnDto getBestImageNum() {
String num = redisService.getValue("headImage_" + redisService.getValue("best"));
Integer result = defaultHeadImage;//先给个默认值
try {
if(num != null && !"".equals(num))
result = Integer.parseInt(num);
} catch (NumberFormatException e) {
}
return ReturnDto.buildSuccessReturnDto(result);
}
/**
* 获取最佳员工姓名
*/
@RequestMapping(value = "/getBestUserName")
@ResponseBody
public ReturnDto getBestUserName() {
String result = "暂无";
try {
String num = redisService.getValue("best");
if(num != null && !"".equals(num))
result = usersService.detailUser(Integer.parseInt(num)).getRealname();
} catch (NumberFormatException e) {
e.printStackTrace();
}
return ReturnDto.buildSuccessReturnDto(result);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/controller/UsersController.java
================================================
package com.zmh.projectoa.controller;
import com.github.pagehelper.PageInfo;
import com.zmh.projectoa.dto.ReturnDto;
import com.zmh.projectoa.model.Userinfo;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.service.RedisService;
import com.zmh.projectoa.service.UserinfoService;
import com.zmh.projectoa.service.UsersService;
import com.zmh.projectoa.util.ParameterUtil;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.websocket.server.PathParam;
import java.util.List;
import java.util.Map;
import java.util.Objects;
/**
* Created by ChengShanyunduo
* 2018/2/14
*/
@Controller
@RequestMapping("/user")
public class UsersController {
@Autowired
UsersService usersService;
@Autowired
UserinfoService userinfoService;
@Autowired
RedisService redisService;
/**
* 人员
*/
@RequestMapping(value = "/user")
public String user(){
return "user";
}
/**
* 创建用户页面
* @return
*/
@RequestMapping(value = "/user_create")
public String createView(){
return "user_create";
}
/**
* 创建职工
* @param users
* @return
*/
@RequestMapping(value = "/userCreate")
@ResponseBody
public ReturnDto createUser(Users users){
if (Objects.isNull(users.getUsername())){
return ReturnDto.buildFailedReturnDto("请输入用户名");
}
if (Objects.isNull(users.getRealname())){
return ReturnDto.buildFailedReturnDto("请输入员工姓名");
}
if (Objects.isNull(users.getDepartmentId())){
return ReturnDto.buildFailedReturnDto("请选择部门");
}
if (Objects.isNull(users.getPositionId())){
return ReturnDto.buildFailedReturnDto("请选择职位");
}
Users user = usersService.queryUserByUsername(users);
if (!Objects.isNull(user)){
return ReturnDto.buildFailedReturnDto("用户名已存在");
}
int count = usersService.createUser(users);
if (count == 1){
return ReturnDto.buildSuccessReturnDto("创建成功");
}else {
return ReturnDto.buildFailedReturnDto("创建失败");
}
}
/**
* 用户列表
* @param users
* @return
*/
@RequestMapping(value = "/userList")
@ResponseBody
public ReturnDto userList(HttpServletRequest request){
Map<String, Object> map = ParameterUtil.getParameterMap(request);
Integer pageNum = 0;
if (map.containsKey("pageNum")){
pageNum = Integer.parseInt(map.get("pageNum").toString());
}else {
pageNum = 1;
}
PageInfo list = usersService.userList(map, pageNum);
return ReturnDto.buildSuccessReturnDto(list);
}
/**
* 修改用户页面
* @param
* @return
*/
@RequestMapping(value = "/edit/{id}")
public String editView(){
return "user_edit";
}
/**
* 用户回显
* @param id
* @return
*/
@RequestMapping(value = "/detailUser/{id}")
@ResponseBody
public ReturnDto detailUser(@PathVariable(name="id") Integer id){
Users user = usersService.detailUser(id);
return ReturnDto.buildSuccessReturnDto(user);
}
/**
* 修改用户
* @param id
* @param user
* @return
*/
@RequestMapping(value = "/userEdit/{id}")
@ResponseBody
public ReturnDto editUser(@PathVariable(name="id") Integer id, Users user){
int result = usersService.editUser(id, user);
if (result == 1){
return ReturnDto.buildSuccessReturnDto("修改成功");
}else {
return ReturnDto.buildFailedReturnDto("修改失败");
}
}
/**
* 删除用户
* @param id
* @return
*/
@RequestMapping(value = "/userDelete/{id}")
@ResponseBody
public ReturnDto userDelete(@PathVariable(name="id") Integer id){
int result = usersService.deleteUser(id);
if (result == 1){
return ReturnDto.buildSuccessReturnDto("删除成功");
}else {
return ReturnDto.buildFailedReturnDto("删除失败,请联系管理员");
}
}
/**
* 重置密码
* @param id
* @return
*/
@RequestMapping(value = "/userReverse/{id}")
@ResponseBody
public ReturnDto userReverse(@PathVariable(name="id") Integer id){
int result = usersService.reverseUser(id);
if (result == 1){
return ReturnDto.buildSuccessReturnDto("重置成功");
}else {
return ReturnDto.buildFailedReturnDto("重置失败,请联系管理员");
}
}
@RequestMapping(value = "/setBest")
@ResponseBody
public ReturnDto setBest(@RequestParam("id")Integer id){
redisService.setValue("best",String.valueOf(id));
return ReturnDto.buildSuccessReturnDto("重置成功");
}
@RequestMapping(value = "/getUser")
@ResponseBody
public ReturnDto getUser(@RequestParam("userID")Integer id){
Users user = usersService.detailUser(id);
return ReturnDto.buildSuccessReturnDto(user);
}
@RequestMapping(value = "/userinfo/{id}")
public String userinfoPage(){
return "userinfo_detail";
}
@RequestMapping(value = "/userinfo/detail/{id}")
@ResponseBody
public ReturnDto userinfoDetail(@PathVariable(name="id") Integer id){
Userinfo userinfo = userinfoService.getUserinfoByUserId(id);
return ReturnDto.buildSuccessReturnDto(userinfo);
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/dto/ReturnDto.java
================================================
package com.zmh.projectoa.dto;
/**
* Created by ChengShanyunduo
* 2017/12/29
*/
public class ReturnDto {
private String code;
private String message;
private Object value;
private String status;
private String errorMessage;
public ReturnDto() {
}
public ReturnDto(String code, String message, Object value) {
this.code = code;
this.message = message;
this.value = value;
}
public ReturnDto(String status) {
this.status = status;
}
public ReturnDto(String status, String errorMessage) {
this.status = status;
this.errorMessage = errorMessage;
}
public static ReturnDto buildSuccessReturnDto() {
return new ReturnDto("OK");
}
public static ReturnDto buildFailReturnDto(String errorMessage) {
return new ReturnDto("ERROR", errorMessage);
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public static ReturnDto buildSuccessReturnDto(Object value) {
return new ReturnDto("000", "Success", value);
}
public static ReturnDto buildFailedReturnDto(String failMessage) {
return new ReturnDto("101", failMessage, null);
}
public static ReturnDto buildSystemErrorReturnDto() {
return new ReturnDto("599", "System Error", null);
}
@Override
public String toString() {
return "ReturnDto{" +
"code='" + code + '\'' +
", message='" + message + '\'' +
", value='" + value + '\'' +
'}';
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/CalendarMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Calendar;
import com.zmh.projectoa.model.CalendarExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CalendarMapper {
long countByExample(CalendarExample example);
int deleteByExample(CalendarExample example);
int deleteByPrimaryKey(Integer id);
int insert(Calendar record);
int insertSelective(Calendar record);
List<Calendar> selectByExample(CalendarExample example);
Calendar selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Calendar record, @Param("example") CalendarExample example);
int updateByExample(@Param("record") Calendar record, @Param("example") CalendarExample example);
int updateByPrimaryKeySelective(Calendar record);
int updateByPrimaryKey(Calendar record);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/DepartmentsMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Departments;
import com.zmh.projectoa.model.DepartmentsExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DepartmentsMapper {
long countByExample(DepartmentsExample example);
int deleteByExample(DepartmentsExample example);
int deleteByPrimaryKey(Integer id);
int insert(Departments record);
int insertSelective(Departments record);
List<Departments> selectByExample(DepartmentsExample example);
Departments selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Departments record, @Param("example") DepartmentsExample example);
int updateByExample(@Param("record") Departments record, @Param("example") DepartmentsExample example);
int updateByPrimaryKeySelective(Departments record);
int updateByPrimaryKey(Departments record);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/MessagesMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Messages;
import com.zmh.projectoa.model.MessagesExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface MessagesMapper {
long countByExample(MessagesExample example);
int deleteByExample(MessagesExample example);
int deleteByPrimaryKey(Integer id);
int insert(Messages record);
int insertSelective(Messages record);
List<Messages> selectByExampleWithBLOBs(MessagesExample example);
List<Messages> selectByExample(MessagesExample example);
List<Map<String,String>> selectByreceiveID(Integer ID);
List<Map<String,String>> selectByIDs(List<Integer> IDs);
List<Map<String,String>> selectLastOneByReceiveID(Integer receiveID);
Messages selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Messages record, @Param("example") MessagesExample example);
int updateByExampleWithBLOBs(@Param("record") Messages record, @Param("example") MessagesExample example);
int updateByExample(@Param("record") Messages record, @Param("example") MessagesExample example);
int updateByPrimaryKeySelective(Messages record);
int updateByPrimaryKeyWithBLOBs(Messages record);
int updateByPrimaryKey(Messages record);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/NoticesMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Notices;
import com.zmh.projectoa.model.NoticesExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface NoticesMapper {
long countByExample(NoticesExample example);
int deleteByExample(NoticesExample example);
int deleteByPrimaryKey(Integer id);
int insert(Notices record);
int insertSelective(Notices record);
List<Notices> selectByExampleWithBLOBs(NoticesExample example);
List<Notices> selectByExample(NoticesExample example);
List<Map<String,String>> selectLastOneByReceiveID();
Notices selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Notices record, @Param("example") NoticesExample example);
int updateByExampleWithBLOBs(@Param("record") Notices record, @Param("example") NoticesExample example);
int updateByExample(@Param("record") Notices record, @Param("example") NoticesExample example);
int updateByPrimaryKeySelective(Notices record);
int updateByPrimaryKeyWithBLOBs(Notices record);
int updateByPrimaryKey(Notices record);
List<Map<String,String>> selectAllNotice();
List<Map<String,String>> selectByIDs(List<Integer> IDs);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/PositionsMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Positions;
import com.zmh.projectoa.model.PositionsExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PositionsMapper {
long countByExample(PositionsExample example);
int deleteByExample(PositionsExample example);
int deleteByPrimaryKey(Integer id);
int insert(Positions record);
int insertSelective(Positions record);
List<Positions> selectByExample(PositionsExample example);
Positions selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Positions record, @Param("example") PositionsExample example);
int updateByExample(@Param("record") Positions record, @Param("example") PositionsExample example);
int updateByPrimaryKeySelective(Positions record);
int updateByPrimaryKey(Positions record);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/UserinfoMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Userinfo;
import com.zmh.projectoa.model.UserinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserinfoMapper {
long countByExample(UserinfoExample example);
int deleteByExample(UserinfoExample example);
int deleteByPrimaryKey(Integer id);
int insert(Userinfo record);
int insertSelective(Userinfo record);
List<Userinfo> selectByExample(UserinfoExample example);
Userinfo selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Userinfo record, @Param("example") UserinfoExample example);
int updateByExample(@Param("record") Userinfo record, @Param("example") UserinfoExample example);
int updateByPrimaryKeySelective(Userinfo record);
int updateByPrimaryKey(Userinfo record);
Userinfo queryUserinfoByUserid(Integer userId);
}
================================================
FILE: src/main/java/com/zmh/projectoa/mapper/UsersMapper.java
================================================
package com.zmh.projectoa.mapper;
import com.zmh.projectoa.model.Users;
import com.zmh.projectoa.model.UsersExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UsersMapper {
long countByExample(UsersExample example);
int deleteByExample(UsersExample example);
int deleteByPrimaryKey(Integer id);
int insert(Users record);
int insertSelective(Users record);
List<Users> selectByExample(UsersExample example);
Users selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Users record, @Param("example") UsersExample example);
int updateByExample(@Param("record") Users record, @Param("example") UsersExample example);
int updateByPrimaryKeySelective(Users record);
int updateByPrimaryKey(Users record);
Users queryUserByUsername (@Param("username") String username);
List<Users> queryBySelective(Map<String, Object> map);
List<Map<String,String>> queryAll(Integer id);
List<Users> queryAllUsers();
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/Calendar.java
================================================
package com.zmh.projectoa.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author
*/
public class Calendar implements Serializable {
private Integer id;
private Integer userId;
private String title;
private Date startTime;
private Date endTime;
private Date createTime;
private Date updateTime;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Calendar other = (Calendar) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", userId=").append(userId);
sb.append(", title=").append(title);
sb.append(", startTime=").append(startTime);
sb.append(", endTime=").append(endTime);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/CalendarExample.java
================================================
package com.zmh.projectoa.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CalendarExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public CalendarExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getLimit() {
return limit;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getOffset() {
return offset;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andUserIdIsNull() {
addCriterion("user_id is null");
return (Criteria) this;
}
public Criteria andUserIdIsNotNull() {
addCriterion("user_id is not null");
return (Criteria) this;
}
public Criteria andUserIdEqualTo(Integer value) {
addCriterion("user_id =", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<Integer> values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotIn(List<Integer> values) {
addCriterion("user_id not in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdBetween(Integer value1, Integer value2) {
addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andTitleIsNull() {
addCriterion("title is null");
return (Criteria) this;
}
public Criteria andTitleIsNotNull() {
addCriterion("title is not null");
return (Criteria) this;
}
public Criteria andTitleEqualTo(String value) {
addCriterion("title =", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotLike(String value) {
addCriterion("title not like", value, "title");
return (Criteria) this;
}
public Criteria andTitleIn(List<String> values) {
addCriterion("title in", values, "title");
return (Criteria) this;
}
public Criteria andTitleNotIn(List<String> values) {
addCriterion("title not in", values, "title");
return (Criteria) this;
}
public Criteria andTitleBetween(String value1, String value2) {
addCriterion("title between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("title not between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andStartTimeIsNull() {
addCriterion("start_time is null");
return (Criteria) this;
}
public Criteria andStartTimeIsNotNull() {
addCriterion("start_time is not null");
return (Criteria) this;
}
public Criteria andStartTimeEqualTo(Date value) {
addCriterion("start_time =", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotEqualTo(Date value) {
addCriterion("start_time <>", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThan(Date value) {
addCriterion("start_time >", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
addCriterion("start_time >=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThan(Date value) {
addCriterion("start_time <", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeLessThanOrEqualTo(Date value) {
addCriterion("start_time <=", value, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeIn(List<Date> values) {
addCriterion("start_time in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotIn(List<Date> values) {
addCriterion("start_time not in", values, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeBetween(Date value1, Date value2) {
addCriterion("start_time between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andStartTimeNotBetween(Date value1, Date value2) {
addCriterion("start_time not between", value1, value2, "startTime");
return (Criteria) this;
}
public Criteria andEndTimeIsNull() {
addCriterion("end_time is null");
return (Criteria) this;
}
public Criteria andEndTimeIsNotNull() {
addCriterion("end_time is not null");
return (Criteria) this;
}
public Criteria andEndTimeEqualTo(Date value) {
addCriterion("end_time =", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeNotEqualTo(Date value) {
addCriterion("end_time <>", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeGreaterThan(Date value) {
addCriterion("end_time >", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
addCriterion("end_time >=", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeLessThan(Date value) {
addCriterion("end_time <", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeLessThanOrEqualTo(Date value) {
addCriterion("end_time <=", value, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeIn(List<Date> values) {
addCriterion("end_time in", values, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeNotIn(List<Date> values) {
addCriterion("end_time not in", values, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeBetween(Date value1, Date value2) {
addCriterion("end_time between", value1, value2, "endTime");
return (Criteria) this;
}
public Criteria andEndTimeNotBetween(Date value1, Date value2) {
addCriterion("end_time not between", value1, value2, "endTime");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/Departments.java
================================================
package com.zmh.projectoa.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author
*/
public class Departments implements Serializable {
private Integer id;
private String department;
private Date createTime;
private Date updateTime;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Departments other = (Departments) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", department=").append(department);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/DepartmentsExample.java
================================================
package com.zmh.projectoa.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class DepartmentsExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public DepartmentsExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getLimit() {
return limit;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getOffset() {
return offset;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDepartmentIsNull() {
addCriterion("department is null");
return (Criteria) this;
}
public Criteria andDepartmentIsNotNull() {
addCriterion("department is not null");
return (Criteria) this;
}
public Criteria andDepartmentEqualTo(String value) {
addCriterion("department =", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentNotEqualTo(String value) {
addCriterion("department <>", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentGreaterThan(String value) {
addCriterion("department >", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
addCriterion("department >=", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentLessThan(String value) {
addCriterion("department <", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentLessThanOrEqualTo(String value) {
addCriterion("department <=", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentLike(String value) {
addCriterion("department like", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentNotLike(String value) {
addCriterion("department not like", value, "department");
return (Criteria) this;
}
public Criteria andDepartmentIn(List<String> values) {
addCriterion("department in", values, "department");
return (Criteria) this;
}
public Criteria andDepartmentNotIn(List<String> values) {
addCriterion("department not in", values, "department");
return (Criteria) this;
}
public Criteria andDepartmentBetween(String value1, String value2) {
addCriterion("department between", value1, value2, "department");
return (Criteria) this;
}
public Criteria andDepartmentNotBetween(String value1, String value2) {
addCriterion("department not between", value1, value2, "department");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/Messages.java
================================================
package com.zmh.projectoa.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author
*/
public class Messages implements Serializable {
private Integer id;
private String title;
private Integer sendId;
private Integer receiveId;
private String isDel;
private Date createTime;
private Date updateTime;
private String message;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Integer getSendId() {
return sendId;
}
public void setSendId(Integer sendId) {
this.sendId = sendId;
}
public Integer getReceiveId() {
return receiveId;
}
public void setReceiveId(Integer receiveId) {
this.receiveId = receiveId;
}
public String getIsDel() {
return isDel;
}
public void setIsDel(String isDel) {
this.isDel = isDel;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Messages other = (Messages) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getSendId() == null ? other.getSendId() == null : this.getSendId().equals(other.getSendId()))
&& (this.getReceiveId() == null ? other.getReceiveId() == null : this.getReceiveId().equals(other.getReceiveId()))
&& (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getMessage() == null ? other.getMessage() == null : this.getMessage().equals(other.getMessage()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getSendId() == null) ? 0 : getSendId().hashCode());
result = prime * result + ((getReceiveId() == null) ? 0 : getReceiveId().hashCode());
result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getMessage() == null) ? 0 : getMessage().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", title=").append(title);
sb.append(", sendId=").append(sendId);
sb.append(", receiveId=").append(receiveId);
sb.append(", isDel=").append(isDel);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", message=").append(message);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/MessagesExample.java
================================================
package com.zmh.projectoa.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class MessagesExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public MessagesExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getLimit() {
return limit;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getOffset() {
return offset;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andTitleIsNull() {
addCriterion("title is null");
return (Criteria) this;
}
public Criteria andTitleIsNotNull() {
addCriterion("title is not null");
return (Criteria) this;
}
public Criteria andTitleEqualTo(String value) {
addCriterion("title =", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotLike(String value) {
addCriterion("title not like", value, "title");
return (Criteria) this;
}
public Criteria andTitleIn(List<String> values) {
addCriterion("title in", values, "title");
return (Criteria) this;
}
public Criteria andTitleNotIn(List<String> values) {
addCriterion("title not in", values, "title");
return (Criteria) this;
}
public Criteria andTitleBetween(String value1, String value2) {
addCriterion("title between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("title not between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andSendIdIsNull() {
addCriterion("send_id is null");
return (Criteria) this;
}
public Criteria andSendIdIsNotNull() {
addCriterion("send_id is not null");
return (Criteria) this;
}
public Criteria andSendIdEqualTo(Integer value) {
addCriterion("send_id =", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotEqualTo(Integer value) {
addCriterion("send_id <>", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdGreaterThan(Integer value) {
addCriterion("send_id >", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdGreaterThanOrEqualTo(Integer value) {
addCriterion("send_id >=", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdLessThan(Integer value) {
addCriterion("send_id <", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdLessThanOrEqualTo(Integer value) {
addCriterion("send_id <=", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdIn(List<Integer> values) {
addCriterion("send_id in", values, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotIn(List<Integer> values) {
addCriterion("send_id not in", values, "sendId");
return (Criteria) this;
}
public Criteria andSendIdBetween(Integer value1, Integer value2) {
addCriterion("send_id between", value1, value2, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotBetween(Integer value1, Integer value2) {
addCriterion("send_id not between", value1, value2, "sendId");
return (Criteria) this;
}
public Criteria andReceiveIdIsNull() {
addCriterion("receive_id is null");
return (Criteria) this;
}
public Criteria andReceiveIdIsNotNull() {
addCriterion("receive_id is not null");
return (Criteria) this;
}
public Criteria andReceiveIdEqualTo(Integer value) {
addCriterion("receive_id =", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdNotEqualTo(Integer value) {
addCriterion("receive_id <>", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdGreaterThan(Integer value) {
addCriterion("receive_id >", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdGreaterThanOrEqualTo(Integer value) {
addCriterion("receive_id >=", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdLessThan(Integer value) {
addCriterion("receive_id <", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdLessThanOrEqualTo(Integer value) {
addCriterion("receive_id <=", value, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdIn(List<Integer> values) {
addCriterion("receive_id in", values, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdNotIn(List<Integer> values) {
addCriterion("receive_id not in", values, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdBetween(Integer value1, Integer value2) {
addCriterion("receive_id between", value1, value2, "receiveId");
return (Criteria) this;
}
public Criteria andReceiveIdNotBetween(Integer value1, Integer value2) {
addCriterion("receive_id not between", value1, value2, "receiveId");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(String value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(String value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(String value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(String value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(String value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(String value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLike(String value) {
addCriterion("is_del like", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotLike(String value) {
addCriterion("is_del not like", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<String> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<String> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(String value1, String value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(String value1, String value2) {
addCriterion("is_del not between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/Notices.java
================================================
package com.zmh.projectoa.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author
*/
public class Notices implements Serializable {
private Integer id;
private String title;
private Integer sendId;
private String isDel;
private Date createTime;
private Date updateTime;
private String notice;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Integer getSendId() {
return sendId;
}
public void setSendId(Integer sendId) {
this.sendId = sendId;
}
public String getIsDel() {
return isDel;
}
public void setIsDel(String isDel) {
this.isDel = isDel;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getNotice() {
return notice;
}
public void setNotice(String notice) {
this.notice = notice;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Notices other = (Notices) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getSendId() == null ? other.getSendId() == null : this.getSendId().equals(other.getSendId()))
&& (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getNotice() == null ? other.getNotice() == null : this.getNotice().equals(other.getNotice()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getSendId() == null) ? 0 : getSendId().hashCode());
result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getNotice() == null) ? 0 : getNotice().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", title=").append(title);
sb.append(", sendId=").append(sendId);
sb.append(", isDel=").append(isDel);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", notice=").append(notice);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/NoticesExample.java
================================================
package com.zmh.projectoa.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class NoticesExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public NoticesExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getLimit() {
return limit;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getOffset() {
return offset;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andTitleIsNull() {
addCriterion("title is null");
return (Criteria) this;
}
public Criteria andTitleIsNotNull() {
addCriterion("title is not null");
return (Criteria) this;
}
public Criteria andTitleEqualTo(String value) {
addCriterion("title =", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotLike(String value) {
addCriterion("title not like", value, "title");
return (Criteria) this;
}
public Criteria andTitleIn(List<String> values) {
addCriterion("title in", values, "title");
return (Criteria) this;
}
public Criteria andTitleNotIn(List<String> values) {
addCriterion("title not in", values, "title");
return (Criteria) this;
}
public Criteria andTitleBetween(String value1, String value2) {
addCriterion("title between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("title not between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andSendIdIsNull() {
addCriterion("send_id is null");
return (Criteria) this;
}
public Criteria andSendIdIsNotNull() {
addCriterion("send_id is not null");
return (Criteria) this;
}
public Criteria andSendIdEqualTo(Integer value) {
addCriterion("send_id =", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotEqualTo(Integer value) {
addCriterion("send_id <>", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdGreaterThan(Integer value) {
addCriterion("send_id >", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdGreaterThanOrEqualTo(Integer value) {
addCriterion("send_id >=", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdLessThan(Integer value) {
addCriterion("send_id <", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdLessThanOrEqualTo(Integer value) {
addCriterion("send_id <=", value, "sendId");
return (Criteria) this;
}
public Criteria andSendIdIn(List<Integer> values) {
addCriterion("send_id in", values, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotIn(List<Integer> values) {
addCriterion("send_id not in", values, "sendId");
return (Criteria) this;
}
public Criteria andSendIdBetween(Integer value1, Integer value2) {
addCriterion("send_id between", value1, value2, "sendId");
return (Criteria) this;
}
public Criteria andSendIdNotBetween(Integer value1, Integer value2) {
addCriterion("send_id not between", value1, value2, "sendId");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(String value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(String value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(String value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(String value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(String value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(String value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLike(String value) {
addCriterion("is_del like", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotLike(String value) {
addCriterion("is_del not like", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<String> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<String> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(String value1, String value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(String value1, String value2) {
addCriterion("is_del not between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/Positions.java
================================================
package com.zmh.projectoa.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author
*/
public class Positions implements Serializable {
private Integer id;
private String position;
private Date createTime;
private Date updateTime;
private static final long serialVersionUID = 1L;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Positions other = (Positions) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getPosition() == null ? other.getPosition() == null : this.getPosition().equals(other.getPosition()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getPosition() == null) ? 0 : getPosition().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", position=").append(position);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
================================================
FILE: src/main/java/com/zmh/projectoa/model/PositionsExample.java
================================================
package com.zmh.projectoa.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class PositionsExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Integer offset;
public PositionsExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public Integer getLimit() {
return limit;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getOffset() {
return offset;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andPositionIsNull() {
addCriterion("position is null");
return (Criteria) this;
}
public Criteria andPositionIsNotNull() {
addCriterion("position is not null");
return (Criteria) this;
}
public Criteria andPositionEqualTo(String value) {
addCriterion("position =", value, "position");
return (Criteria) this;
}
public Criteria andPositionNotEqualTo(String value) {
addCriterion("position <>", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThan(String value) {
addCriterion("position >", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThanOrEqualTo(String value) {
addCriterion("position >=", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThan(String value) {
addCriterion("position <", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThanOrEqualTo(String value) {
addCriterion("position <=", value, "position");
return (Criteria) this;
}
public Criteria andPositionLike(String value) {
addCriterion("position like", value, "position");
return (Criteria) this;
}
public Criteria andPositionNotLike(String value) {
addCriterion("position not like", value, "position");
return (Criteria) this;
}
public Criteria andPositionIn(List<String> values) {
addCriterion("position in", values, "position");
return (Criteria) this;
}
public Criteria andPositionNotIn(List<String> values) {
addCriterion("position not in", values, "position");
return (Criteria) this;
}
public Criteria andPositionBetween(String value1, String value2) {
addCriterion("position between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andPositionNotBetween(String value1, String value2) {
addCriterion("position not between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
gitextract_jaeyj9v4/
├── .gitignore
├── LICENSE
├── README.md
├── build.gradle
├── database/
│ ├── DB设计.xlsx
│ └── dboa.sql
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── src/
├── main/
│ ├── java/
│ │ └── com/
│ │ └── zmh/
│ │ └── projectoa/
│ │ ├── ProjectoaApplication.java
│ │ ├── ServletInitializer.java
│ │ ├── config/
│ │ │ ├── MyShiroRealm.java
│ │ │ └── ShiroConfiguration.java
│ │ ├── controller/
│ │ │ ├── AdminController.java
│ │ │ ├── CalendarController.java
│ │ │ ├── DepartmentController.java
│ │ │ ├── IndexController.java
│ │ │ ├── LoginController.java
│ │ │ ├── MessageController.java
│ │ │ ├── NoticeController.java
│ │ │ ├── PositionController.java
│ │ │ ├── UserinfoController.java
│ │ │ └── UsersController.java
│ │ ├── dto/
│ │ │ └── ReturnDto.java
│ │ ├── mapper/
│ │ │ ├── CalendarMapper.java
│ │ │ ├── DepartmentsMapper.java
│ │ │ ├── MessagesMapper.java
│ │ │ ├── NoticesMapper.java
│ │ │ ├── PositionsMapper.java
│ │ │ ├── UserinfoMapper.java
│ │ │ └── UsersMapper.java
│ │ ├── model/
│ │ │ ├── Calendar.java
│ │ │ ├── CalendarExample.java
│ │ │ ├── Departments.java
│ │ │ ├── DepartmentsExample.java
│ │ │ ├── Messages.java
│ │ │ ├── MessagesExample.java
│ │ │ ├── Notices.java
│ │ │ ├── NoticesExample.java
│ │ │ ├── Positions.java
│ │ │ ├── PositionsExample.java
│ │ │ ├── Userinfo.java
│ │ │ ├── UserinfoExample.java
│ │ │ ├── Users.java
│ │ │ └── UsersExample.java
│ │ ├── service/
│ │ │ ├── DepartmentService.java
│ │ │ ├── MessageService.java
│ │ │ ├── NoticeService.java
│ │ │ ├── PositionService.java
│ │ │ ├── RedisService.java
│ │ │ ├── UserinfoService.java
│ │ │ └── UsersService.java
│ │ └── util/
│ │ ├── JSONUtil.java
│ │ ├── MD5Util.java
│ │ ├── ParameterUtil.java
│ │ └── ReadFileUtil.java
│ └── resources/
│ ├── application.properties
│ ├── banner.txt
│ ├── logback.xml
│ ├── public/
│ │ └── error/
│ │ └── 404.html
│ ├── static/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ │ ├── admin.css
│ │ │ │ ├── app.css
│ │ │ │ ├── app.less
│ │ │ │ ├── calculator.css
│ │ │ │ ├── flipclock.css
│ │ │ │ ├── fullcalendar.print.css
│ │ │ │ └── todomvc.css
│ │ │ ├── fonts/
│ │ │ │ └── FontAwesome.otf
│ │ │ └── js/
│ │ │ ├── app.js
│ │ │ ├── calculator.js
│ │ │ ├── moment.js
│ │ │ ├── theme.js
│ │ │ ├── todomvc.js
│ │ │ └── vue.js
│ │ ├── js/
│ │ │ ├── common.js
│ │ │ ├── index.js
│ │ │ ├── logs.js
│ │ │ ├── message.js
│ │ │ ├── message_dtl.js
│ │ │ ├── notice.js
│ │ │ ├── notice_create.js
│ │ │ ├── notice_dtl.js
│ │ │ ├── user.js
│ │ │ ├── user_create.js
│ │ │ ├── user_edit.js
│ │ │ ├── userinfo.js
│ │ │ └── userinfo_detail.js
│ │ └── prism/
│ │ ├── prism.css
│ │ └── prism.js
│ └── templates/
│ ├── mapper/
│ │ ├── CalendarMapper.xml
│ │ ├── DepartmentsMapper.xml
│ │ ├── MessagesMapper.xml
│ │ ├── NoticesMapper.xml
│ │ ├── PositionsMapper.xml
│ │ ├── UserinfoMapper.xml
│ │ └── UsersMapper.xml
│ └── view/
│ ├── 403.html
│ ├── calendar.html
│ ├── changePassWord.html
│ ├── common/
│ │ └── common.html
│ ├── index.html
│ ├── login.html
│ ├── logs.html
│ ├── message.html
│ ├── message_dtl.html
│ ├── notice.html
│ ├── notice_create.html
│ ├── notice_dtl.html
│ ├── springbootadmin.html
│ ├── table.html
│ ├── user.html
│ ├── user_create.html
│ ├── user_edit.html
│ ├── userinfo.html
│ └── userinfo_detail.html
└── test/
└── java/
└── com/
└── zmh/
└── projectoa/
└── ProjectoaApplicationTests.java
SYMBOL INDEX (1949 symbols across 68 files)
FILE: database/dboa.sql
type `calendar` (line 22) | CREATE TABLE `calendar` (
type `departments` (line 41) | CREATE TABLE `departments` (
type `messages` (line 62) | CREATE TABLE `messages` (
type `notices` (line 107) | CREATE TABLE `notices` (
type `positions` (line 142) | CREATE TABLE `positions` (
type `userinfo` (line 162) | CREATE TABLE `userinfo` (
type `users` (line 202) | CREATE TABLE `users` (
FILE: src/main/java/com/zmh/projectoa/ProjectoaApplication.java
class ProjectoaApplication (line 8) | @SpringBootApplication
method main (line 12) | public static void main(String[] args) {
FILE: src/main/java/com/zmh/projectoa/ServletInitializer.java
class ServletInitializer (line 6) | public class ServletInitializer extends SpringBootServletInitializer {
method configure (line 8) | @Override
FILE: src/main/java/com/zmh/projectoa/config/MyShiroRealm.java
class MyShiroRealm (line 25) | public class MyShiroRealm extends AuthorizingRealm {
method doGetAuthenticationInfo (line 35) | @Override
method doGetAuthorizationInfo (line 90) | @Override
FILE: src/main/java/com/zmh/projectoa/config/ShiroConfiguration.java
class ShiroConfiguration (line 23) | @Configuration
method myShiroRealm (line 31) | @Bean(name = "myShiroRealm")
method lifecycleBeanPostProcessor (line 40) | @Bean(name = "lifecycleBeanPostProcessor")
method defaultAdvisorAutoProxyCreator (line 45) | @Bean
method defaultWebSecurityManager (line 52) | @Bean(name = "securityManager")
method authorizationAttributeSourceAdvisor (line 64) | @Bean
method shiroFilterFactoryBean (line 72) | @Bean(name = "shiroFilter")
method shiroDialect (line 87) | @Bean
method loadShiroFilterChain (line 98) | private void loadShiroFilterChain(ShiroFilterFactoryBean factoryBean) {
FILE: src/main/java/com/zmh/projectoa/controller/AdminController.java
class AdminController (line 16) | @Controller
method getFileNames (line 29) | @RequestMapping(value = "/getFileNames")
method readFiles (line 39) | @RequestMapping(value = "/readFiles")
method logs (line 49) | @RequestMapping(value = "/logs")
method springbootadmin (line 56) | @RequestMapping(value = "/springbootadmin")
FILE: src/main/java/com/zmh/projectoa/controller/CalendarController.java
class CalendarController (line 13) | @Controller
method calendar (line 21) | @RequestMapping(value = "/calendar")
method calendarSetValue (line 31) | @RequestMapping(value = "/calendarSetValue")
method calendarGetValue (line 44) | @RequestMapping(value = "/calendarGetValue")
FILE: src/main/java/com/zmh/projectoa/controller/DepartmentController.java
class DepartmentController (line 17) | @Controller
method queryDepartment (line 28) | @RequestMapping(value = "/query")
FILE: src/main/java/com/zmh/projectoa/controller/IndexController.java
class IndexController (line 10) | @Controller
method in (line 15) | @RequestMapping(value = "/")
method index (line 22) | @RequestMapping(value = "/index")
method error403 (line 30) | @RequestMapping(value = "/403")
FILE: src/main/java/com/zmh/projectoa/controller/LoginController.java
class LoginController (line 27) | @Controller
method login (line 33) | @RequestMapping(value = "/login")
method check (line 38) | @RequestMapping(value = "/login/check")
FILE: src/main/java/com/zmh/projectoa/controller/MessageController.java
class MessageController (line 26) | @Controller
method message (line 39) | @RequestMapping(value = "/message")
method message_dtl (line 47) | @RequestMapping(value = "/message_dtl/{id}")
method sendMessage (line 55) | @RequestMapping(value = "/send_message")
method getAllUser (line 81) | @RequestMapping(value = "/getAllUser")
method getUnReadMessages (line 91) | @RequestMapping(value = "/getUnReadMessages")
method setIsRead (line 111) | @RequestMapping(value = "/setIsRead")
method getMessages (line 132) | @RequestMapping(value = "/getMessages")
method checkMessage (line 150) | @RequestMapping(value = "/getMessageDtl")
method getSendUserName (line 165) | @RequestMapping(value = "/getSendUserName")
method getLastMessage (line 174) | @RequestMapping(value = "/getLastMessage")
FILE: src/main/java/com/zmh/projectoa/controller/NoticeController.java
class NoticeController (line 27) | @Controller
method notice (line 40) | @RequestMapping(value = "/notice")
method createNotice (line 48) | @RequestMapping(value = "/notice_create")
method message_dtl (line 56) | @RequestMapping(value = "/notice_dtl/{id}")
method sendNotice (line 67) | @RequestMapping(value = "/send_notice")
method getUnReadNotices (line 91) | @RequestMapping(value = "/getUnReadNotices")
method getNotices (line 110) | @RequestMapping(value = "/getNotices")
method checkMessage (line 119) | @RequestMapping(value = "/getNoticeDtl")
method setIsRead (line 131) | @RequestMapping(value = "/setIsRead")
method getLastMessage (line 152) | @RequestMapping(value = "/getLastNotice")
FILE: src/main/java/com/zmh/projectoa/controller/PositionController.java
class PositionController (line 17) | @Controller
method queryPosition (line 28) | @RequestMapping(value = "/query")
FILE: src/main/java/com/zmh/projectoa/controller/UserinfoController.java
class UserinfoController (line 24) | @Controller
method userinfo (line 45) | @RequestMapping(value = "/userinfo")
method getUserinfo (line 51) | @RequestMapping(value = "/getUserinfo")
method saveUserinfo (line 60) | @RequestMapping(value = "/saveUserinfo")
method getSelf (line 76) | @RequestMapping(value = "/getSelf")
method changePassWord (line 85) | @RequestMapping(value = "/changePassWord")
method setPassWord (line 90) | @RequestMapping(value = "/setNewPassWord")
method getHeadImageNumByID (line 130) | @RequestMapping(value = "/getHeadImageNumByID")
method getBestImageNum (line 150) | @RequestMapping(value = "/getBestImageNum")
method getBestUserName (line 166) | @RequestMapping(value = "/getBestUserName")
FILE: src/main/java/com/zmh/projectoa/controller/UsersController.java
class UsersController (line 26) | @Controller
method user (line 42) | @RequestMapping(value = "/user")
method createView (line 51) | @RequestMapping(value = "/user_create")
method createUser (line 61) | @RequestMapping(value = "/userCreate")
method userList (line 96) | @RequestMapping(value = "/userList")
method editView (line 116) | @RequestMapping(value = "/edit/{id}")
method detailUser (line 127) | @RequestMapping(value = "/detailUser/{id}")
method editUser (line 140) | @RequestMapping(value = "/userEdit/{id}")
method userDelete (line 156) | @RequestMapping(value = "/userDelete/{id}")
method userReverse (line 172) | @RequestMapping(value = "/userReverse/{id}")
method setBest (line 183) | @RequestMapping(value = "/setBest")
method getUser (line 189) | @RequestMapping(value = "/getUser")
method userinfoPage (line 196) | @RequestMapping(value = "/userinfo/{id}")
method userinfoDetail (line 201) | @RequestMapping(value = "/userinfo/detail/{id}")
FILE: src/main/java/com/zmh/projectoa/dto/ReturnDto.java
class ReturnDto (line 7) | public class ReturnDto {
method ReturnDto (line 14) | public ReturnDto() {
method ReturnDto (line 18) | public ReturnDto(String code, String message, Object value) {
method ReturnDto (line 24) | public ReturnDto(String status) {
method ReturnDto (line 28) | public ReturnDto(String status, String errorMessage) {
method buildSuccessReturnDto (line 33) | public static ReturnDto buildSuccessReturnDto() {
method buildFailReturnDto (line 37) | public static ReturnDto buildFailReturnDto(String errorMessage) {
method getStatus (line 41) | public String getStatus() {
method setStatus (line 45) | public void setStatus(String status) {
method getErrorMessage (line 49) | public String getErrorMessage() {
method setErrorMessage (line 53) | public void setErrorMessage(String errorMessage) {
method getCode (line 57) | public String getCode() {
method setCode (line 61) | public void setCode(String code) {
method getMessage (line 65) | public String getMessage() {
method setMessage (line 69) | public void setMessage(String message) {
method getValue (line 73) | public Object getValue() {
method setValue (line 77) | public void setValue(Object value) {
method buildSuccessReturnDto (line 81) | public static ReturnDto buildSuccessReturnDto(Object value) {
method buildFailedReturnDto (line 86) | public static ReturnDto buildFailedReturnDto(String failMessage) {
method buildSystemErrorReturnDto (line 90) | public static ReturnDto buildSystemErrorReturnDto() {
method toString (line 94) | @Override
FILE: src/main/java/com/zmh/projectoa/mapper/CalendarMapper.java
type CalendarMapper (line 10) | @Mapper
method countByExample (line 12) | long countByExample(CalendarExample example);
method deleteByExample (line 14) | int deleteByExample(CalendarExample example);
method deleteByPrimaryKey (line 16) | int deleteByPrimaryKey(Integer id);
method insert (line 18) | int insert(Calendar record);
method insertSelective (line 20) | int insertSelective(Calendar record);
method selectByExample (line 22) | List<Calendar> selectByExample(CalendarExample example);
method selectByPrimaryKey (line 24) | Calendar selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 26) | int updateByExampleSelective(@Param("record") Calendar record, @Param(...
method updateByExample (line 28) | int updateByExample(@Param("record") Calendar record, @Param("example"...
method updateByPrimaryKeySelective (line 30) | int updateByPrimaryKeySelective(Calendar record);
method updateByPrimaryKey (line 32) | int updateByPrimaryKey(Calendar record);
FILE: src/main/java/com/zmh/projectoa/mapper/DepartmentsMapper.java
type DepartmentsMapper (line 10) | @Mapper
method countByExample (line 12) | long countByExample(DepartmentsExample example);
method deleteByExample (line 14) | int deleteByExample(DepartmentsExample example);
method deleteByPrimaryKey (line 16) | int deleteByPrimaryKey(Integer id);
method insert (line 18) | int insert(Departments record);
method insertSelective (line 20) | int insertSelective(Departments record);
method selectByExample (line 22) | List<Departments> selectByExample(DepartmentsExample example);
method selectByPrimaryKey (line 24) | Departments selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 26) | int updateByExampleSelective(@Param("record") Departments record, @Par...
method updateByExample (line 28) | int updateByExample(@Param("record") Departments record, @Param("examp...
method updateByPrimaryKeySelective (line 30) | int updateByPrimaryKeySelective(Departments record);
method updateByPrimaryKey (line 32) | int updateByPrimaryKey(Departments record);
FILE: src/main/java/com/zmh/projectoa/mapper/MessagesMapper.java
type MessagesMapper (line 11) | @Mapper
method countByExample (line 13) | long countByExample(MessagesExample example);
method deleteByExample (line 15) | int deleteByExample(MessagesExample example);
method deleteByPrimaryKey (line 17) | int deleteByPrimaryKey(Integer id);
method insert (line 19) | int insert(Messages record);
method insertSelective (line 21) | int insertSelective(Messages record);
method selectByExampleWithBLOBs (line 23) | List<Messages> selectByExampleWithBLOBs(MessagesExample example);
method selectByExample (line 25) | List<Messages> selectByExample(MessagesExample example);
method selectByreceiveID (line 27) | List<Map<String,String>> selectByreceiveID(Integer ID);
method selectByIDs (line 29) | List<Map<String,String>> selectByIDs(List<Integer> IDs);
method selectLastOneByReceiveID (line 31) | List<Map<String,String>> selectLastOneByReceiveID(Integer receiveID);
method selectByPrimaryKey (line 33) | Messages selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 35) | int updateByExampleSelective(@Param("record") Messages record, @Param(...
method updateByExampleWithBLOBs (line 37) | int updateByExampleWithBLOBs(@Param("record") Messages record, @Param(...
method updateByExample (line 39) | int updateByExample(@Param("record") Messages record, @Param("example"...
method updateByPrimaryKeySelective (line 41) | int updateByPrimaryKeySelective(Messages record);
method updateByPrimaryKeyWithBLOBs (line 43) | int updateByPrimaryKeyWithBLOBs(Messages record);
method updateByPrimaryKey (line 45) | int updateByPrimaryKey(Messages record);
FILE: src/main/java/com/zmh/projectoa/mapper/NoticesMapper.java
type NoticesMapper (line 11) | @Mapper
method countByExample (line 13) | long countByExample(NoticesExample example);
method deleteByExample (line 15) | int deleteByExample(NoticesExample example);
method deleteByPrimaryKey (line 17) | int deleteByPrimaryKey(Integer id);
method insert (line 19) | int insert(Notices record);
method insertSelective (line 21) | int insertSelective(Notices record);
method selectByExampleWithBLOBs (line 23) | List<Notices> selectByExampleWithBLOBs(NoticesExample example);
method selectByExample (line 25) | List<Notices> selectByExample(NoticesExample example);
method selectLastOneByReceiveID (line 27) | List<Map<String,String>> selectLastOneByReceiveID();
method selectByPrimaryKey (line 29) | Notices selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 31) | int updateByExampleSelective(@Param("record") Notices record, @Param("...
method updateByExampleWithBLOBs (line 33) | int updateByExampleWithBLOBs(@Param("record") Notices record, @Param("...
method updateByExample (line 35) | int updateByExample(@Param("record") Notices record, @Param("example")...
method updateByPrimaryKeySelective (line 37) | int updateByPrimaryKeySelective(Notices record);
method updateByPrimaryKeyWithBLOBs (line 39) | int updateByPrimaryKeyWithBLOBs(Notices record);
method updateByPrimaryKey (line 41) | int updateByPrimaryKey(Notices record);
method selectAllNotice (line 43) | List<Map<String,String>> selectAllNotice();
method selectByIDs (line 45) | List<Map<String,String>> selectByIDs(List<Integer> IDs);
FILE: src/main/java/com/zmh/projectoa/mapper/PositionsMapper.java
type PositionsMapper (line 10) | @Mapper
method countByExample (line 12) | long countByExample(PositionsExample example);
method deleteByExample (line 14) | int deleteByExample(PositionsExample example);
method deleteByPrimaryKey (line 16) | int deleteByPrimaryKey(Integer id);
method insert (line 18) | int insert(Positions record);
method insertSelective (line 20) | int insertSelective(Positions record);
method selectByExample (line 22) | List<Positions> selectByExample(PositionsExample example);
method selectByPrimaryKey (line 24) | Positions selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 26) | int updateByExampleSelective(@Param("record") Positions record, @Param...
method updateByExample (line 28) | int updateByExample(@Param("record") Positions record, @Param("example...
method updateByPrimaryKeySelective (line 30) | int updateByPrimaryKeySelective(Positions record);
method updateByPrimaryKey (line 32) | int updateByPrimaryKey(Positions record);
FILE: src/main/java/com/zmh/projectoa/mapper/UserinfoMapper.java
type UserinfoMapper (line 10) | @Mapper
method countByExample (line 12) | long countByExample(UserinfoExample example);
method deleteByExample (line 14) | int deleteByExample(UserinfoExample example);
method deleteByPrimaryKey (line 16) | int deleteByPrimaryKey(Integer id);
method insert (line 18) | int insert(Userinfo record);
method insertSelective (line 20) | int insertSelective(Userinfo record);
method selectByExample (line 22) | List<Userinfo> selectByExample(UserinfoExample example);
method selectByPrimaryKey (line 24) | Userinfo selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 26) | int updateByExampleSelective(@Param("record") Userinfo record, @Param(...
method updateByExample (line 28) | int updateByExample(@Param("record") Userinfo record, @Param("example"...
method updateByPrimaryKeySelective (line 30) | int updateByPrimaryKeySelective(Userinfo record);
method updateByPrimaryKey (line 32) | int updateByPrimaryKey(Userinfo record);
method queryUserinfoByUserid (line 34) | Userinfo queryUserinfoByUserid(Integer userId);
FILE: src/main/java/com/zmh/projectoa/mapper/UsersMapper.java
type UsersMapper (line 11) | @Mapper
method countByExample (line 13) | long countByExample(UsersExample example);
method deleteByExample (line 15) | int deleteByExample(UsersExample example);
method deleteByPrimaryKey (line 17) | int deleteByPrimaryKey(Integer id);
method insert (line 19) | int insert(Users record);
method insertSelective (line 21) | int insertSelective(Users record);
method selectByExample (line 23) | List<Users> selectByExample(UsersExample example);
method selectByPrimaryKey (line 25) | Users selectByPrimaryKey(Integer id);
method updateByExampleSelective (line 27) | int updateByExampleSelective(@Param("record") Users record, @Param("ex...
method updateByExample (line 29) | int updateByExample(@Param("record") Users record, @Param("example") U...
method updateByPrimaryKeySelective (line 31) | int updateByPrimaryKeySelective(Users record);
method updateByPrimaryKey (line 33) | int updateByPrimaryKey(Users record);
method queryUserByUsername (line 35) | Users queryUserByUsername (@Param("username") String username);
method queryBySelective (line 37) | List<Users> queryBySelective(Map<String, Object> map);
method queryAll (line 39) | List<Map<String,String>> queryAll(Integer id);
method queryAllUsers (line 41) | List<Users> queryAllUsers();
FILE: src/main/java/com/zmh/projectoa/model/Calendar.java
class Calendar (line 9) | public class Calendar implements Serializable {
method getId (line 26) | public Integer getId() {
method setId (line 30) | public void setId(Integer id) {
method getUserId (line 34) | public Integer getUserId() {
method setUserId (line 38) | public void setUserId(Integer userId) {
method getTitle (line 42) | public String getTitle() {
method setTitle (line 46) | public void setTitle(String title) {
method getStartTime (line 50) | public Date getStartTime() {
method setStartTime (line 54) | public void setStartTime(Date startTime) {
method getEndTime (line 58) | public Date getEndTime() {
method setEndTime (line 62) | public void setEndTime(Date endTime) {
method getCreateTime (line 66) | public Date getCreateTime() {
method setCreateTime (line 70) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 74) | public Date getUpdateTime() {
method setUpdateTime (line 78) | public void setUpdateTime(Date updateTime) {
method equals (line 82) | @Override
method hashCode (line 103) | @Override
method toString (line 117) | @Override
FILE: src/main/java/com/zmh/projectoa/model/CalendarExample.java
class CalendarExample (line 7) | public class CalendarExample {
method CalendarExample (line 18) | public CalendarExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andUserIdIsNull (line 188) | public Criteria andUserIdIsNull() {
method andUserIdIsNotNull (line 193) | public Criteria andUserIdIsNotNull() {
method andUserIdEqualTo (line 198) | public Criteria andUserIdEqualTo(Integer value) {
method andUserIdNotEqualTo (line 203) | public Criteria andUserIdNotEqualTo(Integer value) {
method andUserIdGreaterThan (line 208) | public Criteria andUserIdGreaterThan(Integer value) {
method andUserIdGreaterThanOrEqualTo (line 213) | public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
method andUserIdLessThan (line 218) | public Criteria andUserIdLessThan(Integer value) {
method andUserIdLessThanOrEqualTo (line 223) | public Criteria andUserIdLessThanOrEqualTo(Integer value) {
method andUserIdIn (line 228) | public Criteria andUserIdIn(List<Integer> values) {
method andUserIdNotIn (line 233) | public Criteria andUserIdNotIn(List<Integer> values) {
method andUserIdBetween (line 238) | public Criteria andUserIdBetween(Integer value1, Integer value2) {
method andUserIdNotBetween (line 243) | public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
method andTitleIsNull (line 248) | public Criteria andTitleIsNull() {
method andTitleIsNotNull (line 253) | public Criteria andTitleIsNotNull() {
method andTitleEqualTo (line 258) | public Criteria andTitleEqualTo(String value) {
method andTitleNotEqualTo (line 263) | public Criteria andTitleNotEqualTo(String value) {
method andTitleGreaterThan (line 268) | public Criteria andTitleGreaterThan(String value) {
method andTitleGreaterThanOrEqualTo (line 273) | public Criteria andTitleGreaterThanOrEqualTo(String value) {
method andTitleLessThan (line 278) | public Criteria andTitleLessThan(String value) {
method andTitleLessThanOrEqualTo (line 283) | public Criteria andTitleLessThanOrEqualTo(String value) {
method andTitleLike (line 288) | public Criteria andTitleLike(String value) {
method andTitleNotLike (line 293) | public Criteria andTitleNotLike(String value) {
method andTitleIn (line 298) | public Criteria andTitleIn(List<String> values) {
method andTitleNotIn (line 303) | public Criteria andTitleNotIn(List<String> values) {
method andTitleBetween (line 308) | public Criteria andTitleBetween(String value1, String value2) {
method andTitleNotBetween (line 313) | public Criteria andTitleNotBetween(String value1, String value2) {
method andStartTimeIsNull (line 318) | public Criteria andStartTimeIsNull() {
method andStartTimeIsNotNull (line 323) | public Criteria andStartTimeIsNotNull() {
method andStartTimeEqualTo (line 328) | public Criteria andStartTimeEqualTo(Date value) {
method andStartTimeNotEqualTo (line 333) | public Criteria andStartTimeNotEqualTo(Date value) {
method andStartTimeGreaterThan (line 338) | public Criteria andStartTimeGreaterThan(Date value) {
method andStartTimeGreaterThanOrEqualTo (line 343) | public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
method andStartTimeLessThan (line 348) | public Criteria andStartTimeLessThan(Date value) {
method andStartTimeLessThanOrEqualTo (line 353) | public Criteria andStartTimeLessThanOrEqualTo(Date value) {
method andStartTimeIn (line 358) | public Criteria andStartTimeIn(List<Date> values) {
method andStartTimeNotIn (line 363) | public Criteria andStartTimeNotIn(List<Date> values) {
method andStartTimeBetween (line 368) | public Criteria andStartTimeBetween(Date value1, Date value2) {
method andStartTimeNotBetween (line 373) | public Criteria andStartTimeNotBetween(Date value1, Date value2) {
method andEndTimeIsNull (line 378) | public Criteria andEndTimeIsNull() {
method andEndTimeIsNotNull (line 383) | public Criteria andEndTimeIsNotNull() {
method andEndTimeEqualTo (line 388) | public Criteria andEndTimeEqualTo(Date value) {
method andEndTimeNotEqualTo (line 393) | public Criteria andEndTimeNotEqualTo(Date value) {
method andEndTimeGreaterThan (line 398) | public Criteria andEndTimeGreaterThan(Date value) {
method andEndTimeGreaterThanOrEqualTo (line 403) | public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
method andEndTimeLessThan (line 408) | public Criteria andEndTimeLessThan(Date value) {
method andEndTimeLessThanOrEqualTo (line 413) | public Criteria andEndTimeLessThanOrEqualTo(Date value) {
method andEndTimeIn (line 418) | public Criteria andEndTimeIn(List<Date> values) {
method andEndTimeNotIn (line 423) | public Criteria andEndTimeNotIn(List<Date> values) {
method andEndTimeBetween (line 428) | public Criteria andEndTimeBetween(Date value1, Date value2) {
method andEndTimeNotBetween (line 433) | public Criteria andEndTimeNotBetween(Date value1, Date value2) {
method andCreateTimeIsNull (line 438) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 443) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 448) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 453) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 458) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 463) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 468) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 473) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 478) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 483) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 488) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 493) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 498) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 503) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 508) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 513) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 518) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 523) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 528) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 533) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 538) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 543) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 548) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 553) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 561) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 563) | protected Criteria() {
class Criterion (line 568) | public static class Criterion {
method getCondition (line 585) | public String getCondition() {
method getValue (line 589) | public Object getValue() {
method getSecondValue (line 593) | public Object getSecondValue() {
method isNoValue (line 597) | public boolean isNoValue() {
method isSingleValue (line 601) | public boolean isSingleValue() {
method isBetweenValue (line 605) | public boolean isBetweenValue() {
method isListValue (line 609) | public boolean isListValue() {
method getTypeHandler (line 613) | public String getTypeHandler() {
method Criterion (line 617) | protected Criterion(String condition) {
method Criterion (line 624) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 636) | protected Criterion(String condition, Object value) {
method Criterion (line 640) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 649) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Departments.java
class Departments (line 9) | public class Departments implements Serializable {
method getId (line 20) | public Integer getId() {
method setId (line 24) | public void setId(Integer id) {
method getDepartment (line 28) | public String getDepartment() {
method setDepartment (line 32) | public void setDepartment(String department) {
method getCreateTime (line 36) | public Date getCreateTime() {
method setCreateTime (line 40) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 44) | public Date getUpdateTime() {
method setUpdateTime (line 48) | public void setUpdateTime(Date updateTime) {
method equals (line 52) | @Override
method hashCode (line 70) | @Override
method toString (line 81) | @Override
FILE: src/main/java/com/zmh/projectoa/model/DepartmentsExample.java
class DepartmentsExample (line 7) | public class DepartmentsExample {
method DepartmentsExample (line 18) | public DepartmentsExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andDepartmentIsNull (line 188) | public Criteria andDepartmentIsNull() {
method andDepartmentIsNotNull (line 193) | public Criteria andDepartmentIsNotNull() {
method andDepartmentEqualTo (line 198) | public Criteria andDepartmentEqualTo(String value) {
method andDepartmentNotEqualTo (line 203) | public Criteria andDepartmentNotEqualTo(String value) {
method andDepartmentGreaterThan (line 208) | public Criteria andDepartmentGreaterThan(String value) {
method andDepartmentGreaterThanOrEqualTo (line 213) | public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
method andDepartmentLessThan (line 218) | public Criteria andDepartmentLessThan(String value) {
method andDepartmentLessThanOrEqualTo (line 223) | public Criteria andDepartmentLessThanOrEqualTo(String value) {
method andDepartmentLike (line 228) | public Criteria andDepartmentLike(String value) {
method andDepartmentNotLike (line 233) | public Criteria andDepartmentNotLike(String value) {
method andDepartmentIn (line 238) | public Criteria andDepartmentIn(List<String> values) {
method andDepartmentNotIn (line 243) | public Criteria andDepartmentNotIn(List<String> values) {
method andDepartmentBetween (line 248) | public Criteria andDepartmentBetween(String value1, String value2) {
method andDepartmentNotBetween (line 253) | public Criteria andDepartmentNotBetween(String value1, String value2) {
method andCreateTimeIsNull (line 258) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 263) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 268) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 273) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 278) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 283) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 288) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 293) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 298) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 303) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 308) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 313) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 318) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 323) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 328) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 333) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 338) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 343) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 348) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 353) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 358) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 363) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 368) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 373) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 381) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 383) | protected Criteria() {
class Criterion (line 388) | public static class Criterion {
method getCondition (line 405) | public String getCondition() {
method getValue (line 409) | public Object getValue() {
method getSecondValue (line 413) | public Object getSecondValue() {
method isNoValue (line 417) | public boolean isNoValue() {
method isSingleValue (line 421) | public boolean isSingleValue() {
method isBetweenValue (line 425) | public boolean isBetweenValue() {
method isListValue (line 429) | public boolean isListValue() {
method getTypeHandler (line 433) | public String getTypeHandler() {
method Criterion (line 437) | protected Criterion(String condition) {
method Criterion (line 444) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 456) | protected Criterion(String condition, Object value) {
method Criterion (line 460) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 469) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Messages.java
class Messages (line 9) | public class Messages implements Serializable {
method getId (line 28) | public Integer getId() {
method setId (line 32) | public void setId(Integer id) {
method getTitle (line 36) | public String getTitle() {
method setTitle (line 40) | public void setTitle(String title) {
method getSendId (line 44) | public Integer getSendId() {
method setSendId (line 48) | public void setSendId(Integer sendId) {
method getReceiveId (line 52) | public Integer getReceiveId() {
method setReceiveId (line 56) | public void setReceiveId(Integer receiveId) {
method getIsDel (line 60) | public String getIsDel() {
method setIsDel (line 64) | public void setIsDel(String isDel) {
method getCreateTime (line 68) | public Date getCreateTime() {
method setCreateTime (line 72) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 76) | public Date getUpdateTime() {
method setUpdateTime (line 80) | public void setUpdateTime(Date updateTime) {
method getMessage (line 84) | public String getMessage() {
method setMessage (line 88) | public void setMessage(String message) {
method equals (line 92) | @Override
method hashCode (line 114) | @Override
method toString (line 129) | @Override
FILE: src/main/java/com/zmh/projectoa/model/MessagesExample.java
class MessagesExample (line 7) | public class MessagesExample {
method MessagesExample (line 18) | public MessagesExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andTitleIsNull (line 188) | public Criteria andTitleIsNull() {
method andTitleIsNotNull (line 193) | public Criteria andTitleIsNotNull() {
method andTitleEqualTo (line 198) | public Criteria andTitleEqualTo(String value) {
method andTitleNotEqualTo (line 203) | public Criteria andTitleNotEqualTo(String value) {
method andTitleGreaterThan (line 208) | public Criteria andTitleGreaterThan(String value) {
method andTitleGreaterThanOrEqualTo (line 213) | public Criteria andTitleGreaterThanOrEqualTo(String value) {
method andTitleLessThan (line 218) | public Criteria andTitleLessThan(String value) {
method andTitleLessThanOrEqualTo (line 223) | public Criteria andTitleLessThanOrEqualTo(String value) {
method andTitleLike (line 228) | public Criteria andTitleLike(String value) {
method andTitleNotLike (line 233) | public Criteria andTitleNotLike(String value) {
method andTitleIn (line 238) | public Criteria andTitleIn(List<String> values) {
method andTitleNotIn (line 243) | public Criteria andTitleNotIn(List<String> values) {
method andTitleBetween (line 248) | public Criteria andTitleBetween(String value1, String value2) {
method andTitleNotBetween (line 253) | public Criteria andTitleNotBetween(String value1, String value2) {
method andSendIdIsNull (line 258) | public Criteria andSendIdIsNull() {
method andSendIdIsNotNull (line 263) | public Criteria andSendIdIsNotNull() {
method andSendIdEqualTo (line 268) | public Criteria andSendIdEqualTo(Integer value) {
method andSendIdNotEqualTo (line 273) | public Criteria andSendIdNotEqualTo(Integer value) {
method andSendIdGreaterThan (line 278) | public Criteria andSendIdGreaterThan(Integer value) {
method andSendIdGreaterThanOrEqualTo (line 283) | public Criteria andSendIdGreaterThanOrEqualTo(Integer value) {
method andSendIdLessThan (line 288) | public Criteria andSendIdLessThan(Integer value) {
method andSendIdLessThanOrEqualTo (line 293) | public Criteria andSendIdLessThanOrEqualTo(Integer value) {
method andSendIdIn (line 298) | public Criteria andSendIdIn(List<Integer> values) {
method andSendIdNotIn (line 303) | public Criteria andSendIdNotIn(List<Integer> values) {
method andSendIdBetween (line 308) | public Criteria andSendIdBetween(Integer value1, Integer value2) {
method andSendIdNotBetween (line 313) | public Criteria andSendIdNotBetween(Integer value1, Integer value2) {
method andReceiveIdIsNull (line 318) | public Criteria andReceiveIdIsNull() {
method andReceiveIdIsNotNull (line 323) | public Criteria andReceiveIdIsNotNull() {
method andReceiveIdEqualTo (line 328) | public Criteria andReceiveIdEqualTo(Integer value) {
method andReceiveIdNotEqualTo (line 333) | public Criteria andReceiveIdNotEqualTo(Integer value) {
method andReceiveIdGreaterThan (line 338) | public Criteria andReceiveIdGreaterThan(Integer value) {
method andReceiveIdGreaterThanOrEqualTo (line 343) | public Criteria andReceiveIdGreaterThanOrEqualTo(Integer value) {
method andReceiveIdLessThan (line 348) | public Criteria andReceiveIdLessThan(Integer value) {
method andReceiveIdLessThanOrEqualTo (line 353) | public Criteria andReceiveIdLessThanOrEqualTo(Integer value) {
method andReceiveIdIn (line 358) | public Criteria andReceiveIdIn(List<Integer> values) {
method andReceiveIdNotIn (line 363) | public Criteria andReceiveIdNotIn(List<Integer> values) {
method andReceiveIdBetween (line 368) | public Criteria andReceiveIdBetween(Integer value1, Integer value2) {
method andReceiveIdNotBetween (line 373) | public Criteria andReceiveIdNotBetween(Integer value1, Integer value...
method andIsDelIsNull (line 378) | public Criteria andIsDelIsNull() {
method andIsDelIsNotNull (line 383) | public Criteria andIsDelIsNotNull() {
method andIsDelEqualTo (line 388) | public Criteria andIsDelEqualTo(String value) {
method andIsDelNotEqualTo (line 393) | public Criteria andIsDelNotEqualTo(String value) {
method andIsDelGreaterThan (line 398) | public Criteria andIsDelGreaterThan(String value) {
method andIsDelGreaterThanOrEqualTo (line 403) | public Criteria andIsDelGreaterThanOrEqualTo(String value) {
method andIsDelLessThan (line 408) | public Criteria andIsDelLessThan(String value) {
method andIsDelLessThanOrEqualTo (line 413) | public Criteria andIsDelLessThanOrEqualTo(String value) {
method andIsDelLike (line 418) | public Criteria andIsDelLike(String value) {
method andIsDelNotLike (line 423) | public Criteria andIsDelNotLike(String value) {
method andIsDelIn (line 428) | public Criteria andIsDelIn(List<String> values) {
method andIsDelNotIn (line 433) | public Criteria andIsDelNotIn(List<String> values) {
method andIsDelBetween (line 438) | public Criteria andIsDelBetween(String value1, String value2) {
method andIsDelNotBetween (line 443) | public Criteria andIsDelNotBetween(String value1, String value2) {
method andCreateTimeIsNull (line 448) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 453) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 458) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 463) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 468) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 473) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 478) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 483) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 488) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 493) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 498) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 503) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 508) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 513) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 518) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 523) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 528) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 533) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 538) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 543) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 548) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 553) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 558) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 563) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 571) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 573) | protected Criteria() {
class Criterion (line 578) | public static class Criterion {
method getCondition (line 595) | public String getCondition() {
method getValue (line 599) | public Object getValue() {
method getSecondValue (line 603) | public Object getSecondValue() {
method isNoValue (line 607) | public boolean isNoValue() {
method isSingleValue (line 611) | public boolean isSingleValue() {
method isBetweenValue (line 615) | public boolean isBetweenValue() {
method isListValue (line 619) | public boolean isListValue() {
method getTypeHandler (line 623) | public String getTypeHandler() {
method Criterion (line 627) | protected Criterion(String condition) {
method Criterion (line 634) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 646) | protected Criterion(String condition, Object value) {
method Criterion (line 650) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 659) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Notices.java
class Notices (line 9) | public class Notices implements Serializable {
method getId (line 26) | public Integer getId() {
method setId (line 30) | public void setId(Integer id) {
method getTitle (line 34) | public String getTitle() {
method setTitle (line 38) | public void setTitle(String title) {
method getSendId (line 42) | public Integer getSendId() {
method setSendId (line 46) | public void setSendId(Integer sendId) {
method getIsDel (line 50) | public String getIsDel() {
method setIsDel (line 54) | public void setIsDel(String isDel) {
method getCreateTime (line 58) | public Date getCreateTime() {
method setCreateTime (line 62) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 66) | public Date getUpdateTime() {
method setUpdateTime (line 70) | public void setUpdateTime(Date updateTime) {
method getNotice (line 74) | public String getNotice() {
method setNotice (line 78) | public void setNotice(String notice) {
method equals (line 82) | @Override
method hashCode (line 103) | @Override
method toString (line 117) | @Override
FILE: src/main/java/com/zmh/projectoa/model/NoticesExample.java
class NoticesExample (line 7) | public class NoticesExample {
method NoticesExample (line 18) | public NoticesExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andTitleIsNull (line 188) | public Criteria andTitleIsNull() {
method andTitleIsNotNull (line 193) | public Criteria andTitleIsNotNull() {
method andTitleEqualTo (line 198) | public Criteria andTitleEqualTo(String value) {
method andTitleNotEqualTo (line 203) | public Criteria andTitleNotEqualTo(String value) {
method andTitleGreaterThan (line 208) | public Criteria andTitleGreaterThan(String value) {
method andTitleGreaterThanOrEqualTo (line 213) | public Criteria andTitleGreaterThanOrEqualTo(String value) {
method andTitleLessThan (line 218) | public Criteria andTitleLessThan(String value) {
method andTitleLessThanOrEqualTo (line 223) | public Criteria andTitleLessThanOrEqualTo(String value) {
method andTitleLike (line 228) | public Criteria andTitleLike(String value) {
method andTitleNotLike (line 233) | public Criteria andTitleNotLike(String value) {
method andTitleIn (line 238) | public Criteria andTitleIn(List<String> values) {
method andTitleNotIn (line 243) | public Criteria andTitleNotIn(List<String> values) {
method andTitleBetween (line 248) | public Criteria andTitleBetween(String value1, String value2) {
method andTitleNotBetween (line 253) | public Criteria andTitleNotBetween(String value1, String value2) {
method andSendIdIsNull (line 258) | public Criteria andSendIdIsNull() {
method andSendIdIsNotNull (line 263) | public Criteria andSendIdIsNotNull() {
method andSendIdEqualTo (line 268) | public Criteria andSendIdEqualTo(Integer value) {
method andSendIdNotEqualTo (line 273) | public Criteria andSendIdNotEqualTo(Integer value) {
method andSendIdGreaterThan (line 278) | public Criteria andSendIdGreaterThan(Integer value) {
method andSendIdGreaterThanOrEqualTo (line 283) | public Criteria andSendIdGreaterThanOrEqualTo(Integer value) {
method andSendIdLessThan (line 288) | public Criteria andSendIdLessThan(Integer value) {
method andSendIdLessThanOrEqualTo (line 293) | public Criteria andSendIdLessThanOrEqualTo(Integer value) {
method andSendIdIn (line 298) | public Criteria andSendIdIn(List<Integer> values) {
method andSendIdNotIn (line 303) | public Criteria andSendIdNotIn(List<Integer> values) {
method andSendIdBetween (line 308) | public Criteria andSendIdBetween(Integer value1, Integer value2) {
method andSendIdNotBetween (line 313) | public Criteria andSendIdNotBetween(Integer value1, Integer value2) {
method andIsDelIsNull (line 318) | public Criteria andIsDelIsNull() {
method andIsDelIsNotNull (line 323) | public Criteria andIsDelIsNotNull() {
method andIsDelEqualTo (line 328) | public Criteria andIsDelEqualTo(String value) {
method andIsDelNotEqualTo (line 333) | public Criteria andIsDelNotEqualTo(String value) {
method andIsDelGreaterThan (line 338) | public Criteria andIsDelGreaterThan(String value) {
method andIsDelGreaterThanOrEqualTo (line 343) | public Criteria andIsDelGreaterThanOrEqualTo(String value) {
method andIsDelLessThan (line 348) | public Criteria andIsDelLessThan(String value) {
method andIsDelLessThanOrEqualTo (line 353) | public Criteria andIsDelLessThanOrEqualTo(String value) {
method andIsDelLike (line 358) | public Criteria andIsDelLike(String value) {
method andIsDelNotLike (line 363) | public Criteria andIsDelNotLike(String value) {
method andIsDelIn (line 368) | public Criteria andIsDelIn(List<String> values) {
method andIsDelNotIn (line 373) | public Criteria andIsDelNotIn(List<String> values) {
method andIsDelBetween (line 378) | public Criteria andIsDelBetween(String value1, String value2) {
method andIsDelNotBetween (line 383) | public Criteria andIsDelNotBetween(String value1, String value2) {
method andCreateTimeIsNull (line 388) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 393) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 398) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 403) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 408) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 413) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 418) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 423) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 428) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 433) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 438) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 443) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 448) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 453) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 458) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 463) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 468) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 473) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 478) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 483) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 488) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 493) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 498) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 503) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 511) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 513) | protected Criteria() {
class Criterion (line 518) | public static class Criterion {
method getCondition (line 535) | public String getCondition() {
method getValue (line 539) | public Object getValue() {
method getSecondValue (line 543) | public Object getSecondValue() {
method isNoValue (line 547) | public boolean isNoValue() {
method isSingleValue (line 551) | public boolean isSingleValue() {
method isBetweenValue (line 555) | public boolean isBetweenValue() {
method isListValue (line 559) | public boolean isListValue() {
method getTypeHandler (line 563) | public String getTypeHandler() {
method Criterion (line 567) | protected Criterion(String condition) {
method Criterion (line 574) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 586) | protected Criterion(String condition, Object value) {
method Criterion (line 590) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 599) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Positions.java
class Positions (line 9) | public class Positions implements Serializable {
method getId (line 20) | public Integer getId() {
method setId (line 24) | public void setId(Integer id) {
method getPosition (line 28) | public String getPosition() {
method setPosition (line 32) | public void setPosition(String position) {
method getCreateTime (line 36) | public Date getCreateTime() {
method setCreateTime (line 40) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 44) | public Date getUpdateTime() {
method setUpdateTime (line 48) | public void setUpdateTime(Date updateTime) {
method equals (line 52) | @Override
method hashCode (line 70) | @Override
method toString (line 81) | @Override
FILE: src/main/java/com/zmh/projectoa/model/PositionsExample.java
class PositionsExample (line 7) | public class PositionsExample {
method PositionsExample (line 18) | public PositionsExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andPositionIsNull (line 188) | public Criteria andPositionIsNull() {
method andPositionIsNotNull (line 193) | public Criteria andPositionIsNotNull() {
method andPositionEqualTo (line 198) | public Criteria andPositionEqualTo(String value) {
method andPositionNotEqualTo (line 203) | public Criteria andPositionNotEqualTo(String value) {
method andPositionGreaterThan (line 208) | public Criteria andPositionGreaterThan(String value) {
method andPositionGreaterThanOrEqualTo (line 213) | public Criteria andPositionGreaterThanOrEqualTo(String value) {
method andPositionLessThan (line 218) | public Criteria andPositionLessThan(String value) {
method andPositionLessThanOrEqualTo (line 223) | public Criteria andPositionLessThanOrEqualTo(String value) {
method andPositionLike (line 228) | public Criteria andPositionLike(String value) {
method andPositionNotLike (line 233) | public Criteria andPositionNotLike(String value) {
method andPositionIn (line 238) | public Criteria andPositionIn(List<String> values) {
method andPositionNotIn (line 243) | public Criteria andPositionNotIn(List<String> values) {
method andPositionBetween (line 248) | public Criteria andPositionBetween(String value1, String value2) {
method andPositionNotBetween (line 253) | public Criteria andPositionNotBetween(String value1, String value2) {
method andCreateTimeIsNull (line 258) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 263) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 268) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 273) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 278) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 283) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 288) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 293) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 298) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 303) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 308) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 313) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 318) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 323) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 328) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 333) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 338) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 343) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 348) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 353) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 358) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 363) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 368) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 373) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 381) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 383) | protected Criteria() {
class Criterion (line 388) | public static class Criterion {
method getCondition (line 405) | public String getCondition() {
method getValue (line 409) | public Object getValue() {
method getSecondValue (line 413) | public Object getSecondValue() {
method isNoValue (line 417) | public boolean isNoValue() {
method isSingleValue (line 421) | public boolean isSingleValue() {
method isBetweenValue (line 425) | public boolean isBetweenValue() {
method isListValue (line 429) | public boolean isListValue() {
method getTypeHandler (line 433) | public String getTypeHandler() {
method Criterion (line 437) | protected Criterion(String condition) {
method Criterion (line 444) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 456) | protected Criterion(String condition, Object value) {
method Criterion (line 460) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 469) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Userinfo.java
class Userinfo (line 9) | public class Userinfo implements Serializable {
method getHeadImage (line 40) | public Integer getHeadImage() {
method setHeadImage (line 44) | public void setHeadImage(Integer headImage) {
method getId (line 50) | public Integer getId() {
method setId (line 54) | public void setId(Integer id) {
method getUserId (line 58) | public Integer getUserId() {
method setUserId (line 62) | public void setUserId(Integer userId) {
method getSex (line 66) | public String getSex() {
method setSex (line 70) | public void setSex(String sex) {
method getBirthday (line 74) | public Date getBirthday() {
method setBirthday (line 78) | public void setBirthday(Date birthday) {
method getAge (line 82) | public Integer getAge() {
method setAge (line 86) | public void setAge(Integer age) {
method getIdentityCard (line 90) | public String getIdentityCard() {
method setIdentityCard (line 94) | public void setIdentityCard(String identityCard) {
method getEmail (line 98) | public String getEmail() {
method setEmail (line 102) | public void setEmail(String email) {
method getQq (line 106) | public Integer getQq() {
method setQq (line 110) | public void setQq(Integer qq) {
method getWechat (line 114) | public String getWechat() {
method setWechat (line 118) | public void setWechat(String wechat) {
method getWeibo (line 122) | public String getWeibo() {
method setWeibo (line 126) | public void setWeibo(String weibo) {
method getPhone (line 130) | public String getPhone() {
method setPhone (line 134) | public void setPhone(String phone) {
method getIsDel (line 138) | public String getIsDel() {
method setIsDel (line 142) | public void setIsDel(String isDel) {
method getCreateTime (line 146) | public Date getCreateTime() {
method setCreateTime (line 150) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 154) | public Date getUpdateTime() {
method setUpdateTime (line 158) | public void setUpdateTime(Date updateTime) {
method equals (line 162) | @Override
method hashCode (line 190) | @Override
method toString (line 211) | @Override
FILE: src/main/java/com/zmh/projectoa/model/UserinfoExample.java
class UserinfoExample (line 8) | public class UserinfoExample {
method UserinfoExample (line 19) | public UserinfoExample() {
method setOrderByClause (line 23) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 27) | public String getOrderByClause() {
method setDistinct (line 31) | public void setDistinct(boolean distinct) {
method isDistinct (line 35) | public boolean isDistinct() {
method getOredCriteria (line 39) | public List<Criteria> getOredCriteria() {
method or (line 43) | public void or(Criteria criteria) {
method or (line 47) | public Criteria or() {
method createCriteria (line 53) | public Criteria createCriteria() {
method createCriteriaInternal (line 61) | protected Criteria createCriteriaInternal() {
method clear (line 66) | public void clear() {
method setLimit (line 72) | public void setLimit(Integer limit) {
method getLimit (line 76) | public Integer getLimit() {
method setOffset (line 80) | public void setOffset(Integer offset) {
method getOffset (line 84) | public Integer getOffset() {
class GeneratedCriteria (line 88) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 91) | protected GeneratedCriteria() {
method isValid (line 96) | public boolean isValid() {
method getAllCriteria (line 100) | public List<Criterion> getAllCriteria() {
method getCriteria (line 104) | public List<Criterion> getCriteria() {
method addCriterion (line 108) | protected void addCriterion(String condition) {
method addCriterion (line 115) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 122) | protected void addCriterion(String condition, Object value1, Object ...
method addCriterionForJDBCDate (line 129) | protected void addCriterionForJDBCDate(String condition, Date value,...
method addCriterionForJDBCDate (line 136) | protected void addCriterionForJDBCDate(String condition, List<Date> ...
method addCriterionForJDBCDate (line 148) | protected void addCriterionForJDBCDate(String condition, Date value1...
method andIdIsNull (line 155) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 160) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 165) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 170) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 175) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 180) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 185) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 190) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 195) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 200) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 205) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 210) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andUserIdIsNull (line 215) | public Criteria andUserIdIsNull() {
method andUserIdIsNotNull (line 220) | public Criteria andUserIdIsNotNull() {
method andUserIdEqualTo (line 225) | public Criteria andUserIdEqualTo(Integer value) {
method andUserIdNotEqualTo (line 230) | public Criteria andUserIdNotEqualTo(Integer value) {
method andUserIdGreaterThan (line 235) | public Criteria andUserIdGreaterThan(Integer value) {
method andUserIdGreaterThanOrEqualTo (line 240) | public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
method andUserIdLessThan (line 245) | public Criteria andUserIdLessThan(Integer value) {
method andUserIdLessThanOrEqualTo (line 250) | public Criteria andUserIdLessThanOrEqualTo(Integer value) {
method andUserIdIn (line 255) | public Criteria andUserIdIn(List<Integer> values) {
method andUserIdNotIn (line 260) | public Criteria andUserIdNotIn(List<Integer> values) {
method andUserIdBetween (line 265) | public Criteria andUserIdBetween(Integer value1, Integer value2) {
method andUserIdNotBetween (line 270) | public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
method andSexIsNull (line 275) | public Criteria andSexIsNull() {
method andSexIsNotNull (line 280) | public Criteria andSexIsNotNull() {
method andSexEqualTo (line 285) | public Criteria andSexEqualTo(String value) {
method andSexNotEqualTo (line 290) | public Criteria andSexNotEqualTo(String value) {
method andSexGreaterThan (line 295) | public Criteria andSexGreaterThan(String value) {
method andSexGreaterThanOrEqualTo (line 300) | public Criteria andSexGreaterThanOrEqualTo(String value) {
method andSexLessThan (line 305) | public Criteria andSexLessThan(String value) {
method andSexLessThanOrEqualTo (line 310) | public Criteria andSexLessThanOrEqualTo(String value) {
method andSexLike (line 315) | public Criteria andSexLike(String value) {
method andSexNotLike (line 320) | public Criteria andSexNotLike(String value) {
method andSexIn (line 325) | public Criteria andSexIn(List<String> values) {
method andSexNotIn (line 330) | public Criteria andSexNotIn(List<String> values) {
method andSexBetween (line 335) | public Criteria andSexBetween(String value1, String value2) {
method andSexNotBetween (line 340) | public Criteria andSexNotBetween(String value1, String value2) {
method andBirthdayIsNull (line 345) | public Criteria andBirthdayIsNull() {
method andBirthdayIsNotNull (line 350) | public Criteria andBirthdayIsNotNull() {
method andBirthdayEqualTo (line 355) | public Criteria andBirthdayEqualTo(Date value) {
method andBirthdayNotEqualTo (line 360) | public Criteria andBirthdayNotEqualTo(Date value) {
method andBirthdayGreaterThan (line 365) | public Criteria andBirthdayGreaterThan(Date value) {
method andBirthdayGreaterThanOrEqualTo (line 370) | public Criteria andBirthdayGreaterThanOrEqualTo(Date value) {
method andBirthdayLessThan (line 375) | public Criteria andBirthdayLessThan(Date value) {
method andBirthdayLessThanOrEqualTo (line 380) | public Criteria andBirthdayLessThanOrEqualTo(Date value) {
method andBirthdayIn (line 385) | public Criteria andBirthdayIn(List<Date> values) {
method andBirthdayNotIn (line 390) | public Criteria andBirthdayNotIn(List<Date> values) {
method andBirthdayBetween (line 395) | public Criteria andBirthdayBetween(Date value1, Date value2) {
method andBirthdayNotBetween (line 400) | public Criteria andBirthdayNotBetween(Date value1, Date value2) {
method andAgeIsNull (line 405) | public Criteria andAgeIsNull() {
method andAgeIsNotNull (line 410) | public Criteria andAgeIsNotNull() {
method andAgeEqualTo (line 415) | public Criteria andAgeEqualTo(Integer value) {
method andAgeNotEqualTo (line 420) | public Criteria andAgeNotEqualTo(Integer value) {
method andAgeGreaterThan (line 425) | public Criteria andAgeGreaterThan(Integer value) {
method andAgeGreaterThanOrEqualTo (line 430) | public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
method andAgeLessThan (line 435) | public Criteria andAgeLessThan(Integer value) {
method andAgeLessThanOrEqualTo (line 440) | public Criteria andAgeLessThanOrEqualTo(Integer value) {
method andAgeIn (line 445) | public Criteria andAgeIn(List<Integer> values) {
method andAgeNotIn (line 450) | public Criteria andAgeNotIn(List<Integer> values) {
method andAgeBetween (line 455) | public Criteria andAgeBetween(Integer value1, Integer value2) {
method andAgeNotBetween (line 460) | public Criteria andAgeNotBetween(Integer value1, Integer value2) {
method andIdentityCardIsNull (line 465) | public Criteria andIdentityCardIsNull() {
method andIdentityCardIsNotNull (line 470) | public Criteria andIdentityCardIsNotNull() {
method andIdentityCardEqualTo (line 475) | public Criteria andIdentityCardEqualTo(String value) {
method andIdentityCardNotEqualTo (line 480) | public Criteria andIdentityCardNotEqualTo(String value) {
method andIdentityCardGreaterThan (line 485) | public Criteria andIdentityCardGreaterThan(String value) {
method andIdentityCardGreaterThanOrEqualTo (line 490) | public Criteria andIdentityCardGreaterThanOrEqualTo(String value) {
method andIdentityCardLessThan (line 495) | public Criteria andIdentityCardLessThan(String value) {
method andIdentityCardLessThanOrEqualTo (line 500) | public Criteria andIdentityCardLessThanOrEqualTo(String value) {
method andIdentityCardLike (line 505) | public Criteria andIdentityCardLike(String value) {
method andIdentityCardNotLike (line 510) | public Criteria andIdentityCardNotLike(String value) {
method andIdentityCardIn (line 515) | public Criteria andIdentityCardIn(List<String> values) {
method andIdentityCardNotIn (line 520) | public Criteria andIdentityCardNotIn(List<String> values) {
method andIdentityCardBetween (line 525) | public Criteria andIdentityCardBetween(String value1, String value2) {
method andIdentityCardNotBetween (line 530) | public Criteria andIdentityCardNotBetween(String value1, String valu...
method andEmailIsNull (line 535) | public Criteria andEmailIsNull() {
method andEmailIsNotNull (line 540) | public Criteria andEmailIsNotNull() {
method andEmailEqualTo (line 545) | public Criteria andEmailEqualTo(String value) {
method andEmailNotEqualTo (line 550) | public Criteria andEmailNotEqualTo(String value) {
method andEmailGreaterThan (line 555) | public Criteria andEmailGreaterThan(String value) {
method andEmailGreaterThanOrEqualTo (line 560) | public Criteria andEmailGreaterThanOrEqualTo(String value) {
method andEmailLessThan (line 565) | public Criteria andEmailLessThan(String value) {
method andEmailLessThanOrEqualTo (line 570) | public Criteria andEmailLessThanOrEqualTo(String value) {
method andEmailLike (line 575) | public Criteria andEmailLike(String value) {
method andEmailNotLike (line 580) | public Criteria andEmailNotLike(String value) {
method andEmailIn (line 585) | public Criteria andEmailIn(List<String> values) {
method andEmailNotIn (line 590) | public Criteria andEmailNotIn(List<String> values) {
method andEmailBetween (line 595) | public Criteria andEmailBetween(String value1, String value2) {
method andEmailNotBetween (line 600) | public Criteria andEmailNotBetween(String value1, String value2) {
method andQqIsNull (line 605) | public Criteria andQqIsNull() {
method andQqIsNotNull (line 610) | public Criteria andQqIsNotNull() {
method andQqEqualTo (line 615) | public Criteria andQqEqualTo(Integer value) {
method andQqNotEqualTo (line 620) | public Criteria andQqNotEqualTo(Integer value) {
method andQqGreaterThan (line 625) | public Criteria andQqGreaterThan(Integer value) {
method andQqGreaterThanOrEqualTo (line 630) | public Criteria andQqGreaterThanOrEqualTo(Integer value) {
method andQqLessThan (line 635) | public Criteria andQqLessThan(Integer value) {
method andQqLessThanOrEqualTo (line 640) | public Criteria andQqLessThanOrEqualTo(Integer value) {
method andQqIn (line 645) | public Criteria andQqIn(List<Integer> values) {
method andQqNotIn (line 650) | public Criteria andQqNotIn(List<Integer> values) {
method andQqBetween (line 655) | public Criteria andQqBetween(Integer value1, Integer value2) {
method andQqNotBetween (line 660) | public Criteria andQqNotBetween(Integer value1, Integer value2) {
method andWechatIsNull (line 665) | public Criteria andWechatIsNull() {
method andWechatIsNotNull (line 670) | public Criteria andWechatIsNotNull() {
method andWechatEqualTo (line 675) | public Criteria andWechatEqualTo(String value) {
method andWechatNotEqualTo (line 680) | public Criteria andWechatNotEqualTo(String value) {
method andWechatGreaterThan (line 685) | public Criteria andWechatGreaterThan(String value) {
method andWechatGreaterThanOrEqualTo (line 690) | public Criteria andWechatGreaterThanOrEqualTo(String value) {
method andWechatLessThan (line 695) | public Criteria andWechatLessThan(String value) {
method andWechatLessThanOrEqualTo (line 700) | public Criteria andWechatLessThanOrEqualTo(String value) {
method andWechatLike (line 705) | public Criteria andWechatLike(String value) {
method andWechatNotLike (line 710) | public Criteria andWechatNotLike(String value) {
method andWechatIn (line 715) | public Criteria andWechatIn(List<String> values) {
method andWechatNotIn (line 720) | public Criteria andWechatNotIn(List<String> values) {
method andWechatBetween (line 725) | public Criteria andWechatBetween(String value1, String value2) {
method andWechatNotBetween (line 730) | public Criteria andWechatNotBetween(String value1, String value2) {
method andWeiboIsNull (line 735) | public Criteria andWeiboIsNull() {
method andWeiboIsNotNull (line 740) | public Criteria andWeiboIsNotNull() {
method andWeiboEqualTo (line 745) | public Criteria andWeiboEqualTo(String value) {
method andWeiboNotEqualTo (line 750) | public Criteria andWeiboNotEqualTo(String value) {
method andWeiboGreaterThan (line 755) | public Criteria andWeiboGreaterThan(String value) {
method andWeiboGreaterThanOrEqualTo (line 760) | public Criteria andWeiboGreaterThanOrEqualTo(String value) {
method andWeiboLessThan (line 765) | public Criteria andWeiboLessThan(String value) {
method andWeiboLessThanOrEqualTo (line 770) | public Criteria andWeiboLessThanOrEqualTo(String value) {
method andWeiboLike (line 775) | public Criteria andWeiboLike(String value) {
method andWeiboNotLike (line 780) | public Criteria andWeiboNotLike(String value) {
method andWeiboIn (line 785) | public Criteria andWeiboIn(List<String> values) {
method andWeiboNotIn (line 790) | public Criteria andWeiboNotIn(List<String> values) {
method andWeiboBetween (line 795) | public Criteria andWeiboBetween(String value1, String value2) {
method andWeiboNotBetween (line 800) | public Criteria andWeiboNotBetween(String value1, String value2) {
method andPhoneIsNull (line 805) | public Criteria andPhoneIsNull() {
method andPhoneIsNotNull (line 810) | public Criteria andPhoneIsNotNull() {
method andPhoneEqualTo (line 815) | public Criteria andPhoneEqualTo(String value) {
method andPhoneNotEqualTo (line 820) | public Criteria andPhoneNotEqualTo(String value) {
method andPhoneGreaterThan (line 825) | public Criteria andPhoneGreaterThan(String value) {
method andPhoneGreaterThanOrEqualTo (line 830) | public Criteria andPhoneGreaterThanOrEqualTo(String value) {
method andPhoneLessThan (line 835) | public Criteria andPhoneLessThan(String value) {
method andPhoneLessThanOrEqualTo (line 840) | public Criteria andPhoneLessThanOrEqualTo(String value) {
method andPhoneLike (line 845) | public Criteria andPhoneLike(String value) {
method andPhoneNotLike (line 850) | public Criteria andPhoneNotLike(String value) {
method andPhoneIn (line 855) | public Criteria andPhoneIn(List<String> values) {
method andPhoneNotIn (line 860) | public Criteria andPhoneNotIn(List<String> values) {
method andPhoneBetween (line 865) | public Criteria andPhoneBetween(String value1, String value2) {
method andPhoneNotBetween (line 870) | public Criteria andPhoneNotBetween(String value1, String value2) {
method andIsDelIsNull (line 875) | public Criteria andIsDelIsNull() {
method andIsDelIsNotNull (line 880) | public Criteria andIsDelIsNotNull() {
method andIsDelEqualTo (line 885) | public Criteria andIsDelEqualTo(String value) {
method andIsDelNotEqualTo (line 890) | public Criteria andIsDelNotEqualTo(String value) {
method andIsDelGreaterThan (line 895) | public Criteria andIsDelGreaterThan(String value) {
method andIsDelGreaterThanOrEqualTo (line 900) | public Criteria andIsDelGreaterThanOrEqualTo(String value) {
method andIsDelLessThan (line 905) | public Criteria andIsDelLessThan(String value) {
method andIsDelLessThanOrEqualTo (line 910) | public Criteria andIsDelLessThanOrEqualTo(String value) {
method andIsDelLike (line 915) | public Criteria andIsDelLike(String value) {
method andIsDelNotLike (line 920) | public Criteria andIsDelNotLike(String value) {
method andIsDelIn (line 925) | public Criteria andIsDelIn(List<String> values) {
method andIsDelNotIn (line 930) | public Criteria andIsDelNotIn(List<String> values) {
method andIsDelBetween (line 935) | public Criteria andIsDelBetween(String value1, String value2) {
method andIsDelNotBetween (line 940) | public Criteria andIsDelNotBetween(String value1, String value2) {
method andCreateTimeIsNull (line 945) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 950) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 955) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 960) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 965) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 970) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 975) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 980) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 985) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 990) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 995) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 1000) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 1005) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 1010) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 1015) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 1020) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 1025) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 1030) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 1035) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 1040) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 1045) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 1050) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 1055) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 1060) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 1068) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 1070) | protected Criteria() {
class Criterion (line 1075) | public static class Criterion {
method getCondition (line 1092) | public String getCondition() {
method getValue (line 1096) | public Object getValue() {
method getSecondValue (line 1100) | public Object getSecondValue() {
method isNoValue (line 1104) | public boolean isNoValue() {
method isSingleValue (line 1108) | public boolean isSingleValue() {
method isBetweenValue (line 1112) | public boolean isBetweenValue() {
method isListValue (line 1116) | public boolean isListValue() {
method getTypeHandler (line 1120) | public String getTypeHandler() {
method Criterion (line 1124) | protected Criterion(String condition) {
method Criterion (line 1131) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 1143) | protected Criterion(String condition, Object value) {
method Criterion (line 1147) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 1156) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/model/Users.java
class Users (line 9) | public class Users implements Serializable {
method getId (line 32) | public Integer getId() {
method setId (line 36) | public void setId(Integer id) {
method getUsername (line 40) | public String getUsername() {
method setUsername (line 44) | public void setUsername(String username) {
method getPassword (line 48) | public String getPassword() {
method setPassword (line 52) | public void setPassword(String password) {
method getRealname (line 56) | public String getRealname() {
method setRealname (line 60) | public void setRealname(String realname) {
method getDepartmentId (line 64) | public Integer getDepartmentId() {
method setDepartmentId (line 68) | public void setDepartmentId(Integer departmentId) {
method getPositionId (line 72) | public Integer getPositionId() {
method setPositionId (line 76) | public void setPositionId(Integer positionId) {
method getIsDel (line 80) | public String getIsDel() {
method setIsDel (line 84) | public void setIsDel(String isDel) {
method getLastLoginTime (line 88) | public Date getLastLoginTime() {
method setLastLoginTime (line 92) | public void setLastLoginTime(Date lastLoginTime) {
method getCreateTime (line 96) | public Date getCreateTime() {
method setCreateTime (line 100) | public void setCreateTime(Date createTime) {
method getUpdateTime (line 104) | public Date getUpdateTime() {
method setUpdateTime (line 108) | public void setUpdateTime(Date updateTime) {
method equals (line 112) | @Override
method hashCode (line 136) | @Override
method toString (line 153) | @Override
FILE: src/main/java/com/zmh/projectoa/model/UsersExample.java
class UsersExample (line 7) | public class UsersExample {
method UsersExample (line 18) | public UsersExample() {
method setOrderByClause (line 22) | public void setOrderByClause(String orderByClause) {
method getOrderByClause (line 26) | public String getOrderByClause() {
method setDistinct (line 30) | public void setDistinct(boolean distinct) {
method isDistinct (line 34) | public boolean isDistinct() {
method getOredCriteria (line 38) | public List<Criteria> getOredCriteria() {
method or (line 42) | public void or(Criteria criteria) {
method or (line 46) | public Criteria or() {
method createCriteria (line 52) | public Criteria createCriteria() {
method createCriteriaInternal (line 60) | protected Criteria createCriteriaInternal() {
method clear (line 65) | public void clear() {
method setLimit (line 71) | public void setLimit(Integer limit) {
method getLimit (line 75) | public Integer getLimit() {
method setOffset (line 79) | public void setOffset(Integer offset) {
method getOffset (line 83) | public Integer getOffset() {
class GeneratedCriteria (line 87) | protected abstract static class GeneratedCriteria {
method GeneratedCriteria (line 90) | protected GeneratedCriteria() {
method isValid (line 95) | public boolean isValid() {
method getAllCriteria (line 99) | public List<Criterion> getAllCriteria() {
method getCriteria (line 103) | public List<Criterion> getCriteria() {
method addCriterion (line 107) | protected void addCriterion(String condition) {
method addCriterion (line 114) | protected void addCriterion(String condition, Object value, String p...
method addCriterion (line 121) | protected void addCriterion(String condition, Object value1, Object ...
method andIdIsNull (line 128) | public Criteria andIdIsNull() {
method andIdIsNotNull (line 133) | public Criteria andIdIsNotNull() {
method andIdEqualTo (line 138) | public Criteria andIdEqualTo(Integer value) {
method andIdNotEqualTo (line 143) | public Criteria andIdNotEqualTo(Integer value) {
method andIdGreaterThan (line 148) | public Criteria andIdGreaterThan(Integer value) {
method andIdGreaterThanOrEqualTo (line 153) | public Criteria andIdGreaterThanOrEqualTo(Integer value) {
method andIdLessThan (line 158) | public Criteria andIdLessThan(Integer value) {
method andIdLessThanOrEqualTo (line 163) | public Criteria andIdLessThanOrEqualTo(Integer value) {
method andIdIn (line 168) | public Criteria andIdIn(List<Integer> values) {
method andIdNotIn (line 173) | public Criteria andIdNotIn(List<Integer> values) {
method andIdBetween (line 178) | public Criteria andIdBetween(Integer value1, Integer value2) {
method andIdNotBetween (line 183) | public Criteria andIdNotBetween(Integer value1, Integer value2) {
method andUsernameIsNull (line 188) | public Criteria andUsernameIsNull() {
method andUsernameIsNotNull (line 193) | public Criteria andUsernameIsNotNull() {
method andUsernameEqualTo (line 198) | public Criteria andUsernameEqualTo(String value) {
method andUsernameNotEqualTo (line 203) | public Criteria andUsernameNotEqualTo(String value) {
method andUsernameGreaterThan (line 208) | public Criteria andUsernameGreaterThan(String value) {
method andUsernameGreaterThanOrEqualTo (line 213) | public Criteria andUsernameGreaterThanOrEqualTo(String value) {
method andUsernameLessThan (line 218) | public Criteria andUsernameLessThan(String value) {
method andUsernameLessThanOrEqualTo (line 223) | public Criteria andUsernameLessThanOrEqualTo(String value) {
method andUsernameLike (line 228) | public Criteria andUsernameLike(String value) {
method andUsernameNotLike (line 233) | public Criteria andUsernameNotLike(String value) {
method andUsernameIn (line 238) | public Criteria andUsernameIn(List<String> values) {
method andUsernameNotIn (line 243) | public Criteria andUsernameNotIn(List<String> values) {
method andUsernameBetween (line 248) | public Criteria andUsernameBetween(String value1, String value2) {
method andUsernameNotBetween (line 253) | public Criteria andUsernameNotBetween(String value1, String value2) {
method andPasswordIsNull (line 258) | public Criteria andPasswordIsNull() {
method andPasswordIsNotNull (line 263) | public Criteria andPasswordIsNotNull() {
method andPasswordEqualTo (line 268) | public Criteria andPasswordEqualTo(String value) {
method andPasswordNotEqualTo (line 273) | public Criteria andPasswordNotEqualTo(String value) {
method andPasswordGreaterThan (line 278) | public Criteria andPasswordGreaterThan(String value) {
method andPasswordGreaterThanOrEqualTo (line 283) | public Criteria andPasswordGreaterThanOrEqualTo(String value) {
method andPasswordLessThan (line 288) | public Criteria andPasswordLessThan(String value) {
method andPasswordLessThanOrEqualTo (line 293) | public Criteria andPasswordLessThanOrEqualTo(String value) {
method andPasswordLike (line 298) | public Criteria andPasswordLike(String value) {
method andPasswordNotLike (line 303) | public Criteria andPasswordNotLike(String value) {
method andPasswordIn (line 308) | public Criteria andPasswordIn(List<String> values) {
method andPasswordNotIn (line 313) | public Criteria andPasswordNotIn(List<String> values) {
method andPasswordBetween (line 318) | public Criteria andPasswordBetween(String value1, String value2) {
method andPasswordNotBetween (line 323) | public Criteria andPasswordNotBetween(String value1, String value2) {
method andRealnameIsNull (line 328) | public Criteria andRealnameIsNull() {
method andRealnameIsNotNull (line 333) | public Criteria andRealnameIsNotNull() {
method andRealnameEqualTo (line 338) | public Criteria andRealnameEqualTo(String value) {
method andRealnameNotEqualTo (line 343) | public Criteria andRealnameNotEqualTo(String value) {
method andRealnameGreaterThan (line 348) | public Criteria andRealnameGreaterThan(String value) {
method andRealnameGreaterThanOrEqualTo (line 353) | public Criteria andRealnameGreaterThanOrEqualTo(String value) {
method andRealnameLessThan (line 358) | public Criteria andRealnameLessThan(String value) {
method andRealnameLessThanOrEqualTo (line 363) | public Criteria andRealnameLessThanOrEqualTo(String value) {
method andRealnameLike (line 368) | public Criteria andRealnameLike(String value) {
method andRealnameNotLike (line 373) | public Criteria andRealnameNotLike(String value) {
method andRealnameIn (line 378) | public Criteria andRealnameIn(List<String> values) {
method andRealnameNotIn (line 383) | public Criteria andRealnameNotIn(List<String> values) {
method andRealnameBetween (line 388) | public Criteria andRealnameBetween(String value1, String value2) {
method andRealnameNotBetween (line 393) | public Criteria andRealnameNotBetween(String value1, String value2) {
method andDepartmentIdIsNull (line 398) | public Criteria andDepartmentIdIsNull() {
method andDepartmentIdIsNotNull (line 403) | public Criteria andDepartmentIdIsNotNull() {
method andDepartmentIdEqualTo (line 408) | public Criteria andDepartmentIdEqualTo(Integer value) {
method andDepartmentIdNotEqualTo (line 413) | public Criteria andDepartmentIdNotEqualTo(Integer value) {
method andDepartmentIdGreaterThan (line 418) | public Criteria andDepartmentIdGreaterThan(Integer value) {
method andDepartmentIdGreaterThanOrEqualTo (line 423) | public Criteria andDepartmentIdGreaterThanOrEqualTo(Integer value) {
method andDepartmentIdLessThan (line 428) | public Criteria andDepartmentIdLessThan(Integer value) {
method andDepartmentIdLessThanOrEqualTo (line 433) | public Criteria andDepartmentIdLessThanOrEqualTo(Integer value) {
method andDepartmentIdIn (line 438) | public Criteria andDepartmentIdIn(List<Integer> values) {
method andDepartmentIdNotIn (line 443) | public Criteria andDepartmentIdNotIn(List<Integer> values) {
method andDepartmentIdBetween (line 448) | public Criteria andDepartmentIdBetween(Integer value1, Integer value...
method andDepartmentIdNotBetween (line 453) | public Criteria andDepartmentIdNotBetween(Integer value1, Integer va...
method andPositionIdIsNull (line 458) | public Criteria andPositionIdIsNull() {
method andPositionIdIsNotNull (line 463) | public Criteria andPositionIdIsNotNull() {
method andPositionIdEqualTo (line 468) | public Criteria andPositionIdEqualTo(Integer value) {
method andPositionIdNotEqualTo (line 473) | public Criteria andPositionIdNotEqualTo(Integer value) {
method andPositionIdGreaterThan (line 478) | public Criteria andPositionIdGreaterThan(Integer value) {
method andPositionIdGreaterThanOrEqualTo (line 483) | public Criteria andPositionIdGreaterThanOrEqualTo(Integer value) {
method andPositionIdLessThan (line 488) | public Criteria andPositionIdLessThan(Integer value) {
method andPositionIdLessThanOrEqualTo (line 493) | public Criteria andPositionIdLessThanOrEqualTo(Integer value) {
method andPositionIdIn (line 498) | public Criteria andPositionIdIn(List<Integer> values) {
method andPositionIdNotIn (line 503) | public Criteria andPositionIdNotIn(List<Integer> values) {
method andPositionIdBetween (line 508) | public Criteria andPositionIdBetween(Integer value1, Integer value2) {
method andPositionIdNotBetween (line 513) | public Criteria andPositionIdNotBetween(Integer value1, Integer valu...
method andIsDelIsNull (line 518) | public Criteria andIsDelIsNull() {
method andIsDelIsNotNull (line 523) | public Criteria andIsDelIsNotNull() {
method andIsDelEqualTo (line 528) | public Criteria andIsDelEqualTo(String value) {
method andIsDelNotEqualTo (line 533) | public Criteria andIsDelNotEqualTo(String value) {
method andIsDelGreaterThan (line 538) | public Criteria andIsDelGreaterThan(String value) {
method andIsDelGreaterThanOrEqualTo (line 543) | public Criteria andIsDelGreaterThanOrEqualTo(String value) {
method andIsDelLessThan (line 548) | public Criteria andIsDelLessThan(String value) {
method andIsDelLessThanOrEqualTo (line 553) | public Criteria andIsDelLessThanOrEqualTo(String value) {
method andIsDelLike (line 558) | public Criteria andIsDelLike(String value) {
method andIsDelNotLike (line 563) | public Criteria andIsDelNotLike(String value) {
method andIsDelIn (line 568) | public Criteria andIsDelIn(List<String> values) {
method andIsDelNotIn (line 573) | public Criteria andIsDelNotIn(List<String> values) {
method andIsDelBetween (line 578) | public Criteria andIsDelBetween(String value1, String value2) {
method andIsDelNotBetween (line 583) | public Criteria andIsDelNotBetween(String value1, String value2) {
method andLastLoginTimeIsNull (line 588) | public Criteria andLastLoginTimeIsNull() {
method andLastLoginTimeIsNotNull (line 593) | public Criteria andLastLoginTimeIsNotNull() {
method andLastLoginTimeEqualTo (line 598) | public Criteria andLastLoginTimeEqualTo(Date value) {
method andLastLoginTimeNotEqualTo (line 603) | public Criteria andLastLoginTimeNotEqualTo(Date value) {
method andLastLoginTimeGreaterThan (line 608) | public Criteria andLastLoginTimeGreaterThan(Date value) {
method andLastLoginTimeGreaterThanOrEqualTo (line 613) | public Criteria andLastLoginTimeGreaterThanOrEqualTo(Date value) {
method andLastLoginTimeLessThan (line 618) | public Criteria andLastLoginTimeLessThan(Date value) {
method andLastLoginTimeLessThanOrEqualTo (line 623) | public Criteria andLastLoginTimeLessThanOrEqualTo(Date value) {
method andLastLoginTimeIn (line 628) | public Criteria andLastLoginTimeIn(List<Date> values) {
method andLastLoginTimeNotIn (line 633) | public Criteria andLastLoginTimeNotIn(List<Date> values) {
method andLastLoginTimeBetween (line 638) | public Criteria andLastLoginTimeBetween(Date value1, Date value2) {
method andLastLoginTimeNotBetween (line 643) | public Criteria andLastLoginTimeNotBetween(Date value1, Date value2) {
method andCreateTimeIsNull (line 648) | public Criteria andCreateTimeIsNull() {
method andCreateTimeIsNotNull (line 653) | public Criteria andCreateTimeIsNotNull() {
method andCreateTimeEqualTo (line 658) | public Criteria andCreateTimeEqualTo(Date value) {
method andCreateTimeNotEqualTo (line 663) | public Criteria andCreateTimeNotEqualTo(Date value) {
method andCreateTimeGreaterThan (line 668) | public Criteria andCreateTimeGreaterThan(Date value) {
method andCreateTimeGreaterThanOrEqualTo (line 673) | public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
method andCreateTimeLessThan (line 678) | public Criteria andCreateTimeLessThan(Date value) {
method andCreateTimeLessThanOrEqualTo (line 683) | public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
method andCreateTimeIn (line 688) | public Criteria andCreateTimeIn(List<Date> values) {
method andCreateTimeNotIn (line 693) | public Criteria andCreateTimeNotIn(List<Date> values) {
method andCreateTimeBetween (line 698) | public Criteria andCreateTimeBetween(Date value1, Date value2) {
method andCreateTimeNotBetween (line 703) | public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
method andUpdateTimeIsNull (line 708) | public Criteria andUpdateTimeIsNull() {
method andUpdateTimeIsNotNull (line 713) | public Criteria andUpdateTimeIsNotNull() {
method andUpdateTimeEqualTo (line 718) | public Criteria andUpdateTimeEqualTo(Date value) {
method andUpdateTimeNotEqualTo (line 723) | public Criteria andUpdateTimeNotEqualTo(Date value) {
method andUpdateTimeGreaterThan (line 728) | public Criteria andUpdateTimeGreaterThan(Date value) {
method andUpdateTimeGreaterThanOrEqualTo (line 733) | public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
method andUpdateTimeLessThan (line 738) | public Criteria andUpdateTimeLessThan(Date value) {
method andUpdateTimeLessThanOrEqualTo (line 743) | public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
method andUpdateTimeIn (line 748) | public Criteria andUpdateTimeIn(List<Date> values) {
method andUpdateTimeNotIn (line 753) | public Criteria andUpdateTimeNotIn(List<Date> values) {
method andUpdateTimeBetween (line 758) | public Criteria andUpdateTimeBetween(Date value1, Date value2) {
method andUpdateTimeNotBetween (line 763) | public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
class Criteria (line 771) | public static class Criteria extends GeneratedCriteria {
method Criteria (line 773) | protected Criteria() {
class Criterion (line 778) | public static class Criterion {
method getCondition (line 795) | public String getCondition() {
method getValue (line 799) | public Object getValue() {
method getSecondValue (line 803) | public Object getSecondValue() {
method isNoValue (line 807) | public boolean isNoValue() {
method isSingleValue (line 811) | public boolean isSingleValue() {
method isBetweenValue (line 815) | public boolean isBetweenValue() {
method isListValue (line 819) | public boolean isListValue() {
method getTypeHandler (line 823) | public String getTypeHandler() {
method Criterion (line 827) | protected Criterion(String condition) {
method Criterion (line 834) | protected Criterion(String condition, Object value, String typeHandl...
method Criterion (line 846) | protected Criterion(String condition, Object value) {
method Criterion (line 850) | protected Criterion(String condition, Object value, Object secondVal...
method Criterion (line 859) | protected Criterion(String condition, Object value, Object secondVal...
FILE: src/main/java/com/zmh/projectoa/service/DepartmentService.java
class DepartmentService (line 15) | @Service
method queryDepartment (line 24) | public List<Departments> queryDepartment(){
FILE: src/main/java/com/zmh/projectoa/service/MessageService.java
class MessageService (line 17) | @Service
method insertMessage (line 22) | public int insertMessage(Messages messages) {
method selectByIDs (line 29) | public List<Map<String,String>> selectByIDs(List<Integer> IDs){
method selectByreceiveID (line 36) | public PageInfo selectByreceiveID(Integer ID, Integer pageNum){
method selectByID (line 43) | public Messages selectByID(Integer id){
method getLastMessage (line 47) | public List<Map<String,String>> getLastMessage(Integer receiveID){
FILE: src/main/java/com/zmh/projectoa/service/NoticeService.java
class NoticeService (line 18) | @Service
method insertNotice (line 23) | public int insertNotice(Notices notices){
method getNotice (line 31) | public Notices getNotice(Integer noticeID){
method getAllNotices (line 39) | public PageInfo getAllNotices(Integer pageNum){
method selectByIDs (line 49) | public List<Map<String,String>> selectByIDs(List<Integer> IDs){
method selectByID (line 53) | public Notices selectByID(Integer id){
method getLastNotice (line 57) | public List<Map<String,String>> getLastNotice(){
FILE: src/main/java/com/zmh/projectoa/service/PositionService.java
class PositionService (line 15) | @Service
method queryPosition (line 25) | public List<Positions> queryPosition(){
FILE: src/main/java/com/zmh/projectoa/service/RedisService.java
class RedisService (line 17) | @Service
method setValue (line 22) | public void setValue(String key, String value) {
method getValue (line 26) | public String getValue(String key) {
FILE: src/main/java/com/zmh/projectoa/service/UserinfoService.java
class UserinfoService (line 12) | @Service
method getUserinfoByUserId (line 17) | public Userinfo getUserinfoByUserId(Integer id){
method saveUserinfo (line 22) | public int saveUserinfo(Userinfo userinfo){
FILE: src/main/java/com/zmh/projectoa/service/UsersService.java
class UsersService (line 27) | @Service
method createUser (line 41) | public int createUser(Users users){
method queryUserByUsername (line 68) | public Users queryUserByUsername(Users users){
method userList (line 77) | public PageInfo userList(Map<String, Object> map, Integer pageNum){
method detailUser (line 93) | public Users detailUser(Integer id){
method editUser (line 104) | public int editUser(Integer id, Users user){
method deleteUser (line 116) | public int deleteUser(Integer id){
method reverseUser (line 136) | public int reverseUser(Integer id){
method getAllUser (line 152) | public ReturnDto getAllUser(Integer id){
method getAllUsers (line 157) | public List<Users> getAllUsers(){
FILE: src/main/java/com/zmh/projectoa/util/JSONUtil.java
class JSONUtil (line 6) | public class JSONUtil {
method String2List (line 12) | public static List<Integer> String2List(String string) {
method List2String (line 25) | public static String List2String(List<Integer> list) {
FILE: src/main/java/com/zmh/projectoa/util/MD5Util.java
class MD5Util (line 9) | public class MD5Util {
method string2MD5 (line 14) | public static String string2MD5(String inStr){
FILE: src/main/java/com/zmh/projectoa/util/ParameterUtil.java
class ParameterUtil (line 12) | public class ParameterUtil {
method getParameterMap (line 14) | @SuppressWarnings("unchecked")
FILE: src/main/java/com/zmh/projectoa/util/ReadFileUtil.java
class ReadFileUtil (line 15) | public class ReadFileUtil {
method getFileName (line 22) | public static ReturnDto getFileName(String filePath) {
method readFileByLines (line 44) | public static ReturnDto readFileByLines(String filePath, String fileNa...
FILE: src/main/resources/static/assets/js/app.js
function autoLeftNav (line 329) | function autoLeftNav() {
FILE: src/main/resources/static/assets/js/calculator.js
function typetoinput (line 6) | function typetoinput(num)
function operator (line 33) | function operator(type)
function result (line 150) | function result(value)
function checknum (line 168) | function checknum(inputvalue)
function disableRefresh (line 178) | function disableRefresh(evt){
FILE: src/main/resources/static/assets/js/moment.js
function utils_hooks__hooks (line 15) | function utils_hooks__hooks () {
function setHookCallback (line 21) | function setHookCallback (callback) {
function isArray (line 25) | function isArray(input) {
function isObject (line 29) | function isObject(input) {
function isObjectEmpty (line 35) | function isObjectEmpty(obj) {
function isDate (line 44) | function isDate(input) {
function map (line 48) | function map(arr, fn) {
function hasOwnProp (line 56) | function hasOwnProp(a, b) {
function extend (line 60) | function extend(a, b) {
function create_utc__createUTC (line 78) | function create_utc__createUTC (input, format, locale, strict) {
function defaultParsingFlags (line 82) | function defaultParsingFlags() {
function getParsingFlags (line 100) | function getParsingFlags(m) {
function valid__isValid (line 125) | function valid__isValid(m) {
function valid__createInvalid (line 158) | function valid__createInvalid (flags) {
function isUndefined (line 170) | function isUndefined(input) {
function copyConfig (line 178) | function copyConfig(to, from) {
function Moment (line 228) | function Moment(config) {
function isMoment (line 240) | function isMoment (obj) {
function absFloor (line 244) | function absFloor (number) {
function toInt (line 253) | function toInt(argumentForCoercion) {
function compareArrays (line 265) | function compareArrays(array1, array2, dontConvert) {
function warn (line 279) | function warn(msg) {
function deprecate (line 286) | function deprecate(msg, fn) {
function deprecateSimple (line 318) | function deprecateSimple(name, msg) {
function isFunction (line 331) | function isFunction(input) {
function locale_set__set (line 335) | function locale_set__set (config) {
function mergeConfigs (line 351) | function mergeConfigs(parentConfig, childConfig) {
function Locale (line 377) | function Locale(config) {
function locale_calendar__calendar (line 408) | function locale_calendar__calendar (key, mom, now) {
function longDateFormat (line 422) | function longDateFormat (key) {
function invalidDate (line 439) | function invalidDate () {
function ordinal (line 446) | function ordinal (number) {
function relative__relativeTime (line 466) | function relative__relativeTime (number, withoutSuffix, string, isFuture) {
function pastFuture (line 473) | function pastFuture (diff, output) {
function addUnitAlias (line 480) | function addUnitAlias (unit, shorthand) {
function normalizeUnits (line 485) | function normalizeUnits(units) {
function normalizeObjectUnits (line 489) | function normalizeObjectUnits(inputObject) {
function addUnitPriority (line 508) | function addUnitPriority(unit, priority) {
function getPrioritizedUnits (line 512) | function getPrioritizedUnits(unitsObj) {
function makeGetSet (line 523) | function makeGetSet (unit, keepTime) {
function get_set__get (line 535) | function get_set__get (mom, unit) {
function get_set__set (line 540) | function get_set__set (mom, unit, value) {
function stringGet (line 548) | function stringGet (units) {
function stringSet (line 557) | function stringSet (units, value) {
function zeroFill (line 573) | function zeroFill(number, targetLength, forceSign) {
function addFormatToken (line 593) | function addFormatToken (token, padded, ordinal, callback) {
function removeFormattingTokens (line 615) | function removeFormattingTokens(input) {
function makeFormatFunction (line 622) | function makeFormatFunction(format) {
function formatMoment (line 643) | function formatMoment(m, format) {
function expandFormat (line 654) | function expandFormat(format, locale) {
function addRegexToken (line 698) | function addRegexToken (token, regex, strictRegex) {
function getParseRegexForToken (line 704) | function getParseRegexForToken (token, config) {
function unescapeFormat (line 713) | function unescapeFormat(s) {
function regexEscape (line 719) | function regexEscape(s) {
function addParseToken (line 725) | function addParseToken (token, callback) {
function addWeekParseToken (line 740) | function addWeekParseToken (token, callback) {
function addTimeToArrayFromToken (line 747) | function addTimeToArrayFromToken(token, input, config) {
function daysInMonth (line 780) | function daysInMonth(year, month) {
function localeMonths (line 835) | function localeMonths (m, format) {
function localeMonthsShort (line 844) | function localeMonthsShort (m, format) {
function units_month__handleStrictParse (line 852) | function units_month__handleStrictParse(monthName, format, strict) {
function localeMonthsParse (line 893) | function localeMonthsParse (monthName, format, strict) {
function setMonth (line 933) | function setMonth (mom, value) {
function getSetMonth (line 958) | function getSetMonth (value) {
function getDaysInMonth (line 968) | function getDaysInMonth () {
function monthsShortRegex (line 973) | function monthsShortRegex (isStrict) {
function monthsRegex (line 993) | function monthsRegex (isStrict) {
function computeMonthsParse (line 1012) | function computeMonthsParse () {
function daysInYear (line 1090) | function daysInYear(year) {
function isLeapYear (line 1094) | function isLeapYear(year) {
function getIsLeapYear (line 1108) | function getIsLeapYear () {
function createDate (line 1112) | function createDate (y, m, d, h, M, s, ms) {
function createUTCDate (line 1124) | function createUTCDate (y) {
function firstWeekOffset (line 1135) | function firstWeekOffset(year, dow, doy) {
function dayOfYearFromWeeks (line 1145) | function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
function weekOfYear (line 1168) | function weekOfYear(mom, dow, doy) {
function weeksInYear (line 1190) | function weeksInYear(year, dow, doy) {
function localeWeek (line 1226) | function localeWeek (mom) {
function localeFirstDayOfWeek (line 1235) | function localeFirstDayOfWeek () {
function localeFirstDayOfYear (line 1239) | function localeFirstDayOfYear () {
function getSetWeek (line 1245) | function getSetWeek (input) {
function getSetISOWeek (line 1250) | function getSetISOWeek (input) {
function parseWeekday (line 1316) | function parseWeekday(input, locale) {
function parseIsoWeekday (line 1333) | function parseIsoWeekday(input, locale) {
function localeWeekdays (line 1343) | function localeWeekdays (m, format) {
function localeWeekdaysShort (line 1352) | function localeWeekdaysShort (m) {
function localeWeekdaysMin (line 1357) | function localeWeekdaysMin (m) {
function day_of_week__handleStrictParse (line 1361) | function day_of_week__handleStrictParse(weekdayName, format, strict) {
function localeWeekdaysParse (line 1425) | function localeWeekdaysParse (weekdayName, format, strict) {
function getSetDayOfWeek (line 1467) | function getSetDayOfWeek (input) {
function getSetLocaleDayOfWeek (line 1480) | function getSetLocaleDayOfWeek (input) {
function getSetISODayOfWeek (line 1488) | function getSetISODayOfWeek (input) {
function weekdaysRegex (line 1506) | function weekdaysRegex (isStrict) {
function weekdaysShortRegex (line 1526) | function weekdaysShortRegex (isStrict) {
function weekdaysMinRegex (line 1546) | function weekdaysMinRegex (isStrict) {
function computeWeekdaysParse (line 1566) | function computeWeekdaysParse () {
function hFormat (line 1609) | function hFormat() {
function kFormat (line 1613) | function kFormat() {
function meridiem (line 1639) | function meridiem (token, lowercase) {
function matchMeridiem (line 1657) | function matchMeridiem (isStrict, locale) {
function localeIsPM (line 1711) | function localeIsPM (input) {
function localeMeridiem (line 1718) | function localeMeridiem (hours, minutes, isLower) {
function normalizeLocale (line 1759) | function normalizeLocale(key) {
function chooseLocale (line 1766) | function chooseLocale(names) {
function loadLocale (line 1790) | function loadLocale(name) {
function locale_locales__getSetGlobalLocale (line 1809) | function locale_locales__getSetGlobalLocale (key, values) {
function defineLocale (line 1828) | function defineLocale (name, config) {
function updateLocale (line 1861) | function updateLocale(name, config) {
function locale_locales__getLocale (line 1889) | function locale_locales__getLocale (key) {
function locale_locales__listLocales (line 1912) | function locale_locales__listLocales() {
function checkOverflow (line 1916) | function checkOverflow (m) {
function configFromISO (line 1984) | function configFromISO(config) {
function configFromString (line 2037) | function configFromString(config) {
function defaults (line 2063) | function defaults(a, b, c) {
function currentDateArray (line 2073) | function currentDateArray(config) {
function configFromArray (line 2086) | function configFromArray (config) {
function dayOfYearFromWeekInfo (line 2148) | function dayOfYearFromWeekInfo(config) {
function configFromStringAndFormat (line 2205) | function configFromStringAndFormat(config) {
function meridiemFixWrap (line 2274) | function meridiemFixWrap (locale, hour, meridiem) {
function configFromStringAndArray (line 2300) | function configFromStringAndArray(config) {
function configFromObject (line 2344) | function configFromObject(config) {
function createFromConfig (line 2357) | function createFromConfig (config) {
function prepareConfig (line 2368) | function prepareConfig (config) {
function configFromInput (line 2401) | function configFromInput(config) {
function createLocalOrUTC (line 2424) | function createLocalOrUTC (input, format, locale, strict, isUTC) {
function local__createLocal (line 2448) | function local__createLocal (input, format, locale, strict) {
function pickBy (line 2481) | function pickBy(fn, moments) {
function min (line 2499) | function min () {
function max (line 2505) | function max () {
function Duration (line 2515) | function Duration (duration) {
function isDuration (line 2550) | function isDuration (obj) {
function absRound (line 2554) | function absRound (number) {
function offset (line 2564) | function offset (token, separator) {
function offsetFromString (line 2595) | function offsetFromString(matcher, string) {
function cloneWithOffset (line 2605) | function cloneWithOffset(input, model) {
function getDateOffset (line 2619) | function getDateOffset (m) {
function getSetOffset (line 2643) | function getSetOffset (input, keepLocalTime) {
function getSetZone (line 2678) | function getSetZone (input, keepLocalTime) {
function setOffsetToUTC (line 2692) | function setOffsetToUTC (keepLocalTime) {
function setOffsetToLocal (line 2696) | function setOffsetToLocal (keepLocalTime) {
function setOffsetToParsedOffset (line 2708) | function setOffsetToParsedOffset () {
function hasAlignedHourOffset (line 2723) | function hasAlignedHourOffset (input) {
function isDaylightSavingTime (line 2732) | function isDaylightSavingTime () {
function isDaylightSavingTimeShifted (line 2739) | function isDaylightSavingTimeShifted () {
function isLocal (line 2760) | function isLocal () {
function isUtcOffset (line 2764) | function isUtcOffset () {
function isUtc (line 2768) | function isUtc () {
function create__createDuration (line 2780) | function create__createDuration (input, key) {
function parseIso (line 2843) | function parseIso (inp, sign) {
function positiveMomentsDifference (line 2852) | function positiveMomentsDifference(base, other) {
function momentsDifference (line 2866) | function momentsDifference(base, other) {
function createAdder (line 2885) | function createAdder(direction, name) {
function add_subtract__addSubtract (line 2902) | function add_subtract__addSubtract (mom, duration, isAdding, updateOffse...
function getCalendarFormat (line 2931) | function getCalendarFormat(myMoment, now) {
function moment_calendar__calendar (line 2941) | function moment_calendar__calendar (time, formats) {
function clone (line 2953) | function clone () {
function isAfter (line 2957) | function isAfter (input, units) {
function isBefore (line 2970) | function isBefore (input, units) {
function isBetween (line 2983) | function isBetween (from, to, units, inclusivity) {
function isSame (line 2989) | function isSame (input, units) {
function isSameOrAfter (line 3004) | function isSameOrAfter (input, units) {
function isSameOrBefore (line 3008) | function isSameOrBefore (input, units) {
function diff (line 3012) | function diff (input, units, asFloat) {
function monthDiff (line 3050) | function monthDiff (a, b) {
function toString (line 3074) | function toString () {
function moment_format__toISOString (line 3078) | function moment_format__toISOString () {
function format (line 3092) | function format (inputString) {
function from (line 3100) | function from (time, withoutSuffix) {
function fromNow (line 3110) | function fromNow (withoutSuffix) {
function to (line 3114) | function to (time, withoutSuffix) {
function toNow (line 3124) | function toNow (withoutSuffix) {
function locale (line 3131) | function locale (key) {
function localeData (line 3156) | function localeData () {
function startOf (line 3160) | function startOf (units) {
function endOf (line 3204) | function endOf (units) {
function to_type__valueOf (line 3218) | function to_type__valueOf () {
function unix (line 3222) | function unix () {
function toDate (line 3226) | function toDate () {
function toArray (line 3230) | function toArray () {
function toObject (line 3235) | function toObject () {
function toJSON (line 3248) | function toJSON () {
function moment_valid__isValid (line 3253) | function moment_valid__isValid () {
function parsingFlags (line 3257) | function parsingFlags () {
function invalidAt (line 3261) | function invalidAt () {
function creationData (line 3265) | function creationData() {
function addWeekYearFormatToken (line 3285) | function addWeekYearFormatToken (token, getter) {
function getSetWeekYear (line 3326) | function getSetWeekYear (input) {
function getSetISOWeekYear (line 3335) | function getSetISOWeekYear (input) {
function getISOWeeksInYear (line 3340) | function getISOWeeksInYear () {
function getWeeksInYear (line 3344) | function getWeeksInYear () {
function getSetWeekYearHelper (line 3349) | function getSetWeekYearHelper(input, week, weekday, dow, doy) {
function setWeekAll (line 3362) | function setWeekAll(weekYear, week, weekday, dow, doy) {
function getSetQuarter (line 3393) | function getSetQuarter (input) {
function getSetDayOfYear (line 3448) | function getSetDayOfYear (input) {
function parseMs (line 3547) | function parseMs(input, array) {
function getZoneAbbr (line 3565) | function getZoneAbbr () {
function getZoneName (line 3569) | function getZoneName () {
function moment__createUnix (line 3678) | function moment__createUnix (input) {
function moment__createInZone (line 3682) | function moment__createInZone () {
function preParsePostFormat (line 3686) | function preParsePostFormat (string) {
function lists__get (line 3728) | function lists__get (format, index, field, setter) {
function listMonthsImpl (line 3734) | function listMonthsImpl (format, index, field) {
function listWeekdaysImpl (line 3762) | function listWeekdaysImpl (localeSorted, format, index, field) {
function lists__listMonths (line 3798) | function lists__listMonths (format, index) {
function lists__listMonthsShort (line 3802) | function lists__listMonthsShort (format, index) {
function lists__listWeekdays (line 3806) | function lists__listWeekdays (localeSorted, format, index) {
function lists__listWeekdaysShort (line 3810) | function lists__listWeekdaysShort (localeSorted, format, index) {
function lists__listWeekdaysMin (line 3814) | function lists__listWeekdaysMin (localeSorted, format, index) {
function duration_abs__abs (line 3836) | function duration_abs__abs () {
function duration_add_subtract__addSubtract (line 3853) | function duration_add_subtract__addSubtract (duration, input, value, dir...
function duration_add_subtract__add (line 3864) | function duration_add_subtract__add (input, value) {
function duration_add_subtract__subtract (line 3869) | function duration_add_subtract__subtract (input, value) {
function absCeil (line 3873) | function absCeil (number) {
function bubble (line 3881) | function bubble () {
function daysToMonths (line 3928) | function daysToMonths (days) {
function monthsToDays (line 3934) | function monthsToDays (months) {
function as (line 3939) | function as (units) {
function duration_as__valueOf (line 3967) | function duration_as__valueOf () {
function makeAs (line 3976) | function makeAs (alias) {
function duration_get__get (line 3991) | function duration_get__get (units) {
function makeGetter (line 3996) | function makeGetter(name) {
function weeks (line 4010) | function weeks () {
function substituteTimeAgo (line 4024) | function substituteTimeAgo(string, number, withoutSuffix, isFuture, loca...
function duration_humanize__relativeTime (line 4028) | function duration_humanize__relativeTime (posNegDuration, withoutSuffix,...
function duration_humanize__getSetRelativeTimeRounding (line 4055) | function duration_humanize__getSetRelativeTimeRounding (roundingFunction) {
function duration_humanize__getSetRelativeTimeThreshold (line 4067) | function duration_humanize__getSetRelativeTimeThreshold (threshold, limi...
function humanize (line 4078) | function humanize (withSuffix) {
function iso_string__toISOString (line 4091) | function iso_string__toISOString() {
FILE: src/main/resources/static/assets/js/theme.js
function getThemeToggle (line 6) | function getThemeToggle() {
function storageSave (line 23) | function storageSave(objectData) {
function storageLoad (line 27) | function storageLoad(objectName) {
FILE: src/main/resources/static/assets/js/todomvc.js
function onHashChange (line 143) | function onHashChange () {
FILE: src/main/resources/static/assets/js/vue.js
function _toString (line 17) | function _toString (val) {
function toNumber (line 29) | function toNumber (val) {
function makeMap (line 38) | function makeMap (
function remove (line 60) | function remove (arr, item) {
function hasOwn (line 73) | function hasOwn (obj, key) {
function isPrimitive (line 80) | function isPrimitive (value) {
function cached (line 87) | function cached (fn) {
function bind (line 124) | function bind (fn, ctx) {
function toArray (line 141) | function toArray (list, start) {
function extend (line 154) | function extend (to, _from) {
function isObject (line 166) | function isObject (obj) {
function isPlainObject (line 176) | function isPlainObject (obj) {
function toObject (line 183) | function toObject (arr) {
function noop (line 196) | function noop () {}
function genStaticKeys (line 211) | function genStaticKeys (modules) {
function looseEqual (line 221) | function looseEqual (a, b) {
function looseIndexOf (line 238) | function looseIndexOf (arr, val) {
function once (line 248) | function once (fn) {
function isReserved (line 367) | function isReserved (str) {
function def (line 375) | function def (obj, key, val, enumerable) {
function parsePath (line 388) | function parsePath (path) {
function isNative (line 439) | function isNative (Ctor) {
function nextTickHandler (line 455) | function nextTickHandler () {
function Set (line 534) | function Set () {
function pushTarget (line 650) | function pushTarget (_target) {
function popTarget (line 655) | function popTarget () {
function protoAugment (line 772) | function protoAugment (target, src) {
function copyAugment (line 783) | function copyAugment (target, src, keys) {
function observe (line 795) | function observe (value, asRootData) {
function defineReactive$$1 (line 820) | function defineReactive$$1 (
function set (line 880) | function set (target, key, val) {
function del (line 910) | function del (target, key) {
function dependArray (line 937) | function dependArray (value) {
function mergeData (line 974) | function mergeData (to, from) {
function mergeHook (line 1048) | function mergeHook (
function mergeAssets (line 1072) | function mergeAssets (parentVal, childVal) {
function checkComponents (line 1134) | function checkComponents (options) {
function normalizeProps (line 1150) | function normalizeProps (options) {
function normalizeDirectives (line 1181) | function normalizeDirectives (options) {
function mergeOptions (line 1197) | function mergeOptions (
function resolveAsset (line 1244) | function resolveAsset (
function validateProp (line 1274) | function validateProp (
function getPropDefaultValue (line 1310) | function getPropDefaultValue (vm, prop, key) {
function assertProp (line 1342) | function assertProp (
function assertType (line 1395) | function assertType (value, type) {
function getType (line 1424) | function getType (fn) {
function isType (line 1429) | function isType (type, fn) {
function handleError (line 1442) | function handleError (err, vm, info) {
function createTextVNode (line 1603) | function createTextVNode (val) {
function cloneVNode (line 1611) | function cloneVNode (vnode) {
function cloneVNodes (line 1628) | function cloneVNodes (vnodes) {
function createFnInvoker (line 1651) | function createFnInvoker (fns) {
function updateListeners (line 1669) | function updateListeners (
function mergeVNodeHook (line 1706) | function mergeVNodeHook (def, hookKey, hook) {
function simpleNormalizeChildren (line 1750) | function simpleNormalizeChildren (children) {
function normalizeChildren (line 1763) | function normalizeChildren (children) {
function normalizeArrayChildren (line 1771) | function normalizeArrayChildren (children, nestedIndex) {
function getFirstComponentChild (line 1805) | function getFirstComponentChild (children) {
function initEvents (line 1811) | function initEvents (vm) {
function add (line 1823) | function add (event, fn, once$$1) {
function remove$1 (line 1831) | function remove$1 (event, fn) {
function updateComponentListeners (line 1835) | function updateComponentListeners (
function eventsMixin (line 1844) | function eventsMixin (Vue) {
function resolveSlots (line 1933) | function resolveSlots (
function isWhitespace (line 1966) | function isWhitespace (node) {
function resolveScopedSlots (line 1970) | function resolveScopedSlots (
function initLifecycle (line 1984) | function initLifecycle (vm) {
function lifecycleMixin (line 2010) | function lifecycleMixin (Vue) {
function mountComponent (line 2096) | function mountComponent (
function updateChildComponent (line 2160) | function updateChildComponent (
function isInInactiveTree (line 2215) | function isInInactiveTree (vm) {
function activateChildComponent (line 2222) | function activateChildComponent (vm, direct) {
function deactivateChildComponent (line 2240) | function deactivateChildComponent (vm, direct) {
function callHook (line 2256) | function callHook (vm, hook) {
function resetSchedulerState (line 2285) | function resetSchedulerState () {
function flushSchedulerQueue (line 2297) | function flushSchedulerQueue () {
function queueWatcher (line 2359) | function queueWatcher (watcher) {
function traverse (line 2594) | function traverse (val) {
function _traverse (line 2599) | function _traverse (val, seen) {
function proxy (line 2631) | function proxy (target, sourceKey, key) {
function initState (line 2641) | function initState (vm) {
function initProps (line 2657) | function initProps (vm, propsOptions) {
function initData (line 2701) | function initData (vm) {
function initComputed (line 2735) | function initComputed (vm, computed) {
function defineComputed (line 2753) | function defineComputed (target, key, userDef) {
function createComputedGetter (line 2770) | function createComputedGetter (key) {
function initMethods (line 2785) | function initMethods (vm, methods) {
function initWatch (line 2807) | function initWatch (vm, watch) {
function createWatcher (line 2820) | function createWatcher (vm, key, handler) {
function stateMixin (line 2832) | function stateMixin (Vue) {
function createComponent (line 2936) | function createComponent (
function createFunctionalComponent (line 3021) | function createFunctionalComponent (
function createComponentInstanceForVnode (line 3055) | function createComponentInstanceForVnode (
function resolveAsyncComponent (line 3082) | function resolveAsyncComponent (
function extractProps (line 3130) | function extractProps (data, Ctor) {
function checkProp (line 3168) | function checkProp (
function mergeHooks (line 3193) | function mergeHooks (data) {
function mergeHook$1 (line 3205) | function mergeHook$1 (one, two) {
function transformModel (line 3214) | function transformModel (options, data) {
function createElement (line 3232) | function createElement (
function _createElement (line 3249) | function _createElement (
function applyNS (line 3314) | function applyNS (vnode, ns) {
function renderList (line 3335) | function renderList (
function renderSlot (line 3366) | function renderSlot (
function resolveFilter (line 3399) | function resolveFilter (id) {
function checkKeyCodes (line 3408) | function checkKeyCodes (
function bindObjectProps (line 3426) | function bindObjectProps (
function renderStatic (line 3466) | function renderStatic (
function markOnce (line 3489) | function markOnce (
function markStatic (line 3498) | function markStatic (
function markStaticNode (line 3514) | function markStaticNode (node, key, isOnce) {
function initRender (line 3522) | function initRender (vm) {
function renderMixin (line 3540) | function renderMixin (Vue) {
function initProvide (line 3619) | function initProvide (vm) {
function initInjections (line 3628) | function initInjections (vm) {
function initMixin (line 3659) | function initMixin (Vue) {
function initInternalComponent (line 3712) | function initInternalComponent (vm, options) {
function resolveConstructorOptions (line 3729) | function resolveConstructorOptions (Ctor) {
function resolveModifiedOptions (line 3753) | function resolveModifiedOptions (Ctor) {
function dedupe (line 3766) | function dedupe (latest, sealed) {
function Vue$3 (line 3783) | function Vue$3 (options) {
function initUse (line 3799) | function initUse (Vue) {
function initMixin$1 (line 3820) | function initMixin$1 (Vue) {
function initExtend (line 3828) | function initExtend (Vue) {
function initProps$1 (line 3910) | function initProps$1 (Comp) {
function initComputed$1 (line 3917) | function initComputed$1 (Comp) {
function initAssetRegisters (line 3926) | function initAssetRegisters (Vue) {
function getComponentName (line 3965) | function getComponentName (opts) {
function matches (line 3969) | function matches (pattern, name) {
function pruneCache (line 3979) | function pruneCache (cache, filter) {
function pruneCacheEntry (line 3992) | function pruneCacheEntry (vnode) {
function initGlobalAPI (line 4065) | function initGlobalAPI (Vue) {
function genClassForVnode (line 4157) | function genClassForVnode (vnode) {
function mergeClassData (line 4175) | function mergeClassData (child, parent) {
function genClassFromData (line 4184) | function genClassFromData (data) {
function concat (line 4194) | function concat (a, b) {
function stringifyClass (line 4198) | function stringifyClass (value) {
function getTagNamespace (line 4263) | function getTagNamespace (tag) {
function isUnknownElement (line 4275) | function isUnknownElement (tag) {
function query (line 4305) | function query (el) {
function createElement$1 (line 4322) | function createElement$1 (tagName, vnode) {
function createElementNS (line 4334) | function createElementNS (namespace, tagName) {
function createTextNode (line 4338) | function createTextNode (text) {
function createComment (line 4342) | function createComment (text) {
function insertBefore (line 4346) | function insertBefore (parentNode, newNode, referenceNode) {
function removeChild (line 4350) | function removeChild (node, child) {
function appendChild (line 4354) | function appendChild (node, child) {
function parentNode (line 4358) | function parentNode (node) {
function nextSibling (line 4362) | function nextSibling (node) {
function tagName (line 4366) | function tagName (node) {
function setTextContent (line 4370) | function setTextContent (node, text) {
function setAttribute (line 4374) | function setAttribute (node, key, val) {
function registerRef (line 4411) | function registerRef (vnode, isRemoval) {
function isUndef (line 4455) | function isUndef (s) {
function isDef (line 4459) | function isDef (s) {
function sameVnode (line 4463) | function sameVnode (vnode1, vnode2) {
function createKeyToOldIdx (line 4472) | function createKeyToOldIdx (children, beginIdx, endIdx) {
function createPatchFunction (line 4482) | function createPatchFunction (backend) {
function updateDirectives (line 5062) | function updateDirectives (oldVnode, vnode) {
function _update (line 5068) | function _update (oldVnode, vnode) {
function normalizeDirectives$1 (line 5130) | function normalizeDirectives$1 (
function getRawDirName (line 5150) | function getRawDirName (dir) {
function callHook$1 (line 5154) | function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) {
function updateAttrs (line 5168) | function updateAttrs (oldVnode, vnode) {
function setAttr (line 5204) | function setAttr (el, key, value) {
function updateClass (line 5237) | function updateClass (oldVnode, vnode) {
function parseFilters (line 5270) | function parseFilters (exp) {
function wrapFilter (line 5352) | function wrapFilter (exp, filter) {
function baseWarn (line 5366) | function baseWarn (msg) {
function pluckModuleFunction (line 5370) | function pluckModuleFunction (
function addProp (line 5379) | function addProp (el, name, value) {
function addAttr (line 5383) | function addAttr (el, name, value) {
function addDirective (line 5387) | function addDirective (
function addHandler (line 5398) | function addHandler (
function getBindingAttr (line 5433) | function getBindingAttr (
function getAndRemoveAttr (line 5451) | function getAndRemoveAttr (el, name) {
function genComponentModel (line 5470) | function genComponentModel (
function genAssignmentCode (line 5502) | function genAssignmentCode (
function parseModel (line 5538) | function parseModel (val) {
function next (line 5566) | function next () {
function eof (line 5570) | function eof () {
function isStringStart (line 5574) | function isStringStart (chr) {
function parseBracket (line 5578) | function parseBracket (chr) {
function parseString (line 5596) | function parseString (chr) {
function model (line 5615) | function model (
function genCheckboxModel (line 5669) | function genCheckboxModel (
function genRadioModel (line 5700) | function genRadioModel (
function genSelect (line 5712) | function genSelect (
function genDefaultModel (line 5729) | function genDefaultModel (
function normalizeEvents (line 5772) | function normalizeEvents (on) {
function add$1 (line 5791) | function add$1 (
function remove$2 (line 5812) | function remove$2 (
function updateDOMListeners (line 5821) | function updateDOMListeners (oldVnode, vnode) {
function updateDOMProps (line 5839) | function updateDOMProps (oldVnode, vnode) {
function shouldUpdateValue (line 5885) | function shouldUpdateValue (
function isDirty (line 5897) | function isDirty (elm, checkVal) {
function isInputChanged (line 5902) | function isInputChanged (elm, newVal) {
function normalizeStyleData (line 5935) | function normalizeStyleData (data) {
function normalizeStyleBinding (line 5945) | function normalizeStyleBinding (bindingStyle) {
function getStyle (line 5959) | function getStyle (vnode, checkChild) {
function updateStyle (line 6019) | function updateStyle (oldVnode, vnode) {
function addClass (line 6067) | function addClass (el, cls) {
function removeClass (line 6092) | function removeClass (el, cls) {
function resolveTransition (line 6117) | function resolveTransition (def$$1) {
function nextFrame (line 6173) | function nextFrame (fn) {
function addTransitionClass (line 6179) | function addTransitionClass (el, cls) {
function removeTransitionClass (line 6184) | function removeTransitionClass (el, cls) {
function whenTransitionEnds (line 6191) | function whenTransitionEnds (
function getTransitionInfo (line 6224) | function getTransitionInfo (el, expectedType) {
function getTimeout (line 6273) | function getTimeout (delays, durations) {
function toMs (line 6284) | function toMs (s) {
function enter (line 6290) | function enter (vnode, toggleDisplay) {
function leave (line 6438) | function leave (vnode, rm) {
function checkDuration (line 6541) | function checkDuration (val, name, vnode) {
function isValidDuration (line 6557) | function isValidDuration (val) {
function getHookArgumentsLength (line 6567) | function getHookArgumentsLength (fn) {
function _enter (line 6582) | function _enter (_, vnode) {
function setSelected (line 6676) | function setSelected (el, binding, vm) {
function hasNoMatchingOption (line 6709) | function hasNoMatchingOption (value, options) {
function getValue (line 6718) | function getValue (option) {
function onCompositionStart (line 6724) | function onCompositionStart (e) {
function onCompositionEnd (line 6728) | function onCompositionEnd (e) {
function trigger (line 6733) | function trigger (el, type) {
function locateNode (line 6742) | function locateNode (vnode) {
function getRealChild (line 6833) | function getRealChild (vnode) {
function extractTransitionData (line 6842) | function extractTransitionData (comp) {
function placeholder (line 6858) | function placeholder (h, rawChild) {
function hasParentTransition (line 6864) | function hasParentTransition (vnode) {
function isSameChild (line 6872) | function isSameChild (child, oldChild) {
function callPendingCbs (line 7121) | function callPendingCbs (c) {
function recordPosition (line 7132) | function recordPosition (c) {
function applyTranslation (line 7136) | function applyTranslation (c) {
function shouldDecode (line 7205) | function shouldDecode (content, encoded) {
function decode (line 7242) | function decode (html) {
function decodeAttr (line 7306) | function decodeAttr (value, shouldDecodeNewlines) {
function parseHTML (line 7311) | function parseHTML (html, options) {
function parseText (line 7565) | function parseText (
function parse (line 7619) | function parse (
function processPre (line 7849) | function processPre (el) {
function processRawAttrs (line 7855) | function processRawAttrs (el) {
function processKey (line 7871) | function processKey (el) {
function processRef (line 7881) | function processRef (el) {
function processFor (line 7889) | function processFor (el) {
function processIf (line 7914) | function processIf (el) {
function processIfConditions (line 7933) | function processIfConditions (el, parent) {
function findPrevElement (line 7948) | function findPrevElement (children) {
function addIfCondition (line 7965) | function addIfCondition (el, condition) {
function processOnce (line 7972) | function processOnce (el) {
function processSlot (line 7979) | function processSlot (el) {
function processComponent (line 8000) | function processComponent (el) {
function processAttrs (line 8010) | function processAttrs (el) {
function checkInFor (line 8077) | function checkInFor (el) {
function parseModifiers (line 8088) | function parseModifiers (name) {
function makeAttrsMap (line 8097) | function makeAttrsMap (attrs) {
function isForbiddenTag (line 8108) | function isForbiddenTag (el) {
function guardIESVGBug (line 8122) | function guardIESVGBug (attrs) {
function checkForAliasModel (line 8134) | function checkForAliasModel (el, value) {
function optimize (line 8168) | function optimize (root, options) {
function genStaticKeys$1 (line 8178) | function genStaticKeys$1 (keys) {
function markStatic$1 (line 8185) | function markStatic$1 (node) {
function markStaticRoots (line 8208) | function markStaticRoots (node, isInFor) {
function walkThroughConditionsBlocks (line 8236) | function walkThroughConditionsBlocks (conditionBlocks, isInFor) {
function isStatic (line 8242) | function isStatic (node) {
function isDirectChildOfTemplateFor (line 8259) | function isDirectChildOfTemplateFor (node) {
function genHandlers (line 8308) | function genHandlers (events, native) {
function genHandler (line 8316) | function genHandler (
function genKeyFilter (line 8366) | function genKeyFilter (keys) {
function genFilterCode (line 8370) | function genFilterCode (key) {
function bind$1 (line 8381) | function bind$1 (el, dir) {
function generate (line 8406) | function generate (
function genElement (line 8430) | function genElement (el) {
function genStatic (line 8463) | function genStatic (el) {
function genOnce (line 8470) | function genOnce (el) {
function genIf (line 8496) | function genIf (el) {
function genIfConditions (line 8501) | function genIfConditions (conditions) {
function genFor (line 8519) | function genFor (el) {
function genData (line 8544) | function genData (el) {
function genDirectives (line 8617) | function genDirectives (el) {
function genInlineTemplate (line 8642) | function genInlineTemplate (el) {
function genScopedSlots (line 8655) | function genScopedSlots (slots) {
function genScopedSlot (line 8659) | function genScopedSlot (key, el) {
function genChildren (line 8666) | function genChildren (el, checkSkip) {
function getNormalizationType (line 8686) | function getNormalizationType (children) {
function needsNormalization (line 8706) | function needsNormalization (el) {
function maybeComponent (line 8710) | function maybeComponent (el) {
function genNode (line 8714) | function genNode (node) {
function genText (line 8722) | function genText (text) {
function genSlot (line 8728) | function genSlot (el) {
function genComponent (line 8747) | function genComponent (componentName, el) {
function genProps (line 8752) | function genProps (props) {
function transformSpecialNewlines (line 8762) | function transformSpecialNewlines (text) {
function detectErrors (line 8790) | function detectErrors (ast) {
function checkNode (line 8798) | function checkNode (node, errors) {
function checkEvent (line 8824) | function checkEvent (exp, text, errors) {
function checkFor (line 8835) | function checkFor (node, text, errors) {
function checkIdentifier (line 8842) | function checkIdentifier (ident, type, text, errors) {
function checkExpression (line 8848) | function checkExpression (exp, text, errors) {
function baseCompile (line 8866) | function baseCompile (
function makeFunction (line 8880) | function makeFunction (code, errors) {
function createCompiler (line 8889) | function createCompiler (baseOptions) {
function transformNode (line 9022) | function transformNode (el, options) {
function genData$1 (line 9045) | function genData$1 (el) {
function transformNode$1 (line 9064) | function transformNode$1 (el, options) {
function genData$2 (line 9089) | function genData$2 (el) {
function text (line 9113) | function text (el, dir) {
function html (line 9121) | function html (el, dir) {
function getOuterHTML (line 9228) | function getOuterHTML (el) {
FILE: src/main/resources/static/js/common.js
function getInit (line 11) | function getInit() {
function changeTheme (line 21) | function changeTheme() {
function changeImage (line 37) | function changeImage(num){
function exit (line 45) | function exit() {
function leftSidebar (line 51) | function leftSidebar() {
function showAlert (line 68) | function showAlert(text, title) {
function showConfirm (line 96) | function showConfirm(text, title, cancel, ok) {
function showPrompt (line 123) | function showPrompt(text, title, cancel, ok) {
function changePassWord (line 143) | function changePassWord() {
function getUnReadMessages (line 180) | function getUnReadMessages() {
function getUnReadNotices (line 196) | function getUnReadNotices() {
function changenums (line 213) | function changenums(spanID) {
function setHeadImage (line 226) | function setHeadImage(imgID) {
FILE: src/main/resources/static/js/index.js
function getCurrentDateTime (line 2) | function getCurrentDateTime() {
function showCal (line 54) | function showCal(){
function GetBit (line 89) | function GetBit(m,n){
function e2c (line 93) | function e2c(){
function GetcDateString (line 129) | function GetcDateString(){
function GetLunarDay (line 151) | function GetLunarDay(solarYear,solarMonth,solarDay){
function getLastMessage (line 165) | function getLastMessage() {
function getLastNotice (line 183) | function getLastNotice() {
function getBestImageNum (line 201) | function getBestImageNum() {
function getBestUserName (line 219) | function getBestUserName() {
FILE: src/main/resources/static/js/logs.js
function getInit (line 13) | function getInit() {
function getFileNames (line 18) | function getFileNames() {
function readFiles (line 29) | function readFiles() {
function reSizePre (line 49) | function reSizePre() {
FILE: src/main/resources/static/js/message.js
function getInit (line 15) | function getInit() {
function getAllUser (line 21) | function getAllUser() {
function initReceives (line 60) | function initReceives() {
function sendMessage (line 89) | function sendMessage() {
function getMessages (line 131) | function getMessages(pageNum) {
FILE: src/main/resources/static/js/message_dtl.js
function getMessageDtl (line 1) | function getMessageDtl() {
function setIsRead (line 30) | function setIsRead(messageID) {
function getSendUserName (line 45) | function getSendUserName(sendID) {
FILE: src/main/resources/static/js/notice.js
function getInit (line 14) | function getInit() {
function getNotices (line 22) | function getNotices(pageNum) {
FILE: src/main/resources/static/js/notice_create.js
function sendNotice (line 4) | function sendNotice() {
FILE: src/main/resources/static/js/notice_dtl.js
function getNoticeDtl (line 1) | function getNoticeDtl() {
function setIsRead (line 30) | function setIsRead(noticeID) {
function getSendUserName (line 48) | function getSendUserName(sendID) {
FILE: src/main/resources/static/js/user.js
function getInit (line 22) | function getInit() {
function setBest (line 28) | function setBest() {
function getPosition (line 52) | function getPosition() {
function getDepartment (line 65) | function getDepartment() {
function getUser (line 78) | function getUser(pageNum) {
function deleteUser (line 111) | function deleteUser() {
function reverseUser (line 140) | function reverseUser() {
FILE: src/main/resources/static/js/user_create.js
function getInit (line 16) | function getInit() {
function getPosition (line 22) | function getPosition() {
function getDepartment (line 35) | function getDepartment() {
function createUser (line 48) | function createUser() {
FILE: src/main/resources/static/js/user_edit.js
function getInit (line 18) | function getInit() {
function getPosition (line 25) | function getPosition() {
function getDepartment (line 38) | function getDepartment() {
function detailUser (line 51) | function detailUser() {
function editUser (line 68) | function editUser() {
FILE: src/main/resources/static/js/userinfo.js
function getInit (line 20) | function getInit() {
function getPosition (line 28) | function getPosition() {
function getDepartment (line 41) | function getDepartment() {
function getUser (line 54) | function getUser() {
function getUserinfo (line 68) | function getUserinfo() {
function saveUserinfo (line 80) | function saveUserinfo() {
FILE: src/main/resources/static/js/userinfo_detail.js
function getInit (line 18) | function getInit() {
function getPosition (line 26) | function getPosition() {
function getDepartment (line 39) | function getDepartment() {
function getUser (line 52) | function getUser() {
function getUserinfo (line 69) | function getUserinfo() {
FILE: src/test/java/com/zmh/projectoa/ProjectoaApplicationTests.java
class ProjectoaApplicationTests (line 8) | @RunWith(SpringRunner.class)
method contextLoads (line 12) | @Test
Condensed preview — 117 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,186K chars).
[
{
"path": ".gitignore",
"chars": 260,
"preview": ".gradle\n/build/\n!gradle/wrapper/gradle-wrapper.jar\n\n### STS ###\n.apt_generated\n.classpath\n.factorypath\n.project\n.setting"
},
{
"path": "LICENSE",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 2801,
"preview": "---\n## 特别鸣谢\n\n本项目 CDN 加速及安全防护由 Tencent EdgeOne 赞助\n\n[ 2016 Adam Shaw\n */\n\n/*\n * "
},
{
"path": "src/main/resources/static/assets/css/todomvc.css",
"chars": 6398,
"preview": "[v-cloak] { display: none; }\n\n#todomvc button {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: none;\n\tfont-size: 100%"
},
{
"path": "src/main/resources/static/assets/js/app.js",
"chars": 10621,
"preview": "$(function() {\n // 读取body data-type 判断是哪个页面然后执行相应页面方法,方法在下面。\n var dataType = $('.centerView').attr('data-type');\n "
},
{
"path": "src/main/resources/static/assets/js/calculator.js",
"chars": 5118,
"preview": "// JavaScript Document\ndocument.oncontextmenu=new Function(\"event.returnValue=false;\");\ndocument.onselectstart=new Funct"
},
{
"path": "src/main/resources/static/assets/js/moment.js",
"chars": 140639,
"preview": "//! moment.js\n//! version : 2.15.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! "
},
{
"path": "src/main/resources/static/assets/js/theme.js",
"chars": 894,
"preview": "var saveSelectColor = {\n 'Name': 'SelcetColor',\n 'Color': 'theme-white'\n}\n\nfunction getThemeToggle() {\n// 判断用户是否已有"
},
{
"path": "src/main/resources/static/assets/js/todomvc.js",
"chars": 3898,
"preview": "// Full spec-compliant TodoMVC with localStorage persistence\n// and hash-based routing in ~150 lines.\n\n// localStorage p"
},
{
"path": "src/main/resources/static/assets/js/vue.js",
"chars": 258298,
"preview": "/*!\n * Vue.js v2.2.3\n * (c) 2014-2017 Evan You\n * Released under the MIT License.\n */\n(function (global, factory) {\n ty"
},
{
"path": "src/main/resources/static/js/common.js",
"chars": 5674,
"preview": "var vm_common = new Vue({\n el: '#header',\n data: {\n messageList: [],\n noticeList: [],\n },\n met"
},
{
"path": "src/main/resources/static/js/index.js",
"chars": 6450,
"preview": "/*获取当前日期*/\nfunction getCurrentDateTime() {\n var d = new Date();\n var year = d.getFullYear();\n var month = d.get"
},
{
"path": "src/main/resources/static/js/logs.js",
"chars": 1210,
"preview": "var vm_log = new Vue({\n el: '#log',\n data: {\n fileNames: []\n },\n methods: {\n getFileNames: get"
},
{
"path": "src/main/resources/static/js/message.js",
"chars": 4394,
"preview": "var vm_message = new Vue({\n el: '#message',\n data: {\n messages: [],\n pageInfo : {},\n pageNum "
},
{
"path": "src/main/resources/static/js/message_dtl.js",
"chars": 1678,
"preview": "function getMessageDtl() {\n var url = window.location.href;\n var index = url.lastIndexOf(\"\\/\");\n var id = url."
},
{
"path": "src/main/resources/static/js/notice.js",
"chars": 1220,
"preview": "var vm_notice = new Vue({\n el: '#notice',\n data: {\n notices: [],\n pageInfo : {},\n pageNum : 0"
},
{
"path": "src/main/resources/static/js/notice_create.js",
"chars": 1108,
"preview": "/**\n * 发送公告 默认就是发送给所有人\n */\nfunction sendNotice() {\n var title = $('#noticeTile').val();\n var notice = $('#noticeMa"
},
{
"path": "src/main/resources/static/js/notice_dtl.js",
"chars": 1658,
"preview": "function getNoticeDtl() {\n var url = window.location.href;\n var index = url.lastIndexOf(\"\\/\");\n var id = url.s"
},
{
"path": "src/main/resources/static/js/user.js",
"chars": 4429,
"preview": "var vm = new Vue({\n el : '#user',\n data : {\n departments : [],\n positions : [],\n userList : ["
},
{
"path": "src/main/resources/static/js/user_create.js",
"chars": 2121,
"preview": "var vm = new Vue({\n el : '#user_create',\n data : {\n departments : [],\n positions : []\n },\n met"
},
{
"path": "src/main/resources/static/js/user_edit.js",
"chars": 2584,
"preview": "var vm = new Vue({\n el : '#user_edit',\n data : {\n departments : [],\n positions : [],\n user : "
},
{
"path": "src/main/resources/static/js/userinfo.js",
"chars": 3046,
"preview": "var vm = new Vue({\n el : '#userinfo',\n data : {\n departments : [],\n positions : [],\n user : {"
},
{
"path": "src/main/resources/static/js/userinfo_detail.js",
"chars": 1924,
"preview": "var vm = new Vue({\n el : '#userinfo',\n data : {\n departments : [],\n positions : [],\n user : {"
},
{
"path": "src/main/resources/static/prism/prism.css",
"chars": 5002,
"preview": "/* PrismJS 1.11.0\nhttp://prismjs.com/download.html?themes=prism-coy&languages=markup+css+clike+javascript+java&plugins=l"
},
{
"path": "src/main/resources/static/prism/prism.js",
"chars": 13392,
"preview": "/* PrismJS 1.11.0\nhttp://prismjs.com/download.html?themes=prism-coy&languages=markup+css+clike+javascript+java&plugins=l"
},
{
"path": "src/main/resources/templates/mapper/CalendarMapper.xml",
"chars": 9220,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/DepartmentsMapper.xml",
"chars": 7610,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/MessagesMapper.xml",
"chars": 12880,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/NoticesMapper.xml",
"chars": 13698,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/PositionsMapper.xml",
"chars": 7532,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/UserinfoMapper.xml",
"chars": 12970,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/mapper/UsersMapper.xml",
"chars": 13160,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/"
},
{
"path": "src/main/resources/templates/view/403.html",
"chars": 1963,
"preview": "<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n "
},
{
"path": "src/main/resources/templates/view/calendar.html",
"chars": 5586,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/changePassWord.html",
"chars": 3412,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/common/common.html",
"chars": 24512,
"preview": "<!DOCTYPE html>\n<html lang=\"en\" xmlns:th=\"http://www.thymeleaf.org\">\n\n<head>\n <meta charset=\"utf-8\">\n <meta http-e"
},
{
"path": "src/main/resources/templates/view/index.html",
"chars": 5927,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/login.html",
"chars": 2903,
"preview": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=e"
},
{
"path": "src/main/resources/templates/view/logs.html",
"chars": 2239,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/message.html",
"chars": 9280,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/message_dtl.html",
"chars": 2631,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/notice.html",
"chars": 5458,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/notice_create.html",
"chars": 3645,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/notice_dtl.html",
"chars": 2622,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/springbootadmin.html",
"chars": 1034,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/table.html",
"chars": 32489,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/user.html",
"chars": 9191,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/user_create.html",
"chars": 4555,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/user_edit.html",
"chars": 4808,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/userinfo.html",
"chars": 9088,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/main/resources/templates/view/userinfo_detail.html",
"chars": 8004,
"preview": "<!DOCTYPE html>\n<html lang=\"en\"\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:th=\"http://www.thymeleaf.org\"\n "
},
{
"path": "src/test/java/com/zmh/projectoa/ProjectoaApplicationTests.java",
"chars": 337,
"preview": "package com.zmh.projectoa;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.boot.test"
}
]
// ... and 3 more files (download for full content)
About this extraction
This page contains the full source code of the 18121259693/projectoa GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 117 files (1.1 MB), approximately 275.7k tokens, and a symbol index with 1949 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.