From 50284f3fa5d079d5d4d7529f10d76539c55506b4 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Sun, 1 Sep 2024 00:22:44 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E9=A1=B9=E7=9B=AE=E7=94=B3?= =?UTF-8?q?=E6=8A=A5=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/hz/pm/api/projectlib/ProjectTest.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java b/hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java index ec3390a..7d4fcbc 100644 --- a/hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java +++ b/hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java @@ -1,15 +1,11 @@ package com.hz.pm.api.projectlib; import com.hz.pm.api.AppTests; -import com.hz.pm.api.projectlib.entity.QxProjectSystemReplaceInfos; -import com.hz.pm.api.projectlib.entity.QxProjectSystemReplaceInfosRelation; import com.hz.pm.api.projectlib.service.IQxProjectSystemReplaceInfosRelationService; import com.hz.pm.api.projectlib.service.IQxProjectSystemReplaceInfosService; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; -import java.util.List; - /** *

* ProjectTests @@ -28,17 +24,6 @@ public class ProjectTest extends AppTests { @Test public void test() { - List list = qxProjectSystemReplaceInfosService.list(); - for (QxProjectSystemReplaceInfos infos : list) { - for (String s : infos.getSourceSystemIds().split(",")) { - QxProjectSystemReplaceInfosRelation relation = new QxProjectSystemReplaceInfosRelation(); - relation.setProjectId(infos.getProjectId()); - relation.setReplaceInfosId(infos.getId()); - relation.setSourceSystemId(s); - qxProjectSystemReplaceInfosRelationService.save(relation); - } - - } } }