개정판 473ee829
issue #0000
Project 정보 수정
ID2 Project DB의 정보를 ID2 Manager와 매핑
Change-Id: Idcc82a34b8027032529cbc43a62757ea6d48f586
ID2.Manager/ID2.Manager.Controller/Controllers/ProjectController.cs | ||
---|---|---|
30 | 30 |
ID2Path = prjs?.Path ?? null, |
31 | 31 |
GroupID = mg.GroupID, |
32 | 32 |
GroupName = mg.GroupName, |
33 |
Level = mg.Level |
|
33 |
Level = mg.Level, |
|
34 |
ID2Info = prjs ?? new ID2ProjectInfo(), |
|
34 | 35 |
}; |
35 | 36 |
} |
36 | 37 |
} |
... | ... | |
43 | 44 |
var project = rep.GetProjectInfo(ProjectID); |
44 | 45 |
|
45 | 46 |
var id2 = id2Project.Where(x => x.Name.Equals(project.Code)).FirstOrDefault(); |
46 |
if (id2 != null) |
|
47 |
{ |
|
48 |
project.ID2Path = id2.Path; |
|
49 |
} |
|
47 |
project.ID2Path = id2?.Path ?? null; |
|
48 |
project.ID2Info = id2 ?? new ID2ProjectInfo(); |
|
50 | 49 |
|
51 | 50 |
return rep.GetProjectInfo(ProjectID); |
52 | 51 |
} |
내보내기 Unified diff