Commit fefdfac3 authored by chenzhao's avatar chenzhao

巡检ID自增策略修改

parent e7552b13
...@@ -36,8 +36,7 @@ public class BasicEntity implements Serializable{ ...@@ -36,8 +36,7 @@ public class BasicEntity implements Serializable{
private Date createDate; private Date createDate;
@Id @Id
@GeneratedValue(generator = "myIdGeneratorConfig", @GeneratedValue(generator = "myIdGeneratorConfig")
strategy = GenerationType.AUTO)
@GenericGenerator( @GenericGenerator(
name = "myIdGeneratorConfig", name = "myIdGeneratorConfig",
strategy = "com.yeejoin.amos.patrol.core.common.request.MyIdGeneratorConfig") strategy = "com.yeejoin.amos.patrol.core.common.request.MyIdGeneratorConfig")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment