mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-28 23:55:04 +08:00
update ToolsCheck table index
This commit is contained in:
@@ -15,7 +15,10 @@ import java.util.Date;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "toolschk")
|
@Table(name = "toolschk", indexes = {
|
||||||
|
@Index(columnList = "block,chktime,status"),
|
||||||
|
@Index(columnList = "block,chktime")
|
||||||
|
})
|
||||||
@DynamicInsert
|
@DynamicInsert
|
||||||
public class ToolsCheck {
|
public class ToolsCheck {
|
||||||
|
|
||||||
@@ -28,7 +31,6 @@ public class ToolsCheck {
|
|||||||
private Integer block;
|
private Integer block;
|
||||||
@Column(name = "chktime")
|
@Column(name = "chktime")
|
||||||
private Date checkTime = new Date();
|
private Date checkTime = new Date();
|
||||||
@OrderColumn
|
|
||||||
private Integer status = 0;
|
private Integer status = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user