개정판 b6abb7b8
issue #0000
- excel userlist db->information userlist로 변경
- id2 project db 조회 함수 추가-global
- basecontroller 에 id2 project db 조회 함수 적용
Change-Id: I560b546852173c40e4fc351a799842327f10447f
ID2.Manager/ID2.Manager.Common/Helpers/ID2Excel.cs | ||
---|---|---|
4 | 4 |
using System.Linq; |
5 | 5 |
using System.Text; |
6 | 6 |
using System.Threading.Tasks; |
7 |
using GemBox.Spreadsheet; |
|
8 |
using ID2.Manager.Controller.Controllers; |
|
7 |
|
|
9 | 8 |
using System.IO; |
10 | 9 |
using System.IO.Compression; |
11 | 10 |
|
11 |
using GemBox.Spreadsheet; |
|
12 |
|
|
12 | 13 |
namespace ID2.Manager.Common.Helpers |
13 | 14 |
{ |
14 | 15 |
public class ID2Excel :IDisposable |
... | ... | |
32 | 33 |
} |
33 | 34 |
} |
34 | 35 |
|
35 |
public ID2Excel() |
|
36 |
public ID2Excel(List<UserInfo> users)
|
|
36 | 37 |
{ |
37 |
UserlList = new UserController().GetAllUserInfo().ToList();
|
|
38 |
UserlList = users;
|
|
38 | 39 |
} |
39 | 40 |
|
40 | 41 |
private UserInfo GetUser(string user) |
내보내기 Unified diff