개정판 82705273
issue #0000
repository, controller 예외처리 추가
Change-Id: I36131f1b27f8e0095ea07f19a349ac0a5ded1904
ID2.Manager/ID2.Manager.Dapper/Repository/FileRepository.cs | ||
---|---|---|
14 | 14 |
|
15 | 15 |
public IEnumerable<FileInfo> GetFileList(string documentID) |
16 | 16 |
{ |
17 |
string query = $@" |
|
17 |
try |
|
18 |
{ |
|
19 |
string query = $@" |
|
18 | 20 |
select * from dbo.Files where RefDocID=@documentID order by CreatedDate"; |
19 |
|
|
20 |
return Query<FileInfo>(query, new { documentID }); |
|
21 |
return Query<FileInfo>(query, new { documentID }); |
|
22 |
} |
|
23 |
catch (Exception ex) |
|
24 |
{ |
|
25 |
throw ex; |
|
26 |
} |
|
21 | 27 |
} |
22 | 28 |
|
23 | 29 |
public bool SetFileInfo(List<FileInfo> fileList) |
내보내기 Unified diff