!167 DO生成模板,当主键是String类型,模板有误

Merge pull request !167 from hezhenhui/#I578CG
This commit is contained in:
芋道源码 2022-05-13 10:18:41 +00:00 committed by Gitee
commit cd4df24933
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -30,7 +30,7 @@ public class ${table.className}DO extends BaseDO {
#end #end
*/ */
#if (${column.primaryKey})##处理主键 #if (${column.primaryKey})##处理主键
@TableId#if (${column.javaType} == 'String')type = IdType.INPUT)#end @TableId#if (${column.javaType} == 'String')(type = IdType.INPUT)#end
#end #end
private ${column.javaType} ${column.javaField}; private ${column.javaType} ${column.javaField};
#end #end