├── .gitattributes ├── .idea ├── compiler.xml ├── encodings.xml ├── libraries │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ ├── Maven__com_baomidou_mybatis_plus_3_0_5.xml │ ├── Maven__com_baomidou_mybatis_plus_annotation_3_0_5.xml │ ├── Maven__com_baomidou_mybatis_plus_boot_starter_3_0_5.xml │ ├── Maven__com_baomidou_mybatis_plus_core_3_0_5.xml │ ├── Maven__com_baomidou_mybatis_plus_extension_3_0_5.xml │ ├── Maven__com_baomidou_mybatis_plus_generator_3_0_5.xml │ ├── Maven__com_fasterxml_classmate_1_4_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_9_9.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_9_9.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_9.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_9.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_9.xml │ ├── Maven__com_github_jsqlparser_jsqlparser_1_2.xml │ ├── Maven__com_google_guava_guava_20_0.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__com_zaxxer_HikariCP_3_2_0.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_9_3.xml │ ├── Maven__commons_codec_commons_codec_1_11.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__io_jsonwebtoken_jjwt_0_9_0.xml │ ├── Maven__io_lettuce_lettuce_core_5_1_7_RELEASE.xml │ ├── Maven__io_netty_netty_buffer_4_1_36_Final.xml │ ├── Maven__io_netty_netty_codec_4_1_36_Final.xml │ ├── Maven__io_netty_netty_common_4_1_36_Final.xml │ ├── Maven__io_netty_netty_handler_4_1_36_Final.xml │ ├── Maven__io_netty_netty_resolver_4_1_36_Final.xml │ ├── Maven__io_netty_netty_transport_4_1_36_Final.xml │ ├── Maven__io_projectreactor_reactor_core_3_2_10_RELEASE.xml │ ├── Maven__io_springfox_springfox_core_2_9_2.xml │ ├── Maven__io_springfox_springfox_schema_2_9_2.xml │ ├── Maven__io_springfox_springfox_spi_2_9_2.xml │ ├── Maven__io_springfox_springfox_spring_web_2_9_2.xml │ ├── Maven__io_springfox_springfox_swagger2_2_9_2.xml │ ├── Maven__io_springfox_springfox_swagger_common_2_9_2.xml │ ├── Maven__io_springfox_springfox_swagger_ui_2_9_2.xml │ ├── Maven__io_swagger_swagger_annotations_1_5_20.xml │ ├── Maven__io_swagger_swagger_models_1_5_20.xml │ ├── Maven__javax_activation_javax_activation_api_1_2_0.xml │ ├── Maven__javax_annotation_javax_annotation_api_1_3_2.xml │ ├── Maven__javax_validation_validation_api_2_0_1_Final.xml │ ├── Maven__javax_xml_bind_jaxb_api_2_3_1.xml │ ├── Maven__joda_time_joda_time_2_10_2.xml │ ├── Maven__junit_junit_4_12.xml │ ├── Maven__mysql_mysql_connector_java_8_0_16.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_9_13.xml │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_9_13.xml │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ ├── Maven__net_minidev_json_smart_2_3.xml │ ├── Maven__org_apache_commons_commons_lang3_3_8_1.xml │ ├── Maven__org_apache_logging_log4j_log4j_api_2_11_2.xml │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_11_2.xml │ ├── Maven__org_apache_shiro_shiro_cache_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_config_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_config_ogdl_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_cipher_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_hash_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_event_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_lang_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_spring_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_web_1_4_0.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_21.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_21.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_21.xml │ ├── Maven__org_assertj_assertj_core_3_11_1.xml │ ├── Maven__org_freemarker_freemarker_2_3_28.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ ├── Maven__org_hamcrest_hamcrest_library_1_3.xml │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_17_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml │ ├── Maven__org_mapstruct_mapstruct_1_2_0_Final.xml │ ├── Maven__org_mockito_mockito_core_2_23_4.xml │ ├── Maven__org_mybatis_mybatis_3_4_6.xml │ ├── Maven__org_mybatis_mybatis_spring_1_3_2.xml │ ├── Maven__org_objenesis_objenesis_2_6.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__org_projectlombok_lombok_1_18_8.xml │ ├── Maven__org_reactivestreams_reactive_streams_1_0_2.xml │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_26.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_26.xml │ ├── Maven__org_springframework_boot_spring_boot_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_configuration_processor_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_cache_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_redis_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_freemarker_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_1_6_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_commons_2_1_9_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_keyvalue_2_1_9_RELEASE.xml │ ├── Maven__org_springframework_data_spring_data_redis_2_1_9_RELEASE.xml │ ├── Maven__org_springframework_plugin_spring_plugin_core_1_2_0_RELEASE.xml │ ├── Maven__org_springframework_plugin_spring_plugin_metadata_1_2_0_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_context_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_context_support_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_core_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_jcl_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_oxm_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_test_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_web_5_1_8_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_5_1_8_RELEASE.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_6_2.xml │ └── Maven__org_yaml_snakeyaml_1_23.xml ├── misc.xml ├── modules.xml ├── sqldialects.xml ├── vcs.xml └── workspace.xml ├── Dockerfile ├── LICENSE ├── README.md ├── accout-mange.iml ├── build └── asciidoc │ └── snippets │ └── greetingGet │ ├── curl-request.adoc │ ├── http-request.adoc │ ├── http-response.adoc │ ├── httpie-request.adoc │ ├── request-body.adoc │ └── response-body.adoc ├── img ├── 1.png ├── 10.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png ├── 7.png ├── 8.png ├── 9.png ├── code.png └── table_.png ├── pom.xml ├── src ├── docs │ └── asciidoc │ │ └── index.adoc ├── main │ ├── java │ │ └── com │ │ │ └── hfut │ │ │ └── laboratory │ │ │ ├── AccoutMangeApplication.java │ │ │ ├── config │ │ │ ├── CorsConfig.java │ │ │ ├── DateConvertConfig.java │ │ │ ├── JwtConfig.java │ │ │ ├── MybatisPlusConfig.java │ │ │ ├── RedisConfig.java │ │ │ └── SwaggerConfig.java │ │ │ ├── constants │ │ │ ├── JwtConstans.java │ │ │ ├── TimeFormatConstants.java │ │ │ └── UrlConstants.java │ │ │ ├── controller │ │ │ ├── CouponCardController.java │ │ │ ├── CustomerController.java │ │ │ ├── PermissionController.java │ │ │ ├── ProjectController.java │ │ │ ├── RecordBusnessController.java │ │ │ ├── RecordsConsumptionController.java │ │ │ ├── RecordsTurnoverController.java │ │ │ ├── RoleController.java │ │ │ ├── SalaryController.java │ │ │ ├── StaffController.java │ │ │ ├── SystemController.java │ │ │ └── UserController.java │ │ │ ├── dto │ │ │ └── UserInfo.java │ │ │ ├── enums │ │ │ ├── ConsumeTypeEnum.java │ │ │ ├── PayTypeEnum.java │ │ │ └── ReturnCode.java │ │ │ ├── mapper │ │ │ ├── CouponCardDetailMapper.java │ │ │ ├── CouponCardMapper.java │ │ │ ├── CustomerCardMapper.java │ │ │ ├── CustomerCardProjectMapper.java │ │ │ ├── CustomerMapper.java │ │ │ ├── PermissionMapper.java │ │ │ ├── ProjectMapper.java │ │ │ ├── RecordBusinessMapper.java │ │ │ ├── RecordsConsumptionMapper.java │ │ │ ├── RecordsTurnoverMapper.java │ │ │ ├── RoleMapper.java │ │ │ ├── RolePermissionMapper.java │ │ │ ├── SalaryMapper.java │ │ │ ├── UserMapper.java │ │ │ └── UserRoleMapper.java │ │ │ ├── pojo │ │ │ ├── CouponCard.java │ │ │ ├── CouponCardDetail.java │ │ │ ├── Customer.java │ │ │ ├── CustomerCard.java │ │ │ ├── CustomerCardProject.java │ │ │ ├── Permission.java │ │ │ ├── Project.java │ │ │ ├── RecordBusiness.java │ │ │ ├── RecordsConsumption.java │ │ │ ├── RecordsTurnover.java │ │ │ ├── Role.java │ │ │ ├── RolePermission.java │ │ │ ├── Salary.java │ │ │ ├── User.java │ │ │ └── UserRole.java │ │ │ ├── service │ │ │ ├── CouponCardDetailService.java │ │ │ ├── CouponCardService.java │ │ │ ├── CustomerCardProjectService.java │ │ │ ├── CustomerCardService.java │ │ │ ├── CustomerService.java │ │ │ ├── PermissionService.java │ │ │ ├── ProjectService.java │ │ │ ├── RecordBusinessService.java │ │ │ ├── RecordsConsumptionService.java │ │ │ ├── RecordsTurnoverService.java │ │ │ ├── RolePermissionService.java │ │ │ ├── RoleService.java │ │ │ ├── SalaryService.java │ │ │ ├── UserRoleService.java │ │ │ ├── UserService.java │ │ │ └── impl │ │ │ │ ├── CouponCardDetailServiceImpl.java │ │ │ │ ├── CouponCardServiceImpl.java │ │ │ │ ├── CustomerCardProjectServiceImpl.java │ │ │ │ ├── CustomerCardServiceImpl.java │ │ │ │ ├── CustomerServiceImpl.java │ │ │ │ ├── PermissionServiceImpl.java │ │ │ │ ├── ProjectServiceImpl.java │ │ │ │ ├── RecordBusinessServiceImpl.java │ │ │ │ ├── RecordsConsumptionServiceImpl.java │ │ │ │ ├── RecordsTurnoverServiceImpl.java │ │ │ │ ├── RolePermissionServiceImpl.java │ │ │ │ ├── RoleServiceImpl.java │ │ │ │ ├── SalaryServiceImpl.java │ │ │ │ ├── UserRoleServiceImpl.java │ │ │ │ └── UserServiceImpl.java │ │ │ ├── shiro │ │ │ ├── ShiroConfig.java │ │ │ ├── filter │ │ │ │ ├── JWTFilter.java │ │ │ │ ├── PermisstionOrAuthorizationFilter.java │ │ │ │ └── RolesOrAuthorizationFilter.java │ │ │ ├── matcher │ │ │ │ └── UserCredentialsMatcher.java │ │ │ └── realm │ │ │ │ └── UserRealm.java │ │ │ ├── task │ │ │ ├── CustomerCardTask.java │ │ │ ├── SalaryTask.java │ │ │ └── TurnoverTask.java │ │ │ ├── util │ │ │ ├── BeanUtils.java │ │ │ ├── CodecUtils.java │ │ │ ├── CookieUtils.java │ │ │ ├── JsonUtils.java │ │ │ ├── ObjectMapperUtils.java │ │ │ ├── ObjectUtils.java │ │ │ ├── QueryWapperUtils.java │ │ │ ├── TimeConvertUtils.java │ │ │ └── jwt │ │ │ │ ├── JwtTokenUtils.java │ │ │ │ ├── JwtUtils.java │ │ │ │ └── RsaUtils.java │ │ │ └── vo │ │ │ ├── ApiResponse.java │ │ │ ├── PageResult.java │ │ │ ├── card │ │ │ ├── CardDetailVo.java │ │ │ ├── CardSimple.java │ │ │ └── CouponCardVo.java │ │ │ ├── customer │ │ │ ├── CustomerCardVo.java │ │ │ ├── CustomerEditBalanceVo.java │ │ │ ├── CustomerEditCardVo.java │ │ │ ├── CustomerMakeCardVo.java │ │ │ ├── CustomerReturnCardVo.java │ │ │ └── CustomerSettleVo.java │ │ │ ├── project │ │ │ └── ProjectSimple.java │ │ │ ├── record │ │ │ ├── AddOrEditConsumVo.java │ │ │ └── ReturnConsumVo.java │ │ │ ├── role │ │ │ └── RoleVo.java │ │ │ ├── salary │ │ │ ├── ReturnSalaryVo.java │ │ │ └── SetSalaryVo.java │ │ │ ├── staff │ │ │ └── SimpleStaffVo.java │ │ │ └── user │ │ │ ├── PasswordVo.java │ │ │ ├── UserQuery.java │ │ │ └── UserVo.java │ └── resources │ │ ├── application.properties │ │ ├── mappers │ │ ├── CouponCardDetailMapper.xml │ │ ├── CouponCardMapper.xml │ │ ├── CustomerCardMapper.xml │ │ ├── CustomerCardProjectMapper.xml │ │ ├── CustomerMapper.xml │ │ ├── PermissionMapper.xml │ │ ├── ProjectMapper.xml │ │ ├── RecordBusinessMapper.xml │ │ ├── RecordsConsumptionMapper.xml │ │ ├── RecordsTurnoverMapper.xml │ │ ├── RoleMapper.xml │ │ ├── RolePermissionMapper.xml │ │ ├── SalaryMapper.xml │ │ ├── UserMapper.xml │ │ └── UserRoleMapper.xml │ │ └── salary.txt └── test │ └── java │ └── com │ └── hfut │ └── laboratory │ ├── json │ ├── CouponCardJsons.java │ ├── CustomerJsons.java │ ├── ProjectJsons.java │ ├── SalaryJsons.java │ ├── StaffJsons.java │ └── UserJsons.java │ ├── jwt │ ├── GeneratorJwtToken.java │ └── GenerorRsa.java │ ├── mysql │ ├── Generator.java │ └── MybatisPlusTest.java │ ├── other │ └── OtherTests.java │ └── swagger │ └── Swagger2MarkupTest.java ├── web └── accout │ ├── .idea │ ├── accout.iml │ ├── misc.xml │ ├── modules.xml │ ├── vcs.xml │ └── workspace.xml │ ├── card.html │ ├── consum.html │ ├── css │ ├── base.css │ ├── common.css │ ├── common.less │ ├── consum_page.css │ ├── employeeSalary.css │ ├── first.css │ ├── first.less │ ├── login.css │ ├── second.css │ ├── second.less │ ├── staff.css │ ├── staff_common.css │ ├── staff_common.less │ ├── start.css │ ├── user.css │ └── user.less │ ├── customer.html │ ├── image │ ├── default.png │ ├── none.png │ └── 添加.png │ ├── js │ ├── card.js │ ├── common.js │ ├── consum.js │ ├── customer.js │ ├── index.js │ ├── login.js │ ├── project.js │ ├── salay.js │ ├── staff.js │ └── turnover.js │ ├── lib │ ├── artTemplate │ │ └── template-web.js │ ├── bootstrap-paginator │ │ ├── bootstrap-paginator.js │ │ └── bootstrap-paginator.min.js │ ├── bootstrap-validator │ │ ├── css │ │ │ ├── bootstrapValidator.css │ │ │ └── bootstrapValidator.min.css │ │ └── js │ │ │ ├── bootstrapValidator.js │ │ │ ├── bootstrapValidator.min.js │ │ │ └── language │ │ │ ├── ar_MA.js │ │ │ ├── be_NL.js │ │ │ ├── bg_BG.js │ │ │ ├── cs_CZ.js │ │ │ ├── da_DK.js │ │ │ ├── de_DE.js │ │ │ ├── en_US.js │ │ │ ├── es_CL.js │ │ │ ├── es_ES.js │ │ │ ├── fr_FR.js │ │ │ ├── gr_EL.js │ │ │ ├── hu_HU.js │ │ │ ├── it_IT.js │ │ │ ├── nl_NL.js │ │ │ ├── pl_PL.js │ │ │ ├── pt_BR.js │ │ │ ├── tr_TR.js │ │ │ ├── vi_VN.js │ │ │ ├── zh_CN.js │ │ │ └── zh_TW.js │ ├── bootstrap │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ ├── echarts │ │ └── echarts.min.js │ ├── jquery-confirm │ │ ├── jquery-confirm.min.css │ │ └── jquery-confirm.min.js │ ├── jquery-fileupload │ │ ├── jquery.fileupload.js │ │ ├── jquery.iframe-transport.js │ │ └── jquery.ui.widget.js │ ├── jquery │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ └── jquery.pagination.js │ ├── layDate │ │ ├── laydate │ │ │ ├── laydate.js │ │ │ └── theme │ │ │ │ └── default │ │ │ │ ├── font │ │ │ │ ├── iconfont.eot │ │ │ │ ├── iconfont.svg │ │ │ │ ├── iconfont.ttf │ │ │ │ └── iconfont.woff │ │ │ │ └── laydate.css │ │ ├── test.html │ │ ├── 文档 │ │ │ ├── 官网.url │ │ │ ├── 文档.url │ │ │ └── 社区.url │ │ └── 更新日志.url │ ├── nprogress │ │ ├── nprogress.css │ │ └── nprogress.js │ └── vue │ │ ├── vue-2_6_10.js │ │ ├── vue-resource-1_5_1.js │ │ └── vue-router-3.0.6.js │ ├── login.html │ ├── project.html │ ├── salary.html │ ├── staff.html │ └── turnover.html └── 数据库脚本 └── account_mange.sql /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_annotation_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_boot_starter_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_core_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_extension_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_generator_3_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_jsqlparser_jsqlparser_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_20_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_zaxxer_HikariCP_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_9_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_jsonwebtoken_jjwt_0_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_lettuce_lettuce_core_5_1_7_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_buffer_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_common_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_handler_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_resolver_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_4_1_36_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_projectreactor_reactor_core_3_2_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_core_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_schema_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_spi_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_spring_web_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger2_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger_common_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger_ui_2_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_swagger_swagger_annotations_1_5_20.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_swagger_swagger_models_1_5_20.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_activation_javax_activation_api_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_annotation_javax_annotation_api_1_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_validation_validation_api_2_0_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_10_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_8_0_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_9_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_lang3_3_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_11_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_11_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_cache_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_config_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_config_ogdl_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_cipher_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_hash_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_event_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_lang_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_spring_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_web_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_assertj_assertj_core_3_11_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_freemarker_freemarker_2_3_28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_validator_hibernate_validator_6_0_17_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mapstruct_mapstruct_1_2_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_2_23_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_3_4_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_spring_1_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_configuration_processor_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_cache_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_1_9_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_1_9_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_1_9_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_plugin_spring_plugin_core_1_2_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_plugin_spring_plugin_metadata_1_2_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_support_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jcl_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_oxm_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_5_1_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/sqldialects.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # From java image, version : 8 2 | FROM java:8 3 | 4 | ##将maven构建好的jar添加到镜像中 5 | ADD target/accout-mange-1.0-SNAPSHOT.jar accout-mange-1.0.jar 6 | #自动化部署了 所以每次在部署Jenkins的机子上 在build是用Add 或者creat是-v 7 | #ADD target/classes/rsa /tmp/rsa/ 8 | #ADD target/classes/salary.txt /tmp/salary.txt 9 | 10 | EXPOSE 8080 11 | 12 | ENTRYPOINT ["java", "-jar", "accout-mange-1.0.jar"] 13 | 14 | -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/curl-request.adoc: -------------------------------------------------------------------------------- 1 | [source,bash] 2 | ---- 3 | $ curl 'http://localhost:8080/greeting' -i -X GET \ 4 | -H 'Accept: application/json' 5 | ---- -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/http-request.adoc: -------------------------------------------------------------------------------- 1 | [source,http,options="nowrap"] 2 | ---- 3 | GET /greeting HTTP/1.1 4 | Accept: application/json 5 | Host: localhost:8080 6 | 7 | ---- -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/http-response.adoc: -------------------------------------------------------------------------------- 1 | [source,http,options="nowrap"] 2 | ---- 3 | HTTP/1.1 302 Found 4 | Location: /acc/pub/reject 5 | 6 | ---- -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/httpie-request.adoc: -------------------------------------------------------------------------------- 1 | [source,bash] 2 | ---- 3 | $ http GET 'http://localhost:8080/greeting' \ 4 | 'Accept:application/json' 5 | ---- -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/request-body.adoc: -------------------------------------------------------------------------------- 1 | [source,options="nowrap"] 2 | ---- 3 | 4 | ---- -------------------------------------------------------------------------------- /build/asciidoc/snippets/greetingGet/response-body.adoc: -------------------------------------------------------------------------------- 1 | [source,options="nowrap"] 2 | ---- 3 | 4 | ---- -------------------------------------------------------------------------------- /img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/1.png -------------------------------------------------------------------------------- /img/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/10.png -------------------------------------------------------------------------------- /img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/2.png -------------------------------------------------------------------------------- /img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/3.png -------------------------------------------------------------------------------- /img/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/4.png -------------------------------------------------------------------------------- /img/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/5.png -------------------------------------------------------------------------------- /img/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/6.png -------------------------------------------------------------------------------- /img/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/7.png -------------------------------------------------------------------------------- /img/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/8.png -------------------------------------------------------------------------------- /img/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/9.png -------------------------------------------------------------------------------- /img/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/code.png -------------------------------------------------------------------------------- /img/table_.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/img/table_.png -------------------------------------------------------------------------------- /src/docs/asciidoc/index.adoc: -------------------------------------------------------------------------------- 1 | include::{generated}/overview.adoc[] 2 | include::{generated}/paths.adoc[] 3 | include::{generated}/security.adoc[] 4 | include::{generated}/definitions.adoc[] -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/AccoutMangeApplication.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory; 2 | 3 | import com.hfut.laboratory.controller.CouponCardController; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.scheduling.annotation.EnableScheduling; 7 | 8 | 9 | @SpringBootApplication 10 | @EnableScheduling 11 | public class AccoutMangeApplication { 12 | 13 | public static void main(String[] args) { 14 | SpringApplication.run(AccoutMangeApplication.class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/config/CorsConfig.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.web.cors.CorsConfiguration; 6 | import org.springframework.web.cors.UrlBasedCorsConfigurationSource; 7 | import org.springframework.web.filter.CorsFilter; 8 | 9 | /** 10 | * 跨域支持 11 | */ 12 | @Configuration 13 | public class CorsConfig { 14 | 15 | @Bean 16 | public CorsFilter corsFilter(){ 17 | CorsConfiguration corsConfiguration=new CorsConfiguration(); 18 | //允许携带请求头 19 | corsConfiguration.addAllowedHeader("*"); 20 | 21 | //允许所有访问方法 Get、Post... 22 | corsConfiguration.addAllowedMethod("*"); 23 | 24 | //TODO http://127.0.0.1:80 25 | //corsConfiguration.addAllowedOrigin("http://localhost"); 26 | //corsConfiguration.addAllowedOrigin("http://106.14.125.136"); 27 | corsConfiguration.addAllowedOrigin("*"); 28 | 29 | //允许携带cookie 此时允许的origin不可以为* 30 | corsConfiguration.setAllowCredentials(true); 31 | 32 | UrlBasedCorsConfigurationSource urlBasedCorsConfigurationSource=new UrlBasedCorsConfigurationSource(); 33 | urlBasedCorsConfigurationSource.registerCorsConfiguration("/**",corsConfiguration); 34 | 35 | return new CorsFilter(urlBasedCorsConfigurationSource); 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/config/JwtConfig.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.config; 2 | 3 | import com.hfut.laboratory.util.jwt.JwtUtils; 4 | import com.hfut.laboratory.util.jwt.RsaUtils; 5 | import lombok.Data; 6 | import org.springframework.boot.context.properties.ConfigurationProperties; 7 | import org.springframework.context.annotation.Bean; 8 | import org.springframework.context.annotation.Configuration; 9 | 10 | import javax.annotation.PostConstruct; 11 | import java.security.PrivateKey; 12 | import java.security.PublicKey; 13 | 14 | /** 15 | * 读取配置文件的jwt信息 16 | */ 17 | @Configuration 18 | @ConfigurationProperties(prefix = "jwt") 19 | @Data 20 | public class JwtConfig { 21 | 22 | private String cookieName; 23 | private String pubKeyPath; 24 | private String priKeyPath; 25 | private String secret; 26 | private Integer adminExpireMinutes; 27 | private Integer expireMinutes; 28 | 29 | private PublicKey publicKey; 30 | private PrivateKey privateKey; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/config/MybatisPlusConfig.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.config; 2 | 3 | import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; 4 | import org.mybatis.spring.annotation.MapperScan; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | 8 | /** 9 | * mybatis plus的设置 10 | */ 11 | @Configuration 12 | @MapperScan("com.hfut.laboratory.mapper") 13 | public class MybatisPlusConfig { 14 | 15 | /** 16 | * 分页插件 17 | */ 18 | @Bean 19 | public PaginationInterceptor paginationInterceptor() { 20 | return new PaginationInterceptor(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/config/SwaggerConfig.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import springfox.documentation.builders.ApiInfoBuilder; 6 | import springfox.documentation.builders.PathSelectors; 7 | import springfox.documentation.builders.RequestHandlerSelectors; 8 | import springfox.documentation.service.Contact; 9 | import springfox.documentation.spi.DocumentationType; 10 | import springfox.documentation.spring.web.plugins.Docket; 11 | import springfox.documentation.swagger2.annotations.EnableSwagger2; 12 | 13 | /** 14 | * swagger的设置 15 | */ 16 | @Configuration 17 | @EnableSwagger2 18 | public class SwaggerConfig { 19 | @Bean 20 | public Docket createRestApi() { 21 | return new Docket(DocumentationType.SWAGGER_2) 22 | .pathMapping("/") 23 | .select() 24 | .apis(RequestHandlerSelectors.basePackage("com.hfut.laboratory.controller")) 25 | .paths(PathSelectors.any()) 26 | .build().apiInfo(new ApiInfoBuilder() 27 | .title("后台url接口文档") 28 | .description("详细信息......") 29 | // 作者信息 30 | .contact(new Contact("yzx", "https://blog.csdn.net/weixin_43934607", "1915321657@qq.com")) 31 | .version("1.0") 32 | .build()); 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/constants/JwtConstans.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.constants; 2 | 3 | /** 4 | * 如果jwt的载荷(即UserInfo)中增加或者更改了字段 在这里要进行改变 5 | */ 6 | public abstract class JwtConstans { 7 | public static final String JWT_KEY_ID = "id"; 8 | public static final String JWT_KEY_USER_NAME = "username"; 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/constants/TimeFormatConstants.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.constants; 2 | 3 | public class TimeFormatConstants { 4 | 5 | /** 默认日期时间格式 */ 6 | public static final String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss"; 7 | /** 默认日期格式 */ 8 | public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd"; 9 | /** 默认时间格式 */ 10 | public static final String DEFAULT_TIME_FORMAT = "HH:mm:ss"; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/dto/UserInfo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.dto; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * jwt的Token中包含的对象 9 | */ 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class UserInfo { 14 | 15 | private Integer id; 16 | 17 | private String username; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/enums/ConsumeTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.enums; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * 消费类型 7 | */ 8 | public enum ConsumeTypeEnum { 9 | 10 | //1.收费项目、2.办卡、3.充值余额、4.给卡充值次数、5.退余额、6.退卡 11 | PROJECT(1,"消费收费项目"), 12 | MAKE_CARD(2,"办卡消费"), 13 | ADD_BALANCE(3,"充值余额"), 14 | ADD_PROTIMES(4,"给卡的项目充值次数"), 15 | RETURN_BALANCE(5,"退还余额"), 16 | RETURN_CARD(6,"退卡") 17 | ; 18 | 19 | 20 | private Integer type; 21 | private String describe; 22 | 23 | ConsumeTypeEnum(Integer type, String describe) { 24 | this.type=type; 25 | this.describe=describe; 26 | } 27 | 28 | public Integer getType() { 29 | return type; 30 | } 31 | 32 | public void setType(Integer type) { 33 | this.type = type; 34 | } 35 | 36 | public String getDescribe() { 37 | return describe; 38 | } 39 | 40 | public void setDescribe(String describe) { 41 | this.describe = describe; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/enums/PayTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.enums; 2 | 3 | /** 4 | * 支付类型 5 | */ 6 | public enum PayTypeEnum { 7 | 8 | //0:给客户退钱、1:从卡里扣除,2.从余额里扣除,3:花钱支付 9 | RETURN_TO_COSTOMER(0,"退卡或者退余额 需要给客户退钱"), 10 | REDUCE_CARD_TIMES(1,"从卡里扣除项目次数"), 11 | REDUCE_BALANCE(2,"从余额中扣除"), 12 | USE_MONEY(3,"不扣除 掏钱支付") 13 | ; 14 | 15 | private Integer type; 16 | private String describe; 17 | 18 | PayTypeEnum(Integer type, String describe) { 19 | this.type=type; 20 | this.describe=describe; 21 | } 22 | 23 | public Integer getType() { 24 | return type; 25 | } 26 | 27 | public void setType(Integer type) { 28 | this.type = type; 29 | } 30 | 31 | public String getDescribe() { 32 | return describe; 33 | } 34 | 35 | public void setDescribe(String describe) { 36 | this.describe = describe; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/CouponCardDetailMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.CouponCardDetail; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CouponCardDetailMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/CouponCardMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.CouponCard; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CouponCardMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/CustomerCardMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCard; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerCardMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/CustomerCardProjectMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCardProject; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerCardProjectMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/CustomerMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.Customer; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/PermissionMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.Permission; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface PermissionMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/ProjectMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.Project; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface ProjectMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/RecordBusinessMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.RecordBusiness; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | import org.apache.ibatis.annotations.Param; 6 | import org.apache.ibatis.annotations.Select; 7 | 8 | import java.time.LocalDateTime; 9 | import java.util.List; 10 | import java.util.Map; 11 | 12 | /** 13 | *

