wangwei há 6 anos atrás
pai
commit
a5a2670938

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

@@ -19,7 +19,7 @@ import cn.com.qmth.examcloud.commons.web.jpa.JpaEntity;
 @Entity
 @Table(name = "EC_B_ROLE", indexes = {
 		@Index(name = "IDX_B_R_010001", columnList = "rootOrgId,code", unique = true),
-		@Index(name = "IDX_B_R_010002", columnList = "rootOrgId,name", unique = false)})
+		@Index(name = "IDX_B_R_010002", columnList = "rootOrgId,name", unique = true)})
 public class RoleEntity extends JpaEntity {
 
 	private static final long serialVersionUID = -2167420238674588632L;