diff --git a/config/common/email.properties b/config/common/email.properties
new file mode 100644
index 00000000..bd530070
--- /dev/null
+++ b/config/common/email.properties
@@ -0,0 +1,3 @@
+stmp=smtp.126.com
+emailname=accountnms@126.com
+password=public
\ No newline at end of file
diff --git a/config/common/jdbc.properties b/config/common/jdbc.properties
new file mode 100644
index 00000000..2a760043
--- /dev/null
+++ b/config/common/jdbc.properties
@@ -0,0 +1,4 @@
+jdbcUrl= jdbc\:mysql\://localhost\:3306/ams?useUnicode\=true&characterEncoding\=UTF-8
+driverClass= com.mysql.jdbc.Driver
+user= root
+password=1234
\ No newline at end of file
diff --git a/config/common/limitbasicdata.properties b/config/common/limitbasicdata.properties
new file mode 100644
index 00000000..6177cad4
--- /dev/null
+++ b/config/common/limitbasicdata.properties
@@ -0,0 +1,5 @@
+bigtypenum=20
+smalltypenum=20
+consumeForm=20
+consumePlace=20
+emailnum=20
\ No newline at end of file
diff --git a/config/hibernate/hibernate.cfg.xml b/config/hibernate/hibernate.cfg.xml
new file mode 100644
index 00000000..0d88f444
--- /dev/null
+++ b/config/hibernate/hibernate.cfg.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ org.hibernate.dialect.MySQL5Dialect
+
+ true
+ update
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/i18n/messages_en_US.properties b/config/i18n/messages_en_US.properties
new file mode 100644
index 00000000..cf790962
--- /dev/null
+++ b/config/i18n/messages_en_US.properties
@@ -0,0 +1,7 @@
+language=Select Language
+enus=American English
+zhcn=Simplified Chinese
+logintitle=Welcome to the BenaMaid System
+username=username
+password=password
+login_submit=login
diff --git a/config/i18n/messages_zh_CN.properties b/config/i18n/messages_zh_CN.properties
new file mode 100644
index 00000000..b8211f37
--- /dev/null
+++ b/config/i18n/messages_zh_CN.properties
@@ -0,0 +1,7 @@
+language=\u9009\u62e9\u8bed\u8a00
+enus=\u7f8e\u5f0f\u82f1\u8bed
+zhcn=\u7b80\u4f53\u4e2d\u6587
+logintitle=\u6b22\u8fce\u5149\u4e34BenaMaid\u7cfb\u7edf
+username=\u7528\u6237\u540d
+password=\u5bc6\u7801
+login_submit=\u767b\u5f55
diff --git a/config/log4j/log4j.properties b/config/log4j/log4j.properties
new file mode 100644
index 00000000..56469870
--- /dev/null
+++ b/config/log4j/log4j.properties
@@ -0,0 +1,67 @@
+# level : 是日志记录的优先级,分为OFF、FATAL、ERROR、WARN、INFO、DEBUG、ALL或者您定义的级别。
+#Log4j建议只使用四个级别,优先级从高到低分别是ERROR、WARN、INFO、DEBUG。
+#Log4jTest.java中的Logger logger = Logger.getLogger(this.getClass().getName());可能对应了log4j.rootLogger=DEBUG,CONSOLE,A1的配置
+log4j.rootLogger=INFO,D,E,stdout
+
+##########控制台输出##############
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+#log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n
+log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n
+
+#######配置hibernate日志输入目录,暂时没有使用到############
+#log4j.logger.org.hibernate = OFF,hibernate
+#log4j.logger.org.hibernate.tool.hbm2ddl=debug
+#log4j.appender.hibernate = org.apache.log4j.RollingFileAppender
+#log4j.appender.hibernate.file = ${webApp.log4j.path}/logs/ams_hibernate.log
+#log4j.appender.hibernate.layout = org.apache.log4j.PatternLayout
+#log4j.appender.hibernate.layout.conversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n
+#log4j.appender.hibernate.layout.conversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n
+#log4j.appender.hibernate.append = false
+
+###输出到日志文件指定最低为INFO级别 ###
+log4j.appender.D=org.apache.log4j.RollingFileAppender
+log4j.appender.D.File=${webApp.log4j.path}/logs/jsh-info.log
+log4j.appender.D.MaxFileSize=50MB
+log4j.appender.D.MaxBackupIndex=10
+##the lower level
+log4j.appender.D.Threshold=INFO
+log4j.appender.D.layout=org.apache.log4j.PatternLayout
+#log4j.appender.D.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n
+log4j.appender.D.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n
+
+###输出错误信息内容到指定文件ERROR级别###
+log4j.appender.E= org.apache.log4j.RollingFileAppender
+log4j.appender.E.File=${webApp.log4j.path}/logs/jsh-error.log
+log4j.appender.E.MaxFileSize=50MB
+log4j.appender.E.MaxBackupIndex=10
+log4j.appender.E.Threshold = ERROR
+log4j.appender.E.layout = org.apache.log4j.PatternLayout
+##log4j.appender.E.layout.ConversionPattern =%-d{yyyy-MM-dd HH\:mm\:ss} [%p]-[%C %M %L]\:%m%n
+log4j.appender.E.layout.ConversionPattern =%-d{yyyy-MM-dd HH\:mm\:ss} [%p]-%m%n
+# %n代表换行
+# %d代表日期
+# %c代表路径名(Logger.getLogger("DAO")时为DAO:,Logger.getLogger(this.getClass().getName())时为绝对类名)# %c{1}为类名,如Log4jTest
+# %l代表类路径及代码所在行数,%L仅代表代码所在行数
+# [%-5p]代表该日志对应的日志级别(%5p),如DEBUG,ERROR,中间的-起到在[]中左对齐的作用
+# %m代表“类名:”(Logger.getLogger("DAO")时为DAO:,Logger.getLogger(this.getClass().getName())时为类名)及日志信息
+#----------------------------------------------------------------------------------
+#分别说明如下:
+#1、使用Logger logger = Logger.getLogger("DAO")获得配置时,属性文件中必须要有对应设置:log4j.logger.DAO=DEBUG,A2
+#2、%c为DAO
+#3、%l为logger.debug("DAO: Debug info.");的类绝对路径以及代码所在行,
+# log.DAOlogTest.doGet(DAOlogTest.java:23)
+#4、%L为logger.debug("DAO: Debug info.");代码所在行 23
+#5、%m为类名和日志信息 DAO: Debug info.
+#1、使用Logger logger = Logger.getLogger(this.getClass().getName())获得配置时
+#2、%c为log.Log4jTest %c{1}为Log4jTest
+#3、%l为 log.Log4jTest.doGet(Log4jTest.java:23)
+#4、%L同上
+#5、%m为 Debug info.
+#-X号: X信息输出时左对齐;
+#%p: 日志信息级别
+#%d{}: 日志信息产生时间
+#%c: 日志信息所在地(类名)
+#%m: 产生的日志具体信息
+#%n: 输出日志信息换行
\ No newline at end of file
diff --git a/config/spring/basic-applicationContext.xml b/config/spring/basic-applicationContext.xml
new file mode 100644
index 00000000..d82ceecc
--- /dev/null
+++ b/config/spring/basic-applicationContext.xml
@@ -0,0 +1,324 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/spring/dao-applicationContext.xml b/config/spring/dao-applicationContext.xml
new file mode 100644
index 00000000..be9e3cd8
--- /dev/null
+++ b/config/spring/dao-applicationContext.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/spring/quartz-applicationContext.xml.xml b/config/spring/quartz-applicationContext.xml.xml
new file mode 100644
index 00000000..444ff888
--- /dev/null
+++ b/config/spring/quartz-applicationContext.xml.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0 45 9,10,11,12 * * ?
+
+
+
+
+
+
+
+ timerTest
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/app-struts.xml b/config/struts2/app-struts.xml
new file mode 100644
index 00000000..e856de87
--- /dev/null
+++ b/config/struts2/app-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/asset-struts.xml b/config/struts2/asset-struts.xml
new file mode 100644
index 00000000..50c75347
--- /dev/null
+++ b/config/struts2/asset-struts.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+ application/vnd.ms-excel
+ excelStream
+ attachment;filename="${fileName}"
+ 1024
+
+
+
+
+
+
+ application/vnd.ms-excel
+ excelStream
+ attachment;filename="${fileName}"
+ 1024
+
+ /pages/asset/asset.jsp
+
+
+
\ No newline at end of file
diff --git a/config/struts2/assetname-struts.xml b/config/struts2/assetname-struts.xml
new file mode 100644
index 00000000..5aeb1016
--- /dev/null
+++ b/config/struts2/assetname-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/building-struts.xml b/config/struts2/building-struts.xml
new file mode 100644
index 00000000..be7b854b
--- /dev/null
+++ b/config/struts2/building-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/category-struts.xml b/config/struts2/category-struts.xml
new file mode 100644
index 00000000..3322bbba
--- /dev/null
+++ b/config/struts2/category-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/channel-struts.xml b/config/struts2/channel-struts.xml
new file mode 100644
index 00000000..1b245309
--- /dev/null
+++ b/config/struts2/channel-struts.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/config/struts2/depot-struts.xml b/config/struts2/depot-struts.xml
new file mode 100644
index 00000000..c3c219b7
--- /dev/null
+++ b/config/struts2/depot-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/depotHead-struts.xml b/config/struts2/depotHead-struts.xml
new file mode 100644
index 00000000..e6f581fa
--- /dev/null
+++ b/config/struts2/depotHead-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/depotItem-struts.xml b/config/struts2/depotItem-struts.xml
new file mode 100644
index 00000000..2d106613
--- /dev/null
+++ b/config/struts2/depotItem-struts.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+ application/vnd.ms-excel
+ excelStream
+ attachment;filename="${fileName}"
+ 1024
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/functions-struts.xml b/config/struts2/functions-struts.xml
new file mode 100644
index 00000000..5fb66ff6
--- /dev/null
+++ b/config/struts2/functions-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/log-struts.xml b/config/struts2/log-struts.xml
new file mode 100644
index 00000000..77fb2949
--- /dev/null
+++ b/config/struts2/log-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/material-struts.xml b/config/struts2/material-struts.xml
new file mode 100644
index 00000000..d5e38778
--- /dev/null
+++ b/config/struts2/material-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/materialCategory-struts.xml b/config/struts2/materialCategory-struts.xml
new file mode 100644
index 00000000..d682bdaa
--- /dev/null
+++ b/config/struts2/materialCategory-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/person-struts.xml b/config/struts2/person-struts.xml
new file mode 100644
index 00000000..47fb0b16
--- /dev/null
+++ b/config/struts2/person-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/report-struts.xml b/config/struts2/report-struts.xml
new file mode 100644
index 00000000..b34945fd
--- /dev/null
+++ b/config/struts2/report-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/role-struts.xml b/config/struts2/role-struts.xml
new file mode 100644
index 00000000..09fb1c67
--- /dev/null
+++ b/config/struts2/role-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/struts.properties b/config/struts2/struts.properties
new file mode 100644
index 00000000..8847c128
--- /dev/null
+++ b/config/struts2/struts.properties
@@ -0,0 +1,2 @@
+# struts.properties
+#struts.custom.i18n.resources=messages
diff --git a/config/struts2/struts.xml b/config/struts2/struts.xml
new file mode 100644
index 00000000..6f8de078
--- /dev/null
+++ b/config/struts2/struts.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /pages/common/admin.jsp
+
+
+ /pages/common/{1}.jsp
+
+
+ /pages/common/admin.jsp
+
+
+
\ No newline at end of file
diff --git a/config/struts2/supplier-struts.xml b/config/struts2/supplier-struts.xml
new file mode 100644
index 00000000..407b1b57
--- /dev/null
+++ b/config/struts2/supplier-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/user-struts.xml b/config/struts2/user-struts.xml
new file mode 100644
index 00000000..02abc391
--- /dev/null
+++ b/config/struts2/user-struts.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+ /logout.jsp
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/userBusiness-struts.xml b/config/struts2/userBusiness-struts.xml
new file mode 100644
index 00000000..467130c4
--- /dev/null
+++ b/config/struts2/userBusiness-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/struts2/visitAccount-struts.xml b/config/struts2/visitAccount-struts.xml
new file mode 100644
index 00000000..8f9046dd
--- /dev/null
+++ b/config/struts2/visitAccount-struts.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file