개정판 fe57f64a
issue #0000
ID2 DB 별 접속을 위한 BaseController 수정
Document 의 ID2 수정날짜 조회 적용(수정필요) - Main 화면에 ID2 ID2 완료일 적용버튼 추가
ID2 DB 별 접속 조회 개발
ID2 Drawings 모델 생성
Change-Id: I2e2a6dd06fec30688dce33f0c4d25f3d0385fa8c
ID2.Manager/ID2.Manager.Controller/Controllers/ProjectController.cs | ||
---|---|---|
13 | 13 |
{ |
14 | 14 |
public IEnumerable<ProjectInfo> GetAllProjectList() |
15 | 15 |
{ |
16 |
using (ProjectRepository rep = new ProjectRepository(this._DbConnectionStr))
|
|
16 |
using (ProjectRepository rep = new ProjectRepository(this._MSSQLCONNSTR))
|
|
17 | 17 |
{ |
18 | 18 |
var id2Project = new ID2Controller().GetID2ProjectList(); |
19 | 19 |
var allProject = rep.GetAllProjectList(); |
... | ... | |
38 | 38 |
|
39 | 39 |
public ProjectInfo GetProjectInfo(string ProjectID) |
40 | 40 |
{ |
41 |
using (ProjectRepository rep = new ProjectRepository(this._DbConnectionStr))
|
|
41 |
using (ProjectRepository rep = new ProjectRepository(this._MSSQLCONNSTR))
|
|
42 | 42 |
{ |
43 | 43 |
var id2Project = new ID2Controller().GetID2ProjectList(); |
44 | 44 |
var project = rep.GetProjectInfo(ProjectID); |
... | ... | |
53 | 53 |
|
54 | 54 |
public bool SetProjectData(ProjectInfo projectInfo, List<ID2ProjectInfo> id2ProjectList) |
55 | 55 |
{ |
56 |
using (ProjectRepository rep = new ProjectRepository(this._DbConnectionStr))
|
|
56 |
using (ProjectRepository rep = new ProjectRepository(this._MSSQLCONNSTR))
|
|
57 | 57 |
{ |
58 | 58 |
return rep.SetProjectData(projectInfo, id2ProjectList); |
59 | 59 |
} |
... | ... | |
61 | 61 |
|
62 | 62 |
public bool SetProjectGroupData(ProjectInfo projectInfo) |
63 | 63 |
{ |
64 |
using (ProjectRepository rep = new ProjectRepository(this._DbConnectionStr))
|
|
64 |
using (ProjectRepository rep = new ProjectRepository(this._MSSQLCONNSTR))
|
|
65 | 65 |
{ |
66 | 66 |
return rep.SetProjectGroupData(projectInfo); |
67 | 67 |
} |
내보내기 Unified diff