refactor(测试计划): 调整规划脑图
This commit is contained in:
parent
5f36c2343e
commit
7dc0598cc7
|
@ -334,6 +334,9 @@ public class TestPlanCollectionMinderService {
|
||||||
|
|
||||||
private static void setAssociateMap(TestPlanCollectionMinderEditDTO testPlanCollectionMinderEditDTO, Map<String, List<BaseCollectionAssociateRequest>> associateMap, TestPlanCollection testPlanCollection) {
|
private static void setAssociateMap(TestPlanCollectionMinderEditDTO testPlanCollectionMinderEditDTO, Map<String, List<BaseCollectionAssociateRequest>> associateMap, TestPlanCollection testPlanCollection) {
|
||||||
List<TestPlanCollectionAssociateDTO> associateDTOS = testPlanCollectionMinderEditDTO.getAssociateDTOS();
|
List<TestPlanCollectionAssociateDTO> associateDTOS = testPlanCollectionMinderEditDTO.getAssociateDTOS();
|
||||||
|
if (CollectionUtils.isEmpty(associateDTOS)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (TestPlanCollectionAssociateDTO associateDTO : associateDTOS) {
|
for (TestPlanCollectionAssociateDTO associateDTO : associateDTOS) {
|
||||||
String associateType = associateDTO.getAssociateType();
|
String associateType = associateDTO.getAssociateType();
|
||||||
List<BaseCollectionAssociateRequest> baseCollectionAssociateRequests = associateMap.get(associateType);
|
List<BaseCollectionAssociateRequest> baseCollectionAssociateRequests = associateMap.get(associateType);
|
||||||
|
|
Loading…
Reference in New Issue