wangwei 6 年之前
父节点
当前提交
1cb7298d36

+ 1 - 1
examcloud-core-basic-dao/src/main/java/cn/com/qmth/examcloud/core/basic/dao/entity/OrgEntity.java

@@ -14,7 +14,7 @@ import cn.com.qmth.examcloud.commons.web.jpa.JpaEntity;
  */
 @Entity
 @Table(name = "EC_B_ORG", indexes = {
-		@Index(name = "IDX_B_ORG_003001", columnList = "rootOrgId,code", unique = true)})
+		@Index(name = "IDX_B_ORG_003001", columnList = "rootId,code", unique = true)})
 public class OrgEntity extends JpaEntity {
 
 	private static final long serialVersionUID = -592353272256492483L;