개정판 3bde451b
FINALPDF와 CONVERT_DOC 저장 프로시저로 변경
Change-Id: I832b4103112d7b9968f573688378b779a9df2db8
ConvertService/ServiceBase/IServiceBase/ConvertItem.cs | ||
---|---|---|
38 | 38 |
this._convertID = ID; |
39 | 39 |
} |
40 | 40 |
|
41 |
|
|
41 | 42 |
public ConvertItem(string key, string ProjectNo, string ID, string originfilePath) |
42 | 43 |
{ |
43 | 44 |
this._uniqueKey = key; |
... | ... | |
101 | 102 |
this._FileName = result; |
102 | 103 |
} |
103 | 104 |
|
104 |
//DataSearch 상단 그리드 Search |
|
105 |
//DataSearch 상단 그리드 Search DataConvert
|
|
105 | 106 |
public ConvertItem(string serviceID, string convertId ,string projectNo, int Status, string documentID, string documentName, string documentNo, string document_URL, string revision, int currentPageNo, int totalPage, string exception, string groupNo, |
106 |
DateTime create_datetime, DateTime? start_datetime, DateTime? end_datetime , string originfilePath, string convertPath, string markusLink)
|
|
107 |
DateTime create_datetime, DateTime? start_datetime, DateTime? end_datetime , string originfilePath, string convertPath, string markusLink, int? reconverter)//20
|
|
107 | 108 |
{//세미 |
108 | 109 |
ServiceID = serviceID; |
109 | 110 |
DocumentID = documentID; |
... | ... | |
125 | 126 |
ConvertPath = convertPath; |
126 | 127 |
MarkusLink = markusLink; |
127 | 128 |
OriginfilePath = originfilePath; |
129 |
ReConverter = reconverter; |
|
128 | 130 |
|
129 | 131 |
string result = ""; |
130 | 132 |
if (originfilePath.Contains("/")) |
... | ... | |
138 | 140 |
this._FileName = result; |
139 | 141 |
} |
140 | 142 |
|
143 |
public ConvertItem(string convertId, string projectNo, int Status, string documentID, string markupInfoID, string docInfoID ,string documentName, string documentNo, string createUserID,//20 |
|
144 |
string revision, int currentPageNo, int totalPage, string exception, string groupNo, DateTime create_datetime, DateTime? start_datetime, DateTime? end_datetime, string originfilePath, |
|
145 |
string convertPath, string markusLink, int Final) |
|
146 |
{//FinalPDF |
|
147 |
ConvertID = convertId; |
|
148 |
ProjectNumber = projectNo; |
|
149 |
DocumentID = documentID; |
|
150 |
ConvertID = convertId; |
|
151 |
ProjectNumber = projectNo; |
|
152 |
MarkupInfo_ID = markupInfoID; |
|
153 |
Create_User_ID = createUserID; |
|
154 |
ConvertState = (StatusCodeType)Status; |
|
155 |
DocInfo_ID = docInfoID; |
|
156 |
DocumnetName = documentName; |
|
157 |
DocumnetNo = documentNo; |
|
158 |
Revision = revision; |
|
159 |
CurrentPageNo = currentPageNo; |
|
160 |
TotalPage = totalPage; |
|
161 |
Exception = exception; |
|
162 |
GroupNo = groupNo; |
|
163 |
CreateTime = create_datetime; |
|
164 |
StartTime = start_datetime; |
|
165 |
EndTime = end_datetime; |
|
166 |
ConvertPath = convertPath; |
|
167 |
MarkusLink = markusLink; |
|
168 |
OriginfilePath = originfilePath; |
|
169 |
|
|
170 |
if (OriginfilePath != null) |
|
171 |
{ |
|
172 |
string result = ""; |
|
173 |
if (originfilePath.Contains("/")) |
|
174 |
{ |
|
175 |
result = originfilePath.Substring(originfilePath.LastIndexOf("/") + 1); |
|
176 |
} |
|
177 |
else |
|
178 |
{ |
|
179 |
result = originfilePath.Substring(originfilePath.LastIndexOf("%") + 1); |
|
180 |
} |
|
181 |
this._FileName = result; |
|
182 |
} |
|
183 |
else |
|
184 |
{ |
|
185 |
this._FileName = ""; |
|
186 |
} |
|
187 |
} |
|
141 | 188 |
|
142 | 189 |
string _uniqueKey; |
143 | 190 |
string _projectNumber; |
144 | 191 |
string _convertID; |
145 | 192 |
string _serviceID; |
146 |
int _reConverter; |
|
193 |
int? _reConverter;
|
|
147 | 194 |
string _originfilePath; |
148 | 195 |
string _FileName; |
149 | 196 |
string _convertPath; |
... | ... | |
210 | 257 |
} |
211 | 258 |
|
212 | 259 |
[DataMember] |
213 |
public int ReConverter |
|
260 |
public int? ReConverter
|
|
214 | 261 |
{ |
215 | 262 |
get |
216 | 263 |
{ |
... | ... | |
595 | 642 |
} |
596 | 643 |
} |
597 | 644 |
|
645 |
[DataMember] |
|
646 |
private string _DocInfo_ID; |
|
647 |
public string DocInfo_ID |
|
648 |
{ |
|
649 |
get |
|
650 |
{ |
|
651 |
return _DocInfo_ID; |
|
652 |
} |
|
653 |
set |
|
654 |
{ |
|
655 |
if (_DocInfo_ID != value) |
|
656 |
{ |
|
657 |
_DocInfo_ID = value; |
|
658 |
OnPropertyChanged("DocInfo_ID"); |
|
659 |
|
|
660 |
} |
|
661 |
} |
|
662 |
} |
|
598 | 663 |
|
664 |
[DataMember] |
|
665 |
private string _MarkupInfo_ID; |
|
666 |
public string MarkupInfo_ID |
|
667 |
{ |
|
668 |
get |
|
669 |
{ |
|
670 |
return _MarkupInfo_ID; |
|
671 |
} |
|
672 |
set |
|
673 |
{ |
|
674 |
if (_MarkupInfo_ID != value) |
|
675 |
{ |
|
676 |
_MarkupInfo_ID = value; |
|
677 |
OnPropertyChanged("MarkupInfo_ID"); |
|
599 | 678 |
|
679 |
} |
|
680 |
} |
|
681 |
} |
|
682 |
|
|
683 |
[DataMember] |
|
684 |
private string _Create_User_ID; |
|
685 |
public string Create_User_ID |
|
686 |
{ |
|
687 |
get |
|
688 |
{ |
|
689 |
return _Create_User_ID; |
|
690 |
} |
|
691 |
set |
|
692 |
{ |
|
693 |
if (_Create_User_ID != value) |
|
694 |
{ |
|
695 |
_Create_User_ID = value; |
|
696 |
OnPropertyChanged("Create_User_ID"); |
|
697 |
|
|
698 |
} |
|
699 |
} |
|
700 |
} |
|
600 | 701 |
} |
601 | 702 |
} |
내보내기 Unified diff