|
@@ -33,6 +33,7 @@ public class LegalEntityRelationV1ServiceImpl implements RelationService {
|
|
|
"UNWIND batch_list AS row \n" +
|
|
|
"MERGE(s:" + CompanyEnum.Lable.PERSON.code + "{person_id:row.start_id}) \n" +
|
|
|
"SET s.name=row.start_name, s.person_id=row.start_id \n" +
|
|
|
+ "SET s:" + CompanyUtils.getIncrPersonLabel() + " \n" +
|
|
|
"MERGE(e:" + CompanyEnum.Lable.COMPANY.code + "{company_id:row.end_id}) \n" +
|
|
|
"SET e.name=row.end_name, e.company_id=row.end_id \n" +
|
|
|
"WITH s,e,row \n" +
|