diff --git a/db-file/opsli-boot.sql b/db-file/opsli-boot.sql index bff1e8c..5cf52c7 100644 --- a/db-file/opsli-boot.sql +++ b/db-file/opsli-boot.sql @@ -11,7 +11,7 @@ Target Server Version : 50733 File Encoding : 65001 - Date: 30/11/2021 19:15:26 + Date: 01/12/2021 19:15:07 */ SET NAMES utf8mb4; @@ -3867,6 +3867,36 @@ INSERT INTO `sys_logs` VALUES (1465622911006748673, '1', '测试模块-某系统 INSERT INTO `sys_logs` VALUES (1465622931110047745, '1', '测试模块-汽车信息-修改', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/gentest/carinfo/v1/update', 'POST', 419, '[{\"carBrand\":\"123123\",\"carName\":\"自己_演示\",\"izUsable\":\"1\",\"izApi\":false,\"version\":0,\"createBy\":\"1313694379541635074\",\"carType\":\"123123\",\"izManual\":false,\"createTime\":1634289284000,\"produceData\":1633276800000,\"id\":\"1448940392903516161\"}]', NULL, 0, 1313694379541635074, '2021-11-30 18:05:11', 1313694379541635074, '2021-11-30 18:05:11', '2021-11-30 18:02:56'); INSERT INTO `sys_logs` VALUES (1465624723692662786, '1', '开发工具-开发向导-代码模板-修改', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/generator/template/v1/updateAndDetail', 'POST', 4967, '[{\"izApi\":false,\"remark\":\"默认Form表单\",\"updateTime\":1634109206000,\"version\":32,\"tableType\":\"0\",\"tempName\":\"Form表单\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1622204636000,\"updateBy\":\"1313694379541635074\",\"detailList\":[{\"fileName\":\"${model.tableHumpName}Entity.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/entity\",\"izManual\":false,\"ignoreFileName\":\"1\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).entity;\\n#end\\n\\n#for(pkg : data.model.entityPkgList)\\nimport #(pkg);\\n#end\\nimport com.baomidou.mybatisplus.annotation.FieldStrategy;\\nimport com.baomidou.mybatisplus.annotation.TableField;\\nimport com.baomidou.mybatisplus.annotation.TableLogic;\\nimport lombok.Data;\\nimport lombok.EqualsAndHashCode;\\nimport org.opsli.core.base.entity.BaseEntity;\\n\\n/**\\n * #(data.codeTitle) Entity\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Data\\n@EqualsAndHashCode(callSuper = false)\\npublic class #(data.model.tableHumpName) extends BaseEntity {\\n\\n\\n #for(column : data.model.columnList)\\n ### 不等于 删除字段 和 不等于 租户字段放入上边\\n #if(column.fieldHumpName != \\\"deleted\\\" && column.fieldHumpName != \\\"tenantId\\\")\\n /** #(column.fieldComments) */\\n #if(!column.izNotNull)\\n @TableField(updateStrategy = FieldStrategy.IGNORED)\\n #end\\n private #(column.javaType) #(column.fieldHumpName);\\n\\n #end\\n #end\\n\\n // ========================================\\n\\n ### 专门处理 删除字段 和 租户字段\\n #for(column : data.model.columnList)\\n #if(column.fieldHumpName == \\\"deleted\\\")\\n /** 逻辑删除字段 */\\n @TableLogic\\n private Integer deleted;\\n #else if(column.fieldHumpName == \\\"tenantId\\\")\\n /** 多租户字段 */\\n private String tenantId;\\n #end\\n\\n #end\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}Mapper.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/mapper\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).mapper;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).mapper;\\n#end\\n\\nimport com.baomidou.mybatisplus.core.mapper.BaseMapper;\\nimport org.apache.ibatis.annotations.Mapper;\\nimport org.apache.ibatis.annotations.Param;\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\n#end\\n\\n/**\\n * #(data.codeTitle) Mapper\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Mapper\\npublic interface #(data.model.tableHumpName)Mapper extends BaseMapper<#(data.model.tableHumpName)> {\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}Mapper.xml\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/mapper/xml\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n\\n#else\\n\\n#end\\n\\n\\n\"},{\"fileName\":\"${model.tableHumpName}Model.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"org/opsli/api/wrapper/${moduleName}/${subModuleName}\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName);\\n#else\\npackage #(apiPath).wrapper.#(data.moduleName);\\n#end\\n\\n#for(pkg : data.model.entityPkgList)\\nimport #(pkg);\\n#end\\nimport com.alibaba.excel.annotation.ExcelProperty;\\nimport io.swagger.annotations.ApiModelProperty;\\nimport lombok.Data;\\nimport lombok.EqualsAndHashCode;\\nimport #(apiPath).base.warpper.ApiWrapper;\\nimport org.opsli.common.annotation.validator.Validator;\\nimport org.opsli.common.annotation.validator.ValidatorLenMax;\\nimport org.opsli.common.annotation.validator.ValidatorLenMin;\\nimport org.opsli.common.enums.ValidatorType;\\nimport org.opsli.plugins.excel.annotation.ExcelInfo;\\nimport com.fasterxml.jackson.annotation.JsonFormat;\\nimport org.springframework.format.annotation.DateTimeFormat;\\n\\n/**\\n* #(data.codeTitle) Model\\n*\\n* @author #(data.authorName)\\n* @date #(currTime)\\n*/\\n@Data\\n@EqualsAndHashCode(callSuper = false)\\npublic class #(data.model.tableHumpName)Model extends ApiWrapper {\\n\\n #for(column : data.model.columnList)\\n ### 不等于 删除字段 和 不等于 租户字段放入上边\\n #if(column.fieldHumpName != \\\"deleted\\\" && column.fieldHumpName != \\\"tenantId\\\")\\n /** #(column.fieldComments) */\\n @ApiModelProperty(value = \\\"#(column.fieldComments)\\\")\\n @ExcelProperty(value = \\\"#(column.fieldComments)\\\", order = #(column.sort))\\n #if(column.dictTypeCode != null && column.dictTypeCode != \\\"\\\")\\n @ExcelInfo( dictType = \\\"#(column.dictTypeCode)\\\" )\\n #else\\n @ExcelInfo\\n #end\\n #if(column.validateTypeAndCommaList != null && column.validateTypeAndCommaList.size() > 0)\\n @Validator({\\n #for(typeAndComma : column.validateTypeAndCommaList)\\n ValidatorType.#(typeAndComma)\\n #end\\n })\\n #end\\n #if(column.fieldLength != null && column.fieldLength > 0)\\n #if(column.fieldPrecision != null && column.fieldPrecision > 0)\\n @ValidatorLenMax(#(column.fieldLength+column.fieldPrecision))\\n #else\\n @ValidatorLenMax(#(column.fieldLength))\\n #end\\n #end\\n ### 日期处理\\n #if(column.javaType == \\\"Date\\\")\\n #if(column.showType == \\\"4\\\")\\n @JsonFormat(timezone = \\\"GMT+8\\\", pattern = \\\"yyyy-MM-dd\\\")\\n @DateTimeFormat(pattern = \\\"yyyy-MM-dd\\\")\\n #else\\n @JsonFormat(timezone = \\\"GMT+8\\\", pattern = \\\"yyyy-MM-dd HH:mm:ss\\\")\\n @DateTimeFormat(pattern = \\\"yyyy-MM-dd HH:mm:ss\\\")\\n #end\\n #end\\n private #(column.javaType) #(column.fieldHumpName);\\n\\n #end\\n #end\\n\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}RestApi.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"org/opsli/api/web/${moduleName}/${subModuleName}\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(apiPath).web.#(data.moduleName+\\\".\\\"+data.subModuleName);\\n#else\\npackage #(apiPath).web.#(data.moduleName);\\n#end\\n\\nimport #(apiPath).base.result.ResultVo;\\nimport org.springframework.web.bind.annotation.GetMapping;\\nimport org.springframework.web.bind.annotation.PostMapping;\\nimport org.springframework.web.bind.annotation.RequestBody;\\nimport org.springframework.web.bind.annotation.RequestParam;\\nimport org.springframework.web.multipart.MultipartHttpServletRequest;\\nimport javax.servlet.http.HttpServletRequest;\\nimport javax.servlet.http.HttpServletResponse;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\n#else\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\n#end\\n\\n\\n/**\\n * #(data.codeTitle) Api\\n *\\n * 对外 API 直接 暴露 @GetMapping 或者 @PostMapping\\n * 对内也推荐 单机版 不需要设置 Mapping 但是调用方法得从Controller写起\\n *\\n * 这样写法虽然比较绕,但是当单体项目想要改造微服务架构时 时非常容易的\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\npublic interface #(data.model.tableHumpName)RestApi {\\n\\n /** 标题 */\\n String TITLE = \\\"#(data.codeTitle)\\\";\\n /** 子标题 */\\n String SUB_TITLE = \\\"#(data.codeTitleBrief)\\\";\\n\\n /**\\n * #(data.codeTitle) 查一条\\n * @param model 模型\\n * @return ResultVo\\n */\\n @GetMapping(\\\"/get\\\")\\n ResultVo<#(data.model.tableHumpName)Model> get(#(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 查询分页\\n * @param pageNo 当前页\\n * @param pageSize 每页条数\\n * @param request request\\n * @return ResultVo\\n */\\n @GetMapping(\\\"/findPage\\\")\\n ResultVo findPage(\\n @RequestParam(name = \\\"pageNo\\\", defaultValue = \\\"1\\\") Integer pageNo,\\n @RequestParam(name = \\\"pageSize\\\", defaultValue = \\\"10\\\") Integer pageSize,\\n HttpServletRequest request\\n );\\n\\n /**\\n * #(data.codeTitle) 新增\\n * @param model 模型\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/insert\\\")\\n ResultVo insert(@RequestBody #(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 修改\\n * @param model 模型\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/update\\\")\\n ResultVo update(@RequestBody #(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 删除\\n * @param id ID\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/del\\\")\\n ResultVo del(String id);\\n\\n /**\\n * #(data.codeTitle) 批量删除\\n * @param ids ID 数组\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/delAll\\\")\\n ResultVo delAll(String ids);\\n\\n /**\\n * #(data.codeTitle) Excel 导出\\n *\\n * 导出时,Token认证和方法权限认证 全部都由自定义完成\\n * 因为在 导出不成功时,需要推送错误信息,\\n * 前端直接走下载流,当失败时无法获得失败信息,即使前后端换一种方式后端推送二进制文件前端再次解析也是最少2倍的耗时\\n * ,且如果数据量过大,前端进行渲染时直接会把浏览器卡死\\n * 而直接开启socket接口推送显然是太过浪费资源了,所以目前采用Java最原始的手段\\n * response 推送 javascript代码 alert 提示报错信息\\n *\\n * @param request request\\n * @param response response\\n */\\n @GetMapping(\\\"/exportExcel\\\")\\n void exportExcel(HttpServletRequest request, HttpServletResponse response);\\n\\n /**\\n * #(data.codeTitle) Excel 导入\\n * @param request 文件流 request\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/importExcel\\\")\\n ResultVo importExcel(MultipartHttpServletRequest request);\\n\\n /**\\n * #(data.codeTitle) Excel 下载导入模版\\n * @param response response\\n */\\n @GetMapping(\\\"/importExcel/template\\\")\\n void importTemplate(HttpServletResponse response);\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}RestController.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/web\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).web;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).web;\\n#end\\n\\nimport cn.hutool.core.util.ReflectUtil;\\nimport cn.hutool.core.convert.Convert;\\nimport io.swagger.annotations.Api;\\nimport io.swagger.annotations.ApiOperation;\\nimport lombok.extern.slf4j.Slf4j;\\nimport org.opsli.common.annotation.RequiresPermissionsCus;\\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\\nimport #(apiPath).base.result.ResultVo;\\nimport org.opsli.common.annotation.ApiRestController;\\nimport org.opsli.common.annotation.EnableLog;\\nimport org.opsli.core.base.controller.BaseRestController;\\nimport org.opsli.core.persistence.Page;\\nimport org.opsli.core.persistence.querybuilder.QueryBuilder;\\nimport org.opsli.core.persistence.querybuilder.WebQueryBuilder;\\nimport org.springframework.web.multipart.MultipartHttpServletRequest;\\nimport javax.servlet.http.HttpServletRequest;\\nimport javax.servlet.http.HttpServletResponse;\\nimport java.lang.reflect.Method;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.I#(data.model.tableHumpName)Service;\\nimport #(apiPath).web.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)RestApi;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).service.I#(data.model.tableHumpName)Service;\\nimport #(apiPath).web.#(data.moduleName).#(data.model.tableHumpName)RestApi;\\n#end\\n\\n/**\\n * #(data.codeTitle) Controller\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Api(tags = #(data.model.tableHumpName)RestApi.TITLE)\\n@Slf4j\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n@ApiRestController(\\\"/#(data.moduleName)/#(data.subModuleName)/{ver}\\\")\\n#else\\n@ApiRestController(\\\"/#(data.moduleName)/{ver}\\\")\\n#end\\npublic class #(data.model.tableHumpName)RestController extends BaseRestController<#(data.model.tableHumpName), #(data.model.tableHumpName)Model, I#(data.model.tableHumpName)Service>\\n implements #(data.model.tableHumpName)RestApi {\\n\\n\\n /**\\n * #(data.codeTitleBrief) 查一条\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"获得单条#(data.codeTitleBrief)\\\", notes = \\\"获得单条#(data.codeTitleBrief) - ID\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_select\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_select\\\")\\n #end\\n @Override\\n public ResultVo<#(data.model.tableHumpName)Model> get(#(data.model.tableHumpName)Model model) {\\n // 如果系统内部调用 则直接查数据库\\n if(model != null && model.getIzApi() != null && model.getIzApi()){\\n model = IService.get(model);\\n }\\n return ResultVo.success(model);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 查询分页\\n * @param pageNo 当前页\\n * @param pageSize 每页条数\\n * @param request request\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"获得分页数据\\\", notes = \\\"获得分页数据 - 查询构造器\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_select\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_select\\\")\\n #end\\n @Override\\n public ResultVo findPage(Integer pageNo, Integer pageSize, HttpServletRequest request) {\\n\\n QueryBuilder<#(data.model.tableHumpName)> queryBuilder = new WebQueryBuilder<>(entityClazz, request.getParameterMap());\\n Page<#(data.model.tableHumpName), #(data.model.tableHumpName)Model> page = new Page<>(pageNo, pageSize);\\n page.setQueryWrapper(queryBuilder.build());\\n page = IService.findPage(page);\\n\\n return ResultVo.success(page.getPageData());\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 新增\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"新增#(data.codeTitleBrief)数据\\\", notes = \\\"新增#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_insert\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_insert\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo insert(#(data.model.tableHumpName)Model model) {\\n // 调用新增方法\\n IService.insert(model);\\n return ResultVo.success(\\\"新增#(data.codeTitleBrief)成功\\\");\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 修改\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"修改#(data.codeTitleBrief)数据\\\", notes = \\\"修改#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo update(#(data.model.tableHumpName)Model model) {\\n // 调用修改方法\\n IService.update(model);\\n return ResultVo.success(\\\"修改#(data.codeTitleBrief)成功\\\");\\n }\\n\\n\\n /**\\n * #(data.codeTitleBrief) 删除\\n * @param id ID\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"删除#(data.codeTitleBrief)数据\\\", notes = \\\"删除#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo del(String id){\\n IService.delete(id);\\n return ResultVo.success(\\\"删除#(data.codeTitleBrief)成功\\\");\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 批量删除\\n * @param ids ID 数组\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"批量删除#(data.codeTitleBrief)数据\\\", notes = \\\"批量删除#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo delAll(String ids){\\n String[] idArray = Convert.toStrArray(ids);\\n IService.deleteAll(idArray);\\n return ResultVo.success(\\\"批量删除#(data.codeTitleBrief)成功\\\");\\n }\\n\\n\\n /**\\n * #(data.codeTitleBrief) Excel 导出\\n * 注:这里 RequiresPermissionsCus 引入的是 自定义鉴权注解\\n *\\n * 导出时,Token认证和方法权限认证 全部都由自定义完成\\n * 因为在 导出不成功时,需要推送错误信息,\\n * 前端直接走下载流,当失败时无法获得失败信息,即使前后端换一种方式后端推送二进制文件前端再次解析也是最少2倍的耗时\\n * ,且如果数据量过大,前端进行渲染时直接会把浏览器卡死\\n * 而直接开启socket接口推送显然是太过浪费资源了,所以目前采用Java最原始的手段\\n * response 推送 javascript代码 alert 提示报错信息\\n *\\n * @param request request\\n * @param response response\\n */\\n @ApiOperation(value = \\\"导出Excel\\\", notes = \\\"导出Excel\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_export\\\")\\n #else\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_export\\\")\\n #end\\n @EnableLog\\n @Override\\n public void exportExcel(HttpServletRequest request, HttpServletResponse response) {\\n // 当前方法\\n Method method = ReflectUtil.getMethodByName(this.getClass(), \\\"exportExcel\\\");\\n QueryBuilder<#(data.model.tableHumpName)> queryBuilder = new WebQueryBuilder<>(entityClazz, request.getParameterMap());\\n super.excelExport(#(data.model.tableHumpName)RestApi.SUB_TITLE, queryBuilder.build(), response, method);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) Excel 导入\\n * 注:这里 RequiresPermissions 引入的是 Shiro原生鉴权注解\\n * @param request 文件流 request\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"导入Excel\\\", notes = \\\"导入Excel\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_import\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_import\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo importExcel(MultipartHttpServletRequest request) {\\n return super.importExcel(request);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) Excel 下载导入模版\\n * 注:这里 RequiresPermissionsCus 引入的是 自定义鉴权注解\\n * @param response response\\n */\\n @ApiOperation(value = \\\"导出Excel模版\\\", notes = \\\"导出Excel模版\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_import\\\")\\n #else\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_import\\\")\\n #end\\n @Override\\n public void importTemplate(HttpServletResponse response) {\\n // 当前方法\\n Method method = ReflectUtil.getMethodByName(this.getClass(), \\\"importTemplate\\\");\\n super.importTemplate(#(data.model.tableHumpName)RestApi.SUB_TITLE, response, method);\\n }\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}ServiceImpl.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/service/impl\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.impl;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).service.impl;\\n#end\\n\\n\\nimport org.springframework.beans.factory.annotation.Autowired;\\nimport org.springframework.stereotype.Service;\\nimport org.springframework.transaction.annotation.Transactional;\\nimport org.opsli.core.base.service.impl.CrudServiceImpl;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.I#(data.model.tableHumpName)Service;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).mapper.#(data.model.tableHumpName)Mapper;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).service.I#(data.model.tableHumpName)Service;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).mapper.#(data.model.tableHumpName)Mapper;\\n#end\\n\\n\\n/**\\n * #(data.codeTitle) Service Impl\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Service\\npublic class #(data.model.tableHumpName)ServiceImpl extends CrudServiceImpl<#(data.model.tableHumpName)Mapper, #(data.model.tableHumpName), #(data.model.tableHumpName)Model>\\n implements I#(data.model.tableHumpName)Service {\\n\\n @Autowired(required = false)\\n private #(data.model.tableHumpName)Mapper mapper;\\n\\n}\"},{\"fileName\":\"I${model.tableHumpName}Service.java\",\"izApi\":false,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/service\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).service;\\n#end\\n\\nimport org.opsli.core.base.service.interfaces.CrudServiceInterface;\\n\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\n#end\\n\\n/**\\n * #(data.codeTitle) Service\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\npublic interface I#(data.model.tableHumpName)Service extends CrudServiceInterface<#(data.model.tableHumpName), #(data.model.tableHumpName)Model> {\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}ManagementApi.js\",\"izApi\":false,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/api/${moduleName}/${subModuleName}\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"import request from \\\"@/utils/request\\\";\\nimport { downloadFileByData } from \\\"@/utils/download\\\";\\n\\nexport function getList(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/findPage\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/findPage\\\",\\n #end\\n method: \\\"get\\\",\\n params: data,\\n });\\n}\\n\\nexport function doInsert(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/insert\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/insert\\\",\\n #end\\n method: \\\"post\\\",\\n data,\\n });\\n}\\n\\nexport function doUpdate(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/update\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/update\\\",\\n #end\\n method: \\\"post\\\",\\n data,\\n });\\n}\\n\\nexport function doDelete(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/del\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/del\\\",\\n #end\\n method: \\\"post\\\",\\n params: data,\\n });\\n}\\n\\nexport function doDeleteAll(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/delAll\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/delAll\\\",\\n #end\\n method: \\\"post\\\",\\n params: data,\\n });\\n}\\n\\n/**\\n * 导出Excel 目前只支持一层参数传递\\n * @param data\\n * @returns file\\n */\\nexport function doExportExcel(data) {\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n let requestURL = \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/exportExcel\\\";\\n #else\\n let requestURL = \\\"/api/v1/#(data.moduleName)/exportExcel\\\";\\n #end\\n // 下载文件\\n downloadFileByData(requestURL, data);\\n}\\n\\n/**\\n * 下载模版\\n * @returns file\\n */\\nexport function doDownloadTemplate() {\\n let data = {};\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n let requestURL = \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/importExcel/template\\\";\\n #else\\n let requestURL = \\\"/api/v1/#(data.moduleName)/importExcel/template\\\";\\n #end\\n // 下载文件\\n downloadFileByData(requestURL, data);\\n}\\n\\n/**\\n * 导入Excel\\n * @returns file\\n */\\nexport function doImportExcel(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/importExcel\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/importExcel\\\",\\n #end\\n method: \\\"post\\\",\\n // 最长超时时间 3 分钟\\n timeout: 180000,\\n headers: {\\n \\\"Content-Type\\\": \\\"multipart/form-data\\\"\\n },\\n data,\\n });\\n}\"},{\"fileName\":\"${model.tableHumpName}ManagementEdit.vue\",\"izApi\":false,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}/components\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"\\n\\n\\n\"},{\"fileName\":\"${model.tableHumpName}ManagementImport.vue\",\"izApi\":false,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}/components\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"\\n\\n\\n\"},{\"fileName\":\"index.vue\",\"izApi\":false,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}\",\"izManual\":false,\"ignoreFileName\":\"0\",\"fileContent\":\"\\n\\n\\n\"}],\"id\":\"1398253704724828162\"}]', NULL, 0, 1465171199435362305, '2021-11-30 18:12:19', 1465171199435362305, '2021-11-30 18:12:19', '2021-11-30 18:10:04'); INSERT INTO `sys_logs` VALUES (1465624746056691713, '1', '开发工具-开发向导-代码模板-修改', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/generator/template/v1/updateAndDetail', 'POST', 290, '[{\"izApi\":false,\"remark\":\"默认Form表单\",\"updateTime\":1634109206000,\"version\":32,\"tableType\":\"0\",\"tempName\":\"Form表单\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1622204636000,\"updateBy\":\"1313694379541635074\",\"detailList\":[{\"fileName\":\"${model.tableHumpName}Entity.java\",\"izApi\":false,\"updateTime\":1634109206000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/entity\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109206000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"1\",\"id\":\"1448185088918077441\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).entity;\\n#end\\n\\n#for(pkg : data.model.entityPkgList)\\nimport #(pkg);\\n#end\\nimport com.baomidou.mybatisplus.annotation.FieldStrategy;\\nimport com.baomidou.mybatisplus.annotation.TableField;\\nimport com.baomidou.mybatisplus.annotation.TableLogic;\\nimport lombok.Data;\\nimport lombok.EqualsAndHashCode;\\nimport org.opsli.core.base.entity.BaseEntity;\\n\\n/**\\n * #(data.codeTitle) Entity\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Data\\n@EqualsAndHashCode(callSuper = false)\\npublic class #(data.model.tableHumpName) extends BaseEntity {\\n\\n\\n #for(column : data.model.columnList)\\n ### 不等于 删除字段 和 不等于 租户字段放入上边\\n #if(column.fieldHumpName != \\\"deleted\\\" && column.fieldHumpName != \\\"tenantId\\\")\\n /** #(column.fieldComments) */\\n #if(!column.izNotNull)\\n @TableField(updateStrategy = FieldStrategy.IGNORED)\\n #end\\n private #(column.javaType) #(column.fieldHumpName);\\n\\n #end\\n #end\\n\\n // ========================================\\n\\n ### 专门处理 删除字段 和 租户字段\\n #for(column : data.model.columnList)\\n #if(column.fieldHumpName == \\\"deleted\\\")\\n /** 逻辑删除字段 */\\n @TableLogic\\n private Integer deleted;\\n #else if(column.fieldHumpName == \\\"tenantId\\\")\\n /** 多租户字段 */\\n private String tenantId;\\n #end\\n\\n #end\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}Mapper.java\",\"izApi\":false,\"updateTime\":1634109206000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/mapper\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109206000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185089241038850\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).mapper;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).mapper;\\n#end\\n\\nimport com.baomidou.mybatisplus.core.mapper.BaseMapper;\\nimport org.apache.ibatis.annotations.Mapper;\\nimport org.apache.ibatis.annotations.Param;\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\n#end\\n\\n/**\\n * #(data.codeTitle) Mapper\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Mapper\\npublic interface #(data.model.tableHumpName)Mapper extends BaseMapper<#(data.model.tableHumpName)> {\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}Mapper.xml\",\"izApi\":false,\"updateTime\":1634109206000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/mapper/xml\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109206000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185089689829378\",\"fileContent\":\"\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n\\n#else\\n\\n#end\\n\\n\\n\"},{\"fileName\":\"${model.tableHumpName}Model.java\",\"izApi\":false,\"updateTime\":1634109206000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"org/opsli/api/wrapper/${moduleName}/${subModuleName}\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109206000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185090205728769\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName);\\n#else\\npackage #(apiPath).wrapper.#(data.moduleName);\\n#end\\n\\n#for(pkg : data.model.entityPkgList)\\nimport #(pkg);\\n#end\\nimport com.alibaba.excel.annotation.ExcelProperty;\\nimport io.swagger.annotations.ApiModelProperty;\\nimport lombok.Data;\\nimport lombok.EqualsAndHashCode;\\nimport #(apiPath).base.warpper.ApiWrapper;\\nimport org.opsli.common.annotation.validator.Validator;\\nimport org.opsli.common.annotation.validator.ValidatorLenMax;\\nimport org.opsli.common.annotation.validator.ValidatorLenMin;\\nimport org.opsli.common.enums.ValidatorType;\\nimport org.opsli.plugins.excel.annotation.ExcelInfo;\\nimport com.fasterxml.jackson.annotation.JsonFormat;\\nimport org.springframework.format.annotation.DateTimeFormat;\\n\\n/**\\n* #(data.codeTitle) Model\\n*\\n* @author #(data.authorName)\\n* @date #(currTime)\\n*/\\n@Data\\n@EqualsAndHashCode(callSuper = false)\\npublic class #(data.model.tableHumpName)Model extends ApiWrapper {\\n\\n #for(column : data.model.columnList)\\n ### 不等于 删除字段 和 不等于 租户字段放入上边\\n #if(column.fieldHumpName != \\\"deleted\\\" && column.fieldHumpName != \\\"tenantId\\\")\\n /** #(column.fieldComments) */\\n @ApiModelProperty(value = \\\"#(column.fieldComments)\\\")\\n @ExcelProperty(value = \\\"#(column.fieldComments)\\\", order = #(column.sort))\\n #if(column.dictTypeCode != null && column.dictTypeCode != \\\"\\\")\\n @ExcelInfo( dictType = \\\"#(column.dictTypeCode)\\\" )\\n #else\\n @ExcelInfo\\n #end\\n #if(column.validateTypeAndCommaList != null && column.validateTypeAndCommaList.size() > 0)\\n @Validator({\\n #for(typeAndComma : column.validateTypeAndCommaList)\\n ValidatorType.#(typeAndComma)\\n #end\\n })\\n #end\\n #if(column.fieldLength != null && column.fieldLength > 0)\\n #if(column.fieldPrecision != null && column.fieldPrecision > 0)\\n @ValidatorLenMax(#(column.fieldLength+column.fieldPrecision))\\n #else\\n @ValidatorLenMax(#(column.fieldLength))\\n #end\\n #end\\n ### 日期处理\\n #if(column.javaType == \\\"Date\\\")\\n #if(column.showType == \\\"4\\\")\\n @JsonFormat(timezone = \\\"GMT+8\\\", pattern = \\\"yyyy-MM-dd\\\")\\n @DateTimeFormat(pattern = \\\"yyyy-MM-dd\\\")\\n #else\\n @JsonFormat(timezone = \\\"GMT+8\\\", pattern = \\\"yyyy-MM-dd HH:mm:ss\\\")\\n @DateTimeFormat(pattern = \\\"yyyy-MM-dd HH:mm:ss\\\")\\n #end\\n #end\\n private #(column.javaType) #(column.fieldHumpName);\\n\\n #end\\n #end\\n\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}RestApi.java\",\"izApi\":false,\"updateTime\":1634109207000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"org/opsli/api/web/${moduleName}/${subModuleName}\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109207000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185092231577601\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(apiPath).web.#(data.moduleName+\\\".\\\"+data.subModuleName);\\n#else\\npackage #(apiPath).web.#(data.moduleName);\\n#end\\n\\nimport #(apiPath).base.result.ResultVo;\\nimport org.springframework.web.bind.annotation.GetMapping;\\nimport org.springframework.web.bind.annotation.PostMapping;\\nimport org.springframework.web.bind.annotation.RequestBody;\\nimport org.springframework.web.bind.annotation.RequestParam;\\nimport org.springframework.web.multipart.MultipartHttpServletRequest;\\nimport javax.servlet.http.HttpServletRequest;\\nimport javax.servlet.http.HttpServletResponse;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\n#else\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\n#end\\n\\n\\n/**\\n * #(data.codeTitle) Api\\n *\\n * 对外 API 直接 暴露 @GetMapping 或者 @PostMapping\\n * 对内也推荐 单机版 不需要设置 Mapping 但是调用方法得从Controller写起\\n *\\n * 这样写法虽然比较绕,但是当单体项目想要改造微服务架构时 时非常容易的\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\npublic interface #(data.model.tableHumpName)RestApi {\\n\\n /** 标题 */\\n String TITLE = \\\"#(data.codeTitle)\\\";\\n /** 子标题 */\\n String SUB_TITLE = \\\"#(data.codeTitleBrief)\\\";\\n\\n /**\\n * #(data.codeTitle) 查一条\\n * @param model 模型\\n * @return ResultVo\\n */\\n @GetMapping(\\\"/get\\\")\\n ResultVo<#(data.model.tableHumpName)Model> get(#(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 查询分页\\n * @param pageNo 当前页\\n * @param pageSize 每页条数\\n * @param request request\\n * @return ResultVo\\n */\\n @GetMapping(\\\"/findPage\\\")\\n ResultVo findPage(\\n @RequestParam(name = \\\"pageNo\\\", defaultValue = \\\"1\\\") Integer pageNo,\\n @RequestParam(name = \\\"pageSize\\\", defaultValue = \\\"10\\\") Integer pageSize,\\n HttpServletRequest request\\n );\\n\\n /**\\n * #(data.codeTitle) 新增\\n * @param model 模型\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/insert\\\")\\n ResultVo insert(@RequestBody #(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 修改\\n * @param model 模型\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/update\\\")\\n ResultVo update(@RequestBody #(data.model.tableHumpName)Model model);\\n\\n /**\\n * #(data.codeTitle) 删除\\n * @param id ID\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/del\\\")\\n ResultVo del(String id);\\n\\n /**\\n * #(data.codeTitle) 批量删除\\n * @param ids ID 数组\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/delAll\\\")\\n ResultVo delAll(String ids);\\n\\n /**\\n * #(data.codeTitle) Excel 导出\\n *\\n * 导出时,Token认证和方法权限认证 全部都由自定义完成\\n * 因为在 导出不成功时,需要推送错误信息,\\n * 前端直接走下载流,当失败时无法获得失败信息,即使前后端换一种方式后端推送二进制文件前端再次解析也是最少2倍的耗时\\n * ,且如果数据量过大,前端进行渲染时直接会把浏览器卡死\\n * 而直接开启socket接口推送显然是太过浪费资源了,所以目前采用Java最原始的手段\\n * response 推送 javascript代码 alert 提示报错信息\\n *\\n * @param request request\\n * @param response response\\n */\\n @GetMapping(\\\"/exportExcel\\\")\\n void exportExcel(HttpServletRequest request, HttpServletResponse response);\\n\\n /**\\n * #(data.codeTitle) Excel 导入\\n * @param request 文件流 request\\n * @return ResultVo\\n */\\n @PostMapping(\\\"/importExcel\\\")\\n ResultVo importExcel(MultipartHttpServletRequest request);\\n\\n /**\\n * #(data.codeTitle) Excel 下载导入模版\\n * @param response response\\n */\\n @GetMapping(\\\"/importExcel/template\\\")\\n void importTemplate(HttpServletResponse response);\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}RestController.java\",\"izApi\":false,\"updateTime\":1634109207000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/web\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109207000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185095272448002\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).web;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).web;\\n#end\\n\\nimport cn.hutool.core.util.ReflectUtil;\\nimport cn.hutool.core.convert.Convert;\\nimport io.swagger.annotations.Api;\\nimport io.swagger.annotations.ApiOperation;\\nimport lombok.extern.slf4j.Slf4j;\\nimport org.opsli.common.annotation.RequiresPermissionsCus;\\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\\nimport #(apiPath).base.result.ResultVo;\\nimport org.opsli.common.annotation.ApiRestController;\\nimport org.opsli.common.annotation.EnableLog;\\nimport org.opsli.core.base.controller.BaseRestController;\\nimport org.opsli.core.persistence.Page;\\nimport org.opsli.core.persistence.querybuilder.QueryBuilder;\\nimport org.opsli.core.persistence.querybuilder.WebQueryBuilder;\\nimport org.springframework.web.multipart.MultipartHttpServletRequest;\\nimport javax.servlet.http.HttpServletRequest;\\nimport javax.servlet.http.HttpServletResponse;\\nimport java.lang.reflect.Method;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.I#(data.model.tableHumpName)Service;\\nimport #(apiPath).web.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)RestApi;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).service.I#(data.model.tableHumpName)Service;\\nimport #(apiPath).web.#(data.moduleName).#(data.model.tableHumpName)RestApi;\\n#end\\n\\n/**\\n * #(data.codeTitle) Controller\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Api(tags = #(data.model.tableHumpName)RestApi.TITLE)\\n@Slf4j\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n@ApiRestController(\\\"/#(data.moduleName)/#(data.subModuleName)/{ver}\\\")\\n#else\\n@ApiRestController(\\\"/#(data.moduleName)/{ver}\\\")\\n#end\\npublic class #(data.model.tableHumpName)RestController extends BaseRestController<#(data.model.tableHumpName), #(data.model.tableHumpName)Model, I#(data.model.tableHumpName)Service>\\n implements #(data.model.tableHumpName)RestApi {\\n\\n\\n /**\\n * #(data.codeTitleBrief) 查一条\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"获得单条#(data.codeTitleBrief)\\\", notes = \\\"获得单条#(data.codeTitleBrief) - ID\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_select\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_select\\\")\\n #end\\n @Override\\n public ResultVo<#(data.model.tableHumpName)Model> get(#(data.model.tableHumpName)Model model) {\\n // 如果系统内部调用 则直接查数据库\\n if(model != null && model.getIzApi() != null && model.getIzApi()){\\n model = IService.get(model);\\n }\\n return ResultVo.success(model);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 查询分页\\n * @param pageNo 当前页\\n * @param pageSize 每页条数\\n * @param request request\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"获得分页数据\\\", notes = \\\"获得分页数据 - 查询构造器\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_select\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_select\\\")\\n #end\\n @Override\\n public ResultVo findPage(Integer pageNo, Integer pageSize, HttpServletRequest request) {\\n\\n QueryBuilder<#(data.model.tableHumpName)> queryBuilder = new WebQueryBuilder<>(entityClazz, request.getParameterMap());\\n Page<#(data.model.tableHumpName), #(data.model.tableHumpName)Model> page = new Page<>(pageNo, pageSize);\\n page.setQueryWrapper(queryBuilder.build());\\n page = IService.findPage(page);\\n\\n return ResultVo.success(page.getPageData());\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 新增\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"新增#(data.codeTitleBrief)数据\\\", notes = \\\"新增#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_insert\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_insert\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo insert(#(data.model.tableHumpName)Model model) {\\n // 调用新增方法\\n IService.insert(model);\\n return ResultVo.success(\\\"新增#(data.codeTitleBrief)成功\\\");\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 修改\\n * @param model 模型\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"修改#(data.codeTitleBrief)数据\\\", notes = \\\"修改#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo update(#(data.model.tableHumpName)Model model) {\\n // 调用修改方法\\n IService.update(model);\\n return ResultVo.success(\\\"修改#(data.codeTitleBrief)成功\\\");\\n }\\n\\n\\n /**\\n * #(data.codeTitleBrief) 删除\\n * @param id ID\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"删除#(data.codeTitleBrief)数据\\\", notes = \\\"删除#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo del(String id){\\n IService.delete(id);\\n return ResultVo.success(\\\"删除#(data.codeTitleBrief)成功\\\");\\n }\\n\\n /**\\n * #(data.codeTitleBrief) 批量删除\\n * @param ids ID 数组\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"批量删除#(data.codeTitleBrief)数据\\\", notes = \\\"批量删除#(data.codeTitleBrief)数据\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_update\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_update\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo delAll(String ids){\\n String[] idArray = Convert.toStrArray(ids);\\n IService.deleteAll(idArray);\\n return ResultVo.success(\\\"批量删除#(data.codeTitleBrief)成功\\\");\\n }\\n\\n\\n /**\\n * #(data.codeTitleBrief) Excel 导出\\n * 注:这里 RequiresPermissionsCus 引入的是 自定义鉴权注解\\n *\\n * 导出时,Token认证和方法权限认证 全部都由自定义完成\\n * 因为在 导出不成功时,需要推送错误信息,\\n * 前端直接走下载流,当失败时无法获得失败信息,即使前后端换一种方式后端推送二进制文件前端再次解析也是最少2倍的耗时\\n * ,且如果数据量过大,前端进行渲染时直接会把浏览器卡死\\n * 而直接开启socket接口推送显然是太过浪费资源了,所以目前采用Java最原始的手段\\n * response 推送 javascript代码 alert 提示报错信息\\n *\\n * @param request request\\n * @param response response\\n */\\n @ApiOperation(value = \\\"导出Excel\\\", notes = \\\"导出Excel\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_export\\\")\\n #else\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_export\\\")\\n #end\\n @EnableLog\\n @Override\\n public void exportExcel(HttpServletRequest request, HttpServletResponse response) {\\n // 当前方法\\n Method method = ReflectUtil.getMethodByName(this.getClass(), \\\"exportExcel\\\");\\n QueryBuilder<#(data.model.tableHumpName)> queryBuilder = new WebQueryBuilder<>(entityClazz, request.getParameterMap());\\n super.excelExport(#(data.model.tableHumpName)RestApi.SUB_TITLE, queryBuilder.build(), response, method);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) Excel 导入\\n * 注:这里 RequiresPermissions 引入的是 Shiro原生鉴权注解\\n * @param request 文件流 request\\n * @return ResultVo\\n */\\n @ApiOperation(value = \\\"导入Excel\\\", notes = \\\"导入Excel\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_import\\\")\\n #else\\n @RequiresPermissions(\\\"#(data.moduleName.toLowerCase())_import\\\")\\n #end\\n @EnableLog\\n @Override\\n public ResultVo importExcel(MultipartHttpServletRequest request) {\\n return super.importExcel(request);\\n }\\n\\n /**\\n * #(data.codeTitleBrief) Excel 下载导入模版\\n * 注:这里 RequiresPermissionsCus 引入的是 自定义鉴权注解\\n * @param response response\\n */\\n @ApiOperation(value = \\\"导出Excel模版\\\", notes = \\\"导出Excel模版\\\")\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_#(data.subModuleName.toLowerCase())_import\\\")\\n #else\\n @RequiresPermissionsCus(\\\"#(data.moduleName.toLowerCase())_import\\\")\\n #end\\n @Override\\n public void importTemplate(HttpServletResponse response) {\\n // 当前方法\\n Method method = ReflectUtil.getMethodByName(this.getClass(), \\\"importTemplate\\\");\\n super.importTemplate(#(data.model.tableHumpName)RestApi.SUB_TITLE, response, method);\\n }\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}ServiceImpl.java\",\"izApi\":false,\"updateTime\":1634109208000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/service/impl\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109208000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185098657251330\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.impl;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).service.impl;\\n#end\\n\\n\\nimport org.springframework.beans.factory.annotation.Autowired;\\nimport org.springframework.stereotype.Service;\\nimport org.springframework.transaction.annotation.Transactional;\\nimport org.opsli.core.base.service.impl.CrudServiceImpl;\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service.I#(data.model.tableHumpName)Service;\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).mapper.#(data.model.tableHumpName)Mapper;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).service.I#(data.model.tableHumpName)Service;\\nimport #(data.packageName+\\\".\\\"+data.moduleName).mapper.#(data.model.tableHumpName)Mapper;\\n#end\\n\\n\\n/**\\n * #(data.codeTitle) Service Impl\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\n@Service\\npublic class #(data.model.tableHumpName)ServiceImpl extends CrudServiceImpl<#(data.model.tableHumpName)Mapper, #(data.model.tableHumpName), #(data.model.tableHumpName)Model>\\n implements I#(data.model.tableHumpName)Service {\\n\\n @Autowired(required = false)\\n private #(data.model.tableHumpName)Mapper mapper;\\n\\n}\"},{\"fileName\":\"I${model.tableHumpName}Service.java\",\"izApi\":false,\"updateTime\":1634109209000,\"type\":\"0\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"${packageName}/${moduleName}/${subModuleName}/service\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109209000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185102641840129\",\"fileContent\":\"#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\npackage #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).service;\\n#else\\npackage #(data.packageName+\\\".\\\"+data.moduleName).service;\\n#end\\n\\nimport org.opsli.core.base.service.interfaces.CrudServiceInterface;\\n\\n\\n#if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\nimport #(data.packageName+\\\".\\\"+data.moduleName+\\\".\\\"+data.subModuleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName+\\\".\\\"+data.subModuleName).#(data.model.tableHumpName)Model;\\n#else\\nimport #(data.packageName+\\\".\\\"+data.moduleName).entity.#(data.model.tableHumpName);\\nimport #(apiPath).wrapper.#(data.moduleName).#(data.model.tableHumpName)Model;\\n#end\\n\\n/**\\n * #(data.codeTitle) Service\\n *\\n * @author #(data.authorName)\\n * @date #(currTime)\\n */\\npublic interface I#(data.model.tableHumpName)Service extends CrudServiceInterface<#(data.model.tableHumpName), #(data.model.tableHumpName)Model> {\\n\\n}\"},{\"fileName\":\"${model.tableHumpName}ManagementApi.js\",\"izApi\":false,\"updateTime\":1634109210000,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/api/${moduleName}/${subModuleName}\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109210000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185107255574530\",\"fileContent\":\"import request from \\\"@/utils/request\\\";\\nimport { downloadFileByData } from \\\"@/utils/download\\\";\\n\\nexport function getList(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/findPage\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/findPage\\\",\\n #end\\n method: \\\"get\\\",\\n params: data,\\n });\\n}\\n\\nexport function doInsert(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/insert\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/insert\\\",\\n #end\\n method: \\\"post\\\",\\n data,\\n });\\n}\\n\\nexport function doUpdate(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/update\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/update\\\",\\n #end\\n method: \\\"post\\\",\\n data,\\n });\\n}\\n\\nexport function doDelete(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/del\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/del\\\",\\n #end\\n method: \\\"post\\\",\\n params: data,\\n });\\n}\\n\\nexport function doDeleteAll(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/delAll\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/delAll\\\",\\n #end\\n method: \\\"post\\\",\\n params: data,\\n });\\n}\\n\\n/**\\n * 导出Excel 目前只支持一层参数传递\\n * @param data\\n * @returns file\\n */\\nexport function doExportExcel(data) {\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n let requestURL = \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/exportExcel\\\";\\n #else\\n let requestURL = \\\"/api/v1/#(data.moduleName)/exportExcel\\\";\\n #end\\n // 下载文件\\n downloadFileByData(requestURL, data);\\n}\\n\\n/**\\n * 下载模版\\n * @returns file\\n */\\nexport function doDownloadTemplate() {\\n let data = {};\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n let requestURL = \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/importExcel/template\\\";\\n #else\\n let requestURL = \\\"/api/v1/#(data.moduleName)/importExcel/template\\\";\\n #end\\n // 下载文件\\n downloadFileByData(requestURL, data);\\n}\\n\\n/**\\n * 导入Excel\\n * @returns file\\n */\\nexport function doImportExcel(data) {\\n return request({\\n #if(data.subModuleName != null && data.subModuleName != \\\"\\\")\\n url: \\\"/api/v1/#(data.moduleName)/#(data.subModuleName)/importExcel\\\",\\n #else\\n url: \\\"/api/v1/#(data.moduleName)/importExcel\\\",\\n #end\\n method: \\\"post\\\",\\n // 最长超时时间 3 分钟\\n timeout: 180000,\\n headers: {\\n \\\"Content-Type\\\": \\\"multipart/form-data\\\"\\n },\\n data,\\n });\\n}\"},{\"fileName\":\"${model.tableHumpName}ManagementEdit.vue\",\"izApi\":false,\"updateTime\":1634109212000,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}/components\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109212000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185112708169729\",\"fileContent\":\"\\n\\n\\n\"},{\"fileName\":\"${model.tableHumpName}ManagementImport.vue\",\"izApi\":false,\"updateTime\":1634109213000,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}/components\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109213000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185118160764930\",\"fileContent\":\"\\n\\n\\n\"},{\"fileName\":\"index.vue\",\"izApi\":false,\"updateTime\":1634109214000,\"type\":\"1\",\"version\":0,\"parentId\":\"1398253704724828162\",\"path\":\"src/views/modules/${moduleName}/${subModuleName}\",\"createBy\":\"1313694379541635074\",\"izManual\":false,\"createTime\":1634109214000,\"updateBy\":\"1313694379541635074\",\"ignoreFileName\":\"0\",\"id\":\"1448185124422860802\",\"fileContent\":\"\\n\\n\\n\"}],\"id\":\"1398253704724828162\"}]', NULL, 0, 1465171199435362305, '2021-11-30 18:12:24', 1465171199435362305, '2021-11-30 18:12:24', '2021-11-30 18:10:09'); +INSERT INTO `sys_logs` VALUES (1465879903789035521, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/user/v1/insert', 'POST', 1075, '[{\"no\":\"123123\",\"secretKey\":\"aubsfx07wtsv5ixvg570\",\"mobile\":\"15311111111\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"租户管理员\",\"password\":\"2ac43879f3ac98b98fb97557f24b3ccb\",\"izTenantAdmin\":\"1\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"1\",\"email\":\"meet.parker@foxmail.com\",\"username\":\"tenant\"}]', NULL, 0, 1, '2021-12-01 11:06:18', 1, '2021-12-01 11:06:18', '2021-12-01 11:04:04'); +INSERT INTO `sys_logs` VALUES (1465879988480421889, '1', '组织机构-用户管理-修改', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/user/v1/update', 'POST', 438, '[{\"no\":\"test_001\",\"mobile\":\"15311111111\",\"izApi\":false,\"avatar\":\"http://upload.bedebug.com/20211013/1635589382475625280EW3N.jpg\",\"version\":4,\"enableSwitchTenant\":\"0\",\"realName\":\"演示用户\",\"createBy\":\"1\",\"izTenantAdmin\":\"1\",\"izManual\":false,\"createTime\":1601997322000,\"tenantId\":\"1\",\"id\":\"1313694379541635074\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-12-01 11:06:39', 1, '2021-12-01 11:06:39', '2021-12-01 11:04:24'); +INSERT INTO `sys_logs` VALUES (1465880048194727938, '1', '组织机构-用户管理-修改', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/user/v1/update', 'POST', 296, '[{\"no\":\"123123\",\"mobile\":\"15300000000\",\"izApi\":false,\"version\":0,\"enableSwitchTenant\":\"0\",\"realName\":\"租户管理员\",\"createBy\":\"1\",\"izTenantAdmin\":\"1\",\"izManual\":false,\"createTime\":1638327977000,\"tenantId\":\"1\",\"id\":\"1465879900211294210\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1, '2021-12-01 11:06:53', 1, '2021-12-01 11:06:53', '2021-12-01 11:04:39'); +INSERT INTO `sys_logs` VALUES (1465883626321915905, '1', '组织机构-角色管理-设置菜单权限', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/role/perms/v1/setPerms', 'POST', 477, '[{\"permsIds\":[\"1314066547072872450\",\"1314066863436640258\",\"3\",\"1313806847370620930\",\"1313789204920131585\",\"1313789308506857474\",\"1313789400169177089\",\"1313789529840279554\",\"1313864645827678210\",\"1313864777918894082\",\"1465587677695479810\",\"1370051609388388353\",\"1370404146704654337\",\"1327085543511293954\",\"1327085856930660353\",\"1327086205548625921\",\"1327086298750255105\",\"1327086378794352642\",\"1327086433609711617\",\"1337796232345407489\",\"1337796311940714498\",\"1330365141900591105\",\"1330365525440331778\",\"1330365570587820033\",\"1330365615181660162\",\"1330365717015166977\",\"1337719928086458369\",\"1337720128930705409\",\"1340626549594677250\",\"1340626612895113217\",\"1340626666078887937\",\"1340626895356321793\",\"1340626939119689729\",\"1340626988251766786\",\"1340627032942075906\",\"1460639200696160257\"],\"roleId\":\"1448924738452385794\"}]', NULL, 0, 1465879900211294210, '2021-12-01 11:21:06', 1465879900211294210, '2021-12-01 11:21:06', '2021-12-01 11:18:52'); +INSERT INTO `sys_logs` VALUES (1465883672333430785, '1', '组织机构-角色管理-设置菜单权限', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/role/perms/v1/setPerms', 'POST', 414, '[{\"permsIds\":[\"1314066547072872450\",\"1314066863436640258\",\"3\",\"1313806847370620930\",\"1313789204920131585\",\"1313789308506857474\",\"1313789400169177089\",\"1313789529840279554\",\"1313864645827678210\",\"1313864777918894082\",\"1465587677695479810\",\"1370051609388388353\",\"1370404146704654337\",\"1327085543511293954\",\"1327085856930660353\",\"1327086205548625921\",\"1327086298750255105\",\"1327086378794352642\",\"1327086433609711617\",\"1337796232345407489\",\"1337796311940714498\",\"1330365141900591105\",\"1330365525440331778\",\"1330365570587820033\",\"1330365615181660162\",\"1330365717015166977\",\"1337719928086458369\",\"1337720128930705409\",\"1340626549594677250\",\"1340626612895113217\",\"1340626666078887937\",\"1340626895356321793\",\"1340626939119689729\",\"1340626988251766786\",\"1340627032942075906\",\"1460639200696160257\"],\"roleId\":\"1448924680386441217\"}]', NULL, 0, 1465879900211294210, '2021-12-01 11:21:17', 1465879900211294210, '2021-12-01 11:21:17', '2021-12-01 11:19:03'); +INSERT INTO `sys_logs` VALUES (1465886781097050113, '1', '组织机构-用户管理-删除', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/user/v1/del', 'POST', 224, '[\"1448923198635307009\"]', NULL, 0, 1313694379541635074, '2021-12-01 11:33:38', 1313694379541635074, '2021-12-01 11:33:38', '2021-12-01 11:31:24'); +INSERT INTO `sys_logs` VALUES (1465886869479424001, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/user/v1/insert', 'POST', 634, '[{\"no\":\"123213213\",\"secretKey\":\"zhklh5tjcnrs8lixaws4\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"部门管理员\",\"password\":\"80eaeb81f4c857028219033fb26d1d3a\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"dept\"}]', NULL, 0, 1313694379541635074, '2021-12-01 11:33:59', 1313694379541635074, '2021-12-01 11:33:59', '2021-12-01 11:31:45'); +INSERT INTO `sys_logs` VALUES (1465888328103165953, '1', '组织机构-角色管理-设置菜单权限', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/role/perms/v1/setPerms', 'POST', 694, '[{\"permsIds\":[\"1314066547072872450\",\"1314066863436640258\",\"3\",\"1313806847370620930\",\"1313789204920131585\",\"1313789308506857474\",\"1313789400169177089\",\"1313789529840279554\",\"1313864645827678210\",\"1313864777918894082\",\"1465587677695479810\",\"1370051609388388353\",\"1370404146704654337\",\"1332662450423635969\",\"1332662689314414594\",\"1332662758860169217\",\"1332662809711910913\",\"1332662858294534146\",\"1327085543511293954\",\"1327085856930660353\",\"1327086205548625921\",\"1327086298750255105\",\"1327086378794352642\",\"1327086433609711617\",\"1337796232345407489\",\"1337796311940714498\",\"1330365141900591105\",\"1330365525440331778\",\"1330365570587820033\",\"1330365615181660162\",\"1330365717015166977\",\"1337719928086458369\",\"1337720128930705409\",\"1340626549594677250\",\"1340626612895113217\",\"1340626666078887937\",\"1340626895356321793\",\"1340626939119689729\",\"1340626988251766786\",\"1340627032942075906\",\"1460639200696160257\"],\"roleId\":\"1448924738452385794\"}]', NULL, 0, 1465879900211294210, '2021-12-01 11:39:47', 1465879900211294210, '2021-12-01 11:39:47', '2021-12-01 11:37:33'); +INSERT INTO `sys_logs` VALUES (1465888363964465153, '1', '组织机构-角色管理-设置菜单权限', '', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36', '/opsli-boot/api/system/role/perms/v1/setPerms', 'POST', 803, '[{\"permsIds\":[\"1314066547072872450\",\"1314066863436640258\",\"3\",\"1313806847370620930\",\"1313789204920131585\",\"1313789308506857474\",\"1313789400169177089\",\"1313789529840279554\",\"1313864645827678210\",\"1313864777918894082\",\"1465587677695479810\",\"1370051609388388353\",\"1370404146704654337\",\"1332662450423635969\",\"1332662689314414594\",\"1332662758860169217\",\"1332662809711910913\",\"1332662858294534146\",\"1327085543511293954\",\"1327085856930660353\",\"1327086205548625921\",\"1327086298750255105\",\"1327086378794352642\",\"1327086433609711617\",\"1337796232345407489\",\"1337796311940714498\",\"1330365141900591105\",\"1330365525440331778\",\"1330365570587820033\",\"1330365615181660162\",\"1330365717015166977\",\"1337719928086458369\",\"1337720128930705409\",\"1340626549594677250\",\"1340626612895113217\",\"1340626666078887937\",\"1340626895356321793\",\"1340626939119689729\",\"1340626988251766786\",\"1340627032942075906\",\"1460639200696160257\"],\"roleId\":\"1448924680386441217\"}]', NULL, 0, 1465879900211294210, '2021-12-01 11:39:56', 1465879900211294210, '2021-12-01 11:39:56', '2021-12-01 11:37:41'); +INSERT INTO `sys_logs` VALUES (1465964438442610689, '1', '组织机构-用户管理-修改', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0', '/opsli-boot/api/system/user/v1/update', 'POST', 599, '[{\"no\":\"test_001\",\"mobile\":\"15311111111\",\"izApi\":false,\"avatar\":\"http://upload.bedebug.com/20211013/1635589382475625280EW3N.jpg\",\"version\":5,\"enableSwitchTenant\":\"0\",\"realName\":\"租户内部管理员\",\"createBy\":\"1\",\"izManual\":false,\"createTime\":1601997322000,\"id\":\"1313694379541635074\",\"email\":\"meet.parker@foxmail.com\"}]', NULL, 0, 1465879900211294210, '2021-12-01 16:42:13', 1465879900211294210, '2021-12-01 16:42:13', '2021-12-01 16:39:59'); +INSERT INTO `sys_logs` VALUES (1465972016719495170, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 9886, '[{\"orgName\":\"4334534553434553\",\"izApi\":false,\"version\":0,\"parentId\":\"0\",\"sortNo\":1,\"izManual\":false,\"orgCode\":\"3443434435354\",\"tenantId\":\"\"}]', '无组织机构新增权限', 0, 1465886867659096066, '2021-12-01 17:12:20', 1465886867659096066, '2021-12-01 17:12:20', '2021-12-01 17:10:06'); +INSERT INTO `sys_logs` VALUES (1465972054220767233, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 28, '[{\"orgName\":\"123123123123\",\"izApi\":false,\"version\":0,\"parentId\":\"0\",\"sortNo\":1,\"izManual\":false,\"orgCode\":\"123123\",\"tenantId\":\"\"}]', '无组织机构新增权限', 0, 1465886867659096066, '2021-12-01 17:12:29', 1465886867659096066, '2021-12-01 17:12:29', '2021-12-01 17:10:15'); +INSERT INTO `sys_logs` VALUES (1465972062001201153, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 28, '[{\"orgName\":\"123123123123\",\"izApi\":false,\"version\":0,\"parentId\":\"0\",\"sortNo\":1,\"izManual\":false,\"orgCode\":\"123123\",\"tenantId\":\"\"}]', '无组织机构新增权限', 0, 1465886867659096066, '2021-12-01 17:12:31', 1465886867659096066, '2021-12-01 17:12:31', '2021-12-01 17:10:17'); +INSERT INTO `sys_logs` VALUES (1465972065176289282, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 21, '[{\"orgName\":\"123123123123\",\"izApi\":false,\"version\":0,\"parentId\":\"0\",\"sortNo\":1,\"izManual\":false,\"orgCode\":\"123123\",\"tenantId\":\"\"}]', '无组织机构新增权限', 0, 1465886867659096066, '2021-12-01 17:12:31', 1465886867659096066, '2021-12-01 17:12:31', '2021-12-01 17:10:18'); +INSERT INTO `sys_logs` VALUES (1465972068812750849, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 22, '[{\"orgName\":\"123123123123\",\"izApi\":false,\"version\":0,\"parentId\":\"0\",\"sortNo\":1,\"izManual\":false,\"orgCode\":\"123123\",\"tenantId\":\"\"}]', '无组织机构新增权限', 0, 1465886867659096066, '2021-12-01 17:12:32', 1465886867659096066, '2021-12-01 17:12:32', '2021-12-01 17:10:18'); +INSERT INTO `sys_logs` VALUES (1465972639896600578, '2', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 83095, '[{\"orgName\":\"XXX开发组\",\"parentIds\":\"0,1401861234604605441,1401861575953842177\",\"izApi\":false,\"version\":0,\"parentId\":\"1401861575953842177\",\"sortNo\":2,\"izManual\":false,\"orgCode\":\"12334_111_13334\",\"tenantId\":\"1\"}]', NULL, 0, 1465886867659096066, '2021-12-01 17:14:48', 1465886867659096066, '2021-12-01 17:14:48', '2021-12-01 17:12:35'); +INSERT INTO `sys_logs` VALUES (1465973250553708545, '1', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 34730, '[{\"orgName\":\"XXX开发组\",\"parentIds\":\"0,1401861234604605441,1401861575953842177\",\"izApi\":false,\"version\":0,\"parentId\":\"1401861575953842177\",\"sortNo\":2,\"izManual\":false,\"orgCode\":\"12334_111_13334\",\"tenantId\":\"1\"}]', NULL, 0, 1465886867659096066, '2021-12-01 17:17:14', 1465886867659096066, '2021-12-01 17:17:14', '2021-12-01 17:15:00'); +INSERT INTO `sys_logs` VALUES (1465986915675848705, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 248, '[{\"no\":\"4443333\",\"secretKey\":\"j7pzi4ywpdgh3iqswjvo\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"宋轶\",\"password\":\"cd9ec0e634004d8bcfeef07889a8caa2\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"songyi\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:11:32', 1465886867659096066, '2021-12-01 18:11:32', '2021-12-01 18:09:18'); +INSERT INTO `sys_logs` VALUES (1465987003861090305, '1', '组织机构-用户管理-删除', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/del', 'POST', 125, '[\"1465986914736324609\"]', NULL, 0, 1465886867659096066, '2021-12-01 18:11:53', 1465886867659096066, '2021-12-01 18:11:53', '2021-12-01 18:09:39'); +INSERT INTO `sys_logs` VALUES (1465987208966750210, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 147, '[{\"no\":\"4334321\",\"secretKey\":\"olauqbjq0s22ubdf3y23\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"宋轶\",\"password\":\"7525ea557472f4087157d6ad44b89202\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"songyi\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:12:42', 1465886867659096066, '2021-12-01 18:12:42', '2021-12-01 18:10:28'); +INSERT INTO `sys_logs` VALUES (1465988026294030337, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 209, '[{\"no\":\"412313\",\"secretKey\":\"jk45etif9njer6feqjg4\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"宋轶\",\"password\":\"b5dc7ce5f2860c3dc113f9c2f319a7e1\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"songyi\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:15:57', 1465886867659096066, '2021-12-01 18:15:57', '2021-12-01 18:13:43'); +INSERT INTO `sys_logs` VALUES (1465988656903442434, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 147, '[{\"no\":\"4355123\",\"secretKey\":\"v9919tvf2311jfo6vswg\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"test1111\",\"password\":\"a329f37e3773a286b2b310ca978fea8f\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"33333\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:18:27', 1465886867659096066, '2021-12-01 18:18:27', '2021-12-01 18:16:13'); +INSERT INTO `sys_logs` VALUES (1465988921094262785, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 380, '[{\"no\":\"34232432423432\",\"secretKey\":\"on1kl8spo7d35fnrl2gf\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"test1123123123\",\"password\":\"80c11bb6802dc60d882fd26181eea972\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"3242342423423\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:19:30', 1465886867659096066, '2021-12-01 18:19:30', '2021-12-01 18:17:16'); +INSERT INTO `sys_logs` VALUES (1465991505737633793, '1', '组织机构-用户管理-删除', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/del', 'POST', 149, '[\"1465988919403958274\"]', NULL, 0, 1465886867659096066, '2021-12-01 18:29:46', 1465886867659096066, '2021-12-01 18:29:46', '2021-12-01 18:27:33'); +INSERT INTO `sys_logs` VALUES (1465991641494671361, '1', '组织机构-用户管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/user/v1/insert', 'POST', 324, '[{\"no\":\"432431\",\"secretKey\":\"hq6tsfrd2c5in03rxbs8\",\"izApi\":false,\"version\":0,\"izExistOrg\":\"0\",\"enableSwitchTenant\":\"0\",\"passwordLevel\":\"2\",\"realName\":\"宋轶\",\"password\":\"5f7b84943aea0ea831395655f3c7053b\",\"izManual\":false,\"enable\":\"1\",\"tenantId\":\"\",\"username\":\"songyi\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:30:19', 1465886867659096066, '2021-12-01 18:30:19', '2021-12-01 18:28:05'); +INSERT INTO `sys_logs` VALUES (1465996704531230721, '1', '组织机构-组织管理-增加', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.34', '/opsli-boot/api/system/org/v1/insert', 'POST', 19606, '[{\"orgName\":\"测试组\",\"parentIds\":\"0,1401861234604605441,1401861575953842177\",\"izApi\":false,\"version\":0,\"parentId\":\"1401861575953842177\",\"sortNo\":3,\"izManual\":false,\"orgCode\":\"12334_111_43223\",\"tenantId\":\"1\"}]', NULL, 0, 1465886867659096066, '2021-12-01 18:50:26', 1465886867659096066, '2021-12-01 18:50:26', '2021-12-01 18:48:12'); +INSERT INTO `sys_logs` VALUES (1465997523385200641, '1', '测试模块-汽车信息-新增', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0', '/opsli-boot/api/gentest/carinfo/v1/insert', 'POST', 667, '[{\"carBrand\":\"宝马\",\"carName\":\"宋轶自己的车\",\"izUsable\":\"1\",\"izApi\":false,\"version\":0,\"carType\":\"油车\",\"izManual\":false,\"produceData\":1638288000000}]', NULL, 0, 1465991640378986498, '2021-12-01 18:53:41', 1465991640378986498, '2021-12-01 18:53:41', '2021-12-01 18:51:27'); +INSERT INTO `sys_logs` VALUES (1465998053964656641, '2', '测试模块-汽车信息-新增', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0', '/opsli-boot/api/gentest/carinfo/v1/insert', 'POST', 485, '[{\"carBrand\":\"测试汽车\",\"carName\":\"测试汽车\",\"izUsable\":\"1\",\"izApi\":false,\"version\":0,\"carType\":\"测试汽车\",\"izManual\":false,\"produceData\":1638288000000}]', '\r\n### Error updating database. Cause: java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value\r\n### The error may exist in org/opsli/modulars/gentest/carinfo/mapper/TestCarMapper.java (best guess)\r\n### The error may involve org.opsli.modulars.gentest.carinfo.mapper.TestCarMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_car ( id, car_name, car_type, car_brand, produce_data, iz_usable, tenant_id, deleted, create_by, create_time, update_by, update_time, version ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value\n; Field \'org_ids\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value', 0, 1465879900211294210, '2021-12-01 18:55:48', 1465879900211294210, '2021-12-01 18:55:48', '2021-12-01 18:53:34'); +INSERT INTO `sys_logs` VALUES (1465998771136114690, '2', '测试模块-汽车信息-新增', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0', '/opsli-boot/api/gentest/carinfo/v1/insert', 'POST', 76648, '[{\"carBrand\":\"测试汽车\",\"carName\":\"测试汽车\",\"izUsable\":\"1\",\"izApi\":false,\"version\":0,\"carType\":\"测试汽车\",\"izManual\":false,\"produceData\":1638288000000}]', '\r\n### Error updating database. Cause: java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value\r\n### The error may exist in org/opsli/modulars/gentest/carinfo/mapper/TestCarMapper.java (best guess)\r\n### The error may involve org.opsli.modulars.gentest.carinfo.mapper.TestCarMapper.insert-Inline\r\n### The error occurred while setting parameters\r\n### SQL: INSERT INTO test_car ( id, car_name, car_type, car_brand, produce_data, iz_usable, tenant_id, deleted, create_by, create_time, update_by, update_time, version ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value\n; Field \'org_ids\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'org_ids\' doesn\'t have a default value', 0, 1465879900211294210, '2021-12-01 18:58:39', 1465879900211294210, '2021-12-01 18:58:39', '2021-12-01 18:56:25'); +INSERT INTO `sys_logs` VALUES (1465999901954027521, '1', '测试模块-汽车信息-新增', '', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0', '/opsli-boot/api/gentest/carinfo/v1/insert', 'POST', 232, '[{\"carBrand\":\"测试汽车\",\"carName\":\"测试汽车\",\"izUsable\":\"1\",\"izApi\":false,\"version\":0,\"carType\":\"测试汽车\",\"izManual\":false,\"produceData\":1638288000000}]', NULL, 0, 1465879900211294210, '2021-12-01 19:03:08', 1465879900211294210, '2021-12-01 19:03:08', '2021-12-01 19:00:54'); -- ---------------------------- -- Table structure for sys_menu @@ -4110,6 +4140,7 @@ CREATE TABLE `sys_org` ( `id` bigint(19) NOT NULL COMMENT '字典主键', `parent_id` bigint(19) NOT NULL DEFAULT 0 COMMENT '父级主键', `parent_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '父级主键集合', + `org_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '组织机构组', `org_code` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构编号', `org_name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构名称', `sort_no` int(11) NOT NULL COMMENT '排序', @@ -4125,30 +4156,33 @@ CREATE TABLE `sys_org` ( PRIMARY KEY (`id`) USING BTREE, INDEX `org_index`(`org_code`, `org_name`) USING BTREE, INDEX `pid`(`parent_id`) USING BTREE COMMENT '上级id', - INDEX `pids`(`parent_ids`) USING BTREE COMMENT '上级id集合' + INDEX `pids`(`parent_ids`) USING BTREE COMMENT '上级id集合', + INDEX `org_ids`(`org_ids`) USING BTREE COMMENT '组织id集合' ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织机构表' ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of sys_org -- ---------------------------- -INSERT INTO `sys_org` VALUES (1332710973848449026, 0, '0', '0011', 'A公司', 1, NULL, 1, '0', 11, 1313694379541635074, '2020-11-28 23:40:31', 1, '2021-06-08 11:38:29', '2021-06-08 11:38:28'); -INSERT INTO `sys_org` VALUES (1332878633177477122, 0, '0', '0013', 'C公司', 3, NULL, 1, '0', 10, 1313694379541635074, '2020-11-29 10:46:44', 1, '2021-06-07 19:52:59', '2021-06-07 20:07:21'); -INSERT INTO `sys_org` VALUES (1332879851278856193, 1332710973848449026, '0,1332710973848449026', '0011_123', 'A公司B部门', 1, NULL, 1, '0', 6, 1313694379541635074, '2020-11-29 10:51:35', 1313694379541635074, '2021-02-25 13:31:17', '2021-06-07 19:23:35'); -INSERT INTO `sys_org` VALUES (1332880775317581826, 1332879851278856193, '0,1332710973848449026,1332879851278856193', '0011_123_003', '测试岗', 1, NULL, 1, '0', 5, 1313694379541635074, '2020-11-29 10:55:15', 1313694379541635074, '2021-02-25 13:30:51', '2021-06-07 19:23:48'); -INSERT INTO `sys_org` VALUES (1336209704187879425, 0, '0', '0012', 'B公司', 2, NULL, 1, '0', 3, 1313694379541635074, '2020-12-08 15:23:14', 1, '2021-01-11 19:19:51', '2021-04-08 23:51:16'); -INSERT INTO `sys_org` VALUES (1401861234604605441, 0, '0', '12334', 'D公司', 1, NULL, 1, '0', 0, 1, '2021-06-07 19:18:58', 1, '2021-06-07 19:18:58', '2021-06-11 18:06:56'); -INSERT INTO `sys_org` VALUES (1401861575953842177, 1401861234604605441, '0,1401861234604605441', '12334_111', 'D公司的XXX部门', 1, NULL, 1, '0', 0, 1, '2021-06-07 19:20:20', 1, '2021-06-07 19:20:20', '2021-06-11 18:06:56'); -INSERT INTO `sys_org` VALUES (1401861991370293250, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '12334_111_111', '不知道哪儿个岗位', 1, NULL, 1, '0', 12, 1, '2021-06-07 19:21:59', 1, '2021-10-14 16:26:18', '2021-10-14 16:24:34'); -INSERT INTO `sys_org` VALUES (1401873858511667201, 0, '0', '123123', 'E公司', 1, NULL, 1, '0', 1, 1, '2021-06-07 20:09:08', 1313694379541635074, '2021-11-30 18:04:56', '2021-11-30 18:02:41'); -INSERT INTO `sys_org` VALUES (1401873907685687297, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '123123_123', '123', 1, '123333', 1, '0', 1, 1, '2021-06-07 20:09:20', 1, '2021-10-14 16:26:18', '2021-10-14 16:24:34'); -INSERT INTO `sys_org` VALUES (1448921834744115202, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '123123_123_1212', '啊啊啊啊', 2, NULL, 1, '0', 0, 1, '2021-10-15 16:01:00', 1, '2021-10-15 16:01:00', '2021-10-15 15:59:17'); -INSERT INTO `sys_org` VALUES (1448921889865658369, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '123123_123_12312344', '测试测试', 3, NULL, 1, '0', 0, 1, '2021-10-15 16:01:13', 1, '2021-10-15 16:01:13', '2021-10-15 15:59:30'); -INSERT INTO `sys_org` VALUES (1460603031799238658, 0, '0', 'test', '测试', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:37:54', 1, '2021-11-16 21:37:54', '2021-11-30 15:40:45'); -INSERT INTO `sys_org` VALUES (1460604434219307009, 1460603031799238658, '0,1460603031799238658', 'test_111', '测试2', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:43:28', 1, '2021-11-16 21:43:28', '2021-11-30 15:40:45'); -INSERT INTO `sys_org` VALUES (1460605641805565953, 0, '0', 'test2', '测试111', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:48:16', 1, '2021-11-16 21:48:16', '2021-11-30 15:40:39'); -INSERT INTO `sys_org` VALUES (1465586952575815681, 0, '0', 'xxxx', 'XXXX集团', 1, NULL, 0, '0', 0, 1, '2021-11-30 15:42:13', 1, '2021-11-30 15:42:13', '2021-11-30 15:39:58'); -INSERT INTO `sys_org` VALUES (1465587033538465793, 1465586952575815681, '0,1465586952575815681', 'xxxx_bj', '北京子公司', 1, NULL, 0, '0', 0, 1, '2021-11-30 15:42:33', 1, '2021-11-30 15:42:33', '2021-11-30 15:40:17'); -INSERT INTO `sys_org` VALUES (1465587103902109698, 1465586952575815681, '0,1465586952575815681', 'xxxx_sh', '上海子公司', 2, NULL, 0, '0', 0, 1, '2021-11-30 15:42:50', 1, '2021-11-30 15:42:50', '2021-11-30 15:40:34'); +INSERT INTO `sys_org` VALUES (1332710973848449026, 0, '0', '0,1332710973848449026', '0011', 'A公司', 1, NULL, 1, '0', 11, 1313694379541635074, '2020-11-28 23:40:31', 1, '2021-06-08 11:38:29', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1332878633177477122, 0, '0', '0,1332878633177477122', '0013', 'C公司', 3, NULL, 1, '0', 10, 1313694379541635074, '2020-11-29 10:46:44', 1, '2021-06-07 19:52:59', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1332879851278856193, 1332710973848449026, '0,1332710973848449026', '0,1332710973848449026,1332879851278856193', '0011_123', 'A公司B部门', 1, NULL, 1, '0', 6, 1313694379541635074, '2020-11-29 10:51:35', 1313694379541635074, '2021-02-25 13:31:17', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1332880775317581826, 1332879851278856193, '0,1332710973848449026,1332879851278856193', '0,1332710973848449026,1332879851278856193,1332880775317581826', '0011_123_003', '测试岗', 1, NULL, 1, '0', 5, 1313694379541635074, '2020-11-29 10:55:15', 1313694379541635074, '2021-02-25 13:30:51', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1336209704187879425, 0, '0', '0,1336209704187879425', '0012', 'B公司', 2, NULL, 1, '0', 3, 1313694379541635074, '2020-12-08 15:23:14', 1, '2021-01-11 19:19:51', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1401861234604605441, 0, '0', '0,1401861234604605441', '12334', 'D公司', 1, NULL, 1, '0', 0, 1, '2021-06-07 19:18:58', 1, '2021-06-07 19:18:58', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1401861575953842177, 1401861234604605441, '0,1401861234604605441', '0,1401861234604605441,1401861575953842177', '12334_111', 'D公司的XXX部门', 1, NULL, 1, '0', 0, 1, '2021-06-07 19:20:20', 1, '2021-06-07 19:20:20', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1401861991370293250, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '0,1401861234604605441,1401861575953842177,1401873907685687297,1401861991370293250', '12334_111_111', '不知道哪儿个岗位', 1, NULL, 1, '0', 12, 1, '2021-06-07 19:21:59', 1, '2021-10-14 16:26:18', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1401873858511667201, 0, '0', '0,1401873858511667201', '123123', 'E公司', 1, NULL, 1, '0', 1, 1, '2021-06-07 20:09:08', 1313694379541635074, '2021-11-30 18:04:56', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1401873907685687297, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '0,1401861234604605441,1401861575953842177,1401873907685687297', '123123_123', '123', 1, '123333', 1, '0', 1, 1, '2021-06-07 20:09:20', 1, '2021-10-14 16:26:18', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1448921834744115202, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921834744115202', '123123_123_1212', '啊啊啊啊', 2, NULL, 1, '0', 0, 1, '2021-10-15 16:01:00', 1, '2021-10-15 16:01:00', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1448921889865658369, 1401873907685687297, '0,1401861234604605441,1401861575953842177,1401873907685687297', '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369', '123123_123_12312344', '测试测试', 3, NULL, 1, '0', 0, 1, '2021-10-15 16:01:13', 1, '2021-10-15 16:01:13', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1460603031799238658, 0, '0', '0,1460603031799238658', 'test', '测试', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:37:54', 1, '2021-11-16 21:37:54', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1460604434219307009, 1460603031799238658, '0,1460603031799238658', '0,1460603031799238658,1460604434219307009', 'test_111', '测试2', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:43:28', 1, '2021-11-16 21:43:28', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1460605641805565953, 0, '0', '0,1460605641805565953', 'test2', '测试111', 1, NULL, 0, '1', 0, 1, '2021-11-16 21:48:16', 1, '2021-11-16 21:48:16', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1465586952575815681, 0, '0', '0,1465586952575815681', 'xxxx', 'XXXX集团', 1, NULL, 0, '0', 0, 1, '2021-11-30 15:42:13', 1, '2021-11-30 15:42:13', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1465587033538465793, 1465586952575815681, '0,1465586952575815681', '0,1465586952575815681,1465587033538465793', 'xxxx_bj', '北京子公司', 1, NULL, 0, '0', 0, 1, '2021-11-30 15:42:33', 1, '2021-11-30 15:42:33', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1465587103902109698, 1465586952575815681, '0,1465586952575815681', '0,1465586952575815681,1465587103902109698', 'xxxx_sh', '上海子公司', 2, NULL, 0, '0', 0, 1, '2021-11-30 15:42:50', 1, '2021-11-30 15:42:50', '2021-12-01 13:03:45'); +INSERT INTO `sys_org` VALUES (1465973116898017281, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '0,1401861234604605441,1401861575953842177,1465973116898017281', '12334_111_13334', 'XXX开发组', 2, NULL, 1, '0', 0, 1465886867659096066, '2021-12-01 17:16:42', 1465886867659096066, '2021-12-01 17:16:42', '2021-12-01 17:14:30'); +INSERT INTO `sys_org` VALUES (1465996676186124290, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '0,1401861234604605441,1401861575953842177,1465996676186124290', '12334_111_43223', '测试组', 3, NULL, 1, '0', 0, 1465886867659096066, '2021-12-01 18:50:19', 1465886867659096066, '2021-12-01 18:50:19', '2021-12-01 18:48:05'); -- ---------------------------- -- Table structure for sys_role @@ -4203,16 +4237,32 @@ CREATE TABLE `sys_role_menu_ref` ( -- ---------------------------- INSERT INTO `sys_role_menu_ref` VALUES (1465622049706422296, 1, 2); INSERT INTO `sys_role_menu_ref` VALUES (1312770352622878721, 1, 1312770323526991874); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375172, 3, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200001, 3, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517699, 3, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1312770352614490113, 4, 1312770323526991874); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517710, 4, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507728, 1312756531833356289, 2); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375174, 1313789204920131585, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200003, 1313789204920131585, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517701, 1313789204920131585, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375175, 1313789308506857474, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200004, 1313789308506857474, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517702, 1313789308506857474, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375176, 1313789400169177089, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200005, 1313789400169177089, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517703, 1313789400169177089, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375177, 1313789529840279554, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200006, 1313789529840279554, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517704, 1313789529840279554, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375173, 1313806847370620930, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200002, 1313806847370620930, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517700, 1313806847370620930, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375178, 1313864645827678210, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200007, 1313864645827678210, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517705, 1313864645827678210, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375179, 1313864777918894082, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200008, 1313864777918894082, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517706, 1313864777918894082, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517711, 1313867061172195330, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517712, 1313867122731995137, 1463431580473810945); @@ -4226,14 +4276,14 @@ INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517715, 1313885644824522754 INSERT INTO `sys_role_menu_ref` VALUES (1465622049576398850, 1314066547072872450, 2); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428034, 1314066547072872450, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960386, 1314066547072872450, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810177, 1314066547072872450, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744898, 1314066547072872450, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375170, 1314066547072872450, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325360091137, 1314066547072872450, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923286351874, 1314066547072872450, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507713, 1314066863436640258, 2); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428035, 1314066863436640258, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960387, 1314066863436640258, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810178, 1314066863436640258, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744899, 1314066863436640258, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375171, 1314066863436640258, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325360091138, 1314066863436640258, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517697, 1314066863436640258, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507753, 1314068325453574145, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507773, 1314071137365307394, 2); @@ -4286,33 +4336,33 @@ INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507717, 1315201864219840513 INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507718, 1315201925477650433, 2); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428036, 1327085543511293954, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960388, 1327085543511293954, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810179, 1327085543511293954, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744900, 1327085543511293954, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375188, 1327085543511293954, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200017, 1327085543511293954, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517722, 1327085543511293954, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428037, 1327085856930660353, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960389, 1327085856930660353, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810180, 1327085856930660353, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744901, 1327085856930660353, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375189, 1327085856930660353, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200018, 1327085856930660353, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517723, 1327085856930660353, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428038, 1327086205548625921, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960390, 1327086205548625921, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810181, 1327086205548625921, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744902, 1327086205548625921, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375190, 1327086205548625921, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200019, 1327086205548625921, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517724, 1327086205548625921, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974880428039, 1327086298750255105, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960391, 1327086298750255105, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810182, 1327086298750255105, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744903, 1327086298750255105, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375191, 1327086298750255105, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200020, 1327086298750255105, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517725, 1327086298750255105, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342594, 1327086378794352642, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960392, 1327086378794352642, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810183, 1327086378794352642, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744904, 1327086378794352642, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375192, 1327086378794352642, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200021, 1327086378794352642, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517726, 1327086378794352642, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342595, 1327086433609711617, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960393, 1327086433609711617, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810184, 1327086433609711617, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744905, 1327086433609711617, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375193, 1327086433609711617, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200022, 1327086433609711617, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517727, 1327086433609711617, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507755, 1327893773049262082, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507756, 1327894701135491073, 2); @@ -4324,33 +4374,43 @@ INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507760, 1327903778221699074 INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507761, 1329374800267452417, 2); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342598, 1330365141900591105, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960396, 1330365141900591105, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810187, 1330365141900591105, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744908, 1330365141900591105, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375196, 1330365141900591105, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200025, 1330365141900591105, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820866, 1330365141900591105, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342599, 1330365525440331778, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960397, 1330365525440331778, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810188, 1330365525440331778, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744909, 1330365525440331778, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375197, 1330365525440331778, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200026, 1330365525440331778, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820867, 1330365525440331778, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342600, 1330365570587820033, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960398, 1330365570587820033, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810189, 1330365570587820033, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744910, 1330365570587820033, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375198, 1330365570587820033, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200027, 1330365570587820033, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820868, 1330365570587820033, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342601, 1330365615181660162, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960399, 1330365615181660162, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810190, 1330365615181660162, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744911, 1330365615181660162, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375199, 1330365615181660162, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200028, 1330365615181660162, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820869, 1330365615181660162, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342602, 1330365717015166977, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960400, 1330365717015166977, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810191, 1330365717015166977, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744912, 1330365717015166977, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375200, 1330365717015166977, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200029, 1330365717015166977, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820870, 1330365717015166977, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375183, 1332662450423635969, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200012, 1332662450423635969, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517717, 1332662450423635969, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375184, 1332662689314414594, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200013, 1332662689314414594, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517718, 1332662689314414594, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375185, 1332662758860169217, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200014, 1332662758860169217, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517719, 1332662758860169217, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375186, 1332662809711910913, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200015, 1332662809711910913, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517720, 1332662809711910913, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375187, 1332662858294534146, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200016, 1332662858294534146, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517721, 1332662858294534146, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507739, 1335439751687208961, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507741, 1335439904372457474, 2); @@ -4359,64 +4419,68 @@ INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507742, 1335440081128816642 INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507743, 1335440153140822017, 2); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342603, 1337719928086458369, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910942457858, 1337719928086458369, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810192, 1337719928086458369, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744913, 1337719928086458369, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375201, 1337719928086458369, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200030, 1337719928086458369, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820871, 1337719928086458369, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342604, 1337720128930705409, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846466, 1337720128930705409, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810193, 1337720128930705409, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744914, 1337720128930705409, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375202, 1337720128930705409, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200031, 1337720128930705409, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820872, 1337720128930705409, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342596, 1337796232345407489, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960394, 1337796232345407489, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810185, 1337796232345407489, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744906, 1337796232345407489, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375194, 1337796232345407489, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200023, 1337796232345407489, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517728, 1337796232345407489, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342597, 1337796311940714498, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910866960395, 1337796311940714498, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810186, 1337796311940714498, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744907, 1337796311940714498, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375195, 1337796311940714498, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200024, 1337796311940714498, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820865, 1337796311940714498, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342605, 1340626549594677250, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846467, 1340626549594677250, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810194, 1340626549594677250, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744915, 1340626549594677250, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375203, 1340626549594677250, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200032, 1340626549594677250, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820873, 1340626549594677250, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342606, 1340626612895113217, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846468, 1340626612895113217, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810195, 1340626612895113217, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744916, 1340626612895113217, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375204, 1340626612895113217, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200033, 1340626612895113217, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820874, 1340626612895113217, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342607, 1340626666078887937, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846469, 1340626666078887937, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810196, 1340626666078887937, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744917, 1340626666078887937, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375205, 1340626666078887937, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200034, 1340626666078887937, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820875, 1340626666078887937, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342608, 1340626895356321793, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846470, 1340626895356321793, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810197, 1340626895356321793, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744918, 1340626895356321793, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375206, 1340626895356321793, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200035, 1340626895356321793, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820876, 1340626895356321793, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342609, 1340626939119689729, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846471, 1340626939119689729, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810198, 1340626939119689729, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744919, 1340626939119689729, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375207, 1340626939119689729, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200036, 1340626939119689729, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820877, 1340626939119689729, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342610, 1340626988251766786, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846472, 1340626988251766786, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810199, 1340626988251766786, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744920, 1340626988251766786, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375208, 1340626988251766786, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200037, 1340626988251766786, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820878, 1340626988251766786, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1448926974943342611, 1340627032942075906, 1448924556381843458); INSERT INTO `sys_role_menu_ref` VALUES (1448926910950846473, 1340627032942075906, 1448924616192618497); -INSERT INTO `sys_role_menu_ref` VALUES (1448926867237810200, 1340627032942075906, 1448924680386441217); -INSERT INTO `sys_role_menu_ref` VALUES (1448926826049744921, 1340627032942075906, 1448924738452385794); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375209, 1340627032942075906, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200038, 1340627032942075906, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923382820879, 1340627032942075906, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507747, 1351012936860155906, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507748, 1351013587816136705, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507744, 1360233188433977345, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507745, 1360233383397810177, 2); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375181, 1370051609388388353, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200010, 1370051609388388353, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517708, 1370051609388388353, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375182, 1370404146704654337, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200011, 1370404146704654337, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517709, 1370404146704654337, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507719, 1380173787882696705, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507734, 1387633500164599809, 2); @@ -4437,7 +4501,11 @@ INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507771, 1399667141430452225 INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517716, 1448537070279237634, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507720, 1460629524738764802, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049706422295, 1460639200696160257, 2); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375210, 1460639200696160257, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200039, 1460639200696160257, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517698, 1460639200696160257, 1463431580473810945); +INSERT INTO `sys_role_menu_ref` VALUES (1465888361674375180, 1465587677695479810, 1448924680386441217); +INSERT INTO `sys_role_menu_ref` VALUES (1465888325427200009, 1465587677695479810, 1448924738452385794); INSERT INTO `sys_role_menu_ref` VALUES (1465588923311517707, 1465587677695479810, 1463431580473810945); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507721, 1465621050623209474, 2); INSERT INTO `sys_role_menu_ref` VALUES (1465622049643507722, 1465621206781341698, 2); @@ -4513,11 +4581,14 @@ CREATE TABLE `sys_user` ( -- Records of sys_user -- ---------------------------- INSERT INTO `sys_user` VALUES (1, 'system', '10b80e7442518fee52191617e602527a', '2', 'gu4ix7czy8g2x4xf5td7', '1', '超级管理员', '15321010110', '112', 'http://upload.bedebug.com/20210603/162433012495676994QGGVX.jpg', '', 'meet.parker@foxmail.com', '没有自学能力的人没有未来', '', '0', '0', 0, '1', '0', 95, 1, '2020-09-25 15:03:22', 1, '2021-05-04 01:59:11', '2021-11-24 12:54:22'); -INSERT INTO `sys_user` VALUES (1313694379541635074, 'demo', '943c7c3d9cf49c5651827e9285ce3ca8', '2', 'r6u2ksikurf30o8vk76r', '1', '演示用户', '15321010110', 'test_001', 'http://upload.bedebug.com/20211013/1635589382475625280EW3N.jpg', '', 'meet.parker@foxmail.com', NULL, NULL, '1', '1', 1, '0', '0', 4, 1, '2020-10-06 23:15:22', 1, '2021-11-30 13:00:41', '2021-11-30 13:11:58'); +INSERT INTO `sys_user` VALUES (1313694379541635074, 'demo', '943c7c3d9cf49c5651827e9285ce3ca8', '2', 'r6u2ksikurf30o8vk76r', '1', '租户内部管理员', '15311111111', 'test_001', 'http://upload.bedebug.com/20211013/1635589382475625280EW3N.jpg', '', 'meet.parker@foxmail.com', NULL, NULL, '1', '0', 1, '0', '0', 6, 1, '2020-10-06 23:15:22', 1465879900211294210, '2021-12-01 16:42:13', '2021-12-01 16:39:59'); INSERT INTO `sys_user` VALUES (1315218541317750785, 'zhangsan', '4beeb20b06086f97744aa5de7d9bd499', '2', 'b3ab5dhf2j72e0a9f25f', '1', '张三', NULL, '123123', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '0', 3, 1, '2020-10-11 17:11:50', 1, '2021-06-11 17:44:11', '2021-06-12 01:24:48'); INSERT INTO `sys_user` VALUES (1315224823500120066, 'lyf', '6a1e7a25deca6805a653b55a27592600', '2', 'j6wyhiepqqgjg6kxgmy0', '1', '刘亦菲', NULL, '0101001', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '0', 0, 1313694379541635074, '2020-10-11 17:36:48', 1313694379541635074, '2020-10-11 17:36:48', '2021-10-15 16:22:55'); -INSERT INTO `sys_user` VALUES (1448923198635307009, 'test1', '8b4d42032b1f60a59241e4de393831d9', '2', 'gcbvakpi75781z63nqyl', '1', '范冰冰', NULL, '1111', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '0', 1, 1, '2021-10-15 16:06:25', 1, '2021-10-15 16:08:26', '2021-10-15 16:13:02'); +INSERT INTO `sys_user` VALUES (1448923198635307009, 'test1', '8b4d42032b1f60a59241e4de393831d9', '2', 'gcbvakpi75781z63nqyl', '1', '范冰冰', NULL, '1111', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '1', 1, 1, '2021-10-15 16:06:25', 1, '2021-10-15 16:08:26', '2021-12-01 11:31:24'); INSERT INTO `sys_user` VALUES (1465171199435362305, 'admin', 'dfa0e5772be0bbb6dff2b8039aefe67a', '2', 'mkea8ngwiz29ejaxwode', '1', '系统管理员', NULL, '01001', NULL, '', NULL, NULL, NULL, '1', '0', 0, '1', '0', 5, 1, '2021-11-29 12:10:10', 1, '2021-11-30 17:11:49', '2021-11-30 17:09:34'); +INSERT INTO `sys_user` VALUES (1465879900211294210, 'tenant', '2ac43879f3ac98b98fb97557f24b3ccb', '2', 'aubsfx07wtsv5ixvg570', '1', '租户管理员', '15300000000', '123123', NULL, '', 'meet.parker@foxmail.com', NULL, NULL, '0', '1', 1, '0', '0', 1, 1, '2021-12-01 11:06:17', 1, '2021-12-01 11:06:53', '2021-12-01 11:16:05'); +INSERT INTO `sys_user` VALUES (1465886867659096066, 'dept', '80eaeb81f4c857028219033fb26d1d3a', '2', 'zhklh5tjcnrs8lixaws4', '1', '部门管理员', NULL, '123213213', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '0', 0, 1313694379541635074, '2021-12-01 11:33:59', 1313694379541635074, '2021-12-01 11:33:59', '2021-12-01 11:32:49'); +INSERT INTO `sys_user` VALUES (1465991640378986498, 'songyi', '5f7b84943aea0ea831395655f3c7053b', '2', 'hq6tsfrd2c5in03rxbs8', '1', '宋轶', NULL, '432431', NULL, '', NULL, NULL, NULL, '1', '0', 1, '0', '0', 0, 1465886867659096066, '2021-12-01 18:30:19', 1465886867659096066, '2021-12-01 18:30:19', '2021-12-01 18:50:47'); -- ---------------------------- -- Table structure for sys_user_org_ref @@ -4539,9 +4610,16 @@ CREATE TABLE `sys_user_org_ref` ( INSERT INTO `sys_user_org_ref` VALUES (1403403014114373634, 1315218541317750785, 1332879851278856193, '0,1332710973848449026,1332879851278856193', '1'); INSERT INTO `sys_user_org_ref` VALUES (1448922152303259650, 1315224823500120066, 1448921834744115202, '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921834744115202', '1'); INSERT INTO `sys_user_org_ref` VALUES (1448925001863065602, 1448923198635307009, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '1'); -INSERT INTO `sys_user_org_ref` VALUES (1448928324691341314, 1313694379541635074, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '1'); INSERT INTO `sys_user_org_ref` VALUES (1460606496244011009, 1460603214817693697, 1460604434219307009, '0,1460603031799238658,1460604434219307009', '1'); INSERT INTO `sys_user_org_ref` VALUES (1465587924685459458, 1465171199435362305, 1465586952575815681, '0,1465586952575815681', '1'); +INSERT INTO `sys_user_org_ref` VALUES (1465886975591120898, 1465886867659096066, 1401861575953842177, '0,1401861234604605441,1401861575953842177', '1'); +INSERT INTO `sys_user_org_ref` VALUES (1465964516926427137, 1313694379541635074, 1401861234604605441, '0,1401861234604605441', '1'); +INSERT INTO `sys_user_org_ref` VALUES (1465964516926427138, 1313694379541635074, 1401873858511667201, '0,1401873858511667201', '0'); +INSERT INTO `sys_user_org_ref` VALUES (1465964516926427139, 1313694379541635074, 1332710973848449026, '0,1332710973848449026', '0'); +INSERT INTO `sys_user_org_ref` VALUES (1465988921358503938, 1465988919403958274, 1448921889865658369, '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369', '1'); +INSERT INTO `sys_user_org_ref` VALUES (1465988921421418498, 1465988919403958274, 1448921889865658369, '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369', '0'); +INSERT INTO `sys_user_org_ref` VALUES (1465991642006376449, 1465991640378986498, 1448921889865658369, '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369', '1'); +INSERT INTO `sys_user_org_ref` VALUES (1465991642006376450, 1465991640378986498, 1448921889865658369, '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369', '0'); -- ---------------------------- -- Table structure for sys_user_role_ref @@ -4584,7 +4662,10 @@ INSERT INTO `sys_user_role_ref` VALUES (1460634814041329666, 1460634813961637890 INSERT INTO `sys_user_role_ref` VALUES (1460635686762745857, 1460635686724997121, 1313146842146213890, '1'); INSERT INTO `sys_user_role_ref` VALUES (1460635992343007233, 1460635865448534017, 2, '1'); INSERT INTO `sys_user_role_ref` VALUES (1465589100898349058, 1465171199435362305, 2, '1'); -INSERT INTO `sys_user_role_ref` VALUES (1465622292279799809, 1313694379541635074, 1463431580473810945, '1'); +INSERT INTO `sys_user_role_ref` VALUES (1465882374703853570, 1465879900211294210, 1463431580473810945, '1'); +INSERT INTO `sys_user_role_ref` VALUES (1465886929952899073, 1465886867659096066, 1448924680386441217, '1'); +INSERT INTO `sys_user_role_ref` VALUES (1465964680936296449, 1313694379541635074, 1448924680386441217, '1'); +INSERT INTO `sys_user_role_ref` VALUES (1465997319281979394, 1465991640378986498, 1448924556381843458, '1'); -- ---------------------------- -- Table structure for test_car @@ -4605,7 +4686,7 @@ CREATE TABLE `test_car` ( `update_by` bigint(19) NOT NULL COMMENT '修改用户', `update_time` datetime(0) NOT NULL COMMENT '修改日期', `ts` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '时间戳', - `org_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '组织机构组', + `org_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组织机构组', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试汽车' ROW_FORMAT = Dynamic; @@ -4623,6 +4704,8 @@ INSERT INTO `test_car` VALUES (1448923884416593921, '演示汽车', '1111', '111 INSERT INTO `test_car` VALUES (1448927202366894081, '自己_范冰冰', '11111', '11111', '2021-10-04', '1', 1, '0', 1, 1448923198635307009, '2021-10-15 16:22:19', 1, '2021-10-15 16:34:37', '2021-10-15 16:32:54', '0,1401861234604605441,1401861575953842177'); INSERT INTO `test_car` VALUES (1448927860478357506, '自己_刘亦菲', '111', '2222', '2021-10-04', '1', 1, '0', 1, 1315224823500120066, '2021-10-15 16:24:56', 1, '2021-10-15 16:34:28', '2021-10-15 16:32:45', '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921834744115202'); INSERT INTO `test_car` VALUES (1448940392903516161, '自己_演示', '123123', '123123', '2021-10-04', '1', 1, '0', 1, 1313694379541635074, '2021-10-15 17:14:44', 1313694379541635074, '2021-11-30 18:05:11', '2021-11-30 18:02:56', '0,1401861234604605441,1401861575953842177'); +INSERT INTO `test_car` VALUES (1465997520956698625, '宋轶自己的车', '油车', '宝马', '2021-12-01', '1', 1, '0', 0, 1465991640378986498, '2021-12-01 18:53:41', 1465991640378986498, '2021-12-01 18:53:41', '2021-12-01 18:51:27', '0,1401861234604605441,1401861575953842177,1401873907685687297,1448921889865658369'); +INSERT INTO `test_car` VALUES (1465999901249384450, '测试汽车', '测试汽车', '测试汽车', '2021-12-01', '1', 1, '0', 0, 1465879900211294210, '2021-12-01 19:03:08', 1465879900211294210, '2021-12-01 19:03:08', '2021-12-01 19:00:54', NULL); -- ---------------------------- -- Table structure for test_car_copy1