Closed KoToXir closed 1 year ago
MySql 5.7
后台报错没有
后台报错没有 全是info级别的log,无明显报错(这次换了个表名,可能看起来和问题中描述的表名稍有不同)
2023-09-11 09:18:54.331 [http-nio-8080-exec-9] INFO o.j.codegenerate.generate.impl.CodeGenerateOne:120 - load template data: {primaryKeyPolicy=java.lang.String, serialVersionUID=-5839715798369377650, entityPackage=vuecode, entityName=JdvRlsInfo, primaryKeyField=id, columns=[{"fieldDbName":"cust_id","fieldName":"custId","filedComment":"custId","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"7","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"product","fieldName":"product","filedComment":"product","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"8","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"mask_name","fieldName":"maskName","filedComment":"maskName","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"9","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"jdv_path","fieldName":"jdvPath","filedComment":"jdvPath","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"10","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"status","fieldName":"status","filedComment":"status","fieldType":"java.lang.Integer","fieldDbType":"int","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"11","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"iz_delete","fieldName":"izDelete","filedComment":"izDelete","fieldType":"java.lang.Integer","fieldDbType":"int","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"12","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}], tableVo={"tableName":"jdv_rls_info","ftlDescription":"jdv_rls_info","primaryKeyPolicy":"null","sequenceCode":"null","entityPackage":"vuecode","entityName":"JdvRlsInfo","fieldRowNum":"1","searchFieldNum":"-1","fieldRequiredNum":"4"}, originalColumns=[{"fieldDbName":"id","fieldName":"id","filedComment":"id","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"N","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"1","isKey":"Y","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"Y","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"create_by","fieldName":"createBy","filedComment":"创建人","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"2","isKey":"N","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"create_time","fieldName":"createTime","filedComment":"创建日期","fieldType":"java.util.Date","fieldDbType":"Datetime","classType":"datetime","classType_row":"datetime","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"datetime","fieldOrderNum":"3","isKey":"N","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"update_by","fieldName":"updateBy","filedComment":"更新人","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"4","isKey":"N","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"update_time","fieldName":"updateTime","filedComment":"更新日期","fieldType":"java.util.Date","fieldDbType":"Datetime","classType":"datetime","classType_row":"datetime","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"datetime","fieldOrderNum":"5","isKey":"N","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"sys_org_code","fieldName":"sysOrgCode","filedComment":"所属部门","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"6","isKey":"N","isShow":"N","isShowList":"N","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"cust_id","fieldName":"custId","filedComment":"custId","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"7","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"product","fieldName":"product","filedComment":"product","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"8","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"mask_name","fieldName":"maskName","filedComment":"maskName","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"9","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"jdv_path","fieldName":"jdvPath","filedComment":"jdvPath","fieldType":"java.lang.String","fieldDbType":"string","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"10","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"status","fieldName":"status","filedComment":"status","fieldType":"java.lang.Integer","fieldDbType":"int","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"11","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}, {"fieldDbName":"iz_delete","fieldName":"izDelete","filedComment":"izDelete","fieldType":"java.lang.Integer","fieldDbType":"int","classType":"text","classType_row":"text","optionType":"","charmaxLength":"","precision":"null","scale":"null","nullable":"Y","fieldLength":"120","fieldHref":"null","fieldValidType":"null","fieldDefault":"null","fieldShowType":"text","fieldOrderNum":"12","isKey":"N","isShow":"Y","isShowList":"Y","isQuery":"N","uploadnum":"null","defaultVal":"null","sort":"N","readonly":"N","queryMode":"single","dictField":"null","dictTable":"null","dictText":"null"}], bussiPackage=org.jeecg.modules.demo, tableName=jdv_rls_info} 2023-09-11 09:18:54.344 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:55 - load template from templateRootDir = 'D:\project\jdvms\jeecg-boot\jeecg-module-system\jeecg-system-biz\target\classes\jeecg\code-template-online',stylePath ='default.one', out GenerateRootDir:D:\autocode 2023-09-11 09:18:54.751 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\${entityName}List.vuei ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvRlsInfoList.vue 2023-09-11 09:18:54.926 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\${entityName}api.tsi ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvRlsInfo.api.ts 2023-09-11 09:18:54.963 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\${entityName}data.tsi ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvRlsInfo.data.ts 2023-09-11 09:18:55.028 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\${entityName}_menu_insert.sql ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvRlsInfo_menu_insert.sql 2023-09-11 09:18:55.076 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\components\${entityName}Form.vuei ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\components\JdvRlsInfoForm.vue 2023-09-11 09:18:55.189 [http-nio-8080-exec-9] INFO org.jeecgframework.codegenerate.generate.impl.a.a:129 - [generate] template:default\one\java\${bussiPackage}\${entityPackage}\vue3\components\${entityName}Modal.vuei ==> D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\components\JdvRlsInfoModal.vue 2023-09-11 09:18:55.239 [http-nio-8080-exec-9] INFO o.j.codegenerate.generate.impl.CodeGenerateOne:149 - ----- jeecg-boot ---- generate code success =======> 表名:jdv_rls_info
不清楚,应该是环境问题
重新clone了一遍前后端项目+重做数据库+redis(win)从3.x升级到7.x,,问题依旧
版本号:3.5.4(--重构表字典逻辑,深度解决SQL注入漏洞问题(修复导致的bug修复)--)
前端版本:vue3版
问题描述:
Online表单开发→代码生成→不管选哪种vue风格只能生成前端代码 框架未做任何改动(除了数据库及redis配置) 程序运行目录全为英文路径无特殊字符
截图&代码:
图片由于网络环境无法上传,生成内容如下:
代码生成结果 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvDataList.vue 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvData.api.ts 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvData.data.ts 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\JdvData_menu_insert.sql 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\components\JdvDataForm.vue 生成成功:D:\autocode\src/main/java\org\jeecg\modules\demo\vuecode\vue3\components\JdvDataModal.vue
友情提示(为了提高issue处理效率):