Skip to content

Commit 96a212e

Browse files
committed
init commit
0 parents  commit 96a212e

File tree

153 files changed

+36039
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+36039
-0
lines changed

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

+219
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
target/
11+
out/
12+
.idea
13+
*.iml
14+
*.tmp
15+
*.bak
16+
*.swp
17+
*~.nib
18+
local.properties
19+
.classpath
20+
.settings/
21+
.loadpath
22+
23+
# External tool builders
24+
.externalToolBuilders/
25+
26+
# Locally stored "Eclipse launch configurations"
27+
*.launch
28+
29+
# CDT-specific
30+
.cproject
31+
32+
# PDT-specific
33+
.buildpath
34+
35+
36+
#################
37+
## Visual Studio
38+
#################
39+
40+
## Ignore Visual Studio temporary files, build results, and
41+
## files generated by popular Visual Studio add-ons.
42+
43+
# User-specific files
44+
*.suo
45+
*.user
46+
*.sln.docstates
47+
48+
# Build results
49+
50+
[Dd]ebug/
51+
[Rr]elease/
52+
x64/
53+
build/
54+
[Bb]in/
55+
[Oo]bj/
56+
57+
# MSTest test Results
58+
[Tt]est[Rr]esult*/
59+
[Bb]uild[Ll]og.*
60+
61+
*_i.c
62+
*_p.c
63+
*.ilk
64+
*.meta
65+
*.obj
66+
*.pch
67+
*.pdb
68+
*.pgc
69+
*.pgd
70+
*.rsp
71+
*.sbr
72+
*.tlb
73+
*.tli
74+
*.tlh
75+
*.tmp
76+
*.tmp_proj
77+
*.log
78+
*.vspscc
79+
*.vssscc
80+
.builds
81+
*.pidb
82+
*.log
83+
*.scc
84+
85+
# Visual C++ cache files
86+
ipch/
87+
*.aps
88+
*.ncb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
93+
# Visual Studio profiler
94+
*.psess
95+
*.vsp
96+
*.vspx
97+
98+
# Guidance Automation Toolkit
99+
*.gpState
100+
101+
# ReSharper is a .NET coding add-in
102+
_ReSharper*/
103+
*.[Rr]e[Ss]harper
104+
105+
# TeamCity is a build add-in
106+
_TeamCity*
107+
108+
# DotCover is a Code Coverage Tool
109+
*.dotCover
110+
111+
# NCrunch
112+
*.ncrunch*
113+
.*crunch*.local.xml
114+
115+
# Installshield output folder
116+
[Ee]xpress/
117+
118+
# DocProject is a documentation generator add-in
119+
DocProject/buildhelp/
120+
DocProject/Help/*.HxT
121+
DocProject/Help/*.HxC
122+
DocProject/Help/*.hhc
123+
DocProject/Help/*.hhk
124+
DocProject/Help/*.hhp
125+
DocProject/Help/Html2
126+
DocProject/Help/html
127+
128+
# Click-Once directory
129+
publish/
130+
131+
# Publish Web Output
132+
*.Publish.xml
133+
*.pubxml
134+
135+
# NuGet Packages Directory
136+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
137+
#packages/
138+
139+
# Windows Azure Build Output
140+
csx
141+
*.build.csdef
142+
143+
# Windows Store app package directory
144+
AppPackages/
145+
146+
# Others
147+
sql/
148+
*.Cache
149+
ClientBin/
150+
[Ss]tyle[Cc]op.*
151+
~$*
152+
*~
153+
*.dbmdl
154+
*.[Pp]ublish.xml
155+
*.pfx
156+
*.publishsettings
157+
158+
# RIA/Silverlight projects
159+
Generated_Code/
160+
161+
# Backup & report files from converting an old project file to a newer
162+
# Visual Studio version. Backup files are not needed, because we have git ;-)
163+
_UpgradeReport_Files/
164+
Backup*/
165+
UpgradeLog*.XML
166+
UpgradeLog*.htm
167+
168+
# SQL Server files
169+
App_Data/*.mdf
170+
App_Data/*.ldf
171+
172+
#############
173+
## Windows detritus
174+
#############
175+
176+
# Windows image file caches
177+
Thumbs.db
178+
ehthumbs.db
179+
180+
# Folder config file
181+
Desktop.ini
182+
183+
# Recycle Bin used on file shares
184+
$RECYCLE.BIN/
185+
186+
# Mac crap
187+
.DS_Store
188+
189+
190+
#############
191+
## Python
192+
#############
193+
194+
*.py[co]
195+
196+
# Packages
197+
*.egg
198+
*.egg-info
199+
dist/
200+
build/
201+
eggs/
202+
parts/
203+
var/
204+
sdist/
205+
develop-eggs/
206+
.installed.cfg
207+
208+
# Installer logs
209+
pip-log.txt
210+
211+
# Unit test / coverage reports
212+
.coverage
213+
.tox
214+
215+
#Translations
216+
*.mo
217+
218+
#Mr Developer
219+
.mr.developer.cfg

database/baseData.sql

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
delete from sec_role;
3+
delete from sec_department;
4+
insert into sec_role values(1,'Manager',1,now(),1,now());
5+
insert into sec_role values(2,'Employee',1,now(),1,now());
6+
insert into sec_department values(1,'人事部',1,now(),1,now());
7+
insert into sec_department values(2,'销售部',1,now(),1,now());
8+
9+
delete from sec_account;
10+
delete from sec_acc_security;
11+
insert into sec_account (account_id, username, first_name, last_name, nick_name, gender, qq, telephone, postcode,address, email, role_id, department_id, permission, actived, locked, create_user,create_date, update_user, update_date)
12+
values(1,'steven','','','Steven',1,3316148,'15370057062','215021','方洲路495号','[email protected]',1,1,null,1,0,1,now(),1,now());
13+
insert into sec_account (account_id, username, first_name, last_name, nick_name, gender, qq, telephone, postcode,address, email, role_id, department_id, permission, actived, locked, create_user,create_date, update_user, update_date)
14+
values(2,'lily','','','Lily',1,157401581,'15370059603','215021','方洲路495号','[email protected]',2,1,null,1,0,1,now(),1,now());
15+
INSERT INTO sec_acc_security (account_id,username,password,temp_flag,fail_time,effective_date,create_user,create_date,update_user,update_date)
16+
VALUES (1,'steven','1',0,0,NULL,1,now(),1,now());
17+
INSERT INTO sec_acc_security (account_id,username,password,temp_flag,fail_time,effective_date,create_user,create_date,update_user,update_date)
18+
VALUES (2,'lily','1',0,0,NULL,1,now(),1,now());
19+
20+
delete from sec_module;
21+
delete from sec_function;
22+
delete from sec_privilege;
23+
insert into sec_module(module_id, description) values (1,'Account');
24+
insert into sec_module(module_id, description) values (2,'Admin');
25+
insert into sec_function ( function_id, description, uri, module_id)values (1,'View Dashboard','/admin/dashboard.do',2);
26+
insert into sec_function ( function_id, description, uri, module_id)values (2,'View All Account','/admin/allAccountView.do',1);
27+
insert into sec_function ( function_id, description, uri, module_id)values (3,'Get All Account','/ajax/allAccount.do',1);
28+
insert into sec_privilege ( external_id, type,role_id,department_id) values (1,1,1,1);
29+
insert into sec_privilege ( external_id, type,role_id,department_id) values (2,1,1,1);
30+
insert into sec_privilege ( external_id, type,role_id,department_id) values (3,1,1,1);

database/dataUpdate.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)