Closed weirantongxue closed 6 months ago
在生成实体类的时候,如果数据库修改或者调整完字段顺序,生成字段在实体类,依旧是最后一位.还有一个问题是代码生成@Query注解路径有问题. 使用admin版本是v2.4.0 start使用的版本是v1.4.1
代码生成顺序
路径问题 代码生成的路径是 import top.charles7c.continew.starter.data.mybatis.plus.query.Query; import top.charles7c.continew.starter.data.mybatis.plus.query.QueryType; 实际导入路径是 import top.charles7c.continew.starter.data.core.annotation.Query; import top.charles7c.continew.starter.data.core.enums.QueryType;
无
使用admin版本是v2.4.0 start使用的版本是v1.4.1
No response
你是在原来版本的 ContiNew Admin 上升级了新的 ContiNew Starter,注意更新代码生成模板。
Bug 描述
在生成实体类的时候,如果数据库修改或者调整完字段顺序,生成字段在实体类,依旧是最后一位.还有一个问题是代码生成@Query注解路径有问题. 使用admin版本是v2.4.0 start使用的版本是v1.4.1
复现步骤
代码生成顺序
路径问题 代码生成的路径是 import top.charles7c.continew.starter.data.mybatis.plus.query.Query; import top.charles7c.continew.starter.data.mybatis.plus.query.QueryType; 实际导入路径是 import top.charles7c.continew.starter.data.core.annotation.Query; import top.charles7c.continew.starter.data.core.enums.QueryType;
预期结果
无
环境信息
使用admin版本是v2.4.0 start使用的版本是v1.4.1
额外补充
No response
确认