14 | * Mapper 接口 15 | *

16 | * 17 | * @author yzx 18 | * @since 2019-11-11 19 | */ 20 | public interface RecordBusinessMapper extends BaseMapper { 21 | 22 | @Select({""}) 34 | List> groupByProject(@Param("type") Integer type, 35 | @Param("startTime")String startTime, 36 | @Param("endTime") String endTime); 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/RecordsConsumptionMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.RecordsConsumption; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RecordsConsumptionMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/RecordsTurnoverMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.RecordsTurnover; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RecordsTurnoverMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.Role; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RoleMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/RolePermissionMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.RolePermission; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RolePermissionMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/SalaryMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.Salary; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface SalaryMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.User; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface UserMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/mapper/UserRoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mapper; 2 | 3 | import com.hfut.laboratory.pojo.UserRole; 4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface UserRoleMapper extends BaseMapper { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/CouponCard.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class CouponCard implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private String name; 33 | 34 | private Float price; 35 | 36 | /** 37 | * 提成 38 | */ 39 | private Float percentage; 40 | 41 | private LocalDateTime startTime; 42 | 43 | private LocalDateTime endTime; 44 | 45 | private Integer status; 46 | 47 | private String introduction; 48 | 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/CouponCardDetail.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class CouponCardDetail implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private Integer cardId; 32 | 33 | private Integer projectId; 34 | 35 | private Integer times; 36 | 37 | private String introduction; 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/Customer.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class Customer implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private String name; 33 | 34 | /** 35 | * 1:男,2:女 36 | */ 37 | private Integer sex; 38 | 39 | private LocalDateTime registeTime; 40 | 41 | private String phone; 42 | 43 | private String weixin; 44 | 45 | /** 46 | * 余额 47 | */ 48 | private Float balance; 49 | 50 | /** 51 | * 状态 1:可用、2:不可用 52 | */ 53 | private Integer status; 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/CustomerCard.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class CustomerCard implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private Integer userId; 33 | 34 | private Integer customerId; 35 | 36 | private Integer cardId; 37 | 38 | private LocalDateTime openingTime; 39 | 40 | private LocalDateTime deadTime; 41 | 42 | private Float price; 43 | 44 | private String remarks; 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/CustomerCardProject.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class CustomerCardProject implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private Integer customerCardId; 32 | 33 | private Integer projectId; 34 | 35 | private Integer residualTimes; 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/Permission.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class Permission implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private String name; 32 | 33 | private String introduction; 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/Project.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class Project implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private String name; 32 | 33 | private Float price; 34 | 35 | private Float percentage; 36 | 37 | private Integer status; 38 | 39 | private String introduction; 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/RecordBusiness.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-11 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class RecordBusiness implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private Integer userId; 33 | 34 | private Integer customerId; 35 | /** 36 | * 1:办卡、2:完成收费项目 37 | */ 38 | private Integer type; 39 | 40 | /** 41 | * 卡或者项目的id 42 | */ 43 | private Integer thingId; 44 | 45 | /** 46 | * 啥时候做的 47 | */ 48 | private LocalDateTime date; 49 | 50 | 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/RecordsConsumption.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class RecordsConsumption implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private Integer customerId; 33 | 34 | private Integer userId; 35 | 36 | /** 37 | * 消费类型 1:收费项目、2.办卡、3.充值余额、4.给卡增加次数 38 | */ 39 | private Integer consumType; 40 | 41 | private Float price; 42 | 43 | /** 44 | * 1:从卡里扣除,2:从余额扣除,3.支付 45 | */ 46 | private Integer payType; 47 | 48 | private LocalDateTime payTime; 49 | 50 | private String remark; 51 | 52 | /** 53 | * 是否被营业额所统计 54 | */ 55 | private boolean isRecord; 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/RecordsTurnover.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class RecordsTurnover implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | /** 33 | * 某一天(以天为单位) 34 | */ 35 | private LocalDateTime date; 36 | 37 | /** 38 | * 收入的钱:payType=3 39 | */ 40 | private Float moneyIncome; 41 | 42 | /** 43 | * 给客户退的钱(退余额和退卡)payType=0 44 | */ 45 | private Float moneyOutcome; 46 | 47 | /** 48 | * 通过卡消费的钱数 payType=1 49 | */ 50 | private Float cardReduce; 51 | 52 | /** 53 | * 通过余额消费 payType=2 54 | */ 55 | private Float balanceReduce; 56 | 57 | /** 58 | * 总的收入 money_income - money_outcome 59 | */ 60 | private Float sumIncome; 61 | 62 | 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/Role.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class Role implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private String name; 32 | 33 | private String introduction; 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/RolePermission.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class RolePermission implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private Integer roleId; 32 | 33 | private Integer permissionId; 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/Salary.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import lombok.*; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author yzx 17 | * @since 2019-11-09 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class Salary implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | /** 33 | * 用户id(员工类型) 34 | */ 35 | private Integer userId; 36 | 37 | /** 38 | * 任何方式支付前提下完成收费项目的价值 39 | */ 40 | private Float proSum; 41 | 42 | /** 43 | * 任何方式支付前提下完成办卡的价值 44 | */ 45 | private Float cardSum; 46 | 47 | /** 48 | * 招揽的现金营业额 49 | */ 50 | private Float makeMoneyIncome; 51 | 52 | /** 53 | * 底薪 54 | */ 55 | private Float baseSalary; 56 | 57 | private Float proAdd; 58 | 59 | /** 60 | * 总的工资 61 | */ 62 | private Float sumSalary; 63 | 64 | /** 65 | * 结算日期 66 | */ 67 | private LocalDateTime settleDate; 68 | 69 | private String remark; 70 | } 71 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/User.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.time.LocalDateTime; 6 | import java.io.Serializable; 7 | 8 | import com.fasterxml.jackson.annotation.JsonIgnore; 9 | import lombok.*; 10 | import lombok.experimental.Accessors; 11 | 12 | /** 13 | *

14 | * 15 | *

16 | * 17 | * @author yzx 18 | * @since 2019-11-09 19 | */ 20 | @Data 21 | @EqualsAndHashCode(callSuper = false) 22 | @Accessors(chain = true) 23 | @AllArgsConstructor 24 | @NoArgsConstructor 25 | @Builder 26 | public class User implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @TableId(value = "id", type = IdType.AUTO) 31 | private Integer id; 32 | 33 | private String name; 34 | 35 | /** 36 | * 1:男,2:女 37 | */ 38 | private Integer sex; 39 | 40 | private LocalDateTime entryTime; 41 | 42 | private String phone; 43 | 44 | private String password; 45 | 46 | /** 47 | * 1:在职,2:休假,3:离职 48 | */ 49 | private Integer status; 50 | 51 | private Float baseSalary; 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/pojo/UserRole.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.pojo; 2 | 3 | import com.baomidou.mybatisplus.annotation.IdType; 4 | import com.baomidou.mybatisplus.annotation.TableId; 5 | import java.io.Serializable; 6 | 7 | import lombok.*; 8 | import lombok.experimental.Accessors; 9 | 10 | /** 11 | *

12 | * 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-09 17 | */ 18 | @Data 19 | @EqualsAndHashCode(callSuper = false) 20 | @Accessors(chain = true) 21 | @AllArgsConstructor 22 | @NoArgsConstructor 23 | @Builder 24 | public class UserRole implements Serializable { 25 | 26 | private static final long serialVersionUID = 1L; 27 | 28 | @TableId(value = "id", type = IdType.AUTO) 29 | private Integer id; 30 | 31 | private Integer userId; 32 | 33 | private Integer roleId; 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/CouponCardDetailService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.CouponCardDetail; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CouponCardDetailService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/CouponCardService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.CouponCard; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CouponCardService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/CustomerCardProjectService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCardProject; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerCardProjectService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/CustomerCardService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCard; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerCardService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/CustomerService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.Customer; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface CustomerService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/PermissionService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.Permission; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface PermissionService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/ProjectService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.Project; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface ProjectService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/RecordBusinessService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.RecordBusiness; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | import java.time.LocalDateTime; 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | *

12 | * 服务类 13 | *

14 | * 15 | * @author yzx 16 | * @since 2019-11-11 17 | */ 18 | public interface RecordBusinessService extends IService { 19 | 20 | List> groupByProject(Integer type, LocalDateTime startTime, LocalDateTime endTime); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/RecordsConsumptionService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.RecordsConsumption; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RecordsConsumptionService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/RecordsTurnoverService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.RecordsTurnover; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RecordsTurnoverService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/RolePermissionService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.RolePermission; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RolePermissionService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.Role; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface RoleService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/SalaryService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.Salary; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface SalaryService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/UserRoleService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.UserRole; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface UserRoleService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service; 2 | 3 | import com.hfut.laboratory.pojo.User; 4 | import com.baomidou.mybatisplus.extension.service.IService; 5 | 6 | /** 7 | *

8 | * 服务类 9 | *

10 | * 11 | * @author yzx 12 | * @since 2019-11-10 13 | */ 14 | public interface UserService extends IService { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/CouponCardDetailServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.CouponCardDetail; 4 | import com.hfut.laboratory.mapper.CouponCardDetailMapper; 5 | import com.hfut.laboratory.service.CouponCardDetailService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class CouponCardDetailServiceImpl extends ServiceImpl implements CouponCardDetailService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/CouponCardServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.CouponCard; 4 | import com.hfut.laboratory.mapper.CouponCardMapper; 5 | import com.hfut.laboratory.service.CouponCardService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class CouponCardServiceImpl extends ServiceImpl implements CouponCardService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/CustomerCardProjectServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCardProject; 4 | import com.hfut.laboratory.mapper.CustomerCardProjectMapper; 5 | import com.hfut.laboratory.service.CustomerCardProjectService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class CustomerCardProjectServiceImpl extends ServiceImpl implements CustomerCardProjectService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/CustomerCardServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCard; 4 | import com.hfut.laboratory.mapper.CustomerCardMapper; 5 | import com.hfut.laboratory.service.CustomerCardService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class CustomerCardServiceImpl extends ServiceImpl implements CustomerCardService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/CustomerServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.Customer; 4 | import com.hfut.laboratory.mapper.CustomerMapper; 5 | import com.hfut.laboratory.service.CustomerService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class CustomerServiceImpl extends ServiceImpl implements CustomerService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/PermissionServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.Permission; 4 | import com.hfut.laboratory.mapper.PermissionMapper; 5 | import com.hfut.laboratory.service.PermissionService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class PermissionServiceImpl extends ServiceImpl implements PermissionService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/ProjectServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.Project; 4 | import com.hfut.laboratory.mapper.ProjectMapper; 5 | import com.hfut.laboratory.service.ProjectService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class ProjectServiceImpl extends ServiceImpl implements ProjectService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/RecordBusinessServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.constants.TimeFormatConstants; 4 | import com.hfut.laboratory.pojo.RecordBusiness; 5 | import com.hfut.laboratory.mapper.RecordBusinessMapper; 6 | import com.hfut.laboratory.service.RecordBusinessService; 7 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 8 | import org.springframework.stereotype.Service; 9 | 10 | import javax.annotation.Resource; 11 | import java.time.LocalDateTime; 12 | import java.time.format.DateTimeFormatter; 13 | import java.util.List; 14 | import java.util.Map; 15 | 16 | /** 17 | *

18 | * 服务实现类 19 | *

20 | * 21 | * @author yzx 22 | * @since 2019-11-11 23 | */ 24 | @Service 25 | public class RecordBusinessServiceImpl extends ServiceImpl implements RecordBusinessService { 26 | 27 | @Resource 28 | private RecordBusinessMapper recordBusinessMapper; 29 | 30 | @Override 31 | public List> groupByProject(Integer type, LocalDateTime startTime,LocalDateTime endTime) { 32 | return recordBusinessMapper.groupByProject(type, 33 | startTime!=null ? startTime.format(DateTimeFormatter.ofPattern(TimeFormatConstants.DEFAULT_DATE_TIME_FORMAT)): null , 34 | endTime!=null ? endTime.format(DateTimeFormatter.ofPattern(TimeFormatConstants.DEFAULT_DATE_TIME_FORMAT)): null ); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/RecordsConsumptionServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.RecordsConsumption; 4 | import com.hfut.laboratory.mapper.RecordsConsumptionMapper; 5 | import com.hfut.laboratory.service.RecordsConsumptionService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class RecordsConsumptionServiceImpl extends ServiceImpl implements RecordsConsumptionService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/RecordsTurnoverServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.RecordsTurnover; 4 | import com.hfut.laboratory.mapper.RecordsTurnoverMapper; 5 | import com.hfut.laboratory.service.RecordsTurnoverService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class RecordsTurnoverServiceImpl extends ServiceImpl implements RecordsTurnoverService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/RolePermissionServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.RolePermission; 4 | import com.hfut.laboratory.mapper.RolePermissionMapper; 5 | import com.hfut.laboratory.service.RolePermissionService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class RolePermissionServiceImpl extends ServiceImpl implements RolePermissionService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/RoleServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.Role; 4 | import com.hfut.laboratory.mapper.RoleMapper; 5 | import com.hfut.laboratory.service.RoleService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class RoleServiceImpl extends ServiceImpl implements RoleService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/SalaryServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.Salary; 4 | import com.hfut.laboratory.mapper.SalaryMapper; 5 | import com.hfut.laboratory.service.SalaryService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class SalaryServiceImpl extends ServiceImpl implements SalaryService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/UserRoleServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.UserRole; 4 | import com.hfut.laboratory.mapper.UserRoleMapper; 5 | import com.hfut.laboratory.service.UserRoleService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class UserRoleServiceImpl extends ServiceImpl implements UserRoleService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/service/impl/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.service.impl; 2 | 3 | import com.hfut.laboratory.pojo.User; 4 | import com.hfut.laboratory.mapper.UserMapper; 5 | import com.hfut.laboratory.service.UserService; 6 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 7 | import org.springframework.stereotype.Service; 8 | 9 | /** 10 | *

11 | * 服务实现类 12 | *

13 | * 14 | * @author yzx 15 | * @since 2019-11-10 16 | */ 17 | @Service 18 | public class UserServiceImpl extends ServiceImpl implements UserService { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/shiro/matcher/UserCredentialsMatcher.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.shiro.matcher; 2 | 3 | import com.hfut.laboratory.util.CodecUtils; 4 | import org.apache.shiro.authc.AuthenticationInfo; 5 | import org.apache.shiro.authc.AuthenticationToken; 6 | import org.apache.shiro.authc.UsernamePasswordToken; 7 | import org.apache.shiro.authc.credential.SimpleCredentialsMatcher; 8 | 9 | /** 10 | * 调用suject.login的时候会调用该方法进行密码校验 11 | */ 12 | public class UserCredentialsMatcher extends SimpleCredentialsMatcher { 13 | 14 | @Override 15 | public boolean doCredentialsMatch(AuthenticationToken authcToken, AuthenticationInfo info) { 16 | UsernamePasswordToken token = (UsernamePasswordToken) authcToken; 17 | String tokenCredentials = CodecUtils.md5Hex(new String(token.getPassword()),3); 18 | String accountCredentials = (String) getCredentials(info); 19 | 20 | return equals(tokenCredentials, accountCredentials); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/util/BeanUtils.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.util; 2 | 3 | import org.springframework.web.context.WebApplicationContext; 4 | import org.springframework.web.context.support.WebApplicationContextUtils; 5 | 6 | import javax.servlet.http.HttpServletRequest; 7 | 8 | public class BeanUtils { 9 | 10 | public static T getBean(Class clazz, HttpServletRequest request){ 11 | WebApplicationContext applicationContext = WebApplicationContextUtils.getRequiredWebApplicationContext(request.getServletContext()); 12 | return applicationContext.getBean(clazz); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/util/CodecUtils.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.util; 2 | 3 | import org.apache.commons.codec.digest.DigestUtils; 4 | import org.apache.commons.lang3.StringUtils; 5 | 6 | import java.util.UUID; 7 | 8 | public class CodecUtils { 9 | 10 | 11 | /* 12 | * md5加密 13 | * data:要加密的字符串 14 | * salt:盐 15 | */ 16 | public static String md5Hex(String data,String salt) { 17 | if (StringUtils.isBlank(salt)) { 18 | salt = data.hashCode() + ""; 19 | } 20 | return DigestUtils.md5Hex(salt + DigestUtils.md5Hex(data)); 21 | } 22 | 23 | /** 24 | * 25 | * @param data 26 | * @param times:次数 27 | * @return 28 | */ 29 | public static String md5Hex(String data,Integer times){ 30 | String res=""; 31 | for(int i=0;i 13 | */ 14 | @Data 15 | @NoArgsConstructor 16 | @AllArgsConstructor 17 | @Builder 18 | public class PageResult { 19 | 20 | private List records; 21 | private Long total; 22 | private Long size; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/card/CardDetailVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.card; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * 修改优惠卡项目时传递的对象 12 | */ 13 | @Data 14 | @Builder 15 | @NoArgsConstructor 16 | @AllArgsConstructor 17 | public class CardDetailVo { 18 | 19 | @Data 20 | @NoArgsConstructor 21 | public static class ProDetail{ 22 | private Integer projectId; 23 | private Integer times; 24 | private String introduction; 25 | } 26 | 27 | private Integer cardId; 28 | private List proDetails; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/card/CardSimple.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.card; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | @Data 9 | @AllArgsConstructor 10 | @NoArgsConstructor 11 | @Builder 12 | public class CardSimple { 13 | 14 | private Integer id; 15 | private String name; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/card/CouponCardVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.card; 2 | 3 | import com.hfut.laboratory.pojo.CouponCard; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Builder; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * 优惠卡基本信息+所包含项目 13 | */ 14 | @Data 15 | @AllArgsConstructor 16 | @NoArgsConstructor 17 | public class CouponCardVo extends CouponCard { 18 | 19 | @Data 20 | @Builder 21 | @NoArgsConstructor 22 | @AllArgsConstructor 23 | public static class Deatil { 24 | private Integer projectId; 25 | private String projectName; 26 | private Integer times; 27 | } 28 | 29 | private List deatils; 30 | 31 | public CouponCardVo(CouponCard card,List deatils){ 32 | this.deatils=deatils; 33 | this.setId(card.getId()); 34 | this.setStartTime(card.getStartTime()); 35 | this.setEndTime(card.getEndTime()); 36 | this.setIntroduction(card.getIntroduction()); 37 | this.setName(card.getName()); 38 | this.setPercentage(card.getPercentage()); 39 | this.setStatus(card.getStatus()); 40 | this.setPrice(card.getPrice()); 41 | } 42 | } 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerCardVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import com.hfut.laboratory.pojo.CustomerCard; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import java.util.List; 9 | 10 | /** 11 | * 客户优惠卡基本信息+所包含项目 12 | */ 13 | @Data 14 | @NoArgsConstructor 15 | @AllArgsConstructor 16 | public class CustomerCardVo extends CustomerCard { 17 | 18 | @Data 19 | @NoArgsConstructor 20 | @AllArgsConstructor 21 | public static class Deatil { 22 | private Integer projectId; 23 | private String projectName; 24 | private Integer residualTimes; 25 | } 26 | 27 | private List deatils; 28 | private String cardName; 29 | 30 | public CustomerCardVo(CustomerCard card,List deatils,String cardName){ 31 | this.deatils=deatils; 32 | this.cardName=cardName; 33 | this.setId(card.getId()); 34 | this.setCardId(card.getCardId()); 35 | this.setCustomerId(card.getCustomerId()); 36 | this.setOpeningTime(card.getOpeningTime()); 37 | this.setDeadTime(card.getDeadTime()); 38 | this.setRemarks(card.getRemarks()); 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerEditBalanceVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 客户充值或减少余额 10 | */ 11 | @Data 12 | @Builder 13 | @NoArgsConstructor 14 | @AllArgsConstructor 15 | public class CustomerEditBalanceVo { 16 | 17 | private Integer staffId; 18 | //如果是扣除为负,如果是充值为正 19 | private Float changeBalance; 20 | //如果changeBalance<0 那么是:0.退钱给客户,2.消费余额 21 | private Integer payType; 22 | //如果payType=2 那么减少余额的原因:1.收费项目、2.办卡、4.给卡充值次数、5.退余额 23 | private Integer consumType; 24 | //此次改变的备注 25 | private String remark; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerEditCardVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 客户充值或减少卡的次数 10 | */ 11 | @Data 12 | @Builder 13 | @NoArgsConstructor 14 | @AllArgsConstructor 15 | public class CustomerEditCardVo { 16 | 17 | private Integer staffId; 18 | private Integer customerCardId; 19 | private Integer projectId; 20 | //改变的次数 充值为正 减少为负 21 | private Integer times; 22 | //如果是扣除次数:不填,如果是充值 那么充值花多钱 23 | private Float price; 24 | //如果扣除次数:1,如果是充值 充值的方式 2.从余额里扣除,3:支付 25 | private Integer payType; 26 | //此次改变的备注 27 | private String remark; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerMakeCardVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import io.swagger.models.auth.In; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Builder; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | import java.time.LocalDateTime; 10 | 11 | /** 12 | * 客户办卡时传递的对象 13 | */ 14 | @Data 15 | @NoArgsConstructor 16 | @Builder 17 | @AllArgsConstructor 18 | public class CustomerMakeCardVo { 19 | 20 | private Integer staffId; 21 | private Integer cardId; 22 | private LocalDateTime openingTime; 23 | private LocalDateTime deadTime; 24 | private Float price; 25 | //2.从余额里扣除,3:支付 26 | private Integer payType; 27 | private String remark; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerReturnCardVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 删除客户卡 10 | */ 11 | @Data 12 | @Builder 13 | @NoArgsConstructor 14 | @AllArgsConstructor 15 | public class CustomerReturnCardVo { 16 | 17 | private Integer staffId; 18 | private Integer customerCardId; 19 | //退的钱 20 | private Float price; 21 | //此次改变的备注 22 | private String remark; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/customer/CustomerSettleVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.customer; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 客户使用结算某些项目时 10 | */ 11 | @Data 12 | @Builder 13 | @NoArgsConstructor 14 | @AllArgsConstructor 15 | public class CustomerSettleVo { 16 | 17 | private Integer staffId; 18 | //如果不是会员不填 19 | private Integer customerId; 20 | private Integer payType; 21 | private Integer projectId; 22 | private Float price; 23 | //此次改变的备注 24 | private String remark; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/project/ProjectSimple.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.project; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | @Data 9 | @AllArgsConstructor 10 | @NoArgsConstructor 11 | @Builder 12 | public class ProjectSimple { 13 | private Integer id; 14 | private String name; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/record/AddOrEditConsumVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.record; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | @AllArgsConstructor 9 | @NoArgsConstructor 10 | @Data 11 | @Builder 12 | public class AddOrEditConsumVo { 13 | 14 | private String customerName; 15 | 16 | private Integer staffId; 17 | 18 | /** 19 | * 消费类型 1:收费项目、2.办卡、3.充值余额、4.给卡增加次数 20 | */ 21 | private Integer consumType; 22 | 23 | private Float price; 24 | 25 | /** 26 | * 1:从卡里扣除,2:从余额扣除,3.支付 27 | */ 28 | private Integer payType; 29 | 30 | private String remark; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/record/ReturnConsumVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.record; 2 | 3 | import com.hfut.laboratory.pojo.RecordsConsumption; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | @AllArgsConstructor 9 | @NoArgsConstructor 10 | @Data 11 | public class ReturnConsumVo extends RecordsConsumption { 12 | 13 | private String customerName; 14 | private String staffName; 15 | 16 | public ReturnConsumVo(RecordsConsumption record,String customerName,String staffName){ 17 | this.customerName=customerName; 18 | this.staffName=staffName; 19 | this.setRecord(record.isRecord()); 20 | this.setConsumType(record.getConsumType()); 21 | this.setPayType(record.getPayType()); 22 | this.setCustomerId(record.getCustomerId()); 23 | this.setUserId(record.getUserId()); 24 | this.setId(record.getId()); 25 | this.setPayTime(record.getPayTime()); 26 | this.setPrice(record.getPrice()); 27 | this.setRemark(record.getRemark()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/role/RoleVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.role; 2 | 3 | import com.hfut.laboratory.pojo.Permission; 4 | import com.hfut.laboratory.pojo.Role; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | 10 | import java.util.List; 11 | 12 | /** 13 | * 角色的详情 14 | */ 15 | @Data 16 | @AllArgsConstructor 17 | @NoArgsConstructor 18 | public class RoleVo extends Role { 19 | 20 | List permissionList; 21 | 22 | public RoleVo(Role role,List permissionList){ 23 | this.permissionList=permissionList; 24 | this.setId(role.getId()); 25 | this.setName(role.getName()); 26 | this.setIntroduction(role.getIntroduction()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/salary/ReturnSalaryVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.salary; 2 | 3 | import com.hfut.laboratory.pojo.Salary; 4 | import lombok.AllArgsConstructor; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | /** 9 | * 返回的薪水详情 10 | */ 11 | @Data 12 | @AllArgsConstructor 13 | @NoArgsConstructor 14 | public class ReturnSalaryVo extends Salary { 15 | 16 | /** 17 | * 用户名称 18 | */ 19 | private String staffName; 20 | 21 | public ReturnSalaryVo(Salary salary, String staffName){ 22 | this.staffName=staffName; 23 | this.setId(salary.getId()); 24 | this.setUserId(salary.getUserId()); 25 | this.setCardSum(salary.getCardSum()); 26 | this.setProSum(salary.getProSum()); 27 | this.setMakeMoneyIncome(salary.getMakeMoneyIncome()); 28 | this.setBaseSalary(salary.getBaseSalary()); 29 | this.setSumSalary(salary.getSumSalary()); 30 | this.setSettleDate(salary.getSettleDate()); 31 | this.setProAdd(salary.getProAdd()); 32 | this.setRemark(salary.getRemark()); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/salary/SetSalaryVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.salary; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | import java.math.BigDecimal; 9 | 10 | /** 11 | * 老板设置员工薪水时传递的对象 12 | */ 13 | @Data 14 | @AllArgsConstructor 15 | @NoArgsConstructor 16 | @Builder 17 | public class SetSalaryVo { 18 | 19 | private Float change; 20 | 21 | private String remark; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/staff/SimpleStaffVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.staff; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Builder; 5 | import lombok.Data; 6 | import lombok.NoArgsConstructor; 7 | 8 | @Data 9 | @NoArgsConstructor 10 | @AllArgsConstructor 11 | @Builder 12 | public class SimpleStaffVo { 13 | 14 | private Integer id; 15 | private String name; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/user/PasswordVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.user; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * 修改密码时传递的对象 9 | */ 10 | @Data 11 | @AllArgsConstructor 12 | @NoArgsConstructor 13 | public class PasswordVo { 14 | 15 | private String oldPassword; 16 | private String newPassword; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/user/UserQuery.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.user; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * 登陆验证时传递的对象 9 | */ 10 | @Data 11 | @AllArgsConstructor 12 | @NoArgsConstructor 13 | public class UserQuery { 14 | 15 | private String name; 16 | private String pwd; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/hfut/laboratory/vo/user/UserVo.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.vo.user; 2 | 3 | import com.hfut.laboratory.pojo.Role; 4 | import com.hfut.laboratory.pojo.User; 5 | import lombok.AllArgsConstructor; 6 | import lombok.Data; 7 | import lombok.NoArgsConstructor; 8 | 9 | /** 10 | * 包含用户的角色 从视图层接收和返回都用 11 | */ 12 | @Data 13 | @AllArgsConstructor 14 | @NoArgsConstructor 15 | public class UserVo extends User { 16 | 17 | private Integer roleId; 18 | 19 | public UserVo(User user,Integer roleId){ 20 | this.roleId=roleId; 21 | this.setId(user.getId()); 22 | this.setName(user.getName()); 23 | this.setEntryTime(user.getEntryTime()); 24 | this.setPassword(user.getPassword()); 25 | this.setPhone(user.getPhone()); 26 | this.setSex(user.getSex()); 27 | this.setStatus(user.getStatus()); 28 | this.setBaseSalary(user.getBaseSalary()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/mappers/CouponCardDetailMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | id, card_id, project_id, times, introduction 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/resources/mappers/CouponCardMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | id, name, price, percentage, start_time, end_time, introduction 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/main/resources/mappers/CustomerCardMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | id, customer_id, card_id, opening_time, dead_time, remarks 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/main/resources/mappers/CustomerCardProjectMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | id, customer_card_id, project_id, residual_times 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/resources/mappers/CustomerMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | id, name, sex, registe_time, phone, weixin, balance, status 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/resources/mappers/PermissionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | id, name, introduction 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/resources/mappers/ProjectMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | id, name, price, percentage, introduction 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/resources/mappers/RecordBusinessMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | id, user_id, type, thing_id, date 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/resources/mappers/RecordsConsumptionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | id, customer_id, user_id, consum_type, price, pay_type, pay_time, remark, is_record 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/mappers/RecordsTurnoverMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | id, date, money_income, money_outcome, card_reduce, balance_reduce, sum_income 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/main/resources/mappers/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | id, name, introduction 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/resources/mappers/RolePermissionMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | id, role_id, permission_id 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/resources/mappers/SalaryMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | id, user_id, pro_royalty, card_royalty, base_salary, other_bonus, deduct_salary, sum_salary, settle_date, remark 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/resources/mappers/UserMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | id, name, sex, entry_time, phone, password, status 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/main/resources/mappers/UserRoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | id, user_id, role_id 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/resources/salary.txt: -------------------------------------------------------------------------------- 1 | 2020-03-07 00:00:00 -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/json/ProjectJsons.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.json; 2 | 3 | import com.hfut.laboratory.pojo.Project; 4 | import com.hfut.laboratory.util.JsonUtils; 5 | import org.junit.Test; 6 | import org.junit.runner.RunWith; 7 | import org.springframework.boot.test.context.SpringBootTest; 8 | import org.springframework.test.context.junit4.SpringRunner; 9 | 10 | @SpringBootTest 11 | @RunWith(SpringRunner.class) 12 | public class ProjectJsons { 13 | 14 | /** 15 | * 添加或者修改project时传递的对象 16 | */ 17 | @Test 18 | public void serializeProject() { 19 | Project project=Project.builder() 20 | .introduction("这是介绍") 21 | .name("收费项目1") 22 | .percentage(0.1f) 23 | .price(20.0f) 24 | .build(); 25 | 26 | System.out.println(JsonUtils.serialize(project)); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/json/SalaryJsons.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.json; 2 | 3 | 4 | import com.hfut.laboratory.util.JsonUtils; 5 | import com.hfut.laboratory.vo.salary.SetSalaryVo; 6 | import org.junit.Test; 7 | import org.junit.runner.RunWith; 8 | import org.springframework.boot.test.context.SpringBootTest; 9 | import org.springframework.test.context.junit4.SpringRunner; 10 | 11 | @SpringBootTest 12 | @RunWith(SpringRunner.class) 13 | public class SalaryJsons { 14 | 15 | @Test 16 | public void serializeSetSalaryVo(){ 17 | SetSalaryVo setSalaryVo=SetSalaryVo.builder() 18 | .remark("扣除100 奖金200") 19 | .build(); 20 | 21 | System.out.println(JsonUtils.serialize(setSalaryVo)); 22 | } 23 | 24 | // @Test 25 | // public void serializeQuerySalaryVo(){ 26 | // QuerySalaryVo querySalaryVo=QuerySalaryVo.builder() 27 | // .staffId(4) 28 | // .startTime(TimeConvertUtils.convertTo_yMd(LocalDateTime.now())) 29 | // .endTime(LocalDateTime.now()) 30 | // .build(); 31 | // 32 | // System.out.println(JsonUtils.serialize(querySalaryVo)); 33 | // } 34 | } 35 | -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/json/StaffJsons.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.json; 2 | 3 | 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @SpringBootTest 9 | @RunWith(SpringRunner.class) 10 | public class StaffJsons { 11 | 12 | // @Test 13 | // public void serializeQueryJob(){ 14 | // QueryJobVo queryJobVo=QueryJobVo.builder() 15 | // .type(1) 16 | // .staffId(4) 17 | // .build(); 18 | // 19 | // System.out.println(JsonUtils.serialize(queryJobVo)); 20 | // } 21 | } 22 | -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/json/UserJsons.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.json; 2 | 3 | import com.hfut.laboratory.pojo.Role; 4 | import com.hfut.laboratory.util.JsonUtils; 5 | import com.hfut.laboratory.vo.user.UserVo; 6 | import org.junit.Test; 7 | import org.junit.runner.RunWith; 8 | import org.springframework.boot.test.context.SpringBootTest; 9 | import org.springframework.test.context.junit4.SpringRunner; 10 | 11 | 12 | @SpringBootTest 13 | @RunWith(SpringRunner.class) 14 | public class UserJsons { 15 | 16 | 17 | /** 18 | * 添加或者修改user时传递的对象(包含role对象) 19 | */ 20 | @Test 21 | public void serializeUserVo() { 22 | UserVo userVo=new UserVo(); 23 | userVo.setStatus(1); 24 | userVo.setSex(1); 25 | userVo.setPhone("13325456805"); 26 | userVo.setName("yzx"); 27 | userVo.setPassword("other"); 28 | //userVo.setEntryTime(LocalDateTime.now()); 29 | Role role=new Role(); 30 | role.setId(1); 31 | 32 | System.out.println(JsonUtils.serialize(userVo)); 33 | } 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/jwt/GenerorRsa.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.jwt; 2 | 3 | import com.hfut.laboratory.config.JwtConfig; 4 | import com.hfut.laboratory.util.jwt.RsaUtils; 5 | import org.junit.Test; 6 | import org.junit.runner.RunWith; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.boot.test.context.SpringBootTest; 9 | import org.springframework.test.context.junit4.SpringRunner; 10 | 11 | import java.io.File; 12 | 13 | @SpringBootTest 14 | @RunWith(SpringRunner.class) 15 | public class GenerorRsa { 16 | 17 | @Autowired 18 | private JwtConfig jwtConfig; 19 | 20 | @Test 21 | public void genRsa() throws Exception { 22 | File priRsa=new File(jwtConfig.getPriKeyPath()); 23 | File pubRsa=new File(jwtConfig.getPubKeyPath()); 24 | 25 | if(!priRsa.getParentFile().exists()){ 26 | priRsa.getParentFile().mkdirs(); 27 | } 28 | 29 | if(!pubRsa.getParentFile().exists()){ 30 | pubRsa.getParentFile().mkdirs(); 31 | } 32 | 33 | RsaUtils.generateKey(jwtConfig.getPubKeyPath(),jwtConfig.getPriKeyPath(),jwtConfig.getSecret()); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/test/java/com/hfut/laboratory/mysql/MybatisPlusTest.java: -------------------------------------------------------------------------------- 1 | package com.hfut.laboratory.mysql; 2 | 3 | import com.hfut.laboratory.pojo.User; 4 | import com.hfut.laboratory.service.UserService; 5 | import com.hfut.laboratory.util.QueryWapperUtils; 6 | import org.junit.Test; 7 | import org.junit.runner.RunWith; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.boot.test.context.SpringBootTest; 10 | import org.springframework.test.context.junit4.SpringRunner; 11 | 12 | @SpringBootTest 13 | @RunWith(SpringRunner.class) 14 | public class MybatisPlusTest { 15 | 16 | @Autowired 17 | private UserService userService; 18 | 19 | @Test 20 | public void testUpdate(){ 21 | User user=new User(); 22 | user.setId(5); 23 | user.setName("test000"); 24 | //修改结果>=1 返回ture 25 | System.out.println(userService.update(user, QueryWapperUtils.getInWapper("name","test000"))); 26 | //删除结果>=0 返回ture 27 | System.out.println(userService.remove(QueryWapperUtils.getInWapper("name","test000"))); 28 | } 29 | 30 | @Test 31 | public void testList(){ 32 | System.out.println(userService.list(null)); 33 | } 34 | 35 | @Test 36 | public void testQueryWapperUtils(){ 37 | User user=new User(); 38 | user.setName("test01"); 39 | userService.update(user, QueryWapperUtils.getInWapper("name","test01")); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /web/accout/.idea/accout.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /web/accout/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /web/accout/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /web/accout/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /web/accout/css/base.css: -------------------------------------------------------------------------------- 1 | /*css reset 初始化*/ 2 | body, 3 | div, 4 | ul, 5 | li, 6 | ol, 7 | h1, 8 | h2, 9 | h3, 10 | h4, 11 | h5, 12 | h6, 13 | input, 14 | textarea, 15 | select, 16 | p, 17 | dl, 18 | dt, 19 | dd, 20 | a, 21 | img, 22 | button, 23 | form, 24 | table, 25 | th, 26 | tr, 27 | td, 28 | tbody, 29 | article, 30 | aside, 31 | details, 32 | figcaption, 33 | figure, 34 | footer, 35 | header, 36 | menu, 37 | nav, 38 | section { 39 | margin: 0; 40 | padding: 0; 41 | /*所有的元素采用内减模式*/ 42 | box-sizing: border-box; 43 | -webkit-box-sizing: border-box; 44 | -webkit-tap-highlight-color: transparent; 45 | } 46 | body { 47 | font-size: 14px; 48 | color: #333; 49 | font-family: 'Microsoft Yahei', 'Times New Roman', Times, serif; 50 | /*后面都是备胎*/ 51 | } 52 | ul, 53 | ol { 54 | list-style: none; 55 | } 56 | a, 57 | a:hover, 58 | a:active, 59 | a:visited, 60 | a:link 61 | { 62 | text-decoration: none; 63 | color: #333; 64 | } 65 | input { 66 | border: none; 67 | /*去除边框*/ 68 | outline: none; 69 | /*去除轮廓线*/ 70 | -webkit-appearance: none; 71 | /*去除 表单在移动端 阴影 立体 效果 */ 72 | } 73 | /*css common 公共样式*/ 74 | .fl { 75 | float: left; 76 | } 77 | .fr { 78 | float: right; 79 | } 80 | /*清除浮动*/ 81 | .clearfix::before, 82 | .clearfix::after { 83 | content: ""; 84 | clear: both; 85 | display: block; 86 | height: 0; 87 | visibility: hidden; 88 | line-height: 0; 89 | } 90 | 91 | -------------------------------------------------------------------------------- /web/accout/css/consum_page.css: -------------------------------------------------------------------------------- 1 | #myModal_add_consum_record { 2 | margin-right: 5%; 3 | background-color: white; 4 | } 5 | -------------------------------------------------------------------------------- /web/accout/css/first.css: -------------------------------------------------------------------------------- 1 | .table.table-bordered.table-hover td, 2 | .table.table-bordered.table-hover th { 3 | text-align: center; 4 | } 5 | #add_btn { 6 | margin-bottom: 20px; 7 | } 8 | .modal-title { 9 | margin-bottom: 15px; 10 | } 11 | .leftbox { 12 | height: 500px; 13 | float: left; 14 | width: 20%; 15 | overflow: auto; 16 | } 17 | .leftbox .line { 18 | margin-bottom: 5px; 19 | border-radius: 3px; 20 | border: 1px solid #E7E7E7; 21 | background: #F7F8F7; 22 | overflow: hidden; 23 | padding: 5px; 24 | } 25 | .staff_alert { 26 | color: rgba(245, 14, 32, 0.69); 27 | } 28 | .rightbox { 29 | padding: 15px; 30 | height: 500px; 31 | overflow: hidden; 32 | } 33 | .rightbox .rightbox_time { 34 | font-weight: bold; 35 | } 36 | .rightbox .rightbox_item { 37 | padding: 0 15px; 38 | margin-top: 20px; 39 | } 40 | .rightbox .rightbox_item > .col-lg-6 { 41 | background-color: #E7E7E7; 42 | padding: 6px; 43 | } 44 | .rightbox .rightbox_item > .col-lg-6 p { 45 | font-weight: bold; 46 | text-align: center; 47 | margin-bottom: 10px; 48 | } 49 | .rightbox .rightbox_item > .col-lg-6 .col-lg-4 { 50 | font-size: 15px; 51 | } 52 | -------------------------------------------------------------------------------- /web/accout/css/first.less: -------------------------------------------------------------------------------- 1 | .table.table-bordered.table-hover td, 2 | .table.table-bordered.table-hover th { 3 | text-align: center; 4 | } 5 | 6 | #add_btn { 7 | margin-bottom: 20px; 8 | } 9 | 10 | .modal-title { 11 | margin-bottom: 15px; 12 | } 13 | 14 | .leftbox { 15 | height: 500px; 16 | float: left; 17 | width: 20%; 18 | overflow: auto; 19 | 20 | .line { 21 | margin-bottom: 5px; 22 | border-radius: 3px; 23 | border: 1px solid #E7E7E7; 24 | background: #F7F8F7; 25 | overflow: hidden; 26 | padding: 5px; 27 | } 28 | } 29 | .staff_alert{ 30 | color: rgba(245,14,32,0.69); 31 | } 32 | 33 | .rightbox { 34 | padding: 15px; 35 | height: 500px; 36 | overflow: hidden; 37 | 38 | .rightbox_time { 39 | font-weight: bold; 40 | } 41 | 42 | .rightbox_item { 43 | padding: 0 15px; 44 | margin-top: 20px; 45 | 46 | > .col-lg-6 { 47 | background-color: #E7E7E7; 48 | padding: 6px; 49 | 50 | p { 51 | font-weight: bold; 52 | text-align: center; 53 | margin-bottom: 10px; 54 | } 55 | 56 | .col-lg-4 { 57 | font-size: 15px; 58 | } 59 | } 60 | 61 | } 62 | } -------------------------------------------------------------------------------- /web/accout/css/login.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background-color: #222D32; 3 | } 4 | 5 | .mt_150{ 6 | margin-top: 150px; 7 | } 8 | 9 | .panel-title{ 10 | font-size: 20px; 11 | text-align: center; 12 | height: 40px; 13 | line-height: 40px; 14 | } -------------------------------------------------------------------------------- /web/accout/css/second.css: -------------------------------------------------------------------------------- 1 | .table.table-bordered.table-hover td, 2 | .table.table-bordered.table-hover th { 3 | text-align: center; 4 | vertical-align: middle; 5 | } 6 | #add_btn { 7 | margin-bottom: 20px; 8 | } 9 | -------------------------------------------------------------------------------- /web/accout/css/second.less: -------------------------------------------------------------------------------- 1 | .table.table-bordered.table-hover td, 2 | .table.table-bordered.table-hover th{ 3 | text-align: center; 4 | vertical-align: middle; 5 | } 6 | #add_btn{ 7 | margin-bottom: 20px; 8 | } 9 | -------------------------------------------------------------------------------- /web/accout/css/start.css: -------------------------------------------------------------------------------- 1 | .table.table-bordered.table-hover td, 2 | .table.table-bordered.table-hover th { 3 | text-align: center; 4 | } 5 | #add_btn{ 6 | margin-top: 35px; 7 | } 8 | #hide_frozen{ 9 | } 10 | #search_dropdown, 11 | #search_status_dropdown, 12 | #search_byId_btn, 13 | #search_byName{ 14 | margin-top: 25px; 15 | } -------------------------------------------------------------------------------- /web/accout/css/user.css: -------------------------------------------------------------------------------- 1 | .my_table .my_line th, 2 | .my_table .my_line td { 3 | vertical-align: middle; 4 | text-align: center; 5 | } 6 | -------------------------------------------------------------------------------- /web/accout/css/user.less: -------------------------------------------------------------------------------- 1 | //让表单中的内容居中对齐 2 | .my_table { 3 | .my_line { 4 | th, td { 5 | vertical-align: middle; 6 | text-align: center; 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /web/accout/image/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/image/default.png -------------------------------------------------------------------------------- /web/accout/image/none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/image/none.png -------------------------------------------------------------------------------- /web/accout/image/添加.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/image/添加.png -------------------------------------------------------------------------------- /web/accout/js/common.js: -------------------------------------------------------------------------------- 1 | // //登陆拦截功能 2 | // $(function () { 3 | // if (location.href.indexOf("login.html") === -1) { 4 | // $.ajax({ 5 | // url:"/employee/checkRootLogin", 6 | // type:"get", 7 | // success:function (info) { 8 | // if(info.error===400){ 9 | // location.href="login.html" 10 | // } 11 | // } 12 | // }) 13 | // } 14 | // }) 15 | 16 | //左侧导航栏隐藏功能 17 | $(".first").click(function () { 18 | console.log(); 19 | $(this).siblings().slideToggle() 20 | }) 21 | 22 | //点击导航栏左边的按钮实现侧边栏的变换 23 | $(function () { 24 | $("#top_btn_left").click(function () { 25 | $(".left_aside").toggleClass("exchange"); 26 | $(".main_top").toggleClass("exchange"); 27 | $(".main_body").toggleClass("exchange") 28 | }) 29 | }) 30 | 31 | //退出模态框点击事件 32 | $(function () { 33 | $("#top_btn_right").click(function () { 34 | $('#myModal').modal('toggle'); 35 | }) 36 | 37 | }) 38 | 39 | //点击退出功能实现 40 | $(function () { 41 | $("#logout_btn").click(function () { 42 | $.ajax({ 43 | type: "get", 44 | url: "/api/logout", 45 | success: function (info) { 46 | if (info.success) { 47 | location.href = "login.html"; 48 | } else { 49 | $("#logout_notify").html("退出失败请重试"); 50 | } 51 | } 52 | }) 53 | }) 54 | }) 55 | -------------------------------------------------------------------------------- /web/accout/lib/bootstrap-validator/css/bootstrapValidator.css: -------------------------------------------------------------------------------- 1 | /** 2 | * BootstrapValidator (http://bootstrapvalidator.com) 3 | * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3 4 | * 5 | * @author http://twitter.com/nghuuphuoc 6 | * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc 7 | * @license MIT 8 | */ 9 | 10 | .bv-form .help-block { 11 | margin-bottom: 0; 12 | } 13 | .bv-form .tooltip-inner { 14 | text-align: left; 15 | } 16 | .nav-tabs li.bv-tab-success > a { 17 | color: #3c763d; 18 | } 19 | .nav-tabs li.bv-tab-error > a { 20 | color: #a94442; 21 | } 22 | -------------------------------------------------------------------------------- /web/accout/lib/bootstrap-validator/css/bootstrapValidator.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * BootstrapValidator (http://bootstrapvalidator.com) 3 | * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3 4 | * 5 | * @version v0.5.1, built on 2014-08-22 4:55:09 PM 6 | * @author https://twitter.com/nghuuphuoc 7 | * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc 8 | * @license MIT 9 | */ 10 | 11 | .bv-form .help-block{margin-bottom:0}.bv-form .tooltip-inner{text-align:left}.nav-tabs li.bv-tab-success>a{color:#3c763d}.nav-tabs li.bv-tab-error>a{color:#a94442} -------------------------------------------------------------------------------- /web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /web/accout/lib/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /web/accout/lib/layDate/laydate/theme/default/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/layDate/laydate/theme/default/font/iconfont.eot -------------------------------------------------------------------------------- /web/accout/lib/layDate/laydate/theme/default/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/layDate/laydate/theme/default/font/iconfont.ttf -------------------------------------------------------------------------------- /web/accout/lib/layDate/laydate/theme/default/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yzx-66/accout_mange/53ecff652e7a4648f222ac735516c085d8e778a6/web/accout/lib/layDate/laydate/theme/default/font/iconfont.woff -------------------------------------------------------------------------------- /web/accout/lib/layDate/文档/官网.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://www.layui.com/laydate/ 5 | IDList= 6 | HotKey=0 7 | -------------------------------------------------------------------------------- /web/accout/lib/layDate/文档/文档.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://www.layui.com/doc/modules/laydate.html 5 | IDList= 6 | HotKey=0 7 | IconIndex=0 8 | IconFile=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe 9 | -------------------------------------------------------------------------------- /web/accout/lib/layDate/文档/社区.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://fly.layui.com/ 5 | IDList= 6 | HotKey=0 7 | IconIndex=0 8 | IconFile=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe 9 | -------------------------------------------------------------------------------- /web/accout/lib/layDate/更新日志.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://www.layui.com/laydate/changelog.html 5 | IDList= 6 | HotKey=0 7 | --------------------------------------------------------------------------------