|
看到模板里有
<#if jeecg_primary_key_policy == 'uuid'>
@Id
@GeneratedValue(generator = "paymentableGenerator")
@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
</#if>
<#if jeecg_primary_key_policy == 'identity'>
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
</#if>
<#if jeecg_primary_key_policy == 'sequence'>
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE,generator="sequence")
@SequenceGenerator(name="sequence",sequenceName="${jeecg_sequence_code}",allocationSize=1)
</#if>
jeecg_primary_key_policy 这是在哪设置的呢
|
|