|
@@ -1,8 +1,8 @@
|
|
|
package cn.com.qmth.examcloud.task.dao.entity;
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
+import javax.persistence.GeneratedValue;
|
|
|
import javax.persistence.Id;
|
|
|
-import javax.persistence.IdClass;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
import cn.com.qmth.examcloud.commons.web.jpa.JpaEntity;
|
|
@@ -16,21 +16,22 @@ import cn.com.qmth.examcloud.commons.web.jpa.JpaEntity;
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "EC_T_DATA_SYNC")
|
|
|
-@IdClass(DataSyncPK.class)
|
|
|
public class DataSyncEntity extends JpaEntity {
|
|
|
|
|
|
private static final long serialVersionUID = 1066874132817953168L;
|
|
|
|
|
|
+ @Id
|
|
|
+ @GeneratedValue
|
|
|
+ private Long id;
|
|
|
+
|
|
|
/**
|
|
|
* 同步请求组件
|
|
|
*/
|
|
|
- @Id
|
|
|
private String component;
|
|
|
|
|
|
/**
|
|
|
* 方法(反射调用)
|
|
|
*/
|
|
|
- @Id
|
|
|
private String methodName;
|
|
|
|
|
|
/**
|