From 3a10e8ca53a036921723a1dfc593692c5f447a33 Mon Sep 17 00:00:00 2001
From: xiaotan <1031040634@qq.com>
Date: Sat, 6 Apr 2024 00:17:56 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 28 +
LICENSE | 73 +
README.md | 3 +
bin/clean.bat | 12 +
bin/package.bat | 12 +
bin/run.bat | 14 +
bs-admin/pom.xml | 99 +
.../src/main/java/com/bs/BsApplication.java | 23 +
.../java/com/bs/BsServletInitializer.java | 18 +
.../bs/cm/controller/CmAttachController.java | 208 ++
.../main/java/com/bs/cm/domain/CmAttach.java | 94 +
.../java/com/bs/cm/mapper/CmAttachMapper.java | 14 +
.../com/bs/cm/service/ICmAttachService.java | 15 +
.../cm/service/impl/CmAttachServiceImpl.java | 19 +
.../controller/common/CaptchaController.java | 94 +
.../controller/common/CommonController.java | 294 +++
.../controller/monitor/CacheController.java | 120 ++
.../controller/monitor/ServerController.java | 27 +
.../monitor/SysLogininforController.java | 82 +
.../monitor/SysOperlogController.java | 69 +
.../monitor/SysUserOnlineController.java | 81 +
.../system/SysConfigController.java | 133 ++
.../controller/system/SysDeptController.java | 132 ++
.../system/SysDictDataController.java | 121 ++
.../system/SysDictTypeController.java | 131 ++
.../controller/system/SysIndexController.java | 29 +
.../controller/system/SysLoginController.java | 98 +
.../controller/system/SysMenuController.java | 139 ++
.../system/SysNoticeController.java | 170 ++
.../controller/system/SysPostController.java | 129 ++
.../system/SysProfileController.java | 147 ++
.../system/SysRegisterController.java | 38 +
.../controller/system/SysRoleController.java | 262 +++
.../system/SysTenantController.java | 335 ++++
.../controller/system/SysUserController.java | 239 +++
.../system/TenantConfigController.java | 231 +++
.../web/controller/tool/TestController.java | 183 ++
.../com/bs/web/core/config/SwaggerConfig.java | 125 ++
.../META-INF/spring-devtools.properties | 1 +
.../src/main/resources/application-druid.yml | 68 +
.../src/main/resources/application-priv.yml | 68 +
.../src/main/resources/application-prot.yml | 66 +
bs-admin/src/main/resources/application.yml | 177 ++
bs-admin/src/main/resources/banner.txt | 24 +
.../main/resources/i18n/messages.properties | 38 +
bs-admin/src/main/resources/logback.xml | 93 +
.../resources/mapper/cm/CmAttachMapper.xml | 7 +
.../main/resources/mybatis/mybatis-config.xml | 20 +
bs-common/pom.xml | 185 ++
.../com/bs/common/annotation/Anonymous.java | 19 +
.../com/bs/common/annotation/DataScope.java | 33 +
.../com/bs/common/annotation/DataSource.java | 28 +
.../java/com/bs/common/annotation/Excel.java | 187 ++
.../java/com/bs/common/annotation/Excels.java | 18 +
.../java/com/bs/common/annotation/Log.java | 51 +
.../com/bs/common/annotation/RateLimiter.java | 40 +
.../bs/common/annotation/RepeatSubmit.java | 31 +
.../com/bs/common/annotation/TenantClear.java | 28 +
.../bs/common/aspectj/TenantClearAspect.java | 45 +
.../java/com/bs/common/config/BsConfig.java | 220 +++
.../common/config/TenantConfigProperties.java | 82 +
.../bs/common/constant/CacheConstants.java | 44 +
.../com/bs/common/constant/Constants.java | 142 ++
.../com/bs/common/constant/GenConstants.java | 117 ++
.../com/bs/common/constant/HttpStatus.java | 94 +
.../bs/common/constant/ScheduleConstants.java | 50 +
.../com/bs/common/constant/UserConstants.java | 78 +
.../core/controller/BaseController.java | 216 ++
.../com/bs/common/core/domain/AjaxResult.java | 206 ++
.../com/bs/common/core/domain/BaseEntity.java | 93 +
.../java/com/bs/common/core/domain/R.java | 115 ++
.../com/bs/common/core/domain/TreeEntity.java | 79 +
.../com/bs/common/core/domain/TreeSelect.java | 77 +
.../bs/common/core/domain/entity/SysDept.java | 200 ++
.../core/domain/entity/SysDictData.java | 67 +
.../core/domain/entity/SysDictType.java | 98 +
.../bs/common/core/domain/entity/SysMenu.java | 268 +++
.../bs/common/core/domain/entity/SysRole.java | 239 +++
.../common/core/domain/entity/SysTenant.java | 57 +
.../bs/common/core/domain/entity/SysUser.java | 142 ++
.../core/domain/entity/TenantConfig.java | 156 ++
.../common/core/domain/model/LoginBody.java | 69 +
.../common/core/domain/model/LoginUser.java | 312 +++
.../core/domain/model/RegisterBody.java | 11 +
.../com/bs/common/core/page/PageDomain.java | 101 +
.../bs/common/core/page/TableDataInfo.java | 85 +
.../com/bs/common/core/page/TableSupport.java | 56 +
.../com/bs/common/core/redis/RedisCache.java | 268 +++
.../com/bs/common/core/text/CharsetKit.java | 86 +
.../java/com/bs/common/core/text/Convert.java | 1000 ++++++++++
.../com/bs/common/core/text/StrFormatter.java | 92 +
.../com/bs/common/enums/BusinessStatus.java | 20 +
.../com/bs/common/enums/BusinessType.java | 59 +
.../com/bs/common/enums/DataSourceType.java | 19 +
.../java/com/bs/common/enums/HttpMethod.java | 36 +
.../java/com/bs/common/enums/LimitType.java | 20 +
.../com/bs/common/enums/OperatorType.java | 24 +
.../java/com/bs/common/enums/UserStatus.java | 30 +
.../common/exception/DemoModeException.java | 15 +
.../bs/common/exception/GlobalException.java | 58 +
.../bs/common/exception/ServiceException.java | 74 +
.../bs/common/exception/UtilException.java | 26 +
.../common/exception/base/BaseException.java | 97 +
.../common/exception/file/FileException.java | 19 +
.../FileNameLengthLimitExceededException.java | 16 +
.../file/FileSizeLimitExceededException.java | 16 +
.../exception/file/FileUploadException.java | 61 +
.../file/InvalidExtensionException.java | 80 +
.../common/exception/job/TaskException.java | 34 +
.../exception/user/BlackListException.java | 16 +
.../exception/user/CaptchaException.java | 16 +
.../user/CaptchaExpireException.java | 16 +
.../common/exception/user/UserException.java | 18 +
.../user/UserNotExistsException.java | 16 +
.../user/UserPasswordNotMatchException.java | 16 +
...UserPasswordRetryLimitExceedException.java | 16 +
.../java/com/bs/common/filter/PortFilter.java | 47 +
.../filter/PropertyPreExcludeFilter.java | 24 +
.../bs/common/filter/RepeatableFilter.java | 52 +
.../filter/RepeatedlyRequestWrapper.java | 76 +
.../java/com/bs/common/filter/XssFilter.java | 71 +
.../filter/XssHttpServletRequestWrapper.java | 111 ++
.../handler/DefaultDBFieldHandler.java | 76 +
.../bs/common/mybatis/mapper/BaseMapperX.java | 94 +
.../com/bs/common/mybatis/pojo/PageParam.java | 30 +
.../bs/common/mybatis/pojo/PageResult.java | 42 +
.../bs/common/mybatis/pojo/SortingField.java | 56 +
.../com/bs/common/mybatis/util/JdbcUtils.java | 42 +
.../bs/common/mybatis/util/MyBatisUtils.java | 83 +
.../main/java/com/bs/common/utils/Arith.java | 114 ++
.../java/com/bs/common/utils/DateUtils.java | 191 ++
.../java/com/bs/common/utils/DictUtils.java | 187 ++
.../com/bs/common/utils/ExceptionUtil.java | 39 +
.../java/com/bs/common/utils/FileUtil.java | 939 +++++++++
.../java/com/bs/common/utils/LogUtils.java | 18 +
.../com/bs/common/utils/MessageUtils.java | 26 +
.../java/com/bs/common/utils/OsInfoUtil.java | 137 ++
.../java/com/bs/common/utils/PageUtils.java | 35 +
.../com/bs/common/utils/SecurityUtils.java | 144 ++
.../com/bs/common/utils/ServletUtils.java | 218 ++
.../java/com/bs/common/utils/StringUtils.java | 614 ++++++
.../java/com/bs/common/utils/SystemEnum.java | 36 +
.../java/com/bs/common/utils/Threads.java | 99 +
.../com/bs/common/utils/bean/BeanUtils.java | 110 ++
.../bs/common/utils/bean/BeanValidators.java | 24 +
.../utils/collection/CollectionUtils.java | 187 ++
.../bs/common/utils/file/FileTypeUtils.java | 77 +
.../bs/common/utils/file/FileUploadUtils.java | 232 +++
.../com/bs/common/utils/file/FileUtils.java | 291 +++
.../com/bs/common/utils/file/ImageUtils.java | 98 +
.../bs/common/utils/file/MimeTypeUtils.java | 59 +
.../com/bs/common/utils/html/EscapeUtil.java | 167 ++
.../com/bs/common/utils/html/HTMLFilter.java | 570 ++++++
.../com/bs/common/utils/http/HttpHelper.java | 55 +
.../com/bs/common/utils/http/HttpUtils.java | 274 +++
.../com/bs/common/utils/ip/AddressUtils.java | 56 +
.../java/com/bs/common/utils/ip/IpUtils.java | 382 ++++
.../common/utils/poi/ExcelHandlerAdapter.java | 19 +
.../com/bs/common/utils/poi/ExcelUtil.java | 1745 +++++++++++++++++
.../bs/common/utils/reflect/ReflectUtils.java | 406 ++++
.../java/com/bs/common/utils/sign/Base64.java | 291 +++
.../com/bs/common/utils/sign/Md5Utils.java | 67 +
.../bs/common/utils/spring/SpringUtils.java | 158 ++
.../java/com/bs/common/utils/sql/SqlUtil.java | 70 +
.../com/bs/common/utils/uuid/IdUtils.java | 49 +
.../java/com/bs/common/utils/uuid/Seq.java | 86 +
.../java/com/bs/common/utils/uuid/UUID.java | 484 +++++
.../src/main/java/com/bs/common/xss/Xss.java | 27 +
.../java/com/bs/common/xss/XssValidator.java | 34 +
bs-framework/pom.xml | 67 +
.../bs/framework/aspectj/DataScopeAspect.java | 175 ++
.../framework/aspectj/DataSourceAspect.java | 72 +
.../com/bs/framework/aspectj/LogAspect.java | 249 +++
.../framework/aspectj/RateLimiterAspect.java | 89 +
.../framework/config/ApplicationConfig.java | 30 +
.../bs/framework/config/CaptchaConfig.java | 88 +
.../com/bs/framework/config/DruidConfig.java | 126 ++
.../config/FastJson2JsonRedisSerializer.java | 48 +
.../com/bs/framework/config/FilterConfig.java | 77 +
.../framework/config/KaptchaTextCreator.java | 68 +
.../config/MyTenantLineHandlerImpl.java | 81 +
.../framework/config/MybatisPlusConfig.java | 75 +
.../com/bs/framework/config/RedisConfig.java | 69 +
.../bs/framework/config/ResourcesConfig.java | 73 +
.../bs/framework/config/SecurityConfig.java | 148 ++
.../com/bs/framework/config/ServerConfig.java | 32 +
.../bs/framework/config/ThreadPoolConfig.java | 63 +
.../config/properties/DruidProperties.java | 89 +
.../properties/PermitAllUrlProperties.java | 73 +
.../datasource/DynamicDataSource.java | 26 +
.../DynamicDataSourceContextHolder.java | 45 +
.../interceptor/RepeatSubmitInterceptor.java | 55 +
.../impl/SameUrlDataInterceptor.java | 110 ++
.../bs/framework/manager/AsyncManager.java | 55 +
.../bs/framework/manager/ShutdownManager.java | 39 +
.../manager/factory/AsyncFactory.java | 102 +
.../context/AuthenticationContextHolder.java | 28 +
.../context/PermissionContextHolder.java | 27 +
.../filter/JwtAuthenticationTokenFilter.java | 44 +
.../handle/AuthenticationEntryPointImpl.java | 34 +
.../handle/LogoutSuccessHandlerImpl.java | 52 +
.../com/bs/framework/web/domain/Server.java | 240 +++
.../bs/framework/web/domain/server/Cpu.java | 101 +
.../bs/framework/web/domain/server/Jvm.java | 130 ++
.../bs/framework/web/domain/server/Mem.java | 61 +
.../bs/framework/web/domain/server/Sys.java | 84 +
.../framework/web/domain/server/SysFile.java | 114 ++
.../web/exception/GlobalExceptionHandler.java | 138 ++
.../web/service/PermissionService.java | 168 ++
.../web/service/SysLoginService.java | 181 ++
.../web/service/SysPasswordService.java | 94 +
.../web/service/SysPermissionService.java | 71 +
.../web/service/SysRegisterService.java | 115 ++
.../framework/web/service/TokenService.java | 227 +++
.../web/service/UserDetailsServiceImpl.java | 65 +
bs-generator/pom.xml | 44 +
.../com/bs/generator/config/GenConfig.java | 73 +
.../generator/controller/GenController.java | 214 ++
.../com/bs/generator/domain/GenTable.java | 147 ++
.../bs/generator/domain/GenTableColumn.java | 373 ++++
.../mapper/GenTableColumnMapper.java | 60 +
.../bs/generator/mapper/GenTableMapper.java | 83 +
.../service/GenTableColumnServiceImpl.java | 68 +
.../service/GenTableServiceImpl.java | 557 ++++++
.../service/IGenTableColumnService.java | 44 +
.../generator/service/IGenTableService.java | 121 ++
.../com/bs/generator/util/GenTableUtils.java | 56 +
.../java/com/bs/generator/util/GenUtils.java | 258 +++
.../generator/util/VelocityInitializer.java | 34 +
.../com/bs/generator/util/VelocityUtils.java | 405 ++++
bs-generator/src/main/resources/generator.yml | 10 +
.../mapper/generator/GenTableColumnMapper.xml | 127 ++
.../mapper/generator/GenTableMapper.xml | 202 ++
.../shiptemplates/java/controller.java.vm | 146 ++
.../shiptemplates/java/domain.java.vm | 71 +
.../shiptemplates/java/mapper.java.vm | 17 +
.../shiptemplates/java/service.java.vm | 14 +
.../shiptemplates/java/serviceImpl.java.vm | 27 +
.../shiptemplates/java/sub-domain.java.vm | 73 +
.../main/resources/shiptemplates/js/api.js.vm | 62 +
.../main/resources/shiptemplates/sql/sql.vm | 22 +
.../shiptemplates/vue/index-tree.vue.vm | 568 ++++++
.../resources/shiptemplates/vue/index.vue.vm | 665 +++++++
.../shiptemplates/vue/v3/index-tree.vue.vm | 536 +++++
.../shiptemplates/vue/v3/index.vue.vm | 714 +++++++
.../resources/shiptemplates/vue/v3/readme.txt | 1 +
.../resources/shiptemplates/xml/mapper.xml.vm | 7 +
.../main/resources/vm/java/controller.java.vm | 115 ++
.../src/main/resources/vm/java/domain.java.vm | 101 +
.../src/main/resources/vm/java/mapper.java.vm | 91 +
.../main/resources/vm/java/service.java.vm | 61 +
.../resources/vm/java/serviceImpl.java.vm | 169 ++
.../main/resources/vm/java/sub-domain.java.vm | 73 +
.../src/main/resources/vm/js/api.js.vm | 44 +
bs-generator/src/main/resources/vm/sql/sql.vm | 22 +
.../main/resources/vm/vue/index-tree.vue.vm | 505 +++++
.../src/main/resources/vm/vue/index.vue.vm | 602 ++++++
.../resources/vm/vue/v3/index-tree.vue.vm | 474 +++++
.../src/main/resources/vm/vue/v3/index.vue.vm | 590 ++++++
.../src/main/resources/vm/vue/v3/readme.txt | 1 +
.../src/main/resources/vm/xml/mapper.xml.vm | 135 ++
bs-quartz/pom.xml | 40 +
.../com/bs/quartz/config/ScheduleConfig.java | 57 +
.../quartz/controller/SysJobController.java | 185 ++
.../controller/SysJobLogController.java | 92 +
.../java/com/bs/quartz/domain/SysJob.java | 173 ++
.../java/com/bs/quartz/domain/SysJobLog.java | 155 ++
.../com/bs/quartz/mapper/SysJobLogMapper.java | 64 +
.../com/bs/quartz/mapper/SysJobMapper.java | 67 +
.../bs/quartz/service/ISysJobLogService.java | 56 +
.../com/bs/quartz/service/ISysJobService.java | 102 +
.../service/impl/SysJobLogServiceImpl.java | 87 +
.../service/impl/SysJobServiceImpl.java | 261 +++
.../main/java/com/bs/quartz/task/RyTask.java | 28 +
.../com/bs/quartz/util/AbstractQuartzJob.java | 107 +
.../java/com/bs/quartz/util/CronUtils.java | 63 +
.../com/bs/quartz/util/JobInvokeUtil.java | 182 ++
.../QuartzDisallowConcurrentExecution.java | 21 +
.../bs/quartz/util/QuartzJobExecution.java | 19 +
.../com/bs/quartz/util/ScheduleUtils.java | 141 ++
.../mapper/quartz/SysJobLogMapper.xml | 93 +
.../resources/mapper/quartz/SysJobMapper.xml | 111 ++
bs-system/pom.xml | 28 +
.../java/com/bs/system/domain/SysCache.java | 81 +
.../java/com/bs/system/domain/SysConfig.java | 51 +
.../com/bs/system/domain/SysLogininfor.java | 144 ++
.../java/com/bs/system/domain/SysNotice.java | 77 +
.../java/com/bs/system/domain/SysOperLog.java | 269 +++
.../java/com/bs/system/domain/SysPost.java | 126 ++
.../com/bs/system/domain/SysRoleDept.java | 46 +
.../com/bs/system/domain/SysRoleMenu.java | 47 +
.../com/bs/system/domain/SysUserOnline.java | 113 ++
.../com/bs/system/domain/SysUserPost.java | 46 +
.../com/bs/system/domain/SysUserRole.java | 47 +
.../java/com/bs/system/domain/vo/MetaVo.java | 106 +
.../com/bs/system/domain/vo/RouterVo.java | 148 ++
.../com/bs/system/mapper/SysConfigMapper.java | 76 +
.../com/bs/system/mapper/SysDeptMapper.java | 119 ++
.../bs/system/mapper/SysDictDataMapper.java | 95 +
.../bs/system/mapper/SysDictTypeMapper.java | 83 +
.../bs/system/mapper/SysLogininforMapper.java | 42 +
.../com/bs/system/mapper/SysMenuMapper.java | 127 ++
.../com/bs/system/mapper/SysNoticeMapper.java | 14 +
.../bs/system/mapper/SysOperLogMapper.java | 48 +
.../com/bs/system/mapper/SysPostMapper.java | 101 +
.../bs/system/mapper/SysRoleDeptMapper.java | 44 +
.../com/bs/system/mapper/SysRoleMapper.java | 119 ++
.../bs/system/mapper/SysRoleMenuMapper.java | 46 +
.../com/bs/system/mapper/SysTenantMapper.java | 13 +
.../com/bs/system/mapper/SysUserMapper.java | 68 +
.../bs/system/mapper/SysUserPostMapper.java | 44 +
.../bs/system/mapper/SysUserRoleMapper.java | 64 +
.../bs/system/mapper/TenantConfigMapper.java | 15 +
.../bs/system/service/ISysConfigService.java | 89 +
.../bs/system/service/ISysDeptService.java | 124 ++
.../system/service/ISysDictDataService.java | 60 +
.../system/service/ISysDictTypeService.java | 98 +
.../system/service/ISysLogininforService.java | 40 +
.../bs/system/service/ISysMenuService.java | 144 ++
.../bs/system/service/ISysNoticeService.java | 14 +
.../bs/system/service/ISysOperLogService.java | 48 +
.../bs/system/service/ISysPostService.java | 99 +
.../bs/system/service/ISysRoleService.java | 173 ++
.../system/service/ISysUserOnlineService.java | 48 +
.../bs/system/service/ISysUserService.java | 208 ++
.../system/service/ITenantConfigService.java | 15 +
.../bs/system/service/SysTenantService.java | 20 +
.../service/impl/SysConfigServiceImpl.java | 233 +++
.../service/impl/SysDeptServiceImpl.java | 344 ++++
.../service/impl/SysDictDataServiceImpl.java | 111 ++
.../service/impl/SysDictTypeServiceImpl.java | 224 +++
.../impl/SysLogininforServiceImpl.java | 65 +
.../service/impl/SysMenuServiceImpl.java | 502 +++++
.../service/impl/SysNoticeServiceImpl.java | 19 +
.../service/impl/SysOperLogServiceImpl.java | 76 +
.../service/impl/SysPostServiceImpl.java | 178 ++
.../service/impl/SysRoleServiceImpl.java | 433 ++++
.../service/impl/SysTenantServiceImpl.java | 28 +
.../impl/SysUserOnlineServiceImpl.java | 96 +
.../service/impl/SysUserServiceImpl.java | 603 ++++++
.../service/impl/TenantConfigServiceImpl.java | 19 +
.../mapper/system/SysConfigMapper.xml | 117 ++
.../resources/mapper/system/SysDeptMapper.xml | 159 ++
.../mapper/system/SysDictDataMapper.xml | 124 ++
.../mapper/system/SysDictTypeMapper.xml | 105 +
.../mapper/system/SysLogininforMapper.xml | 57 +
.../resources/mapper/system/SysMenuMapper.xml | 202 ++
.../mapper/system/SysNoticeMapper.xml | 7 +
.../mapper/system/SysOperLogMapper.xml | 84 +
.../resources/mapper/system/SysPostMapper.xml | 122 ++
.../mapper/system/SysRoleDeptMapper.xml | 34 +
.../resources/mapper/system/SysRoleMapper.xml | 152 ++
.../mapper/system/SysRoleMenuMapper.xml | 34 +
.../resources/mapper/system/SysUserMapper.xml | 225 +++
.../mapper/system/SysUserPostMapper.xml | 34 +
.../mapper/system/SysUserRoleMapper.xml | 44 +
bs-ui/.editorconfig | 22 +
bs-ui/.env.development | 14 +
bs-ui/.env.production | 8 +
bs-ui/.env.staging | 10 +
bs-ui/.eslintignore | 10 +
bs-ui/.eslintrc.js | 199 ++
bs-ui/.gitignore | 23 +
bs-ui/babel.config.js | 13 +
bs-ui/bin/build.bat | 12 +
bs-ui/bin/package.bat | 12 +
bs-ui/bin/run-web.bat | 12 +
bs-ui/build/index.js | 35 +
bs-ui/package.json | 92 +
bs-ui/public/favicon.ico | Bin 0 -> 9657 bytes
bs-ui/public/html/ie.html | 46 +
bs-ui/public/index.html | 208 ++
bs-ui/public/robots.txt | 2 +
bs-ui/src/App.vue | 31 +
bs-ui/src/api/amortize/cost.js | 71 +
bs-ui/src/api/bill/number.js | 69 +
bs-ui/src/api/cargo/detail.js | 62 +
bs-ui/src/api/cargo/source.js | 71 +
bs-ui/src/api/cargo/target.js | 62 +
bs-ui/src/api/common/file.js | 84 +
bs-ui/src/api/cust/item.js | 62 +
bs-ui/src/api/finance/cash.js | 62 +
bs-ui/src/api/finance/writeoff.js | 98 +
bs-ui/src/api/jxc/berth.js | 62 +
bs-ui/src/api/jxc/billCar.js | 62 +
bs-ui/src/api/jxc/bmcargo.js | 79 +
bs-ui/src/api/jxc/bmvoyage.js | 85 +
bs-ui/src/api/jxc/cargo.js | 70 +
bs-ui/src/api/jxc/ckbill.js | 152 ++
bs-ui/src/api/jxc/ckcargo.js | 113 ++
bs-ui/src/api/jxc/ckchange.js | 62 +
bs-ui/src/api/jxc/ckstock.js | 108 +
bs-ui/src/api/jxc/cust.js | 62 +
bs-ui/src/api/jxc/custItem.js | 62 +
bs-ui/src/api/jxc/port.js | 62 +
bs-ui/src/api/jxc/stock.js | 62 +
bs-ui/src/api/jxc/vessel.js | 62 +
bs-ui/src/api/jxc/warehouse.js | 71 +
bs-ui/src/api/login.js | 59 +
bs-ui/src/api/menu.js | 9 +
bs-ui/src/api/monitor/cache.js | 57 +
bs-ui/src/api/monitor/job.js | 71 +
bs-ui/src/api/monitor/jobLog.js | 26 +
bs-ui/src/api/monitor/logininfor.js | 34 +
bs-ui/src/api/monitor/online.js | 18 +
bs-ui/src/api/monitor/operlog.js | 26 +
bs-ui/src/api/monitor/server.js | 9 +
bs-ui/src/api/order/cargo.js | 62 +
bs-ui/src/api/order/price.js | 62 +
bs-ui/src/api/order/trans.js | 71 +
bs-ui/src/api/order/vehicle.js | 62 +
bs-ui/src/api/system/config.js | 60 +
bs-ui/src/api/system/dept.js | 52 +
bs-ui/src/api/system/dict/data.js | 52 +
bs-ui/src/api/system/dict/type.js | 60 +
bs-ui/src/api/system/menu.js | 60 +
bs-ui/src/api/system/notice.js | 62 +
bs-ui/src/api/system/post.js | 44 +
bs-ui/src/api/system/role.js | 119 ++
bs-ui/src/api/system/tenant.js | 62 +
bs-ui/src/api/system/tenant/config.js | 62 +
bs-ui/src/api/system/user.js | 143 ++
bs-ui/src/api/tm/driver.js | 62 +
bs-ui/src/api/tm/order.js | 89 +
bs-ui/src/api/tm/vehicle.js | 62 +
bs-ui/src/api/tool/gen.js | 76 +
bs-ui/src/api/trans/cargo.js | 71 +
bs-ui/src/assets/401_images/401.gif | Bin 0 -> 164227 bytes
bs-ui/src/assets/404_images/404.png | Bin 0 -> 98071 bytes
bs-ui/src/assets/404_images/404_cloud.png | Bin 0 -> 4766 bytes
bs-ui/src/assets/icons/index.js | 9 +
bs-ui/src/assets/icons/svg/404.svg | 1 +
bs-ui/src/assets/icons/svg/bug.svg | 1 +
bs-ui/src/assets/icons/svg/build.svg | 1 +
bs-ui/src/assets/icons/svg/button.svg | 1 +
bs-ui/src/assets/icons/svg/cascader.svg | 1 +
bs-ui/src/assets/icons/svg/chart.svg | 1 +
bs-ui/src/assets/icons/svg/checkbox.svg | 1 +
bs-ui/src/assets/icons/svg/clipboard.svg | 1 +
bs-ui/src/assets/icons/svg/code.svg | 1 +
bs-ui/src/assets/icons/svg/color.svg | 1 +
bs-ui/src/assets/icons/svg/component.svg | 1 +
bs-ui/src/assets/icons/svg/dashboard.svg | 1 +
bs-ui/src/assets/icons/svg/date-range.svg | 1 +
bs-ui/src/assets/icons/svg/date.svg | 1 +
bs-ui/src/assets/icons/svg/dict.svg | 1 +
bs-ui/src/assets/icons/svg/documentation.svg | 1 +
bs-ui/src/assets/icons/svg/download.svg | 1 +
bs-ui/src/assets/icons/svg/drag.svg | 1 +
bs-ui/src/assets/icons/svg/druid.svg | 1 +
bs-ui/src/assets/icons/svg/edit.svg | 1 +
bs-ui/src/assets/icons/svg/education.svg | 1 +
bs-ui/src/assets/icons/svg/email.svg | 1 +
bs-ui/src/assets/icons/svg/example.svg | 1 +
bs-ui/src/assets/icons/svg/excel.svg | 1 +
.../src/assets/icons/svg/exit-fullscreen.svg | 1 +
bs-ui/src/assets/icons/svg/eye-open.svg | 1 +
bs-ui/src/assets/icons/svg/eye.svg | 1 +
bs-ui/src/assets/icons/svg/form.svg | 1 +
bs-ui/src/assets/icons/svg/fullscreen.svg | 1 +
bs-ui/src/assets/icons/svg/github.svg | 1 +
bs-ui/src/assets/icons/svg/guide.svg | 1 +
bs-ui/src/assets/icons/svg/icon.svg | 1 +
bs-ui/src/assets/icons/svg/input.svg | 1 +
bs-ui/src/assets/icons/svg/international.svg | 1 +
bs-ui/src/assets/icons/svg/job.svg | 1 +
bs-ui/src/assets/icons/svg/language.svg | 1 +
bs-ui/src/assets/icons/svg/link.svg | 1 +
bs-ui/src/assets/icons/svg/list.svg | 1 +
bs-ui/src/assets/icons/svg/lock.svg | 1 +
bs-ui/src/assets/icons/svg/log.svg | 1 +
bs-ui/src/assets/icons/svg/logininfor.svg | 1 +
bs-ui/src/assets/icons/svg/message.svg | 1 +
bs-ui/src/assets/icons/svg/money.svg | 1 +
bs-ui/src/assets/icons/svg/monitor.svg | 2 +
bs-ui/src/assets/icons/svg/nested.svg | 1 +
bs-ui/src/assets/icons/svg/number.svg | 1 +
bs-ui/src/assets/icons/svg/online.svg | 1 +
bs-ui/src/assets/icons/svg/password.svg | 1 +
bs-ui/src/assets/icons/svg/pdf.svg | 1 +
bs-ui/src/assets/icons/svg/people.svg | 1 +
bs-ui/src/assets/icons/svg/peoples.svg | 1 +
bs-ui/src/assets/icons/svg/phone.svg | 1 +
bs-ui/src/assets/icons/svg/post.svg | 1 +
bs-ui/src/assets/icons/svg/qq.svg | 1 +
bs-ui/src/assets/icons/svg/question.svg | 1 +
bs-ui/src/assets/icons/svg/radio.svg | 1 +
bs-ui/src/assets/icons/svg/rate.svg | 1 +
bs-ui/src/assets/icons/svg/redis-list.svg | 2 +
bs-ui/src/assets/icons/svg/redis.svg | 1 +
bs-ui/src/assets/icons/svg/row.svg | 1 +
bs-ui/src/assets/icons/svg/search.svg | 1 +
bs-ui/src/assets/icons/svg/select.svg | 1 +
bs-ui/src/assets/icons/svg/server.svg | 1 +
bs-ui/src/assets/icons/svg/shopping.svg | 1 +
bs-ui/src/assets/icons/svg/size.svg | 1 +
bs-ui/src/assets/icons/svg/skill.svg | 1 +
bs-ui/src/assets/icons/svg/slider.svg | 1 +
bs-ui/src/assets/icons/svg/star.svg | 1 +
bs-ui/src/assets/icons/svg/swagger.svg | 1 +
bs-ui/src/assets/icons/svg/switch.svg | 1 +
bs-ui/src/assets/icons/svg/system.svg | 2 +
bs-ui/src/assets/icons/svg/tab.svg | 1 +
bs-ui/src/assets/icons/svg/table.svg | 1 +
bs-ui/src/assets/icons/svg/textarea.svg | 1 +
bs-ui/src/assets/icons/svg/theme.svg | 1 +
bs-ui/src/assets/icons/svg/time-range.svg | 1 +
bs-ui/src/assets/icons/svg/time.svg | 1 +
bs-ui/src/assets/icons/svg/tool.svg | 1 +
bs-ui/src/assets/icons/svg/tree-table.svg | 1 +
bs-ui/src/assets/icons/svg/tree.svg | 1 +
bs-ui/src/assets/icons/svg/upload.svg | 1 +
bs-ui/src/assets/icons/svg/user.svg | 1 +
bs-ui/src/assets/icons/svg/validCode.svg | 1 +
bs-ui/src/assets/icons/svg/wechat.svg | 1 +
bs-ui/src/assets/icons/svg/zip.svg | 1 +
bs-ui/src/assets/icons/svgo.yml | 22 +
bs-ui/src/assets/images/dark.svg | 39 +
bs-ui/src/assets/images/light.svg | 39 +
bs-ui/src/assets/images/login-backgroun2.jpg | Bin 0 -> 1933103 bytes
bs-ui/src/assets/images/login-background.jpg | Bin 0 -> 62591 bytes
bs-ui/src/assets/images/profile.jpg | Bin 0 -> 25183 bytes
bs-ui/src/assets/logo/logo.png | Bin 0 -> 32925 bytes
bs-ui/src/assets/styles/btn.scss | 99 +
bs-ui/src/assets/styles/edit.scss | 48 +
bs-ui/src/assets/styles/element-ui.scss | 104 +
.../src/assets/styles/element-variables.scss | 31 +
bs-ui/src/assets/styles/index.scss | 187 ++
bs-ui/src/assets/styles/mixin.scss | 66 +
bs-ui/src/assets/styles/ruoyi.scss | 285 +++
bs-ui/src/assets/styles/sidebar.scss | 227 +++
bs-ui/src/assets/styles/transition.scss | 49 +
bs-ui/src/assets/styles/variables.scss | 54 +
.../src/components/BillNumberInput/index.vue | 70 +
bs-ui/src/components/Breadcrumb/index.vue | 74 +
.../Chain/SelectTable/ChainSelect.vue | 109 +
.../Chain/SelectTable/MultiSelectTable.vue | 393 ++++
.../Chain/SelectTable/SelectTable.vue | 374 ++++
bs-ui/src/components/Crontab/day.vue | 161 ++
bs-ui/src/components/Crontab/hour.vue | 114 ++
bs-ui/src/components/Crontab/index.vue | 430 ++++
bs-ui/src/components/Crontab/min.vue | 116 ++
bs-ui/src/components/Crontab/month.vue | 114 ++
bs-ui/src/components/Crontab/result.vue | 559 ++++++
bs-ui/src/components/Crontab/second.vue | 117 ++
bs-ui/src/components/Crontab/week.vue | 202 ++
bs-ui/src/components/Crontab/year.vue | 131 ++
bs-ui/src/components/DictData/index.js | 49 +
bs-ui/src/components/DictTag/index.vue | 78 +
bs-ui/src/components/Editor/index.vue | 272 +++
.../src/components/FileGroupUpload/index.vue | 320 +++
bs-ui/src/components/FileUpload/index.vue | 215 ++
bs-ui/src/components/Hamburger/index.vue | 44 +
bs-ui/src/components/HeaderSearch/index.vue | 189 ++
bs-ui/src/components/IconSelect/index.vue | 104 +
.../src/components/IconSelect/requireIcons.js | 11 +
bs-ui/src/components/ImagePreview/index.vue | 90 +
bs-ui/src/components/ImageUpload/index.vue | 226 +++
bs-ui/src/components/MyFormItem/index.vue | 35 +
bs-ui/src/components/MyPage/index.vue | 56 +
bs-ui/src/components/MySelectButton/index.vue | 60 +
bs-ui/src/components/Pagination/index.vue | 114 ++
bs-ui/src/components/PanThumb/index.vue | 142 ++
bs-ui/src/components/ParentView/index.vue | 3 +
bs-ui/src/components/RightPanel/index.vue | 106 +
bs-ui/src/components/RightToolbar/index.vue | 104 +
bs-ui/src/components/Rq/index.vue | 16 +
bs-ui/src/components/Screenfull/index.vue | 57 +
bs-ui/src/components/SizeSelect/index.vue | 56 +
bs-ui/src/components/SvgIcon/index.vue | 61 +
bs-ui/src/components/ThemePicker/index.vue | 173 ++
bs-ui/src/components/TopNav/index.vue | 191 ++
bs-ui/src/components/WarehouseName/index.vue | 28 +
bs-ui/src/components/iFrame/index.vue | 36 +
bs-ui/src/directive/dialog/drag.js | 94 +
bs-ui/src/directive/dialog/dragHeight.js | 34 +
bs-ui/src/directive/dialog/dragWidth.js | 30 +
bs-ui/src/directive/index.js | 25 +
bs-ui/src/directive/module/clipboard.js | 54 +
bs-ui/src/directive/module/enterboard.js | 22 +
bs-ui/src/directive/permission/hasPermi.js | 28 +
bs-ui/src/directive/permission/hasRole.js | 28 +
bs-ui/src/layout/components/AppMain.vue | 75 +
.../layout/components/IframeToggle/index.vue | 24 +
.../src/layout/components/InnerLink/index.vue | 47 +
bs-ui/src/layout/components/Navbar.vue | 188 ++
.../src/layout/components/Settings/index.vue | 260 +++
.../layout/components/Sidebar/FixiOSBug.js | 25 +
bs-ui/src/layout/components/Sidebar/Item.vue | 33 +
bs-ui/src/layout/components/Sidebar/Link.vue | 43 +
bs-ui/src/layout/components/Sidebar/Logo.vue | 115 ++
.../layout/components/Sidebar/SidebarItem.vue | 100 +
bs-ui/src/layout/components/Sidebar/index.vue | 57 +
.../layout/components/TagsView/ScrollPane.vue | 94 +
.../src/layout/components/TagsView/index.vue | 332 ++++
bs-ui/src/layout/components/index.js | 5 +
bs-ui/src/layout/index.vue | 111 ++
bs-ui/src/layout/mixin/ResizeHandler.js | 45 +
bs-ui/src/main.js | 103 +
bs-ui/src/permission.js | 56 +
bs-ui/src/plugins/auth.js | 60 +
bs-ui/src/plugins/cache.js | 77 +
bs-ui/src/plugins/download.js | 89 +
bs-ui/src/plugins/index.js | 20 +
bs-ui/src/plugins/modal.js | 89 +
bs-ui/src/plugins/tab.js | 71 +
bs-ui/src/router/index.js | 183 ++
bs-ui/src/settings.js | 44 +
bs-ui/src/store/getters.js | 21 +
bs-ui/src/store/index.js | 27 +
bs-ui/src/store/modules/app.js | 66 +
bs-ui/src/store/modules/dict.js | 50 +
bs-ui/src/store/modules/permission.js | 133 ++
bs-ui/src/store/modules/settings.js | 42 +
bs-ui/src/store/modules/tagsView.js | 228 +++
bs-ui/src/store/modules/user.js | 101 +
bs-ui/src/store/modules/warehouse.js | 66 +
bs-ui/src/utils/auth.js | 15 +
bs-ui/src/utils/bs.js | 249 +++
bs-ui/src/utils/dict/Dict.js | 82 +
bs-ui/src/utils/dict/DictConverter.js | 17 +
bs-ui/src/utils/dict/DictData.js | 13 +
bs-ui/src/utils/dict/DictMeta.js | 38 +
bs-ui/src/utils/dict/DictOptions.js | 51 +
bs-ui/src/utils/dict/index.js | 33 +
bs-ui/src/utils/errorCode.js | 6 +
bs-ui/src/utils/generator/config.js | 438 +++++
bs-ui/src/utils/generator/css.js | 18 +
bs-ui/src/utils/generator/drawingDefault.js | 29 +
bs-ui/src/utils/generator/html.js | 359 ++++
bs-ui/src/utils/generator/icon.json | 1 +
bs-ui/src/utils/generator/js.js | 235 +++
bs-ui/src/utils/generator/render.js | 126 ++
bs-ui/src/utils/index.js | 444 +++++
bs-ui/src/utils/jsencrypt.js | 30 +
bs-ui/src/utils/permission.js | 51 +
bs-ui/src/utils/request.js | 146 ++
bs-ui/src/utils/scroll-to.js | 58 +
bs-ui/src/utils/validate.js | 96 +
bs-ui/src/views/bill/number/index.vue | 290 +++
.../src/views/components/CargoDesc/index.vue | 80 +
.../components/OutBillCargoDesc/index.vue | 81 +
.../src/views/components/StockDesc/index.vue | 55 +
.../views/components/icons/element-icons.js | 3 +
bs-ui/src/views/components/icons/index.vue | 87 +
bs-ui/src/views/components/icons/svg-icons.js | 10 +
bs-ui/src/views/dashboard/BarChart.vue | 102 +
bs-ui/src/views/dashboard/LineChart.vue | 135 ++
bs-ui/src/views/dashboard/PanelGroup.vue | 181 ++
bs-ui/src/views/dashboard/PieChart.vue | 79 +
bs-ui/src/views/dashboard/RaddarChart.vue | 116 ++
bs-ui/src/views/dashboard/mixins/resize.js | 56 +
bs-ui/src/views/error/401.vue | 88 +
bs-ui/src/views/error/404.vue | 233 +++
bs-ui/src/views/finance/amortize/index.vue | 300 +++
bs-ui/src/views/finance/cash/index.vue | 260 +++
.../finance/components/AmortizeEdit/index.vue | 200 ++
.../finance/components/CashEdit/index.vue | 185 ++
bs-ui/src/views/finance/writeoff/index.vue | 93 +
.../finance/writeoff/modules/AmortizeList.vue | 230 +++
.../finance/writeoff/modules/CashList.vue | 233 +++
.../src/views/finance/writeoff_pay/index.vue | 22 +
bs-ui/src/views/index.vue | 36 +
bs-ui/src/views/index_v1.vue | 98 +
bs-ui/src/views/indexs/bulkCargo/index.vue | 13 +
bs-ui/src/views/indexs/warehouse/index.vue | 329 ++++
bs-ui/src/views/jxc/berth/index.vue | 452 +++++
.../components/BmcargoConfirm/index.vue | 1210 ++++++++++++
.../bmcargo/components/BmcargoEdit/index.vue | 686 +++++++
.../bmcargo/components/BmcargoList/index.vue | 203 ++
.../bmcargo/components/VoyageNumber/index.vue | 130 ++
bs-ui/src/views/jxc/bmcargo/index.vue | 502 +++++
bs-ui/src/views/jxc/bmport/index.vue | 789 ++++++++
bs-ui/src/views/jxc/bmvoyage/index.vue | 806 ++++++++
bs-ui/src/views/jxc/cargo/index.vue | 536 +++++
bs-ui/src/views/jxc/ckbill/index.vue | 657 +++++++
bs-ui/src/views/jxc/ckcargo/index.vue | 957 +++++++++
bs-ui/src/views/jxc/ckchange/index.vue | 525 +++++
bs-ui/src/views/jxc/ckconfirm/index.vue | 577 ++++++
bs-ui/src/views/jxc/ckconfirm/index_bak.vue | 577 ++++++
bs-ui/src/views/jxc/ckinquiry/index.vue | 699 +++++++
bs-ui/src/views/jxc/ckmixed/index.vue | 1103 +++++++++++
.../components/StockChoose/index.vue | 309 +++
.../ckoutbound/components/StockOut/index.vue | 702 +++++++
bs-ui/src/views/jxc/ckoutbound/index.vue | 602 ++++++
.../components/StockChoose/index.vue | 310 +++
.../components/StockOut/index.vue | 999 ++++++++++
bs-ui/src/views/jxc/ckoutboundCar/index.vue | 603 ++++++
bs-ui/src/views/jxc/ckstock/index.vue | 600 ++++++
.../cktransfer/components/Transfer/index.vue | 682 +++++++
bs-ui/src/views/jxc/cktransfer/index.vue | 469 +++++
bs-ui/src/views/jxc/cktransfer/index_new.vue | 1121 +++++++++++
.../ckwarehouse/components/BillEdit/index.vue | 723 +++++++
.../ckwarehouse/components/BillList/index.vue | 143 ++
bs-ui/src/views/jxc/ckwarehouse/index.vue | 547 ++++++
bs-ui/src/views/jxc/cust/index.vue | 415 ++++
bs-ui/src/views/jxc/custItem/index.vue | 325 +++
bs-ui/src/views/jxc/dyn/index.vue | 306 +++
bs-ui/src/views/jxc/instock/index.vue | 613 ++++++
bs-ui/src/views/jxc/outstock/index.vue | 627 ++++++
bs-ui/src/views/jxc/port/index.vue | 431 ++++
bs-ui/src/views/jxc/stock/index.vue | 392 ++++
bs-ui/src/views/jxc/total/index.vue | 483 +++++
bs-ui/src/views/jxc/transfer/index.vue | 688 +++++++
bs-ui/src/views/jxc/vessel/index.vue | 456 +++++
bs-ui/src/views/jxc/warehouse/index.vue | 396 ++++
bs-ui/src/views/login.vue | 250 +++
bs-ui/src/views/monitor/cache/index.vue | 144 ++
bs-ui/src/views/monitor/cache/list.vue | 241 +++
bs-ui/src/views/monitor/druid/index.vue | 15 +
bs-ui/src/views/monitor/job/index.vue | 513 +++++
bs-ui/src/views/monitor/job/log.vue | 295 +++
bs-ui/src/views/monitor/logininfor/index.vue | 246 +++
bs-ui/src/views/monitor/online/index.vue | 122 ++
bs-ui/src/views/monitor/operlog/index.vue | 313 +++
bs-ui/src/views/monitor/server/index.vue | 207 ++
bs-ui/src/views/redirect.vue | 12 +
bs-ui/src/views/register.vue | 209 ++
bs-ui/src/views/system/config/index.vue | 346 ++++
bs-ui/src/views/system/dept/index.vue | 340 ++++
bs-ui/src/views/system/dict/data.vue | 402 ++++
bs-ui/src/views/system/dict/index.vue | 347 ++++
bs-ui/src/views/system/menu/index.vue | 452 +++++
bs-ui/src/views/system/notice/index.vue | 355 ++++
bs-ui/src/views/system/post/index.vue | 309 +++
bs-ui/src/views/system/role/authUser.vue | 199 ++
bs-ui/src/views/system/role/index.vue | 605 ++++++
bs-ui/src/views/system/role/selectUser.vue | 138 ++
.../src/views/system/tenant/config/index.vue | 488 +++++
bs-ui/src/views/system/tenant/edit.vue | 140 ++
bs-ui/src/views/system/tenant/index.vue | 407 ++++
bs-ui/src/views/system/user/authRole.vue | 117 ++
bs-ui/src/views/system/user/index.vue | 670 +++++++
bs-ui/src/views/system/user/profile/index.vue | 91 +
.../views/system/user/profile/resetPwd.vue | 68 +
.../views/system/user/profile/userAvatar.vue | 188 ++
.../views/system/user/profile/userInfo.vue | 75 +
.../tm/carriage_order/finished/index.vue | 208 ++
.../plan/components/TransCargoPlan.vue | 172 ++
.../plan/components/TransCargoPlanEdit.vue | 548 ++++++
.../plan/components/TransPlan.vue | 153 ++
.../plan/components/TransPlanAuto.vue | 148 ++
.../plan/components/TransPlanEdit.vue | 707 +++++++
.../views/tm/carriage_order/plan/index.vue | 109 +
.../tm/carriage_order/unfinished/index.vue | 245 +++
.../views/tm/components/AutoTableHeight.js | 66 +
.../components/CarriageCargoInput/index.vue | 97 +
.../tm/components/CarriageCargoList/index.vue | 60 +
.../tm/components/CarriageOrderEdit/index.vue | 519 +++++
.../tm/components/ConsignOrderEdit/index.vue | 472 +++++
.../views/tm/components/CustEdit/index.vue | 146 ++
.../views/tm/components/CustInput/index.vue | 74 +
.../views/tm/components/CustList/index.vue | 64 +
.../views/tm/components/DriverEdit/index.vue | 219 +++
.../views/tm/components/DriverInput/index.vue | 97 +
.../views/tm/components/DriverList/index.vue | 64 +
.../views/tm/components/OrderInput/index.vue | 101 +
.../views/tm/components/OrderList/index.vue | 103 +
.../views/tm/components/SimpleList/index.vue | 250 +++
.../views/tm/components/VehicleEdit/index.vue | 282 +++
.../tm/components/VehicleInput/index.vue | 107 +
.../views/tm/components/VehicleList/index.vue | 60 +
.../views/tm/consign_order/finished/index.vue | 209 ++
.../tm/consign_order/unfinished/index.vue | 238 +++
bs-ui/src/views/tm/cust/index.vue | 347 ++++
bs-ui/src/views/tm/cust/modules/search.vue | 51 +
bs-ui/src/views/tm/driver/index.vue | 292 +++
bs-ui/src/views/tm/driver/modules/search.vue | 52 +
bs-ui/src/views/tm/vehicle/index.vue | 335 ++++
bs-ui/src/views/tm/vehicle/modules/search.vue | 55 +
bs-ui/src/views/tool/build/CodeTypeDialog.vue | 106 +
bs-ui/src/views/tool/build/DraggableItem.vue | 100 +
bs-ui/src/views/tool/build/IconsDialog.vue | 123 ++
bs-ui/src/views/tool/build/RightPanel.vue | 946 +++++++++
bs-ui/src/views/tool/build/TreeNodeDialog.vue | 149 ++
bs-ui/src/views/tool/build/index.vue | 768 ++++++++
bs-ui/src/views/tool/gen/basicInfoForm.vue | 60 +
bs-ui/src/views/tool/gen/editTable.vue | 234 +++
bs-ui/src/views/tool/gen/genInfoForm.vue | 299 +++
bs-ui/src/views/tool/gen/importTable.vue | 120 ++
bs-ui/src/views/tool/gen/index.vue | 337 ++++
bs-ui/src/views/tool/swagger/index.vue | 15 +
bs-ui/vue.config.js | 134 ++
pom.xml | 307 +++
ry.bat | 67 +
sql/20240405235624.nb3 | Bin 0 -> 83456 bytes
sql/my-base.sql | 1122 +++++++++++
787 files changed, 107897 insertions(+)
create mode 100644 .gitignore
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 bin/clean.bat
create mode 100644 bin/package.bat
create mode 100644 bin/run.bat
create mode 100644 bs-admin/pom.xml
create mode 100644 bs-admin/src/main/java/com/bs/BsApplication.java
create mode 100644 bs-admin/src/main/java/com/bs/BsServletInitializer.java
create mode 100644 bs-admin/src/main/java/com/bs/cm/controller/CmAttachController.java
create mode 100644 bs-admin/src/main/java/com/bs/cm/domain/CmAttach.java
create mode 100644 bs-admin/src/main/java/com/bs/cm/mapper/CmAttachMapper.java
create mode 100644 bs-admin/src/main/java/com/bs/cm/service/ICmAttachService.java
create mode 100644 bs-admin/src/main/java/com/bs/cm/service/impl/CmAttachServiceImpl.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/common/CaptchaController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/common/CommonController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/monitor/CacheController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/monitor/ServerController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/monitor/SysLogininforController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/monitor/SysOperlogController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/monitor/SysUserOnlineController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysConfigController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysDeptController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysDictDataController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysDictTypeController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysIndexController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysLoginController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysMenuController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysNoticeController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysPostController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysProfileController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysRegisterController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysRoleController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysTenantController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/SysUserController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/system/TenantConfigController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/controller/tool/TestController.java
create mode 100644 bs-admin/src/main/java/com/bs/web/core/config/SwaggerConfig.java
create mode 100644 bs-admin/src/main/resources/META-INF/spring-devtools.properties
create mode 100644 bs-admin/src/main/resources/application-druid.yml
create mode 100644 bs-admin/src/main/resources/application-priv.yml
create mode 100644 bs-admin/src/main/resources/application-prot.yml
create mode 100644 bs-admin/src/main/resources/application.yml
create mode 100644 bs-admin/src/main/resources/banner.txt
create mode 100644 bs-admin/src/main/resources/i18n/messages.properties
create mode 100644 bs-admin/src/main/resources/logback.xml
create mode 100644 bs-admin/src/main/resources/mapper/cm/CmAttachMapper.xml
create mode 100644 bs-admin/src/main/resources/mybatis/mybatis-config.xml
create mode 100644 bs-common/pom.xml
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/Anonymous.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/DataScope.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/DataSource.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/Excel.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/Excels.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/Log.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/RateLimiter.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/RepeatSubmit.java
create mode 100644 bs-common/src/main/java/com/bs/common/annotation/TenantClear.java
create mode 100644 bs-common/src/main/java/com/bs/common/aspectj/TenantClearAspect.java
create mode 100644 bs-common/src/main/java/com/bs/common/config/BsConfig.java
create mode 100644 bs-common/src/main/java/com/bs/common/config/TenantConfigProperties.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/CacheConstants.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/Constants.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/GenConstants.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/HttpStatus.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/ScheduleConstants.java
create mode 100644 bs-common/src/main/java/com/bs/common/constant/UserConstants.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/controller/BaseController.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/AjaxResult.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/BaseEntity.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/R.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/TreeEntity.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/TreeSelect.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysDept.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysDictData.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysDictType.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysMenu.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysRole.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysTenant.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/SysUser.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/entity/TenantConfig.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/model/LoginBody.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/model/LoginUser.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/domain/model/RegisterBody.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/page/PageDomain.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/page/TableDataInfo.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/page/TableSupport.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/redis/RedisCache.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/text/CharsetKit.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/text/Convert.java
create mode 100644 bs-common/src/main/java/com/bs/common/core/text/StrFormatter.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/BusinessStatus.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/BusinessType.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/DataSourceType.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/HttpMethod.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/LimitType.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/OperatorType.java
create mode 100644 bs-common/src/main/java/com/bs/common/enums/UserStatus.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/DemoModeException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/GlobalException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/ServiceException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/UtilException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/base/BaseException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/file/FileException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/file/FileNameLengthLimitExceededException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/file/FileSizeLimitExceededException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/file/FileUploadException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/file/InvalidExtensionException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/job/TaskException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/BlackListException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/CaptchaException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/CaptchaExpireException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/UserException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/UserNotExistsException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/UserPasswordNotMatchException.java
create mode 100644 bs-common/src/main/java/com/bs/common/exception/user/UserPasswordRetryLimitExceedException.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/PortFilter.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/PropertyPreExcludeFilter.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/RepeatableFilter.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/RepeatedlyRequestWrapper.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/XssFilter.java
create mode 100644 bs-common/src/main/java/com/bs/common/filter/XssHttpServletRequestWrapper.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/handler/DefaultDBFieldHandler.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/mapper/BaseMapperX.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/pojo/PageParam.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/pojo/PageResult.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/pojo/SortingField.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/util/JdbcUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/mybatis/util/MyBatisUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/Arith.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/DateUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/DictUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/ExceptionUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/FileUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/LogUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/MessageUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/OsInfoUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/PageUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/SecurityUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/ServletUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/StringUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/SystemEnum.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/Threads.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/bean/BeanUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/bean/BeanValidators.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/collection/CollectionUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/file/FileTypeUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/file/FileUploadUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/file/FileUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/file/ImageUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/file/MimeTypeUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/html/EscapeUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/html/HTMLFilter.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/http/HttpHelper.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/http/HttpUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/ip/AddressUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/ip/IpUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/poi/ExcelHandlerAdapter.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/poi/ExcelUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/reflect/ReflectUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/sign/Base64.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/sign/Md5Utils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/spring/SpringUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/sql/SqlUtil.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/uuid/IdUtils.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/uuid/Seq.java
create mode 100644 bs-common/src/main/java/com/bs/common/utils/uuid/UUID.java
create mode 100644 bs-common/src/main/java/com/bs/common/xss/Xss.java
create mode 100644 bs-common/src/main/java/com/bs/common/xss/XssValidator.java
create mode 100644 bs-framework/pom.xml
create mode 100644 bs-framework/src/main/java/com/bs/framework/aspectj/DataScopeAspect.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/aspectj/DataSourceAspect.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/aspectj/LogAspect.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/aspectj/RateLimiterAspect.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/ApplicationConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/CaptchaConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/DruidConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/FastJson2JsonRedisSerializer.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/FilterConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/KaptchaTextCreator.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/MyTenantLineHandlerImpl.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/MybatisPlusConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/RedisConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/ResourcesConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/SecurityConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/ServerConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/ThreadPoolConfig.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/properties/DruidProperties.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/config/properties/PermitAllUrlProperties.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/datasource/DynamicDataSource.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/datasource/DynamicDataSourceContextHolder.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/interceptor/RepeatSubmitInterceptor.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/interceptor/impl/SameUrlDataInterceptor.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/manager/AsyncManager.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/manager/ShutdownManager.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/manager/factory/AsyncFactory.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/security/context/AuthenticationContextHolder.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/security/context/PermissionContextHolder.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/security/filter/JwtAuthenticationTokenFilter.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/security/handle/AuthenticationEntryPointImpl.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/security/handle/LogoutSuccessHandlerImpl.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/Server.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/server/Cpu.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/server/Jvm.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/server/Mem.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/server/Sys.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/domain/server/SysFile.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/exception/GlobalExceptionHandler.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/PermissionService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/SysLoginService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/SysPasswordService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/SysPermissionService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/SysRegisterService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/TokenService.java
create mode 100644 bs-framework/src/main/java/com/bs/framework/web/service/UserDetailsServiceImpl.java
create mode 100644 bs-generator/pom.xml
create mode 100644 bs-generator/src/main/java/com/bs/generator/config/GenConfig.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/controller/GenController.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/domain/GenTable.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/domain/GenTableColumn.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/mapper/GenTableColumnMapper.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/mapper/GenTableMapper.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/service/GenTableColumnServiceImpl.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/service/GenTableServiceImpl.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/service/IGenTableColumnService.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/service/IGenTableService.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/util/GenTableUtils.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/util/GenUtils.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/util/VelocityInitializer.java
create mode 100644 bs-generator/src/main/java/com/bs/generator/util/VelocityUtils.java
create mode 100644 bs-generator/src/main/resources/generator.yml
create mode 100644 bs-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
create mode 100644 bs-generator/src/main/resources/mapper/generator/GenTableMapper.xml
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/controller.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/domain.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/mapper.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/service.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/serviceImpl.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/java/sub-domain.java.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/js/api.js.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/sql/sql.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/vue/index-tree.vue.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/vue/index.vue.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/vue/v3/index-tree.vue.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/vue/v3/index.vue.vm
create mode 100644 bs-generator/src/main/resources/shiptemplates/vue/v3/readme.txt
create mode 100644 bs-generator/src/main/resources/shiptemplates/xml/mapper.xml.vm
create mode 100644 bs-generator/src/main/resources/vm/java/controller.java.vm
create mode 100644 bs-generator/src/main/resources/vm/java/domain.java.vm
create mode 100644 bs-generator/src/main/resources/vm/java/mapper.java.vm
create mode 100644 bs-generator/src/main/resources/vm/java/service.java.vm
create mode 100644 bs-generator/src/main/resources/vm/java/serviceImpl.java.vm
create mode 100644 bs-generator/src/main/resources/vm/java/sub-domain.java.vm
create mode 100644 bs-generator/src/main/resources/vm/js/api.js.vm
create mode 100644 bs-generator/src/main/resources/vm/sql/sql.vm
create mode 100644 bs-generator/src/main/resources/vm/vue/index-tree.vue.vm
create mode 100644 bs-generator/src/main/resources/vm/vue/index.vue.vm
create mode 100644 bs-generator/src/main/resources/vm/vue/v3/index-tree.vue.vm
create mode 100644 bs-generator/src/main/resources/vm/vue/v3/index.vue.vm
create mode 100644 bs-generator/src/main/resources/vm/vue/v3/readme.txt
create mode 100644 bs-generator/src/main/resources/vm/xml/mapper.xml.vm
create mode 100644 bs-quartz/pom.xml
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/config/ScheduleConfig.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/controller/SysJobController.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/controller/SysJobLogController.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/domain/SysJob.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/domain/SysJobLog.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/mapper/SysJobLogMapper.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/mapper/SysJobMapper.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/service/ISysJobLogService.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/service/ISysJobService.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/service/impl/SysJobLogServiceImpl.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/service/impl/SysJobServiceImpl.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/task/RyTask.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/AbstractQuartzJob.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/CronUtils.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/JobInvokeUtil.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/QuartzDisallowConcurrentExecution.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/QuartzJobExecution.java
create mode 100644 bs-quartz/src/main/java/com/bs/quartz/util/ScheduleUtils.java
create mode 100644 bs-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml
create mode 100644 bs-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml
create mode 100644 bs-system/pom.xml
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysCache.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysConfig.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysLogininfor.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysNotice.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysOperLog.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysPost.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysRoleDept.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysRoleMenu.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysUserOnline.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysUserPost.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/SysUserRole.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/vo/MetaVo.java
create mode 100644 bs-system/src/main/java/com/bs/system/domain/vo/RouterVo.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysConfigMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysDeptMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysDictDataMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysDictTypeMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysLogininforMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysMenuMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysNoticeMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysOperLogMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysPostMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysRoleDeptMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysRoleMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysRoleMenuMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysTenantMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysUserMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysUserPostMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/SysUserRoleMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/mapper/TenantConfigMapper.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysConfigService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysDeptService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysDictDataService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysDictTypeService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysLogininforService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysMenuService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysNoticeService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysOperLogService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysPostService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysRoleService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysUserOnlineService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ISysUserService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/ITenantConfigService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/SysTenantService.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysConfigServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysDeptServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysDictDataServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysDictTypeServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysLogininforServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysMenuServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysNoticeServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysOperLogServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysPostServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysRoleServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysTenantServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysUserOnlineServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/SysUserServiceImpl.java
create mode 100644 bs-system/src/main/java/com/bs/system/service/impl/TenantConfigServiceImpl.java
create mode 100644 bs-system/src/main/resources/mapper/system/SysConfigMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysDeptMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysDictDataMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysLogininforMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysMenuMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysNoticeMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysOperLogMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysPostMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysRoleMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysUserMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysUserPostMapper.xml
create mode 100644 bs-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
create mode 100644 bs-ui/.editorconfig
create mode 100644 bs-ui/.env.development
create mode 100644 bs-ui/.env.production
create mode 100644 bs-ui/.env.staging
create mode 100644 bs-ui/.eslintignore
create mode 100644 bs-ui/.eslintrc.js
create mode 100644 bs-ui/.gitignore
create mode 100644 bs-ui/babel.config.js
create mode 100644 bs-ui/bin/build.bat
create mode 100644 bs-ui/bin/package.bat
create mode 100644 bs-ui/bin/run-web.bat
create mode 100644 bs-ui/build/index.js
create mode 100644 bs-ui/package.json
create mode 100644 bs-ui/public/favicon.ico
create mode 100644 bs-ui/public/html/ie.html
create mode 100644 bs-ui/public/index.html
create mode 100644 bs-ui/public/robots.txt
create mode 100644 bs-ui/src/App.vue
create mode 100644 bs-ui/src/api/amortize/cost.js
create mode 100644 bs-ui/src/api/bill/number.js
create mode 100644 bs-ui/src/api/cargo/detail.js
create mode 100644 bs-ui/src/api/cargo/source.js
create mode 100644 bs-ui/src/api/cargo/target.js
create mode 100644 bs-ui/src/api/common/file.js
create mode 100644 bs-ui/src/api/cust/item.js
create mode 100644 bs-ui/src/api/finance/cash.js
create mode 100644 bs-ui/src/api/finance/writeoff.js
create mode 100644 bs-ui/src/api/jxc/berth.js
create mode 100644 bs-ui/src/api/jxc/billCar.js
create mode 100644 bs-ui/src/api/jxc/bmcargo.js
create mode 100644 bs-ui/src/api/jxc/bmvoyage.js
create mode 100644 bs-ui/src/api/jxc/cargo.js
create mode 100644 bs-ui/src/api/jxc/ckbill.js
create mode 100644 bs-ui/src/api/jxc/ckcargo.js
create mode 100644 bs-ui/src/api/jxc/ckchange.js
create mode 100644 bs-ui/src/api/jxc/ckstock.js
create mode 100644 bs-ui/src/api/jxc/cust.js
create mode 100644 bs-ui/src/api/jxc/custItem.js
create mode 100644 bs-ui/src/api/jxc/port.js
create mode 100644 bs-ui/src/api/jxc/stock.js
create mode 100644 bs-ui/src/api/jxc/vessel.js
create mode 100644 bs-ui/src/api/jxc/warehouse.js
create mode 100644 bs-ui/src/api/login.js
create mode 100644 bs-ui/src/api/menu.js
create mode 100644 bs-ui/src/api/monitor/cache.js
create mode 100644 bs-ui/src/api/monitor/job.js
create mode 100644 bs-ui/src/api/monitor/jobLog.js
create mode 100644 bs-ui/src/api/monitor/logininfor.js
create mode 100644 bs-ui/src/api/monitor/online.js
create mode 100644 bs-ui/src/api/monitor/operlog.js
create mode 100644 bs-ui/src/api/monitor/server.js
create mode 100644 bs-ui/src/api/order/cargo.js
create mode 100644 bs-ui/src/api/order/price.js
create mode 100644 bs-ui/src/api/order/trans.js
create mode 100644 bs-ui/src/api/order/vehicle.js
create mode 100644 bs-ui/src/api/system/config.js
create mode 100644 bs-ui/src/api/system/dept.js
create mode 100644 bs-ui/src/api/system/dict/data.js
create mode 100644 bs-ui/src/api/system/dict/type.js
create mode 100644 bs-ui/src/api/system/menu.js
create mode 100644 bs-ui/src/api/system/notice.js
create mode 100644 bs-ui/src/api/system/post.js
create mode 100644 bs-ui/src/api/system/role.js
create mode 100644 bs-ui/src/api/system/tenant.js
create mode 100644 bs-ui/src/api/system/tenant/config.js
create mode 100644 bs-ui/src/api/system/user.js
create mode 100644 bs-ui/src/api/tm/driver.js
create mode 100644 bs-ui/src/api/tm/order.js
create mode 100644 bs-ui/src/api/tm/vehicle.js
create mode 100644 bs-ui/src/api/tool/gen.js
create mode 100644 bs-ui/src/api/trans/cargo.js
create mode 100644 bs-ui/src/assets/401_images/401.gif
create mode 100644 bs-ui/src/assets/404_images/404.png
create mode 100644 bs-ui/src/assets/404_images/404_cloud.png
create mode 100644 bs-ui/src/assets/icons/index.js
create mode 100644 bs-ui/src/assets/icons/svg/404.svg
create mode 100644 bs-ui/src/assets/icons/svg/bug.svg
create mode 100644 bs-ui/src/assets/icons/svg/build.svg
create mode 100644 bs-ui/src/assets/icons/svg/button.svg
create mode 100644 bs-ui/src/assets/icons/svg/cascader.svg
create mode 100644 bs-ui/src/assets/icons/svg/chart.svg
create mode 100644 bs-ui/src/assets/icons/svg/checkbox.svg
create mode 100644 bs-ui/src/assets/icons/svg/clipboard.svg
create mode 100644 bs-ui/src/assets/icons/svg/code.svg
create mode 100644 bs-ui/src/assets/icons/svg/color.svg
create mode 100644 bs-ui/src/assets/icons/svg/component.svg
create mode 100644 bs-ui/src/assets/icons/svg/dashboard.svg
create mode 100644 bs-ui/src/assets/icons/svg/date-range.svg
create mode 100644 bs-ui/src/assets/icons/svg/date.svg
create mode 100644 bs-ui/src/assets/icons/svg/dict.svg
create mode 100644 bs-ui/src/assets/icons/svg/documentation.svg
create mode 100644 bs-ui/src/assets/icons/svg/download.svg
create mode 100644 bs-ui/src/assets/icons/svg/drag.svg
create mode 100644 bs-ui/src/assets/icons/svg/druid.svg
create mode 100644 bs-ui/src/assets/icons/svg/edit.svg
create mode 100644 bs-ui/src/assets/icons/svg/education.svg
create mode 100644 bs-ui/src/assets/icons/svg/email.svg
create mode 100644 bs-ui/src/assets/icons/svg/example.svg
create mode 100644 bs-ui/src/assets/icons/svg/excel.svg
create mode 100644 bs-ui/src/assets/icons/svg/exit-fullscreen.svg
create mode 100644 bs-ui/src/assets/icons/svg/eye-open.svg
create mode 100644 bs-ui/src/assets/icons/svg/eye.svg
create mode 100644 bs-ui/src/assets/icons/svg/form.svg
create mode 100644 bs-ui/src/assets/icons/svg/fullscreen.svg
create mode 100644 bs-ui/src/assets/icons/svg/github.svg
create mode 100644 bs-ui/src/assets/icons/svg/guide.svg
create mode 100644 bs-ui/src/assets/icons/svg/icon.svg
create mode 100644 bs-ui/src/assets/icons/svg/input.svg
create mode 100644 bs-ui/src/assets/icons/svg/international.svg
create mode 100644 bs-ui/src/assets/icons/svg/job.svg
create mode 100644 bs-ui/src/assets/icons/svg/language.svg
create mode 100644 bs-ui/src/assets/icons/svg/link.svg
create mode 100644 bs-ui/src/assets/icons/svg/list.svg
create mode 100644 bs-ui/src/assets/icons/svg/lock.svg
create mode 100644 bs-ui/src/assets/icons/svg/log.svg
create mode 100644 bs-ui/src/assets/icons/svg/logininfor.svg
create mode 100644 bs-ui/src/assets/icons/svg/message.svg
create mode 100644 bs-ui/src/assets/icons/svg/money.svg
create mode 100644 bs-ui/src/assets/icons/svg/monitor.svg
create mode 100644 bs-ui/src/assets/icons/svg/nested.svg
create mode 100644 bs-ui/src/assets/icons/svg/number.svg
create mode 100644 bs-ui/src/assets/icons/svg/online.svg
create mode 100644 bs-ui/src/assets/icons/svg/password.svg
create mode 100644 bs-ui/src/assets/icons/svg/pdf.svg
create mode 100644 bs-ui/src/assets/icons/svg/people.svg
create mode 100644 bs-ui/src/assets/icons/svg/peoples.svg
create mode 100644 bs-ui/src/assets/icons/svg/phone.svg
create mode 100644 bs-ui/src/assets/icons/svg/post.svg
create mode 100644 bs-ui/src/assets/icons/svg/qq.svg
create mode 100644 bs-ui/src/assets/icons/svg/question.svg
create mode 100644 bs-ui/src/assets/icons/svg/radio.svg
create mode 100644 bs-ui/src/assets/icons/svg/rate.svg
create mode 100644 bs-ui/src/assets/icons/svg/redis-list.svg
create mode 100644 bs-ui/src/assets/icons/svg/redis.svg
create mode 100644 bs-ui/src/assets/icons/svg/row.svg
create mode 100644 bs-ui/src/assets/icons/svg/search.svg
create mode 100644 bs-ui/src/assets/icons/svg/select.svg
create mode 100644 bs-ui/src/assets/icons/svg/server.svg
create mode 100644 bs-ui/src/assets/icons/svg/shopping.svg
create mode 100644 bs-ui/src/assets/icons/svg/size.svg
create mode 100644 bs-ui/src/assets/icons/svg/skill.svg
create mode 100644 bs-ui/src/assets/icons/svg/slider.svg
create mode 100644 bs-ui/src/assets/icons/svg/star.svg
create mode 100644 bs-ui/src/assets/icons/svg/swagger.svg
create mode 100644 bs-ui/src/assets/icons/svg/switch.svg
create mode 100644 bs-ui/src/assets/icons/svg/system.svg
create mode 100644 bs-ui/src/assets/icons/svg/tab.svg
create mode 100644 bs-ui/src/assets/icons/svg/table.svg
create mode 100644 bs-ui/src/assets/icons/svg/textarea.svg
create mode 100644 bs-ui/src/assets/icons/svg/theme.svg
create mode 100644 bs-ui/src/assets/icons/svg/time-range.svg
create mode 100644 bs-ui/src/assets/icons/svg/time.svg
create mode 100644 bs-ui/src/assets/icons/svg/tool.svg
create mode 100644 bs-ui/src/assets/icons/svg/tree-table.svg
create mode 100644 bs-ui/src/assets/icons/svg/tree.svg
create mode 100644 bs-ui/src/assets/icons/svg/upload.svg
create mode 100644 bs-ui/src/assets/icons/svg/user.svg
create mode 100644 bs-ui/src/assets/icons/svg/validCode.svg
create mode 100644 bs-ui/src/assets/icons/svg/wechat.svg
create mode 100644 bs-ui/src/assets/icons/svg/zip.svg
create mode 100644 bs-ui/src/assets/icons/svgo.yml
create mode 100644 bs-ui/src/assets/images/dark.svg
create mode 100644 bs-ui/src/assets/images/light.svg
create mode 100644 bs-ui/src/assets/images/login-backgroun2.jpg
create mode 100644 bs-ui/src/assets/images/login-background.jpg
create mode 100644 bs-ui/src/assets/images/profile.jpg
create mode 100644 bs-ui/src/assets/logo/logo.png
create mode 100644 bs-ui/src/assets/styles/btn.scss
create mode 100644 bs-ui/src/assets/styles/edit.scss
create mode 100644 bs-ui/src/assets/styles/element-ui.scss
create mode 100644 bs-ui/src/assets/styles/element-variables.scss
create mode 100644 bs-ui/src/assets/styles/index.scss
create mode 100644 bs-ui/src/assets/styles/mixin.scss
create mode 100644 bs-ui/src/assets/styles/ruoyi.scss
create mode 100644 bs-ui/src/assets/styles/sidebar.scss
create mode 100644 bs-ui/src/assets/styles/transition.scss
create mode 100644 bs-ui/src/assets/styles/variables.scss
create mode 100644 bs-ui/src/components/BillNumberInput/index.vue
create mode 100644 bs-ui/src/components/Breadcrumb/index.vue
create mode 100644 bs-ui/src/components/Chain/SelectTable/ChainSelect.vue
create mode 100644 bs-ui/src/components/Chain/SelectTable/MultiSelectTable.vue
create mode 100644 bs-ui/src/components/Chain/SelectTable/SelectTable.vue
create mode 100644 bs-ui/src/components/Crontab/day.vue
create mode 100644 bs-ui/src/components/Crontab/hour.vue
create mode 100644 bs-ui/src/components/Crontab/index.vue
create mode 100644 bs-ui/src/components/Crontab/min.vue
create mode 100644 bs-ui/src/components/Crontab/month.vue
create mode 100644 bs-ui/src/components/Crontab/result.vue
create mode 100644 bs-ui/src/components/Crontab/second.vue
create mode 100644 bs-ui/src/components/Crontab/week.vue
create mode 100644 bs-ui/src/components/Crontab/year.vue
create mode 100644 bs-ui/src/components/DictData/index.js
create mode 100644 bs-ui/src/components/DictTag/index.vue
create mode 100644 bs-ui/src/components/Editor/index.vue
create mode 100644 bs-ui/src/components/FileGroupUpload/index.vue
create mode 100644 bs-ui/src/components/FileUpload/index.vue
create mode 100644 bs-ui/src/components/Hamburger/index.vue
create mode 100644 bs-ui/src/components/HeaderSearch/index.vue
create mode 100644 bs-ui/src/components/IconSelect/index.vue
create mode 100644 bs-ui/src/components/IconSelect/requireIcons.js
create mode 100644 bs-ui/src/components/ImagePreview/index.vue
create mode 100644 bs-ui/src/components/ImageUpload/index.vue
create mode 100644 bs-ui/src/components/MyFormItem/index.vue
create mode 100644 bs-ui/src/components/MyPage/index.vue
create mode 100644 bs-ui/src/components/MySelectButton/index.vue
create mode 100644 bs-ui/src/components/Pagination/index.vue
create mode 100644 bs-ui/src/components/PanThumb/index.vue
create mode 100644 bs-ui/src/components/ParentView/index.vue
create mode 100644 bs-ui/src/components/RightPanel/index.vue
create mode 100644 bs-ui/src/components/RightToolbar/index.vue
create mode 100644 bs-ui/src/components/Rq/index.vue
create mode 100644 bs-ui/src/components/Screenfull/index.vue
create mode 100644 bs-ui/src/components/SizeSelect/index.vue
create mode 100644 bs-ui/src/components/SvgIcon/index.vue
create mode 100644 bs-ui/src/components/ThemePicker/index.vue
create mode 100644 bs-ui/src/components/TopNav/index.vue
create mode 100644 bs-ui/src/components/WarehouseName/index.vue
create mode 100644 bs-ui/src/components/iFrame/index.vue
create mode 100644 bs-ui/src/directive/dialog/drag.js
create mode 100644 bs-ui/src/directive/dialog/dragHeight.js
create mode 100644 bs-ui/src/directive/dialog/dragWidth.js
create mode 100644 bs-ui/src/directive/index.js
create mode 100644 bs-ui/src/directive/module/clipboard.js
create mode 100644 bs-ui/src/directive/module/enterboard.js
create mode 100644 bs-ui/src/directive/permission/hasPermi.js
create mode 100644 bs-ui/src/directive/permission/hasRole.js
create mode 100644 bs-ui/src/layout/components/AppMain.vue
create mode 100644 bs-ui/src/layout/components/IframeToggle/index.vue
create mode 100644 bs-ui/src/layout/components/InnerLink/index.vue
create mode 100644 bs-ui/src/layout/components/Navbar.vue
create mode 100644 bs-ui/src/layout/components/Settings/index.vue
create mode 100644 bs-ui/src/layout/components/Sidebar/FixiOSBug.js
create mode 100644 bs-ui/src/layout/components/Sidebar/Item.vue
create mode 100644 bs-ui/src/layout/components/Sidebar/Link.vue
create mode 100644 bs-ui/src/layout/components/Sidebar/Logo.vue
create mode 100644 bs-ui/src/layout/components/Sidebar/SidebarItem.vue
create mode 100644 bs-ui/src/layout/components/Sidebar/index.vue
create mode 100644 bs-ui/src/layout/components/TagsView/ScrollPane.vue
create mode 100644 bs-ui/src/layout/components/TagsView/index.vue
create mode 100644 bs-ui/src/layout/components/index.js
create mode 100644 bs-ui/src/layout/index.vue
create mode 100644 bs-ui/src/layout/mixin/ResizeHandler.js
create mode 100644 bs-ui/src/main.js
create mode 100644 bs-ui/src/permission.js
create mode 100644 bs-ui/src/plugins/auth.js
create mode 100644 bs-ui/src/plugins/cache.js
create mode 100644 bs-ui/src/plugins/download.js
create mode 100644 bs-ui/src/plugins/index.js
create mode 100644 bs-ui/src/plugins/modal.js
create mode 100644 bs-ui/src/plugins/tab.js
create mode 100644 bs-ui/src/router/index.js
create mode 100644 bs-ui/src/settings.js
create mode 100644 bs-ui/src/store/getters.js
create mode 100644 bs-ui/src/store/index.js
create mode 100644 bs-ui/src/store/modules/app.js
create mode 100644 bs-ui/src/store/modules/dict.js
create mode 100644 bs-ui/src/store/modules/permission.js
create mode 100644 bs-ui/src/store/modules/settings.js
create mode 100644 bs-ui/src/store/modules/tagsView.js
create mode 100644 bs-ui/src/store/modules/user.js
create mode 100644 bs-ui/src/store/modules/warehouse.js
create mode 100644 bs-ui/src/utils/auth.js
create mode 100644 bs-ui/src/utils/bs.js
create mode 100644 bs-ui/src/utils/dict/Dict.js
create mode 100644 bs-ui/src/utils/dict/DictConverter.js
create mode 100644 bs-ui/src/utils/dict/DictData.js
create mode 100644 bs-ui/src/utils/dict/DictMeta.js
create mode 100644 bs-ui/src/utils/dict/DictOptions.js
create mode 100644 bs-ui/src/utils/dict/index.js
create mode 100644 bs-ui/src/utils/errorCode.js
create mode 100644 bs-ui/src/utils/generator/config.js
create mode 100644 bs-ui/src/utils/generator/css.js
create mode 100644 bs-ui/src/utils/generator/drawingDefault.js
create mode 100644 bs-ui/src/utils/generator/html.js
create mode 100644 bs-ui/src/utils/generator/icon.json
create mode 100644 bs-ui/src/utils/generator/js.js
create mode 100644 bs-ui/src/utils/generator/render.js
create mode 100644 bs-ui/src/utils/index.js
create mode 100644 bs-ui/src/utils/jsencrypt.js
create mode 100644 bs-ui/src/utils/permission.js
create mode 100644 bs-ui/src/utils/request.js
create mode 100644 bs-ui/src/utils/scroll-to.js
create mode 100644 bs-ui/src/utils/validate.js
create mode 100644 bs-ui/src/views/bill/number/index.vue
create mode 100644 bs-ui/src/views/components/CargoDesc/index.vue
create mode 100644 bs-ui/src/views/components/OutBillCargoDesc/index.vue
create mode 100644 bs-ui/src/views/components/StockDesc/index.vue
create mode 100644 bs-ui/src/views/components/icons/element-icons.js
create mode 100644 bs-ui/src/views/components/icons/index.vue
create mode 100644 bs-ui/src/views/components/icons/svg-icons.js
create mode 100644 bs-ui/src/views/dashboard/BarChart.vue
create mode 100644 bs-ui/src/views/dashboard/LineChart.vue
create mode 100644 bs-ui/src/views/dashboard/PanelGroup.vue
create mode 100644 bs-ui/src/views/dashboard/PieChart.vue
create mode 100644 bs-ui/src/views/dashboard/RaddarChart.vue
create mode 100644 bs-ui/src/views/dashboard/mixins/resize.js
create mode 100644 bs-ui/src/views/error/401.vue
create mode 100644 bs-ui/src/views/error/404.vue
create mode 100644 bs-ui/src/views/finance/amortize/index.vue
create mode 100644 bs-ui/src/views/finance/cash/index.vue
create mode 100644 bs-ui/src/views/finance/components/AmortizeEdit/index.vue
create mode 100644 bs-ui/src/views/finance/components/CashEdit/index.vue
create mode 100644 bs-ui/src/views/finance/writeoff/index.vue
create mode 100644 bs-ui/src/views/finance/writeoff/modules/AmortizeList.vue
create mode 100644 bs-ui/src/views/finance/writeoff/modules/CashList.vue
create mode 100644 bs-ui/src/views/finance/writeoff_pay/index.vue
create mode 100644 bs-ui/src/views/index.vue
create mode 100644 bs-ui/src/views/index_v1.vue
create mode 100644 bs-ui/src/views/indexs/bulkCargo/index.vue
create mode 100644 bs-ui/src/views/indexs/warehouse/index.vue
create mode 100644 bs-ui/src/views/jxc/berth/index.vue
create mode 100644 bs-ui/src/views/jxc/bmcargo/components/BmcargoConfirm/index.vue
create mode 100644 bs-ui/src/views/jxc/bmcargo/components/BmcargoEdit/index.vue
create mode 100644 bs-ui/src/views/jxc/bmcargo/components/BmcargoList/index.vue
create mode 100644 bs-ui/src/views/jxc/bmcargo/components/VoyageNumber/index.vue
create mode 100644 bs-ui/src/views/jxc/bmcargo/index.vue
create mode 100644 bs-ui/src/views/jxc/bmport/index.vue
create mode 100644 bs-ui/src/views/jxc/bmvoyage/index.vue
create mode 100644 bs-ui/src/views/jxc/cargo/index.vue
create mode 100644 bs-ui/src/views/jxc/ckbill/index.vue
create mode 100644 bs-ui/src/views/jxc/ckcargo/index.vue
create mode 100644 bs-ui/src/views/jxc/ckchange/index.vue
create mode 100644 bs-ui/src/views/jxc/ckconfirm/index.vue
create mode 100644 bs-ui/src/views/jxc/ckconfirm/index_bak.vue
create mode 100644 bs-ui/src/views/jxc/ckinquiry/index.vue
create mode 100644 bs-ui/src/views/jxc/ckmixed/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutbound/components/StockChoose/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutbound/components/StockOut/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutbound/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutboundCar/components/StockChoose/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutboundCar/components/StockOut/index.vue
create mode 100644 bs-ui/src/views/jxc/ckoutboundCar/index.vue
create mode 100644 bs-ui/src/views/jxc/ckstock/index.vue
create mode 100644 bs-ui/src/views/jxc/cktransfer/components/Transfer/index.vue
create mode 100644 bs-ui/src/views/jxc/cktransfer/index.vue
create mode 100644 bs-ui/src/views/jxc/cktransfer/index_new.vue
create mode 100644 bs-ui/src/views/jxc/ckwarehouse/components/BillEdit/index.vue
create mode 100644 bs-ui/src/views/jxc/ckwarehouse/components/BillList/index.vue
create mode 100644 bs-ui/src/views/jxc/ckwarehouse/index.vue
create mode 100644 bs-ui/src/views/jxc/cust/index.vue
create mode 100644 bs-ui/src/views/jxc/custItem/index.vue
create mode 100644 bs-ui/src/views/jxc/dyn/index.vue
create mode 100644 bs-ui/src/views/jxc/instock/index.vue
create mode 100644 bs-ui/src/views/jxc/outstock/index.vue
create mode 100644 bs-ui/src/views/jxc/port/index.vue
create mode 100644 bs-ui/src/views/jxc/stock/index.vue
create mode 100644 bs-ui/src/views/jxc/total/index.vue
create mode 100644 bs-ui/src/views/jxc/transfer/index.vue
create mode 100644 bs-ui/src/views/jxc/vessel/index.vue
create mode 100644 bs-ui/src/views/jxc/warehouse/index.vue
create mode 100644 bs-ui/src/views/login.vue
create mode 100644 bs-ui/src/views/monitor/cache/index.vue
create mode 100644 bs-ui/src/views/monitor/cache/list.vue
create mode 100644 bs-ui/src/views/monitor/druid/index.vue
create mode 100644 bs-ui/src/views/monitor/job/index.vue
create mode 100644 bs-ui/src/views/monitor/job/log.vue
create mode 100644 bs-ui/src/views/monitor/logininfor/index.vue
create mode 100644 bs-ui/src/views/monitor/online/index.vue
create mode 100644 bs-ui/src/views/monitor/operlog/index.vue
create mode 100644 bs-ui/src/views/monitor/server/index.vue
create mode 100644 bs-ui/src/views/redirect.vue
create mode 100644 bs-ui/src/views/register.vue
create mode 100644 bs-ui/src/views/system/config/index.vue
create mode 100644 bs-ui/src/views/system/dept/index.vue
create mode 100644 bs-ui/src/views/system/dict/data.vue
create mode 100644 bs-ui/src/views/system/dict/index.vue
create mode 100644 bs-ui/src/views/system/menu/index.vue
create mode 100644 bs-ui/src/views/system/notice/index.vue
create mode 100644 bs-ui/src/views/system/post/index.vue
create mode 100644 bs-ui/src/views/system/role/authUser.vue
create mode 100644 bs-ui/src/views/system/role/index.vue
create mode 100644 bs-ui/src/views/system/role/selectUser.vue
create mode 100644 bs-ui/src/views/system/tenant/config/index.vue
create mode 100644 bs-ui/src/views/system/tenant/edit.vue
create mode 100644 bs-ui/src/views/system/tenant/index.vue
create mode 100644 bs-ui/src/views/system/user/authRole.vue
create mode 100644 bs-ui/src/views/system/user/index.vue
create mode 100644 bs-ui/src/views/system/user/profile/index.vue
create mode 100644 bs-ui/src/views/system/user/profile/resetPwd.vue
create mode 100644 bs-ui/src/views/system/user/profile/userAvatar.vue
create mode 100644 bs-ui/src/views/system/user/profile/userInfo.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/finished/index.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/components/TransCargoPlan.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/components/TransCargoPlanEdit.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/components/TransPlan.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/components/TransPlanAuto.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/components/TransPlanEdit.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/plan/index.vue
create mode 100644 bs-ui/src/views/tm/carriage_order/unfinished/index.vue
create mode 100644 bs-ui/src/views/tm/components/AutoTableHeight.js
create mode 100644 bs-ui/src/views/tm/components/CarriageCargoInput/index.vue
create mode 100644 bs-ui/src/views/tm/components/CarriageCargoList/index.vue
create mode 100644 bs-ui/src/views/tm/components/CarriageOrderEdit/index.vue
create mode 100644 bs-ui/src/views/tm/components/ConsignOrderEdit/index.vue
create mode 100644 bs-ui/src/views/tm/components/CustEdit/index.vue
create mode 100644 bs-ui/src/views/tm/components/CustInput/index.vue
create mode 100644 bs-ui/src/views/tm/components/CustList/index.vue
create mode 100644 bs-ui/src/views/tm/components/DriverEdit/index.vue
create mode 100644 bs-ui/src/views/tm/components/DriverInput/index.vue
create mode 100644 bs-ui/src/views/tm/components/DriverList/index.vue
create mode 100644 bs-ui/src/views/tm/components/OrderInput/index.vue
create mode 100644 bs-ui/src/views/tm/components/OrderList/index.vue
create mode 100644 bs-ui/src/views/tm/components/SimpleList/index.vue
create mode 100644 bs-ui/src/views/tm/components/VehicleEdit/index.vue
create mode 100644 bs-ui/src/views/tm/components/VehicleInput/index.vue
create mode 100644 bs-ui/src/views/tm/components/VehicleList/index.vue
create mode 100644 bs-ui/src/views/tm/consign_order/finished/index.vue
create mode 100644 bs-ui/src/views/tm/consign_order/unfinished/index.vue
create mode 100644 bs-ui/src/views/tm/cust/index.vue
create mode 100644 bs-ui/src/views/tm/cust/modules/search.vue
create mode 100644 bs-ui/src/views/tm/driver/index.vue
create mode 100644 bs-ui/src/views/tm/driver/modules/search.vue
create mode 100644 bs-ui/src/views/tm/vehicle/index.vue
create mode 100644 bs-ui/src/views/tm/vehicle/modules/search.vue
create mode 100644 bs-ui/src/views/tool/build/CodeTypeDialog.vue
create mode 100644 bs-ui/src/views/tool/build/DraggableItem.vue
create mode 100644 bs-ui/src/views/tool/build/IconsDialog.vue
create mode 100644 bs-ui/src/views/tool/build/RightPanel.vue
create mode 100644 bs-ui/src/views/tool/build/TreeNodeDialog.vue
create mode 100644 bs-ui/src/views/tool/build/index.vue
create mode 100644 bs-ui/src/views/tool/gen/basicInfoForm.vue
create mode 100644 bs-ui/src/views/tool/gen/editTable.vue
create mode 100644 bs-ui/src/views/tool/gen/genInfoForm.vue
create mode 100644 bs-ui/src/views/tool/gen/importTable.vue
create mode 100644 bs-ui/src/views/tool/gen/index.vue
create mode 100644 bs-ui/src/views/tool/swagger/index.vue
create mode 100644 bs-ui/vue.config.js
create mode 100644 pom.xml
create mode 100644 ry.bat
create mode 100644 sql/20240405235624.nb3
create mode 100644 sql/my-base.sql
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b34d8b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,28 @@
+.DS_Store
+node_modules/
+dist/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+**/*.log
+
+tests/**/coverage/
+tests/e2e/reports
+selenium-debug.log
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.local
+target/
+# Created by .ignore support plugin (hsz.mobi)
+*.iml
+*.iws
+# out
+**/out/
+package-lock.json
+yarn.lock
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..137069b
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,73 @@
+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
+
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
+
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Apache License to your work.
+
+To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
+
+Copyright [yyyy] [name of copyright owner]
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ae9ec78
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# bs-jxc
+
+保税进销存
\ No newline at end of file
diff --git a/bin/clean.bat b/bin/clean.bat
new file mode 100644
index 0000000..24c0974
--- /dev/null
+++ b/bin/clean.bat
@@ -0,0 +1,12 @@
+@echo off
+echo.
+echo [Ϣ] target·
+echo.
+
+%~d0
+cd %~dp0
+
+cd ..
+call mvn clean
+
+pause
\ No newline at end of file
diff --git a/bin/package.bat b/bin/package.bat
new file mode 100644
index 0000000..c693ec0
--- /dev/null
+++ b/bin/package.bat
@@ -0,0 +1,12 @@
+@echo off
+echo.
+echo [Ϣ] Weḅwar/jarļ
+echo.
+
+%~d0
+cd %~dp0
+
+cd ..
+call mvn clean package -Dmaven.test.skip=true
+
+pause
\ No newline at end of file
diff --git a/bin/run.bat b/bin/run.bat
new file mode 100644
index 0000000..41efbd0
--- /dev/null
+++ b/bin/run.bat
@@ -0,0 +1,14 @@
+@echo off
+echo.
+echo [Ϣ] ʹJarWeb̡
+echo.
+
+cd %~dp0
+cd ../ruoyi-admin/target
+
+set JAVA_OPTS=-Xms256m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
+
+java -jar %JAVA_OPTS% ruoyi-admin.jar
+
+cd bin
+pause
\ No newline at end of file
diff --git a/bs-admin/pom.xml b/bs-admin/pom.xml
new file mode 100644
index 0000000..6fe3be0
--- /dev/null
+++ b/bs-admin/pom.xml
@@ -0,0 +1,99 @@
+
+
+
+ my-base
+ com.bs
+ 3.8.6
+
+ 4.0.0
+ jar
+ bs-admin
+
+
+ web服务入口
+
+
+
+
+ cn.hutool
+ hutool-all
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ true
+
+
+
+
+ io.springfox
+ springfox-boot-starter
+
+
+
+
+ io.swagger
+ swagger-models
+ 1.6.2
+
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+
+ com.bs
+ bs-framework
+
+
+
+
+ com.bs
+ bs-quartz
+
+
+
+
+ com.bs
+ bs-generator
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.1.RELEASE
+
+ true
+
+
+
+
+ repackage
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 3.1.0
+
+ false
+ ${project.artifactId}
+
+
+
+ ${project.artifactId}
+
+
+
diff --git a/bs-admin/src/main/java/com/bs/BsApplication.java b/bs-admin/src/main/java/com/bs/BsApplication.java
new file mode 100644
index 0000000..a1302fe
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/BsApplication.java
@@ -0,0 +1,23 @@
+package com.bs;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+
+/**
+ * 启动程序
+ *
+ * @author bs
+ */
+@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
+@EnableConfigurationProperties
+public class BsApplication
+{
+ public static void main(String[] args)
+ {
+ // System.setProperty("spring.devtools.restart.enabled", "false");
+ SpringApplication.run(BsApplication.class, args);
+ System.out.println("(♥◠‿◠)ノ゙ 启动成功 ლ(´ڡ`ლ)゙ ");
+ }
+}
diff --git a/bs-admin/src/main/java/com/bs/BsServletInitializer.java b/bs-admin/src/main/java/com/bs/BsServletInitializer.java
new file mode 100644
index 0000000..d9439e7
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/BsServletInitializer.java
@@ -0,0 +1,18 @@
+package com.bs;
+
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+
+/**
+ * web容器中进行部署
+ *
+ * @author bs
+ */
+public class BsServletInitializer extends SpringBootServletInitializer
+{
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
+ {
+ return application.sources(BsApplication.class);
+ }
+}
diff --git a/bs-admin/src/main/java/com/bs/cm/controller/CmAttachController.java b/bs-admin/src/main/java/com/bs/cm/controller/CmAttachController.java
new file mode 100644
index 0000000..17252cf
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/cm/controller/CmAttachController.java
@@ -0,0 +1,208 @@
+package com.bs.cm.controller;
+
+import cn.hutool.core.lang.Validator;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.bs.cm.domain.CmAttach;
+import com.bs.cm.service.ICmAttachService;
+import com.bs.common.annotation.Log;
+import com.bs.common.core.controller.BaseController;
+import com.bs.common.core.domain.AjaxResult;
+import com.bs.common.core.page.TableDataInfo;
+import com.bs.common.enums.BusinessType;
+import com.bs.common.utils.poi.ExcelUtil;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.*;
+import javax.annotation.Resource;
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+
+/**
+ * 附件信息Controller
+ *
+ * @author bs
+ * @date 2024-03-03
+ */
+@Api(tags = "附件信息")
+@RestController
+@RequestMapping("/cm/attach")
+public class CmAttachController extends BaseController {
+ @Resource
+ private ICmAttachService cmAttachService;
+
+ /**
+ * 分页查询附件信息列表
+ */
+ @ApiOperation("分页查询附件信息列表")
+ @GetMapping("/pageList")
+ public TableDataInfo pageList(CmAttach cmAttach) {
+ startPage();
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper();
+ condition(queryWrapper, cmAttach);
+ List list = cmAttachService.list(queryWrapper);
+ return getDataTable(list);
+ }
+
+ /**
+ * 查询附件信息列表
+ */
+ @ApiOperation("查询附件信息列表")
+ @GetMapping("/list")
+ public AjaxResult list(CmAttach cmAttach) {
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper();
+ condition(queryWrapper, cmAttach);
+ List list = cmAttachService.list(queryWrapper);
+ return success(list);
+ }
+
+ /**
+ * 导出附件信息列表
+ */
+ @ApiOperation("导出附件信息列表")
+ @Log(title = "附件信息导出", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, CmAttach cmAttach) {
+ LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper();
+ condition(queryWrapper, cmAttach);
+ List list = cmAttachService.list(queryWrapper);
+ ExcelUtil util = new ExcelUtil(CmAttach.class);
+ util.exportExcel(response, list, "附件信息数据");
+ }
+
+ /**
+ * 获取附件信息详细信息
+ */
+ @ApiOperation("获取附件信息详细信息")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id) {
+ return success(cmAttachService.getById(id));
+ }
+
+ /**
+ * 新增附件信息
+ */
+ @ApiOperation("新增附件信息")
+ @Log(title = "附件信息新增", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody CmAttach cmAttach) {
+ return toAjax(cmAttachService.save(cmAttach));
+ }
+
+ /**
+ * 修改附件信息
+ */
+ @ApiOperation("修改附件信息")
+ @Log(title = "附件信息修改", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody CmAttach cmAttach) {
+ return toAjax(cmAttachService.updateById(cmAttach));
+ }
+
+ /**
+ * 删除附件信息
+ */
+ @ApiOperation("删除附件信息")
+ @Log(title = "附件信息删除", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable List ids) {
+ return toAjax(cmAttachService.removeBatchByIds(ids));
+ }
+
+
+ /**
+ * 条件设置
+ */
+ private void condition(LambdaQueryWrapper queryWrapper, CmAttach cmAttach) {
+ //用户id
+ if (Validator.isNotEmpty(cmAttach.getId())) {
+ queryWrapper.eq(CmAttach::getId, cmAttach.getId());
+ }
+
+ //文件组id
+ if (Validator.isNotEmpty(cmAttach.getFileId())) {
+ queryWrapper.eq(CmAttach::getFileId, cmAttach.getFileId());
+ }
+
+ //文件排序
+ if (Validator.isNotEmpty(cmAttach.getFileSort())) {
+ queryWrapper.eq(CmAttach::getFileSort, cmAttach.getFileSort());
+ }
+
+ //文件名称(编译后)
+ if (Validator.isNotEmpty(cmAttach.getAttachName())) {
+ queryWrapper.eq(CmAttach::getAttachName, cmAttach.getAttachName());
+ }
+
+ //文件类型
+ if (Validator.isNotEmpty(cmAttach.getAttachFileType())) {
+ queryWrapper.eq(CmAttach::getAttachFileType, cmAttach.getAttachFileType());
+ }
+
+ //文件编码类型
+ if (Validator.isNotEmpty(cmAttach.getAttachContentType())) {
+ queryWrapper.eq(CmAttach::getAttachContentType, cmAttach.getAttachContentType());
+ }
+
+ //文件大小
+ if (Validator.isNotEmpty(cmAttach.getAttachFileSize())) {
+ queryWrapper.eq(CmAttach::getAttachFileSize, cmAttach.getAttachFileSize());
+ }
+
+ //文件路径
+ if (Validator.isNotEmpty(cmAttach.getAttachFileUrl())) {
+ queryWrapper.eq(CmAttach::getAttachFileUrl, cmAttach.getAttachFileUrl());
+ }
+
+ //文件名(原始)
+ if (Validator.isNotEmpty(cmAttach.getOldName())) {
+ queryWrapper.eq(CmAttach::getOldName, cmAttach.getOldName());
+ }
+
+ //文件版本号
+ if (Validator.isNotEmpty(cmAttach.getVersionNo())) {
+ queryWrapper.eq(CmAttach::getVersionNo, cmAttach.getVersionNo());
+ }
+
+ //创建部门
+ if (Validator.isNotEmpty(cmAttach.getCreateDept())) {
+ queryWrapper.eq(CmAttach::getCreateDept, cmAttach.getCreateDept());
+ }
+
+ //创建人
+ if (Validator.isNotEmpty(cmAttach.getCreateBy())) {
+ queryWrapper.eq(CmAttach::getCreateBy, cmAttach.getCreateBy());
+ }
+
+ //创建时间
+ if (Validator.isNotEmpty(cmAttach.getCreateTime())) {
+ queryWrapper.eq(CmAttach::getCreateTime, cmAttach.getCreateTime());
+ }
+
+ //修改人
+ if (Validator.isNotEmpty(cmAttach.getUpdateBy())) {
+ queryWrapper.eq(CmAttach::getUpdateBy, cmAttach.getUpdateBy());
+ }
+
+ //修改时间
+ if (Validator.isNotEmpty(cmAttach.getUpdateTime())) {
+ queryWrapper.eq(CmAttach::getUpdateTime, cmAttach.getUpdateTime());
+ }
+
+ //备注
+ if (Validator.isNotEmpty(cmAttach.getRemark())) {
+ queryWrapper.eq(CmAttach::getRemark, cmAttach.getRemark());
+ }
+
+ //删除标志(0代表存在 2代表删除)
+ if (Validator.isNotEmpty(cmAttach.getDelFlag())) {
+ queryWrapper.eq(CmAttach::getDelFlag, cmAttach.getDelFlag());
+ }
+
+ //${column.columnComment}
+ if (Validator.isNotEmpty(cmAttach.getTenantId())) {
+ queryWrapper.eq(CmAttach::getTenantId, cmAttach.getTenantId());
+ }
+
+ }
+
+}
diff --git a/bs-admin/src/main/java/com/bs/cm/domain/CmAttach.java b/bs-admin/src/main/java/com/bs/cm/domain/CmAttach.java
new file mode 100644
index 0000000..f600da3
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/cm/domain/CmAttach.java
@@ -0,0 +1,94 @@
+package com.bs.cm.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.bs.common.annotation.Excel;
+import com.bs.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * 附件信息对象 cm_attach
+ *
+ * @author bs
+ * @date 2024-03-03
+ */
+@EqualsAndHashCode(callSuper = true)
+@Accessors(chain = true)
+@TableName("cm_attach")
+@Data
+public class CmAttach extends BaseEntity{
+ private static final long serialVersionUID = 1L;
+
+ /** 用户id */
+ @TableId(value = "id",type = IdType.AUTO)
+ @ApiModelProperty(value = "用户id")
+ private Long id;
+
+ /** 文件组id */
+
+ @Excel(name = "文件组id")
+ @ApiModelProperty(value = "文件组id")
+ private String fileId;
+
+ /** 文件排序 */
+
+ @Excel(name = "文件排序")
+ @ApiModelProperty(value = "文件排序")
+ private Integer fileSort;
+
+ /** 文件名称(编译后) */
+
+ @Excel(name = "文件名称", readConverterExp = "编=译后")
+ @ApiModelProperty(value = "文件名称(编译后)")
+ private String attachName;
+
+ /** 文件类型 */
+
+ @Excel(name = "文件类型")
+ @ApiModelProperty(value = "文件类型")
+ private String attachFileType;
+
+ /** 文件编码类型 */
+
+ @Excel(name = "文件编码类型")
+ @ApiModelProperty(value = "文件编码类型")
+ private String attachContentType;
+
+ /** 文件大小 */
+
+ @Excel(name = "文件大小")
+ @ApiModelProperty(value = "文件大小")
+ private Long attachFileSize;
+
+ /** 文件路径 */
+
+ @Excel(name = "文件路径")
+ @ApiModelProperty(value = "文件路径")
+ private String attachFileUrl;
+
+ /** 文件名(原始) */
+
+ @Excel(name = "文件名", readConverterExp = "原=始")
+ @ApiModelProperty(value = "文件名(原始)")
+ private String oldName;
+
+ /** 文件版本号 */
+
+ @Excel(name = "文件版本号")
+ @ApiModelProperty(value = "文件版本号")
+ private String versionNo;
+
+ /** 备注 */
+
+ @Excel(name = "备注")
+ @ApiModelProperty(value = "备注")
+ private String remark;
+
+
+
+
+}
diff --git a/bs-admin/src/main/java/com/bs/cm/mapper/CmAttachMapper.java b/bs-admin/src/main/java/com/bs/cm/mapper/CmAttachMapper.java
new file mode 100644
index 0000000..d607342
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/cm/mapper/CmAttachMapper.java
@@ -0,0 +1,14 @@
+package com.bs.cm.mapper;
+
+import com.bs.common.mybatis.mapper.BaseMapperX;
+import com.bs.cm.domain.CmAttach;
+
+/**
+ * 附件信息Mapper接口
+ *
+ * @author bs
+ * @date 2024-03-03
+ */
+public interface CmAttachMapper extends BaseMapperX {
+
+}
diff --git a/bs-admin/src/main/java/com/bs/cm/service/ICmAttachService.java b/bs-admin/src/main/java/com/bs/cm/service/ICmAttachService.java
new file mode 100644
index 0000000..c387dd4
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/cm/service/ICmAttachService.java
@@ -0,0 +1,15 @@
+package com.bs.cm.service;
+
+import com.bs.cm.domain.CmAttach;
+import com.bs.common.core.domain.AjaxResult;
+import com.github.yulichang.base.MPJBaseService;
+
+/**
+ * 附件信息Service接口
+ *
+ * @author bs
+ * @date 2024-03-03
+ */
+public interface ICmAttachService extends MPJBaseService{
+
+}
diff --git a/bs-admin/src/main/java/com/bs/cm/service/impl/CmAttachServiceImpl.java b/bs-admin/src/main/java/com/bs/cm/service/impl/CmAttachServiceImpl.java
new file mode 100644
index 0000000..1c83609
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/cm/service/impl/CmAttachServiceImpl.java
@@ -0,0 +1,19 @@
+package com.bs.cm.service.impl;
+
+import com.bs.cm.mapper.CmAttachMapper;
+import com.bs.cm.domain.CmAttach;
+import com.bs.cm.service.ICmAttachService;
+import com.github.yulichang.base.MPJBaseServiceImpl;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+/**
+ * 附件信息Service业务层处理
+ *
+ * @author bs
+ * @date 2024-03-03
+ */
+@Service
+@Transactional(rollbackFor = Exception.class)
+public class CmAttachServiceImpl extends MPJBaseServiceImpl implements ICmAttachService {
+
+}
diff --git a/bs-admin/src/main/java/com/bs/web/controller/common/CaptchaController.java b/bs-admin/src/main/java/com/bs/web/controller/common/CaptchaController.java
new file mode 100644
index 0000000..8b0d937
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/web/controller/common/CaptchaController.java
@@ -0,0 +1,94 @@
+package com.bs.web.controller.common;
+
+import java.awt.image.BufferedImage;
+import java.io.IOException;
+import java.util.concurrent.TimeUnit;
+import javax.annotation.Resource;
+import javax.imageio.ImageIO;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.util.FastByteArrayOutputStream;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.google.code.kaptcha.Producer;
+import com.bs.common.config.BsConfig;
+import com.bs.common.constant.CacheConstants;
+import com.bs.common.constant.Constants;
+import com.bs.common.core.domain.AjaxResult;
+import com.bs.common.core.redis.RedisCache;
+import com.bs.common.utils.sign.Base64;
+import com.bs.common.utils.uuid.IdUtils;
+import com.bs.system.service.ISysConfigService;
+
+/**
+ * 验证码操作处理
+ *
+ * @author bs
+ */
+@RestController
+public class CaptchaController
+{
+ @Resource(name = "captchaProducer")
+ private Producer captchaProducer;
+
+ @Resource(name = "captchaProducerMath")
+ private Producer captchaProducerMath;
+
+ @Autowired
+ private RedisCache redisCache;
+
+ @Autowired
+ private ISysConfigService configService;
+ /**
+ * 生成验证码
+ */
+ @GetMapping("/captchaImage")
+ public AjaxResult getCode(HttpServletResponse response) throws IOException
+ {
+ AjaxResult ajax = AjaxResult.success();
+ boolean captchaEnabled = configService.selectCaptchaEnabled();
+ ajax.put("captchaEnabled", captchaEnabled);
+ if (!captchaEnabled)
+ {
+ return ajax;
+ }
+
+ // 保存验证码信息
+ String uuid = IdUtils.simpleUUID();
+ String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + uuid;
+
+ String capStr = null, code = null;
+ BufferedImage image = null;
+
+ // 生成验证码
+ String captchaType = BsConfig.getCaptchaType();
+ if ("math".equals(captchaType))
+ {
+ String capText = captchaProducerMath.createText();
+ capStr = capText.substring(0, capText.lastIndexOf("@"));
+ code = capText.substring(capText.lastIndexOf("@") + 1);
+ image = captchaProducerMath.createImage(capStr);
+ }
+ else if ("char".equals(captchaType))
+ {
+ capStr = code = captchaProducer.createText();
+ image = captchaProducer.createImage(capStr);
+ }
+
+ redisCache.setCacheObject(verifyKey, code, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES);
+ // 转换流信息写出
+ FastByteArrayOutputStream os = new FastByteArrayOutputStream();
+ try
+ {
+ ImageIO.write(image, "jpg", os);
+ }
+ catch (IOException e)
+ {
+ return AjaxResult.error(e.getMessage());
+ }
+
+ ajax.put("uuid", uuid);
+ ajax.put("img", Base64.encode(os.toByteArray()));
+ return ajax;
+ }
+}
diff --git a/bs-admin/src/main/java/com/bs/web/controller/common/CommonController.java b/bs-admin/src/main/java/com/bs/web/controller/common/CommonController.java
new file mode 100644
index 0000000..5257a2b
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/web/controller/common/CommonController.java
@@ -0,0 +1,294 @@
+package com.bs.web.controller.common;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.bs.cm.domain.CmAttach;
+import com.bs.cm.service.ICmAttachService;
+import com.bs.common.config.BsConfig;
+import com.bs.common.constant.Constants;
+import com.bs.common.core.domain.AjaxResult;
+import com.bs.common.exception.ServiceException;
+import com.bs.common.utils.FileUtil;
+import com.bs.common.utils.StringUtils;
+import com.bs.common.utils.file.FileUploadUtils;
+import com.bs.common.utils.file.FileUtils;
+import com.bs.framework.config.ServerConfig;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+/**
+ * 通用请求处理
+ *
+ * @author bs
+ */
+@RestController
+@RequestMapping("/common")
+@Api(tags = "文件上传")
+public class CommonController {
+ private static final Logger log = LoggerFactory.getLogger(CommonController.class);
+
+ @Autowired
+ private ServerConfig serverConfig;
+
+ @Autowired
+ private ICmAttachService cmAttachService;
+
+ private static final String FILE_DELIMETER = ",";
+
+ /**
+ * 通用下载请求
+ *
+ * @param fileName 文件名称
+ * @param delete 是否删除
+ */
+ @GetMapping("/download")
+ @ApiOperation("文件下载")
+ public void fileDownload(String fileName, Boolean delete, HttpServletResponse response, HttpServletRequest request) {
+ try {
+ if (!FileUtils.checkAllowDownload(fileName)) {
+ throw new Exception(StringUtils.format("文件名称({})非法,不允许下载。 ", fileName));
+ }
+ String realFileName = System.currentTimeMillis() + fileName.substring(fileName.indexOf("_") + 1);
+ String filePath = BsConfig.getDownloadPath() + fileName;
+
+ response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
+ FileUtils.setAttachmentResponseHeader(response, realFileName);
+ FileUtils.writeBytes(filePath, response.getOutputStream());
+ if (delete) {
+ FileUtils.deleteFile(filePath);
+ }
+ } catch (Exception e) {
+ log.error("下载文件失败", e);
+ }
+ }
+
+
+ @ApiOperation("根据attachId下载对应文件")
+ @GetMapping("/fileDownloadById")
+ public void fileDownloadById(String attachId,HttpServletResponse response, HttpServletRequest request) {
+ if (StringUtils.isBlank(attachId) || "null".equals(attachId)) {
+ throw new ServiceException("附件ID不能为空");
+ }
+ CmAttach cmAttach = cmAttachService.getById(attachId);
+ String path =cmAttach.getAttachFileUrl();
+ path =BsConfig.getFilePath()+path;
+// Constants.RESOURCE_PREFIX
+ path = path.replace(Constants.RESOURCE_PREFIX, "");
+ File compressedImageFile = new File(path);
+ response.setHeader("Access-Control-Expose-Headers", "Content-Disposition");
+ FileUtil.downloadFile(request, response, compressedImageFile, false);
+ }
+
+
+
+ /**
+ * 通用上传请求(单个)
+ */
+ @PostMapping("/upload")
+ @ApiOperation("单文件上传")
+ public AjaxResult uploadFile(MultipartFile file,String fileId) throws Exception {
+ try {
+ // 上传文件路径
+ String filePath = BsConfig.getUploadPath();
+ // 上传并返回新文件名称
+ String fileName = FileUploadUtils.upload(filePath, file);
+ String url = serverConfig.getUrl() + fileName;
+ String newFileName = FileUtils.getName(fileName);
+ String originalFilename = file.getOriginalFilename();
+ CmAttach cmAttach = new CmAttach();
+ cmAttach.setFileId(fileId);
+ cmAttach.setFileSort(1);
+ cmAttach.setAttachName(newFileName);
+ cmAttach.setAttachContentType(file.getContentType());
+ cmAttach.setAttachFileSize(file.getSize());
+ String suffix = FileUtil.getExtensionName(originalFilename);
+ String type = FileUtil.getFileType(suffix);
+ cmAttach.setAttachFileType(type);
+ cmAttach.setAttachFileUrl(fileName);
+ cmAttach.setOldName(originalFilename);
+ cmAttach.setVersionNo("1");
+ cmAttach.setRemark("");
+ cmAttachService.save(cmAttach);
+ AjaxResult ajax = AjaxResult.success();
+ ajax.put("url", url);
+ ajax.put("fileName", fileName);
+ ajax.put("newFileName", newFileName);
+ ajax.put("cmAttach", cmAttach);
+ ajax.put("originalFilename", originalFilename);
+ return ajax;
+ } catch (Exception e) {
+ e.printStackTrace();
+ return AjaxResult.error(e.getMessage());
+ }
+ }
+
+ /**
+ * 通用上传请求(多个)
+ */
+ @PostMapping("/uploads")
+ @ApiOperation("多文件上传")
+ public AjaxResult uploadFiles(List files, String fileId) throws Exception {
+ try {
+ // 上传文件路径
+ String filePath = BsConfig.getUploadPath();
+ List urls = new ArrayList();
+ List fileNames = new ArrayList();
+ List newFileNames = new ArrayList();
+ List originalFilenames = new ArrayList();
+ List cmAttachList = new ArrayList<>();
+ for (MultipartFile file : files) {
+ // 上传并返回新文件名称
+ String fileName = FileUploadUtils.upload(filePath, file);
+ String url = serverConfig.getUrl() + fileName;
+ urls.add(url);
+ fileNames.add(fileName);
+ String newFileName = FileUtils.getName(fileName);
+ newFileNames.add(newFileName);
+ String originalFilename = file.getOriginalFilename();
+ originalFilenames.add(originalFilename);
+ CmAttach cmAttach = new CmAttach();
+ cmAttach.setFileId(fileId);
+ cmAttach.setFileSort(1);
+ cmAttach.setAttachName(newFileName);
+ cmAttach.setAttachContentType(file.getContentType());
+ cmAttach.setAttachFileSize(file.getSize());
+ String suffix = FileUtil.getExtensionName(originalFilename);
+ String type = FileUtil.getFileType(suffix);
+ cmAttach.setAttachFileType(type);
+ cmAttach.setAttachFileUrl(fileName);
+ cmAttach.setOldName(originalFilename);
+ cmAttach.setVersionNo("1");
+ cmAttach.setRemark("");
+ cmAttachList.add(cmAttach);
+ }
+ cmAttachService.saveBatch(cmAttachList);
+ AjaxResult ajax = AjaxResult.success();
+ ajax.put("urls", StringUtils.join(urls, FILE_DELIMETER));
+ ajax.put("fileNames", StringUtils.join(fileNames, FILE_DELIMETER));
+ ajax.put("newFileNames", StringUtils.join(newFileNames, FILE_DELIMETER));
+ ajax.put("originalFilenames", StringUtils.join(originalFilenames, FILE_DELIMETER));
+ return ajax;
+ } catch (Exception e) {
+ e.printStackTrace();
+ return AjaxResult.error(e.getMessage());
+ }
+ }
+
+ /**
+ * 上查询文件列表
+ * @param fileId
+ * @param type
+ * @return
+ */
+ @ApiOperation("根据fileId查找附件列表")
+ @GetMapping(value = "/getAttachList/{fileId}")
+ public AjaxResult getAttachVo(@PathVariable String fileId, String type) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(fileId) || "null".equals(fileId)) {
+ return AjaxResult.error("fileId不能为空");
+ } else if ("undefined".equals(fileId)) {
+ return AjaxResult.success();
+ }
+ List attachVo = cmAttachService.list(new LambdaQueryWrapper().eq(CmAttach::getFileId,fileId));
+ //压缩图片
+ return AjaxResult.success(attachVo);
+ }
+
+ /**
+ * 根据fileIds查找附件列表
+ * @param fileIds
+ * @return
+ */
+ @ApiOperation("根据fileIds查找附件列表")
+ @GetMapping(value = "/getFileIdsByAttachVos")
+ public AjaxResult getFileIdsByAttachVos(String[] fileIds) {
+ LambdaQueryWrapper refWrapper = new LambdaQueryWrapper();
+ if (null != fileIds && fileIds.length > 0) {
+ refWrapper.in(CmAttach::getFileId, fileIds);
+ List refs = cmAttachService.list(refWrapper);
+ //通过fileId进行分组
+ Map> attachVoMap = refs.stream().collect(Collectors.groupingBy(CmAttach::getFileId));
+ return AjaxResult.success(attachVoMap);
+ } else {
+ return AjaxResult.warn("请输入文件fileIds!");
+ }
+ }
+
+
+ @ApiOperation("根据fileId删除表及对应文件")
+ @DeleteMapping(value = "/deleteFileByFileId/{fileId}")
+ public AjaxResult deleteFileByFileId(@PathVariable String fileId) {
+ if (org.apache.commons.lang3.StringUtils.isBlank(fileId) || "null".equals(fileId)) {
+ return AjaxResult.error("fileId不能为空");
+ }
+ List cmAttachs = cmAttachService.list(new LambdaQueryWrapper().eq(CmAttach::getFileId,fileId));
+ cmAttachs.forEach(cmAttach->{
+ String path =cmAttach.getAttachFileUrl();
+ /* path = path.replace(Constants.RESOURCE_PREFIX, "");
+ path = path.replace(cmAttach.getAttachName(), "");
+ path =BsConfig.getFilePath()+path+"xt_"+cmAttach.getAttachName();*/
+ path =BsConfig.getFilePath()+path;
+ File compressedImageFile = new File(path);
+ if (compressedImageFile.exists()) {
+ FileUtil.del(compressedImageFile);
+ }
+ });
+ cmAttachService.remove(new LambdaQueryWrapper().eq(CmAttach::getFileId,fileId));
+ return AjaxResult.success();
+ }
+
+
+ @ApiOperation("根据attachId删除表及对应文件")
+ @DeleteMapping(value = "/deleteFile/{attachId}")
+ public AjaxResult deleteFile(@PathVariable Long attachId) {
+ if (attachId==null) {
+ return AjaxResult.error("attachId不能为空");
+ }
+ CmAttach cmAttach = cmAttachService.getById(attachId);
+ String path =cmAttach.getAttachFileUrl();
+ path =BsConfig.getFilePath()+path;
+ File compressedImageFile = new File(path);
+ if (compressedImageFile.exists()) {
+ FileUtil.del(compressedImageFile);
+ }
+ cmAttachService.removeById(attachId);
+ return AjaxResult.success();
+ }
+
+
+ /**
+ * 本地资源通用下载
+ */
+ @GetMapping("/download/resource")
+ public void resourceDownload(String resource, HttpServletRequest request, HttpServletResponse response)
+ throws Exception {
+ try {
+ if (!FileUtils.checkAllowDownload(resource)) {
+ throw new Exception(StringUtils.format("资源文件({})非法,不允许下载。 ", resource));
+ }
+ // 本地资源路径
+ String localPath = BsConfig.getProfile();
+ // 数据库资源地址
+ String downloadPath = localPath + StringUtils.substringAfter(resource, Constants.RESOURCE_PREFIX);
+ // 下载名称
+ String downloadName = StringUtils.substringAfterLast(downloadPath, "/");
+ response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
+ FileUtils.setAttachmentResponseHeader(response, downloadName);
+ FileUtils.writeBytes(downloadPath, response.getOutputStream());
+ } catch (Exception e) {
+ log.error("下载文件失败", e);
+ }
+ }
+}
diff --git a/bs-admin/src/main/java/com/bs/web/controller/monitor/CacheController.java b/bs-admin/src/main/java/com/bs/web/controller/monitor/CacheController.java
new file mode 100644
index 0000000..5de9cf5
--- /dev/null
+++ b/bs-admin/src/main/java/com/bs/web/controller/monitor/CacheController.java
@@ -0,0 +1,120 @@
+package com.bs.web.controller.monitor;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Set;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.data.redis.core.RedisCallback;
+import org.springframework.data.redis.core.RedisTemplate;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.bs.common.constant.CacheConstants;
+import com.bs.common.core.domain.AjaxResult;
+import com.bs.common.utils.StringUtils;
+import com.bs.system.domain.SysCache;
+
+/**
+ * 缓存监控
+ *
+ * @author bs
+ */
+@RestController
+@RequestMapping("/monitor/cache")
+public class CacheController
+{
+ @Autowired
+ private RedisTemplate redisTemplate;
+
+ private final static List caches = new ArrayList();
+ {
+ caches.add(new SysCache(CacheConstants.LOGIN_TOKEN_KEY, "用户信息"));
+ caches.add(new SysCache(CacheConstants.SYS_CONFIG_KEY, "配置信息"));
+ caches.add(new SysCache(CacheConstants.SYS_DICT_KEY, "数据字典"));
+ caches.add(new SysCache(CacheConstants.CAPTCHA_CODE_KEY, "验证码"));
+ caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交"));
+ caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理"));
+ caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数"));
+ }
+
+ @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
+ @GetMapping()
+ public AjaxResult getInfo() throws Exception
+ {
+ Properties info = (Properties) redisTemplate.execute((RedisCallback