Bläddra i källkod

modify:

1. 项目申报修改;
tags/24090101
WendyYang 2 månader sedan
förälder
incheckning
50284f3fa5
1 ändrade filer med 0 tillägg och 15 borttagningar
  1. +0
    -15
      hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java

+ 0
- 15
hz-pm-api/src/test/java/com/hz/pm/api/projectlib/ProjectTest.java Visa fil

@@ -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;

/**
* <p>
* ProjectTests
@@ -28,17 +24,6 @@ public class ProjectTest extends AppTests {

@Test
public void test() {
List<QxProjectSystemReplaceInfos> 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);
}

}
}

}

Laddar…
Avbryt
Spara