Преглед изворни кода

1、组织删除后钉钉微信用户同步问题,去掉用户新增变更的时候topUnitList是否存在的校验

o2sword пре 5 година
родитељ
комит
3820be597d

+ 1 - 1
o2server/x_organization_core_entity/src/main/java/com/x/organization/core/entity/Person.java

@@ -433,7 +433,7 @@ public class Person extends SliceJpaObject {
 			+ IndexNameMiddle + topUnitList_FIELDNAME + JoinIndexNameSuffix))
 	@ElementColumn(length = JpaObject.length_id, name = ColumnNamePrefix + topUnitList_FIELDNAME)
 	@ElementIndex(name = TABLE + IndexNameMiddle + topUnitList_FIELDNAME + ElementIndexNameSuffix)
-	@CheckPersist(allowEmpty = true, citationExists = @CitationExist(type = Unit.class))
+	@CheckPersist(allowEmpty = true)
 	private List<String> topUnitList;
 
 	public void setLastLoginAddress(String lastLoginAddress) {