EasyCode icon indicating copy to clipboard operation
EasyCode copied to clipboard

基于IntelliJ IDEA开发的代码生成插件,支持自定义任意模板(Java,html,js,xml)。只要是与数据库相关的代码都可以通过自定义模板来生成。支持数据库类型与java类型映射关系配置。支持同时生成生成多张表的代码。...

Results 65 EasyCode issues
Sort by recently updated
recently updated
newest added

IDEA 2022.1和IDEA 2023.1 (Ultimate Edition)都是这个错误 easy code:1.2.8 REALEASE macOS Monterey 12.6.4 java.lang.AssertionError at com.intellij.util.xmlb.OptionTagBinding.deserialize(OptionTagBinding.java:106) at com.intellij.util.xmlb.BasePrimitiveBinding.deserializeUnsafe(BasePrimitiveBinding.java:54) at com.intellij.util.xmlb.BeanBinding.deserializeInto(BeanBinding.java:241) at com.intellij.util.xmlb.BeanBinding.deserializeInto(BeanBinding.java:199) at com.intellij.util.xmlb.BeanBinding.deserialize(BeanBinding.java:142) at com.intellij.util.xmlb.NotNullDeserializeBinding.deserializeUnsafe(NotNullDeserializeBinding.java:20) at com.intellij.util.xmlb.AbstractCollectionBinding.deserializeItem(AbstractCollectionBinding.java:245) at com.intellij.util.xmlb.CollectionBinding.doDeserializeList(CollectionBinding.java:34) at com.intellij.util.xmlb.AbstractCollectionBinding.deserializeList(AbstractCollectionBinding.java:182)...

请问如何获取字段是否设置了自增id?columnInfo.obj里面有吗?

具体异常信息如下 java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.vfs.VirtualFile.getPath()" because the return value of "com.sjhy.plugin.tool.ModuleUtils.getModuleDir(com.intellij.openapi.module.Module)" is null at com.sjhy.plugin.service.impl.CodeGenerateServiceImpl.setModulePathAndImportList(CodeGenerateServiceImpl.java:211) at com.sjhy.plugin.service.impl.CodeGenerateServiceImpl.generate(CodeGenerateServiceImpl.java:150) at com.sjhy.plugin.service.impl.CodeGenerateServiceImpl.generate(CodeGenerateServiceImpl.java:113) at com.sjhy.plugin.ui.SelectSavePath.onOK(SelectSavePath.java:317) at com.sjhy.plugin.ui.SelectSavePath.doOKAction(SelectSavePath.java:266) at com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1857) at com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1811) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at...

问题:从云端导入模板,无法连接到服务器 idea版本:IntelliJ IDEA 2022.2.3 (Ultimate Edition) idea日志: java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connect to www.shujuhaiyang.com:80 [www.shujuhaiyang.com/0.0.0.0, www.shujuhaiyang.com/0:0:0:0:0:0:0:0] failed: Connection refused at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:132) at com.sjhy.plugin.tool.HttpUtils.handlerRequest(HttpUtils.java:132) at com.sjhy.plugin.tool.HttpUtils.get(HttpUtils.java:79) at com.sjhy.plugin.service.impl.NetworkExportImportSettingsServiceImpl.importConfig(NetworkExportImportSettingsServiceImpl.java:82) at com.sjhy.plugin.ui.component.ExportImportComponent.handlerImportAction(ExportImportComponent.java:153) at com.sjhy.plugin.ui.component.ExportImportComponent.access$100(ExportImportComponent.java:37) at...

Is it a bug? Opengauss cannot be used normally, and the generated entity cannot get the column. The current solution is to use a mirrored postgres to generate it first....

$!{mybatisSupport.vm} ![image](https://github.com/makejavas/EasyCode/assets/23629266/b88c1319-d99b-4734-a3ce-c03725bbae00)

Oracle 生成的Entity中column.comment为null

例: 项目分未api module,核心代码module等,插件支持配置不同的模块生成至不同的module目录,可以记录默认配置;