mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 12:35:07 +08:00
fixed:DO生成模板,当主键是String类型,模板有误
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user