Commit 6cdfeaf18227aed2552734069779e59d9aae6a75
1 parent
5b03edef
修改相关信息,添加反馈模块
Showing
165 changed files
with
212 additions
and
920 deletions
Too many changes.
To preserve performance only 100 of 165 files are displayed.
.classpath
@@ -15,6 +15,6 @@ | @@ -15,6 +15,6 @@ | ||
15 | <attribute name="owner.project.facets" value="jst.web.jstl"/> | 15 | <attribute name="owner.project.facets" value="jst.web.jstl"/> |
16 | </attributes> | 16 | </attributes> |
17 | </classpathentry> | 17 | </classpathentry> |
18 | - <classpathentry kind="lib" path="D:/MyEclipse Professional 2014/SunvoteEducation/WebRoot/WEB-INF/lib/spring-web-4.3.7.RELEASE.jar"/> | 18 | + <classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-web-4.3.7.RELEASE.jar"/> |
19 | <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/> | 19 | <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/> |
20 | </classpath> | 20 | </classpath> |
WebRoot/WEB-INF/web.xml
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | -<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | - xmlns="http://java.sun.com/xml/ns/javaee" | ||
4 | - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
5 | - version="2.5"> | ||
6 | - | ||
7 | - <context-param> | ||
8 | - <param-name>contextConfigLocation</param-name> | ||
9 | - <param-value> | 2 | +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> |
3 | + <context-param> | ||
4 | + <param-name>contextConfigLocation</param-name> | ||
5 | + <param-value> | ||
10 | classpath:spring/ApplicationContext-main.xml, | 6 | classpath:spring/ApplicationContext-main.xml, |
11 | classpath:spring/ApplicationContext-dataSource.xml, | 7 | classpath:spring/ApplicationContext-dataSource.xml, |
12 | classpath:spring/ApplicationContext-shiro.xml, | 8 | classpath:spring/ApplicationContext-shiro.xml, |
13 | classpath:spring/ApplicationContext-redis.xml | 9 | classpath:spring/ApplicationContext-redis.xml |
14 | </param-value> | 10 | </param-value> |
15 | - </context-param> | ||
16 | - <context-param> | ||
17 | - <param-name>log4jConfigLocation</param-name> | ||
18 | - <param-value>classpath:log4j.properties</param-value> | ||
19 | - </context-param> | ||
20 | - <filter> | ||
21 | - <filter-name>encodingFilter</filter-name> | ||
22 | - <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | ||
23 | - <init-param> | ||
24 | - <param-name>encoding</param-name> | ||
25 | - <param-value>utf-8</param-value> | ||
26 | - </init-param> | ||
27 | - </filter> | ||
28 | - <filter-mapping> | ||
29 | - <filter-name>encodingFilter</filter-name> | ||
30 | - <url-pattern>/*</url-pattern> | ||
31 | - </filter-mapping> | ||
32 | - <context-param> | ||
33 | - <param-name>webAppRootKey</param-name> | ||
34 | - <param-value>www.fhadmin.org</param-value> | ||
35 | - </context-param> | ||
36 | - | ||
37 | - <!-- 连接池 启用Web监控统计功能 start--> | ||
38 | - <filter> | ||
39 | - <filter-name>DruidWebStatFilter</filter-name> | ||
40 | - <filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class> | ||
41 | - <init-param> | ||
42 | - <param-name>exclusions</param-name> | ||
43 | - <param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*</param-value> | ||
44 | - </init-param> | ||
45 | - </filter> | ||
46 | - <filter-mapping> | ||
47 | - <filter-name>DruidWebStatFilter</filter-name> | ||
48 | - <url-pattern>/*</url-pattern> | ||
49 | - </filter-mapping> | ||
50 | - <servlet> | ||
51 | - <servlet-name>DruidStatView</servlet-name> | ||
52 | - <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class> | ||
53 | - </servlet> | ||
54 | - <servlet-mapping> | ||
55 | - <servlet-name>DruidStatView</servlet-name> | ||
56 | - <url-pattern>/druid/*</url-pattern> | ||
57 | - </servlet-mapping> | ||
58 | - <!-- 连接池 启用Web监控统计功能 end--> | ||
59 | - | ||
60 | - <filter> | ||
61 | - <filter-name>loginFilter</filter-name> | ||
62 | - <filter-class>com.fh.filter.LoginFilter</filter-class> | ||
63 | - </filter> | ||
64 | - <listener> | ||
65 | - <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | ||
66 | - </listener> | ||
67 | - <listener> | ||
68 | - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
69 | - </listener> | ||
70 | - | ||
71 | - <servlet> | ||
72 | - <servlet-name>springMvc</servlet-name> | ||
73 | - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
74 | - <init-param> | ||
75 | - <param-name>contextConfigLocation</param-name> | ||
76 | - <param-value>classpath:spring/ApplicationContext-mvc.xml</param-value> | ||
77 | - </init-param> | ||
78 | - <load-on-startup>1</load-on-startup> | ||
79 | - </servlet> | ||
80 | - <servlet-mapping> | ||
81 | - <servlet-name>springMvc</servlet-name> | ||
82 | - <url-pattern>/</url-pattern> | ||
83 | - </servlet-mapping> | ||
84 | - | ||
85 | - <!-- tomcat等 启动之前执行 --> | ||
86 | - <filter> | ||
87 | - <filter-name>startFilter</filter-name> | ||
88 | - <filter-class>com.fh.filter.startFilter</filter-class> | ||
89 | - </filter> | ||
90 | - | ||
91 | - <!-- Shiro filter start --> | ||
92 | - <filter> | ||
93 | - <filter-name>shiroFilter</filter-name> | ||
94 | - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> | ||
95 | - <init-param> | ||
96 | - <param-name>targetFilterLifecycle</param-name> | ||
97 | - <param-value>true</param-value> | ||
98 | - </init-param> | ||
99 | - </filter> | ||
100 | - <filter-mapping> | ||
101 | - <filter-name>shiroFilter</filter-name> | ||
102 | - <url-pattern>/*</url-pattern> | ||
103 | - </filter-mapping> | ||
104 | - <!-- Shiro filter end --> | ||
105 | - | ||
106 | - | ||
107 | - <error-page> | ||
108 | - <error-code>404</error-code> | ||
109 | - <location>/404.jsp</location> | ||
110 | - </error-page> | ||
111 | - | ||
112 | -<!-- | ||
113 | - <error-page> | ||
114 | - <error-code>405</error-code> | ||
115 | - <location>/WEB-INF/405.html</location> | ||
116 | - </error-page> | ||
117 | - <error-page> | ||
118 | - <error-code>404</error-code> | ||
119 | - <location>/WEB-INF/404.html</location> | ||
120 | - </error-page> | ||
121 | - <error-page> | ||
122 | - <error-code>500</error-code> | ||
123 | - <location>/WEB-INF/500.html</location> | ||
124 | - </error-page> | ||
125 | - <error-page> | ||
126 | - <error-code>javax.servle.ServletException</error-code> | ||
127 | - <location>/WEB-INF/error.html</location> | ||
128 | - </error-page> | ||
129 | - <error-page> | ||
130 | - <error-code>java.lang.NullPointerException</error-code> | ||
131 | - <location>/WEB-INF/error.html</location> | ||
132 | - </error-page> | ||
133 | ---> | ||
134 | - <session-config> | ||
135 | - <session-timeout>600</session-timeout> | ||
136 | - </session-config> | 11 | + </context-param> |
12 | + <context-param> | ||
13 | + <param-name>log4jConfigLocation</param-name> | ||
14 | + <param-value>classpath:log4j.properties</param-value> | ||
15 | + </context-param> | ||
16 | + <filter> | ||
17 | + <filter-name>encodingFilter</filter-name> | ||
18 | + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | ||
19 | + <init-param> | ||
20 | + <param-name>encoding</param-name> | ||
21 | + <param-value>utf-8</param-value> | ||
22 | + </init-param> | ||
23 | + </filter> | ||
24 | + <filter-mapping> | ||
25 | + <filter-name>encodingFilter</filter-name> | ||
26 | + <url-pattern>/*</url-pattern> | ||
27 | + </filter-mapping> | ||
28 | + <context-param> | ||
29 | + <param-name>webAppRootKey</param-name> | ||
30 | + <param-value>www.fhadmin.org</param-value> | ||
31 | + </context-param> | ||
32 | + <filter> | ||
33 | + <filter-name>DruidWebStatFilter</filter-name> | ||
34 | + <filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class> | ||
35 | + <init-param> | ||
36 | + <param-name>exclusions</param-name> | ||
37 | + <param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*</param-value> | ||
38 | + </init-param> | ||
39 | + </filter> | ||
40 | + <filter-mapping> | ||
41 | + <filter-name>DruidWebStatFilter</filter-name> | ||
42 | + <url-pattern>/*</url-pattern> | ||
43 | + </filter-mapping> | ||
44 | + <servlet> | ||
45 | + <servlet-name>DruidStatView</servlet-name> | ||
46 | + <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class> | ||
47 | + </servlet> | ||
48 | + <servlet-mapping> | ||
49 | + <servlet-name>DruidStatView</servlet-name> | ||
50 | + <url-pattern>/druid/*</url-pattern> | ||
51 | + </servlet-mapping> | ||
52 | + <filter> | ||
53 | + <filter-name>loginFilter</filter-name> | ||
54 | + <filter-class>com.fh.filter.LoginFilter</filter-class> | ||
55 | + </filter> | ||
56 | + <listener> | ||
57 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | ||
58 | + </listener> | ||
59 | + <listener> | ||
60 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | ||
61 | + </listener> | ||
62 | + <servlet> | ||
63 | + <servlet-name>springMvc</servlet-name> | ||
64 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | ||
65 | + <init-param> | ||
66 | + <param-name>contextConfigLocation</param-name> | ||
67 | + <param-value>classpath:spring/ApplicationContext-mvc.xml</param-value> | ||
68 | + </init-param> | ||
69 | + <load-on-startup>1</load-on-startup> | ||
70 | + </servlet> | ||
71 | + <servlet-mapping> | ||
72 | + <servlet-name>springMvc</servlet-name> | ||
73 | + <url-pattern>/</url-pattern> | ||
74 | + </servlet-mapping> | ||
75 | + <filter> | ||
76 | + <filter-name>startFilter</filter-name> | ||
77 | + <filter-class>com.fh.filter.startFilter</filter-class> | ||
78 | + </filter> | ||
79 | + <filter> | ||
80 | + <filter-name>shiroFilter</filter-name> | ||
81 | + <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> | ||
82 | + <init-param> | ||
83 | + <param-name>targetFilterLifecycle</param-name> | ||
84 | + <param-value>true</param-value> | ||
85 | + </init-param> | ||
86 | + </filter> | ||
87 | + <filter-mapping> | ||
88 | + <filter-name>shiroFilter</filter-name> | ||
89 | + <url-pattern>/*</url-pattern> | ||
90 | + </filter-mapping> | ||
91 | + <error-page> | ||
92 | + <error-code>404</error-code> | ||
93 | + <location>/404.jsp</location> | ||
94 | + </error-page> | ||
95 | + <session-config> | ||
96 | + <session-timeout>600</session-timeout> | ||
97 | + </session-config> | ||
137 | </web-app> | 98 | </web-app> |
138 | \ No newline at end of file | 99 | \ No newline at end of file |
resources/dbconfig.properties
1 | #数据源 1 | 1 | #数据源 1 |
2 | -url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 | 2 | +url:jdbc:mysql://127.0.0.1:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 |
3 | driverClassName:com.mysql.jdbc.Driver | 3 | driverClassName:com.mysql.jdbc.Driver |
4 | username:root | 4 | username:root |
5 | #password:elvis | 5 | #password:elvis |
src/com/fh/controller/api/ApiServer.java
1 | package com.fh.controller.api; | 1 | package com.fh.controller.api; |
2 | 2 | ||
3 | +import java.io.File; | ||
4 | +import java.util.Date; | ||
3 | import java.util.List; | 5 | import java.util.List; |
4 | 6 | ||
5 | import javax.annotation.Resource; | 7 | import javax.annotation.Resource; |
8 | +import javax.servlet.http.HttpServletRequest; | ||
6 | 9 | ||
7 | import org.springframework.stereotype.Controller; | 10 | import org.springframework.stereotype.Controller; |
8 | import org.springframework.web.bind.annotation.RequestMapping; | 11 | import org.springframework.web.bind.annotation.RequestMapping; |
9 | import org.springframework.web.bind.annotation.ResponseBody; | 12 | import org.springframework.web.bind.annotation.ResponseBody; |
13 | +import org.springframework.web.multipart.MultipartFile; | ||
10 | 14 | ||
11 | import com.fh.controller.base.BaseController; | 15 | import com.fh.controller.base.BaseController; |
16 | +import com.fh.service.feedback.feedback.FeedbackManager; | ||
12 | import com.fh.service.sunvote.basestation.BasestationManager; | 17 | import com.fh.service.sunvote.basestation.BasestationManager; |
13 | import com.fh.service.sunvote.keypad.KeypadManager; | 18 | import com.fh.service.sunvote.keypad.KeypadManager; |
14 | import com.fh.service.sunvote.school.SchoolManager; | 19 | import com.fh.service.sunvote.school.SchoolManager; |
15 | import com.fh.util.PageData; | 20 | import com.fh.util.PageData; |
21 | +import com.fh.util.Tools; | ||
16 | 22 | ||
17 | @Controller | 23 | @Controller |
18 | -@RequestMapping(value="/api") | 24 | +@RequestMapping(value = "/api") |
19 | public class ApiServer extends BaseController { | 25 | public class ApiServer extends BaseController { |
20 | 26 | ||
21 | - @Resource(name="schoolService") | 27 | + @Resource(name = "schoolService") |
22 | private SchoolManager schoolService; | 28 | private SchoolManager schoolService; |
23 | - | ||
24 | - @Resource(name="basestationService") | 29 | + |
30 | + @Resource(name = "basestationService") | ||
25 | private BasestationManager basestationService; | 31 | private BasestationManager basestationService; |
26 | - | ||
27 | - @Resource(name="keypadService") | 32 | + |
33 | + @Resource(name = "keypadService") | ||
28 | private KeypadManager keypadService; | 34 | private KeypadManager keypadService; |
29 | - | ||
30 | - | ||
31 | - @RequestMapping(value="/school" ,produces="application/json;charset=UTF-8") | 35 | + |
36 | + @Resource(name = "feedbackService") | ||
37 | + private FeedbackManager feedbackService; | ||
38 | + | ||
39 | + @RequestMapping(value = "/school", produces = "application/json;charset=UTF-8") | ||
32 | @ResponseBody | 40 | @ResponseBody |
33 | - public Object schoolDefault() throws Exception{ | 41 | + public Object schoolDefault() throws Exception { |
34 | return schoolList(); | 42 | return schoolList(); |
35 | } | 43 | } |
36 | - | ||
37 | - | ||
38 | - @RequestMapping(value="/school/list" ,produces="application/json;charset=UTF-8") | 44 | + |
45 | + @RequestMapping(value = "/school/list", produces = "application/json;charset=UTF-8") | ||
39 | @ResponseBody | 46 | @ResponseBody |
40 | - public Object schoolList() throws Exception{ | 47 | + public Object schoolList() throws Exception { |
41 | PageData pd = this.getPageData(); | 48 | PageData pd = this.getPageData(); |
42 | String id = pd.getString("ID"); | 49 | String id = pd.getString("ID"); |
43 | - if(id != null && !"".equals(id)){ | 50 | + if (id != null && !"".equals(id)) { |
44 | PageData ret = schoolService.findById(pd); | 51 | PageData ret = schoolService.findById(pd); |
45 | ResponseGson<PageData> res = new ResponseGson(); | 52 | ResponseGson<PageData> res = new ResponseGson(); |
46 | res.setData(ret); | 53 | res.setData(ret); |
47 | return res.toJson(); | 54 | return res.toJson(); |
48 | - }else{ | 55 | + } else { |
49 | List<PageData> ret = schoolService.listAll(pd); | 56 | List<PageData> ret = schoolService.listAll(pd); |
50 | ResponseGson<List<PageData>> res = new ResponseGson(); | 57 | ResponseGson<List<PageData>> res = new ResponseGson(); |
51 | res.setData(ret); | 58 | res.setData(ret); |
52 | return res.toJson(); | 59 | return res.toJson(); |
53 | } | 60 | } |
54 | } | 61 | } |
55 | - @RequestMapping(value="/school/add" ,produces="application/json;charset=UTF-8") | 62 | + |
63 | + @RequestMapping(value = "/school/add", produces = "application/json;charset=UTF-8") | ||
56 | @ResponseBody | 64 | @ResponseBody |
57 | - public Object schoolAdd() throws Exception{ | 65 | + public Object schoolAdd() throws Exception { |
58 | PageData pd = this.getPageData(); | 66 | PageData pd = this.getPageData(); |
59 | ResponseGson<Integer> res = new ResponseGson(); | 67 | ResponseGson<Integer> res = new ResponseGson(); |
60 | try { | 68 | try { |
@@ -64,70 +72,69 @@ public class ApiServer extends BaseController { | @@ -64,70 +72,69 @@ public class ApiServer extends BaseController { | ||
64 | } else { | 72 | } else { |
65 | res.setDataError(); | 73 | res.setDataError(); |
66 | } | 74 | } |
67 | - }catch(Exception e){ | 75 | + } catch (Exception e) { |
68 | res.setDataError(); | 76 | res.setDataError(); |
69 | } | 77 | } |
70 | return res.toJson(); | 78 | return res.toJson(); |
71 | } | 79 | } |
72 | - | ||
73 | - @RequestMapping(value="/school/delete" ,produces="application/json;charset=UTF-8") | 80 | + |
81 | + @RequestMapping(value = "/school/delete", produces = "application/json;charset=UTF-8") | ||
74 | @ResponseBody | 82 | @ResponseBody |
75 | - public Object schoolDelete() throws Exception{ | 83 | + public Object schoolDelete() throws Exception { |
76 | ResponseGson<PageData> res = new ResponseGson(); | 84 | ResponseGson<PageData> res = new ResponseGson(); |
77 | PageData pd = this.getPageData(); | 85 | PageData pd = this.getPageData(); |
78 | String id = pd.getString("ID"); | 86 | String id = pd.getString("ID"); |
79 | - if(id != null && !"".equals(id)){ | 87 | + if (id != null && !"".equals(id)) { |
80 | try { | 88 | try { |
81 | schoolService.delete(pd); | 89 | schoolService.delete(pd); |
82 | } catch (Exception e) { | 90 | } catch (Exception e) { |
83 | res.setDataError(); | 91 | res.setDataError(); |
84 | } | 92 | } |
85 | - }else{ | 93 | + } else { |
86 | res.setDataError(); | 94 | res.setDataError(); |
87 | } | 95 | } |
88 | return res.toJson(); | 96 | return res.toJson(); |
89 | } | 97 | } |
90 | - | ||
91 | - @RequestMapping(value="/school/update" ,produces="application/json;charset=UTF-8") | 98 | + |
99 | + @RequestMapping(value = "/school/update", produces = "application/json;charset=UTF-8") | ||
92 | @ResponseBody | 100 | @ResponseBody |
93 | - public Object schoolUpdate() throws Exception{ | 101 | + public Object schoolUpdate() throws Exception { |
94 | ResponseGson<PageData> res = new ResponseGson(); | 102 | ResponseGson<PageData> res = new ResponseGson(); |
95 | PageData pd = this.getPageData(); | 103 | PageData pd = this.getPageData(); |
96 | String id = pd.getString("ID"); | 104 | String id = pd.getString("ID"); |
97 | - if(id != null && !"".equals(id)){ | 105 | + if (id != null && !"".equals(id)) { |
98 | try { | 106 | try { |
99 | schoolService.edit(pd); | 107 | schoolService.edit(pd); |
100 | } catch (Exception e) { | 108 | } catch (Exception e) { |
101 | res.setDataError(); | 109 | res.setDataError(); |
102 | } | 110 | } |
103 | - }else{ | 111 | + } else { |
104 | res.setDataError(); | 112 | res.setDataError(); |
105 | } | 113 | } |
106 | return res.toJson(); | 114 | return res.toJson(); |
107 | } | 115 | } |
108 | - | ||
109 | - | ||
110 | - @RequestMapping(value="/basestation/list" ,produces="application/json;charset=UTF-8") | 116 | + |
117 | + @RequestMapping(value = "/basestation/list", produces = "application/json;charset=UTF-8") | ||
111 | @ResponseBody | 118 | @ResponseBody |
112 | - public Object basestation() throws Exception{ | 119 | + public Object basestation() throws Exception { |
113 | PageData pd = this.getPageData(); | 120 | PageData pd = this.getPageData(); |
114 | String id = pd.getString("ID"); | 121 | String id = pd.getString("ID"); |
115 | - if(id != null && !"".equals(id)){ | 122 | + if (id != null && !"".equals(id)) { |
116 | pd.put("BASESTATION_ID", pd.getString("id")); | 123 | pd.put("BASESTATION_ID", pd.getString("id")); |
117 | PageData ret = basestationService.findById(pd); | 124 | PageData ret = basestationService.findById(pd); |
118 | ResponseGson<PageData> res = new ResponseGson(); | 125 | ResponseGson<PageData> res = new ResponseGson(); |
119 | res.setData(ret); | 126 | res.setData(ret); |
120 | return res.toJson(); | 127 | return res.toJson(); |
121 | - }else{ | 128 | + } else { |
122 | List<PageData> ret = basestationService.listAll(pd); | 129 | List<PageData> ret = basestationService.listAll(pd); |
123 | ResponseGson<List<PageData>> res = new ResponseGson(); | 130 | ResponseGson<List<PageData>> res = new ResponseGson(); |
124 | res.setData(ret); | 131 | res.setData(ret); |
125 | return res.toJson(); | 132 | return res.toJson(); |
126 | } | 133 | } |
127 | - | 134 | + |
128 | } | 135 | } |
129 | - | ||
130 | - @RequestMapping(value="/basestation/add" ,produces="application/json;charset=UTF-8") | 136 | + |
137 | + @RequestMapping(value = "/basestation/add", produces = "application/json;charset=UTF-8") | ||
131 | @ResponseBody | 138 | @ResponseBody |
132 | public Object basestationAdd() throws Exception { | 139 | public Object basestationAdd() throws Exception { |
133 | ResponseGson<PageData> res = new ResponseGson(); | 140 | ResponseGson<PageData> res = new ResponseGson(); |
@@ -138,67 +145,67 @@ public class ApiServer extends BaseController { | @@ -138,67 +145,67 @@ public class ApiServer extends BaseController { | ||
138 | } catch (Exception ex) { | 145 | } catch (Exception ex) { |
139 | res.setDataError(); | 146 | res.setDataError(); |
140 | } | 147 | } |
141 | - }else{ | 148 | + } else { |
142 | res.setDataError(); | 149 | res.setDataError(); |
143 | } | 150 | } |
144 | return res.toJson(); | 151 | return res.toJson(); |
145 | } | 152 | } |
146 | - | ||
147 | - @RequestMapping(value="/basestation/delete" ,produces="application/json;charset=UTF-8") | 153 | + |
154 | + @RequestMapping(value = "/basestation/delete", produces = "application/json;charset=UTF-8") | ||
148 | @ResponseBody | 155 | @ResponseBody |
149 | - public Object basestationDelete() throws Exception{ | 156 | + public Object basestationDelete() throws Exception { |
150 | PageData pd = this.getPageData(); | 157 | PageData pd = this.getPageData(); |
151 | ResponseGson<PageData> res = new ResponseGson(); | 158 | ResponseGson<PageData> res = new ResponseGson(); |
152 | String id = pd.getString("ID"); | 159 | String id = pd.getString("ID"); |
153 | - if(id != null && !"".equals(id)){ | 160 | + if (id != null && !"".equals(id)) { |
154 | try { | 161 | try { |
155 | basestationService.delete(pd); | 162 | basestationService.delete(pd); |
156 | } catch (Exception e) { | 163 | } catch (Exception e) { |
157 | res.setDataError(); | 164 | res.setDataError(); |
158 | } | 165 | } |
159 | - }else{ | 166 | + } else { |
160 | res.setDataError(); | 167 | res.setDataError(); |
161 | } | 168 | } |
162 | return res.toJson(); | 169 | return res.toJson(); |
163 | } | 170 | } |
164 | - | ||
165 | - @RequestMapping(value="/basestation/update" ,produces="application/json;charset=UTF-8") | 171 | + |
172 | + @RequestMapping(value = "/basestation/update", produces = "application/json;charset=UTF-8") | ||
166 | @ResponseBody | 173 | @ResponseBody |
167 | - public Object basestationUpdate() throws Exception{ | 174 | + public Object basestationUpdate() throws Exception { |
168 | PageData pd = this.getPageData(); | 175 | PageData pd = this.getPageData(); |
169 | ResponseGson<PageData> res = new ResponseGson(); | 176 | ResponseGson<PageData> res = new ResponseGson(); |
170 | String id = pd.getString("ID"); | 177 | String id = pd.getString("ID"); |
171 | - if(id != null && !"".equals(id)){ | 178 | + if (id != null && !"".equals(id)) { |
172 | try { | 179 | try { |
173 | basestationService.edit(pd); | 180 | basestationService.edit(pd); |
174 | } catch (Exception e) { | 181 | } catch (Exception e) { |
175 | res.setDataError(); | 182 | res.setDataError(); |
176 | } | 183 | } |
177 | - }else{ | 184 | + } else { |
178 | res.setDataError(); | 185 | res.setDataError(); |
179 | } | 186 | } |
180 | return res.toJson(); | 187 | return res.toJson(); |
181 | } | 188 | } |
182 | - | ||
183 | - @RequestMapping(value="/keypad/list" ,produces="application/json;charset=UTF-8") | 189 | + |
190 | + @RequestMapping(value = "/keypad/list", produces = "application/json;charset=UTF-8") | ||
184 | @ResponseBody | 191 | @ResponseBody |
185 | - public Object keypad() throws Exception{ | 192 | + public Object keypad() throws Exception { |
186 | PageData pd = this.getPageData(); | 193 | PageData pd = this.getPageData(); |
187 | String id = pd.getString("ID"); | 194 | String id = pd.getString("ID"); |
188 | - if(id != null && !"".equals(id)){ | 195 | + if (id != null && !"".equals(id)) { |
189 | PageData ret = keypadService.findById(pd); | 196 | PageData ret = keypadService.findById(pd); |
190 | ResponseGson<PageData> res = new ResponseGson(); | 197 | ResponseGson<PageData> res = new ResponseGson(); |
191 | res.setData(ret); | 198 | res.setData(ret); |
192 | return res.toJson(); | 199 | return res.toJson(); |
193 | - }else{ | 200 | + } else { |
194 | List<PageData> ret = keypadService.listAll(pd); | 201 | List<PageData> ret = keypadService.listAll(pd); |
195 | ResponseGson<List<PageData>> res = new ResponseGson(); | 202 | ResponseGson<List<PageData>> res = new ResponseGson(); |
196 | res.setData(ret); | 203 | res.setData(ret); |
197 | return res.toJson(); | 204 | return res.toJson(); |
198 | } | 205 | } |
199 | } | 206 | } |
200 | - | ||
201 | - @RequestMapping(value="/keypad/add" ,produces="application/json;charset=UTF-8") | 207 | + |
208 | + @RequestMapping(value = "/keypad/add", produces = "application/json;charset=UTF-8") | ||
202 | @ResponseBody | 209 | @ResponseBody |
203 | public Object keypadAdd() throws Exception { | 210 | public Object keypadAdd() throws Exception { |
204 | PageData pd = this.getPageData(); | 211 | PageData pd = this.getPageData(); |
@@ -210,41 +217,76 @@ public class ApiServer extends BaseController { | @@ -210,41 +217,76 @@ public class ApiServer extends BaseController { | ||
210 | } | 217 | } |
211 | return res.toJson(); | 218 | return res.toJson(); |
212 | } | 219 | } |
213 | - | ||
214 | - @RequestMapping(value="/keypad/delete" ,produces="application/json;charset=UTF-8") | 220 | + |
221 | + @RequestMapping(value = "/keypad/delete", produces = "application/json;charset=UTF-8") | ||
215 | @ResponseBody | 222 | @ResponseBody |
216 | - public Object keypadDelete() throws Exception{ | 223 | + public Object keypadDelete() throws Exception { |
217 | PageData pd = this.getPageData(); | 224 | PageData pd = this.getPageData(); |
218 | ResponseGson<PageData> res = new ResponseGson(); | 225 | ResponseGson<PageData> res = new ResponseGson(); |
219 | String id = pd.getString("ID"); | 226 | String id = pd.getString("ID"); |
220 | - if(id != null && !"".equals(id)){ | 227 | + if (id != null && !"".equals(id)) { |
221 | try { | 228 | try { |
222 | keypadService.delete(pd); | 229 | keypadService.delete(pd); |
223 | } catch (Exception e) { | 230 | } catch (Exception e) { |
224 | res.setDataError(); | 231 | res.setDataError(); |
225 | } | 232 | } |
226 | - }else{ | 233 | + } else { |
227 | res.setDataError(); | 234 | res.setDataError(); |
228 | } | 235 | } |
229 | return res.toJson(); | 236 | return res.toJson(); |
230 | } | 237 | } |
231 | - | ||
232 | - @RequestMapping(value="/keypad/update" ,produces="application/json;charset=UTF-8") | 238 | + |
239 | + @RequestMapping(value = "/keypad/update", produces = "application/json;charset=UTF-8") | ||
233 | @ResponseBody | 240 | @ResponseBody |
234 | - public Object keypadUpdate() throws Exception{ | 241 | + public Object keypadUpdate() throws Exception { |
235 | PageData pd = this.getPageData(); | 242 | PageData pd = this.getPageData(); |
236 | ResponseGson<PageData> res = new ResponseGson(); | 243 | ResponseGson<PageData> res = new ResponseGson(); |
237 | String id = pd.getString("ID"); | 244 | String id = pd.getString("ID"); |
238 | - if(id != null && !"".equals(id)){ | ||
239 | - try{ | 245 | + if (id != null && !"".equals(id)) { |
246 | + try { | ||
240 | keypadService.edit(pd); | 247 | keypadService.edit(pd); |
241 | - }catch(Exception ex){ | 248 | + } catch (Exception ex) { |
242 | res.setDataError(); | 249 | res.setDataError(); |
243 | } | 250 | } |
244 | - }else{ | 251 | + } else { |
245 | res.setDataError(); | 252 | res.setDataError(); |
246 | } | 253 | } |
247 | return res.toJson(); | 254 | return res.toJson(); |
248 | } | 255 | } |
249 | - | 256 | + |
257 | + @RequestMapping(value = "/feedback/add", produces = "application/json;charset=UTF-8") | ||
258 | + @ResponseBody | ||
259 | + public Object feedbackAdd(MultipartFile file, HttpServletRequest request) | ||
260 | + throws Exception { | ||
261 | + PageData pd = this.getPageData(); | ||
262 | + ResponseGson<PageData> res = new ResponseGson(); | ||
263 | + String path = request.getSession().getServletContext() | ||
264 | + .getRealPath("/images"); | ||
265 | + if (file != null) { | ||
266 | + String fileName = file.getOriginalFilename(); | ||
267 | + File dir = new File(path, Tools.date2Str(new Date()) + fileName); | ||
268 | + if (!dir.exists()) { | ||
269 | + dir.mkdirs(); | ||
270 | + } | ||
271 | + file.transferTo(dir); | ||
272 | + | ||
273 | + pd.put("PROBLEM_PATH", dir.getAbsolutePath()); | ||
274 | + } | ||
275 | + String id = pd.getString("ID"); | ||
276 | + if (id != null && !"".equals(id)) { | ||
277 | + try { | ||
278 | + feedbackService.edit(pd); | ||
279 | + } catch (Exception ex) { | ||
280 | + res.setDataError(); | ||
281 | + } | ||
282 | + } else { | ||
283 | + pd.put("CREATE_DATE", Tools.date2Str(new Date())); | ||
284 | + try { | ||
285 | + feedbackService.save(pd); | ||
286 | + } catch (Exception ex) { | ||
287 | + res.setDataError(); | ||
288 | + } | ||
289 | + } | ||
290 | + return res.toJson(); | ||
291 | + } | ||
250 | } | 292 | } |
src/com/fh/controller/app/appuser/IntAppuserController.java
src/com/fh/controller/app/redis/RedisDemoController.java
src/com/fh/controller/app/sysuser/SysUserController.java
src/com/fh/controller/base/BaseController.java
@@ -17,7 +17,6 @@ import com.fh.util.PageData; | @@ -17,7 +17,6 @@ import com.fh.util.PageData; | ||
17 | import com.fh.util.UuidUtil; | 17 | import com.fh.util.UuidUtil; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | - * @author Elvis | ||
21 | * 修改时间:2015、12、11 | 20 | * 修改时间:2015、12、11 |
22 | */ | 21 | */ |
23 | public class BaseController { | 22 | public class BaseController { |
src/com/fh/controller/dst/datasource2/DataSource2Controller.java
@@ -26,7 +26,6 @@ import com.fh.service.dst.datasource2.DataSource2Manager; | @@ -26,7 +26,6 @@ import com.fh.service.dst.datasource2.DataSource2Manager; | ||
26 | 26 | ||
27 | /** | 27 | /** |
28 | * 说明:第2数据源例子 | 28 | * 说明:第2数据源例子 |
29 | - * 创建人:Elvis | ||
30 | * 创建时间:2016-04-29 | 29 | * 创建时间:2016-04-29 |
31 | */ | 30 | */ |
32 | @Controller | 31 | @Controller |
src/com/fh/controller/fhdb/brdb/BRdbController.java
src/com/fh/controller/fhoa/datajur/DatajurController.java
@@ -25,7 +25,6 @@ import com.fh.service.fhoa.department.DepartmentManager; | @@ -25,7 +25,6 @@ import com.fh.service.fhoa.department.DepartmentManager; | ||
25 | 25 | ||
26 | /** | 26 | /** |
27 | * 说明:组织数据权限表 | 27 | * 说明:组织数据权限表 |
28 | - * 创建人:Elvis | ||
29 | * 创建时间:2016-04-26 | 28 | * 创建时间:2016-04-26 |
30 | */ | 29 | */ |
31 | @Controller | 30 | @Controller |
src/com/fh/controller/fhoa/department/DepartmentController.java
src/com/fh/controller/fhoa/fhfile/FhfileController.java
src/com/fh/controller/fhoa/staff/StaffController.java
src/com/fh/controller/information/attached/AttachedController.java
@@ -30,7 +30,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | @@ -30,7 +30,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * 说明:主附结构 | 32 | * 说明:主附结构 |
33 | - * 创建人:FH Q313596790 | ||
34 | * 创建时间:2016-04-17 | 33 | * 创建时间:2016-04-17 |
35 | */ | 34 | */ |
36 | @Controller | 35 | @Controller |
src/com/fh/controller/information/attachedmx/AttachedMxController.java
@@ -26,7 +26,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | @@ -26,7 +26,6 @@ import com.fh.service.information.attachedmx.AttachedMxManager; | ||
26 | 26 | ||
27 | /** | 27 | /** |
28 | * 说明:明细表 | 28 | * 说明:明细表 |
29 | - * 创建人:FH Q313596790 | ||
30 | * 创建时间:2016-04-17 | 29 | * 创建时间:2016-04-17 |
31 | */ | 30 | */ |
32 | @Controller | 31 | @Controller |
src/com/fh/controller/information/linkage/Linkage.java
src/com/fh/controller/information/pictures/PicturesController.java
@@ -39,7 +39,6 @@ import com.fh.service.information.pictures.PicturesManager; | @@ -39,7 +39,6 @@ import com.fh.service.information.pictures.PicturesManager; | ||
39 | 39 | ||
40 | /** | 40 | /** |
41 | * 类名称:图片管理 | 41 | * 类名称:图片管理 |
42 | - * 创建人:FH Q313596790 | ||
43 | * 创建时间:2015-03-21 | 42 | * 创建时间:2015-03-21 |
44 | */ | 43 | */ |
45 | @Controller | 44 | @Controller |
src/com/fh/controller/system/appuser/AppuserController.java
@@ -31,8 +31,6 @@ import com.fh.util.ObjectExcelView; | @@ -31,8 +31,6 @@ import com.fh.util.ObjectExcelView; | ||
31 | import com.fh.util.PageData; | 31 | import com.fh.util.PageData; |
32 | 32 | ||
33 | /** | 33 | /** |
34 | - * 类名称:会员管理 | ||
35 | - * 创建人:FH Q313596790 | ||
36 | * 修改时间:2014年11月17日 | 34 | * 修改时间:2014年11月17日 |
37 | * @version | 35 | * @version |
38 | */ | 36 | */ |
src/com/fh/controller/system/buttonrights/ButtonrightsController.java
src/com/fh/controller/system/codeeditor/CodeEditorController.java
src/com/fh/controller/system/createcode/CreateCodeController.java
src/com/fh/controller/system/createcode/ReverseCreateCodeController.java
src/com/fh/controller/system/dictionaries/DictionariesController.java
@@ -30,7 +30,6 @@ import com.fh.service.system.dictionaries.DictionariesManager; | @@ -30,7 +30,6 @@ import com.fh.service.system.dictionaries.DictionariesManager; | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * 说明:数据字典 | 32 | * 说明:数据字典 |
33 | - * 创建人:FH Q313596790 | ||
34 | * 创建时间:2015-12-16 | 33 | * 创建时间:2015-12-16 |
35 | */ | 34 | */ |
36 | @Controller | 35 | @Controller |
src/com/fh/controller/system/fhbutton/FhbuttonController.java
@@ -29,7 +29,6 @@ import com.fh.service.system.fhbutton.FhbuttonManager; | @@ -29,7 +29,6 @@ import com.fh.service.system.fhbutton.FhbuttonManager; | ||
29 | 29 | ||
30 | /** | 30 | /** |
31 | * 说明:按钮管理 | 31 | * 说明:按钮管理 |
32 | - * 创建人:FH Q313596790 | ||
33 | * 创建时间:2016-01-15 | 32 | * 创建时间:2016-01-15 |
34 | */ | 33 | */ |
35 | @Controller | 34 | @Controller |
src/com/fh/controller/system/fhlog/FHlogController.java
src/com/fh/controller/system/fhsms/FhsmsController.java
@@ -28,8 +28,6 @@ import com.fh.util.Jurisdiction; | @@ -28,8 +28,6 @@ import com.fh.util.Jurisdiction; | ||
28 | import com.fh.service.system.fhsms.FhsmsManager; | 28 | import com.fh.service.system.fhsms.FhsmsManager; |
29 | 29 | ||
30 | /** | 30 | /** |
31 | - * 说明:站内信 | ||
32 | - * 创建人:FH Q313596790 | ||
33 | * 创建时间:2016-01-17 | 31 | * 创建时间:2016-01-17 |
34 | */ | 32 | */ |
35 | @Controller | 33 | @Controller |
src/com/fh/controller/system/head/HeadController.java
src/com/fh/controller/system/login/LoginController.java
src/com/fh/controller/system/loginimg/LogInImgController.java
@@ -26,7 +26,6 @@ import com.fh.service.system.loginimg.LogInImgManager; | @@ -26,7 +26,6 @@ import com.fh.service.system.loginimg.LogInImgManager; | ||
26 | 26 | ||
27 | /** | 27 | /** |
28 | * 说明:登录页面背景图片 | 28 | * 说明:登录页面背景图片 |
29 | - * 创建人:FH Q313596790 | ||
30 | * 创建时间:2016-06-03 | 29 | * 创建时间:2016-06-03 |
31 | */ | 30 | */ |
32 | @Controller | 31 | @Controller |
src/com/fh/controller/system/menu/MenuController.java
@@ -26,7 +26,6 @@ import com.fh.util.PageData; | @@ -26,7 +26,6 @@ import com.fh.util.PageData; | ||
26 | import com.fh.util.RightsHelper; | 26 | import com.fh.util.RightsHelper; |
27 | /** | 27 | /** |
28 | * 类名称:MenuController 菜单处理 | 28 | * 类名称:MenuController 菜单处理 |
29 | - * 创建人:FH | ||
30 | * 创建时间:2015年10月27日 | 29 | * 创建时间:2015年10月27日 |
31 | * @version | 30 | * @version |
32 | */ | 31 | */ |
src/com/fh/controller/system/onlinemanager/OnlineManagerController.java
src/com/fh/controller/system/role/RoleController.java
@@ -33,7 +33,6 @@ import com.fh.util.RightsHelper; | @@ -33,7 +33,6 @@ import com.fh.util.RightsHelper; | ||
33 | import com.fh.util.Tools; | 33 | import com.fh.util.Tools; |
34 | /** | 34 | /** |
35 | * 类名称:RoleController 角色权限管理 | 35 | * 类名称:RoleController 角色权限管理 |
36 | - * 创建人:FH Q313596790 | ||
37 | * 修改时间:2015年11月6日 | 36 | * 修改时间:2015年11月6日 |
38 | * @version | 37 | * @version |
39 | */ | 38 | */ |
@@ -115,6 +114,9 @@ public class RoleController extends BaseController { | @@ -115,6 +114,9 @@ public class RoleController extends BaseController { | ||
115 | try{ | 114 | try{ |
116 | pd = this.getPageData(); | 115 | pd = this.getPageData(); |
117 | String parent_id = pd.getString("PARENT_ID"); //父类角色id | 116 | String parent_id = pd.getString("PARENT_ID"); //父类角色id |
117 | + if("".equals(parent_id)){ | ||
118 | + parent_id = "1" ; | ||
119 | + } | ||
118 | pd.put("ROLE_ID", parent_id); | 120 | pd.put("ROLE_ID", parent_id); |
119 | if("0".equals(parent_id)){ | 121 | if("0".equals(parent_id)){ |
120 | pd.put("RIGHTS", ""); //菜单权限 | 122 | pd.put("RIGHTS", ""); //菜单权限 |
src/com/fh/controller/system/secCode/SecCodeController.java
src/com/fh/controller/system/tools/ToolController.java
@@ -35,8 +35,6 @@ import com.fh.util.TwoDimensionCode; | @@ -35,8 +35,6 @@ import com.fh.util.TwoDimensionCode; | ||
35 | import com.fh.util.express.GetExpressMsg; | 35 | import com.fh.util.express.GetExpressMsg; |
36 | 36 | ||
37 | /** | 37 | /** |
38 | - * 类名称:ToolController 系统工具 | ||
39 | - * 创建人:FH Q313596790 | ||
40 | * 修改时间:2017年2月13日 | 38 | * 修改时间:2017年2月13日 |
41 | * @version | 39 | * @version |
42 | */ | 40 | */ |
src/com/fh/controller/system/user/UserController.java
src/com/fh/controller/system/userphoto/UserPhotoController.java
@@ -20,7 +20,6 @@ import com.fh.service.system.userphoto.UserPhotoManager; | @@ -20,7 +20,6 @@ import com.fh.service.system.userphoto.UserPhotoManager; | ||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * 说明:用户头像 | 22 | * 说明:用户头像 |
23 | - * 创建人:FH Q313596790 | ||
24 | * 创建时间:2016-06-05 | 23 | * 创建时间:2016-06-05 |
25 | */ | 24 | */ |
26 | @Controller | 25 | @Controller |
src/com/fh/controller/weixin/WeixinController.java
@@ -38,9 +38,6 @@ import com.fh.util.Tools; | @@ -38,9 +38,6 @@ import com.fh.util.Tools; | ||
38 | * | 38 | * |
39 | * 类名称:WeixinController.java | 39 | * 类名称:WeixinController.java |
40 | * 类描述: 微信公共平台开发 | 40 | * 类描述: 微信公共平台开发 |
41 | -* @author FH 313596790 | ||
42 | -* 作者单位: | ||
43 | -* 联系方式: | ||
44 | * 创建时间:2014年7月10日 | 41 | * 创建时间:2014年7月10日 |
45 | * @version 1.0 | 42 | * @version 1.0 |
46 | */ | 43 | */ |
src/com/fh/controller/weixin/command/CommandController.java
@@ -30,7 +30,6 @@ import com.fh.service.weixin.command.CommandService; | @@ -30,7 +30,6 @@ import com.fh.service.weixin.command.CommandService; | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * 类名称:CommandController | 32 | * 类名称:CommandController |
33 | - * 创建人:FH 313596790 | ||
34 | * 创建时间:2015-05-09 | 33 | * 创建时间:2015-05-09 |
35 | */ | 34 | */ |
36 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/imgmsg/ImgmsgController.java
@@ -30,7 +30,6 @@ import com.fh.service.weixin.imgmsg.ImgmsgService; | @@ -30,7 +30,6 @@ import com.fh.service.weixin.imgmsg.ImgmsgService; | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * 类名称:ImgmsgController | 32 | * 类名称:ImgmsgController |
33 | - * 创建人:FH | ||
34 | * 创建时间:2015-05-10 | 33 | * 创建时间:2015-05-10 |
35 | */ | 34 | */ |
36 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/key/KeyController.java
@@ -25,7 +25,6 @@ import com.fh.service.weixin.mymenu.MyMenuManager; | @@ -25,7 +25,6 @@ import com.fh.service.weixin.mymenu.MyMenuManager; | ||
25 | 25 | ||
26 | /** | 26 | /** |
27 | * 说明:公众平台Key信息 | 27 | * 说明:公众平台Key信息 |
28 | - * 创建人:FH Q313596790 | ||
29 | * 创建时间:2016-10-30 | 28 | * 创建时间:2016-10-30 |
30 | */ | 29 | */ |
31 | @Controller | 30 | @Controller |
src/com/fh/controller/weixin/mymenu/MyMenuController.java
@@ -30,8 +30,6 @@ import com.fh.service.weixin.key.KeyManager; | @@ -30,8 +30,6 @@ import com.fh.service.weixin.key.KeyManager; | ||
30 | import com.fh.service.weixin.mymenu.MyMenuManager; | 30 | import com.fh.service.weixin.mymenu.MyMenuManager; |
31 | 31 | ||
32 | /** | 32 | /** |
33 | - * 说明:微信自定义菜单 | ||
34 | - * 创建人:FH Q313596790 | ||
35 | * 创建时间:2016-10-30 | 33 | * 创建时间:2016-10-30 |
36 | */ | 34 | */ |
37 | @Controller | 35 | @Controller |
src/com/fh/controller/weixin/textmsg/TextmsgController.java
@@ -32,7 +32,6 @@ import com.fh.service.weixin.textmsg.TextmsgService; | @@ -32,7 +32,6 @@ import com.fh.service.weixin.textmsg.TextmsgService; | ||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * 类名称:TextmsgController | 34 | * 类名称:TextmsgController |
35 | - * 创建人:FH | ||
36 | * 创建时间:2015-05-05 | 35 | * 创建时间:2015-05-05 |
37 | */ | 36 | */ |
38 | @Controller | 37 | @Controller |
src/com/fh/dao/AbstractBaseRedisDao.java
@@ -7,7 +7,6 @@ import org.springframework.data.redis.serializer.RedisSerializer; | @@ -7,7 +7,6 @@ import org.springframework.data.redis.serializer.RedisSerializer; | ||
7 | 7 | ||
8 | /** | 8 | /** |
9 | * redis Dao | 9 | * redis Dao |
10 | - * @author Elvis | ||
11 | * 修改时间:2016、5、2 | 10 | * 修改时间:2016、5、2 |
12 | */ | 11 | */ |
13 | public abstract class AbstractBaseRedisDao<K, V> { | 12 | public abstract class AbstractBaseRedisDao<K, V> { |
src/com/fh/dao/DAO.java
src/com/fh/dao/DaoSupport.java
@@ -10,7 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | @@ -10,7 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | ||
10 | import org.mybatis.spring.SqlSessionTemplate; | 10 | import org.mybatis.spring.SqlSessionTemplate; |
11 | import org.springframework.stereotype.Repository; | 11 | import org.springframework.stereotype.Repository; |
12 | /** | 12 | /** |
13 | - * @author Elvis | ||
14 | * 修改时间:2015、12、11 | 13 | * 修改时间:2015、12、11 |
15 | */ | 14 | */ |
16 | @Repository("daoSupport") | 15 | @Repository("daoSupport") |
src/com/fh/dao/DaoSupport2.java
@@ -10,8 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | @@ -10,8 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; | ||
10 | import org.mybatis.spring.SqlSessionTemplate; | 10 | import org.mybatis.spring.SqlSessionTemplate; |
11 | import org.springframework.stereotype.Repository; | 11 | import org.springframework.stereotype.Repository; |
12 | /** | 12 | /** |
13 | - * 第2数据源 | ||
14 | - * @author FH Q 31 359 6790 | ||
15 | * 修改时间:2016、04、29 | 13 | * 修改时间:2016、04、29 |
16 | */ | 14 | */ |
17 | @Repository("daoSupport2") | 15 | @Repository("daoSupport2") |
src/com/fh/dao/redis/RedisDao.java
src/com/fh/entity/Page.java
@@ -4,11 +4,6 @@ import com.fh.util.Const; | @@ -4,11 +4,6 @@ import com.fh.util.Const; | ||
4 | import com.fh.util.PageData; | 4 | import com.fh.util.PageData; |
5 | import com.fh.util.Tools; | 5 | import com.fh.util.Tools; |
6 | 6 | ||
7 | -/** | ||
8 | - * 分页类 | ||
9 | - * @author FH QQ 313596790[青苔] | ||
10 | - * 创建时间:2014年6月28日 | ||
11 | - */ | ||
12 | public class Page { | 7 | public class Page { |
13 | 8 | ||
14 | private int showCount; //每页显示记录数 | 9 | private int showCount; //每页显示记录数 |
src/com/fh/entity/system/Department.java
src/com/fh/entity/system/Dictionaries.java
@@ -6,10 +6,6 @@ import java.util.List; | @@ -6,10 +6,6 @@ import java.util.List; | ||
6 | * | 6 | * |
7 | * 类名称:数据字典 | 7 | * 类名称:数据字典 |
8 | * 类描述: | 8 | * 类描述: |
9 | -* @author FH QQ 313596790[青苔] | ||
10 | -* 作者单位: | ||
11 | -* 联系方式: | ||
12 | -* 修改时间:2015年12月16日 | ||
13 | * @version 2.0 | 9 | * @version 2.0 |
14 | */ | 10 | */ |
15 | public class Dictionaries { | 11 | public class Dictionaries { |
src/com/fh/entity/system/Menu.java
src/com/fh/entity/system/Role.java
1 | package com.fh.entity.system; | 1 | package com.fh.entity.system; |
2 | -/** | ||
3 | - * | ||
4 | -* 类名称:角色 | ||
5 | -* 类描述: | ||
6 | -* @author FH QQ 313596790[青苔] | ||
7 | -* 作者单位: | ||
8 | -* 联系方式: | ||
9 | -* 创建时间:2014年3月10日 | ||
10 | -* @version 1.0 | ||
11 | - */ | 2 | + |
12 | public class Role { | 3 | public class Role { |
13 | private String ROLE_ID; | 4 | private String ROLE_ID; |
14 | private String ROLE_NAME; | 5 | private String ROLE_NAME; |
src/com/fh/entity/system/User.java
@@ -2,16 +2,7 @@ package com.fh.entity.system; | @@ -2,16 +2,7 @@ package com.fh.entity.system; | ||
2 | 2 | ||
3 | import com.fh.entity.Page; | 3 | import com.fh.entity.Page; |
4 | 4 | ||
5 | -/** | ||
6 | - * | ||
7 | -* 类名称:用户 | ||
8 | -* 类描述: | ||
9 | -* @author FH QQ 313596790[青苔] | ||
10 | -* 作者单位: | ||
11 | -* 联系方式: | ||
12 | -* 创建时间:2014年6月28日 | ||
13 | -* @version 1.0 | ||
14 | - */ | 5 | + |
15 | public class User { | 6 | public class User { |
16 | private String USER_ID; //用户id | 7 | private String USER_ID; //用户id |
17 | private String USERNAME; //用户名 | 8 | private String USERNAME; //用户名 |
src/com/fh/entity/weixin/Button.java
src/com/fh/entity/weixin/CommonButton.java
src/com/fh/entity/weixin/ComplexButton.java
src/com/fh/entity/weixin/Menu.java
src/com/fh/entity/weixin/ViewButton.java
1 | package com.fh.entity.weixin; | 1 | package com.fh.entity.weixin; |
2 | 2 | ||
3 | 3 | ||
4 | -/** view类型的菜单对象 | ||
5 | - * @author FH | ||
6 | - * Q: 3 13596 79 0 | ||
7 | - * 2016.11.1 | ||
8 | - */ | ||
9 | public class ViewButton extends Button{ | 4 | public class ViewButton extends Button{ |
10 | private String type; //菜单类型 | 5 | private String type; //菜单类型 |
11 | private String url; //view路径值 | 6 | private String url; //view路径值 |
src/com/fh/filter/LoginFilter.java
@@ -13,10 +13,6 @@ import javax.servlet.http.HttpServletResponse; | @@ -13,10 +13,6 @@ import javax.servlet.http.HttpServletResponse; | ||
13 | 13 | ||
14 | import com.fh.controller.base.BaseController; | 14 | import com.fh.controller.base.BaseController; |
15 | 15 | ||
16 | -/**登录验证过滤器(废弃 com.fh.interceptor替代) | ||
17 | - * @author FH QQ 313596790[青苔] | ||
18 | - * | ||
19 | - */ | ||
20 | public class LoginFilter extends BaseController implements Filter { | 16 | public class LoginFilter extends BaseController implements Filter { |
21 | 17 | ||
22 | /** | 18 | /** |
src/com/fh/filter/startFilter.java
@@ -25,12 +25,6 @@ import com.fh.util.DbFH; | @@ -25,12 +25,6 @@ import com.fh.util.DbFH; | ||
25 | import com.fh.util.Tools; | 25 | import com.fh.util.Tools; |
26 | import com.fh.controller.base.BaseController; | 26 | import com.fh.controller.base.BaseController; |
27 | 27 | ||
28 | -/** | ||
29 | - * 启动tomcat时运行此类 | ||
30 | - * 创建人:FH FH QQ 313596790[青苔] | ||
31 | - * 创建时间:2014年2月17日 | ||
32 | - * @version | ||
33 | - */ | ||
34 | public class startFilter extends BaseController implements Filter{ | 28 | public class startFilter extends BaseController implements Filter{ |
35 | 29 | ||
36 | /** | 30 | /** |
src/com/fh/interceptor/LoginHandlerInterceptor.java
@@ -6,16 +6,6 @@ import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; | @@ -6,16 +6,6 @@ import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; | ||
6 | import com.fh.entity.system.User; | 6 | import com.fh.entity.system.User; |
7 | import com.fh.util.Const; | 7 | import com.fh.util.Const; |
8 | import com.fh.util.Jurisdiction; | 8 | import com.fh.util.Jurisdiction; |
9 | -/** | ||
10 | - * | ||
11 | -* 类名称:登录过滤,权限验证 | ||
12 | -* 类描述: | ||
13 | -* @author Elvis | ||
14 | -* 作者单位: | ||
15 | -* 联系方式: | ||
16 | -* 创建时间:2015年11月2日 | ||
17 | -* @version 1.6 | ||
18 | - */ | ||
19 | public class LoginHandlerInterceptor extends HandlerInterceptorAdapter{ | 9 | public class LoginHandlerInterceptor extends HandlerInterceptorAdapter{ |
20 | 10 | ||
21 | @Override | 11 | @Override |
src/com/fh/interceptor/shiro/ShiroRealm.java
@@ -10,10 +10,6 @@ import org.apache.shiro.realm.AuthorizingRealm; | @@ -10,10 +10,6 @@ import org.apache.shiro.realm.AuthorizingRealm; | ||
10 | import org.apache.shiro.subject.PrincipalCollection; | 10 | import org.apache.shiro.subject.PrincipalCollection; |
11 | 11 | ||
12 | 12 | ||
13 | -/** | ||
14 | - * @author fh | ||
15 | - * 2015-3-6 | ||
16 | - */ | ||
17 | public class ShiroRealm extends AuthorizingRealm { | 13 | public class ShiroRealm extends AuthorizingRealm { |
18 | 14 | ||
19 | /* | 15 | /* |
src/com/fh/listener/WebAppContextListener.java
@@ -6,14 +6,6 @@ import javax.servlet.ServletContextListener; | @@ -6,14 +6,6 @@ import javax.servlet.ServletContextListener; | ||
6 | import org.springframework.web.context.support.WebApplicationContextUtils; | 6 | import org.springframework.web.context.support.WebApplicationContextUtils; |
7 | 7 | ||
8 | import com.fh.util.Const; | 8 | import com.fh.util.Const; |
9 | -/** | ||
10 | - * | ||
11 | -* 类名称:WebAppContextListener.java | ||
12 | -* 类描述: | ||
13 | -* 作者:FH | ||
14 | -* 联系方式: | ||
15 | -* @version 1.0 | ||
16 | - */ | ||
17 | public class WebAppContextListener implements ServletContextListener { | 9 | public class WebAppContextListener implements ServletContextListener { |
18 | 10 | ||
19 | public void contextDestroyed(ServletContextEvent event) { | 11 | public void contextDestroyed(ServletContextEvent event) { |
src/com/fh/plugin/PagePlugin.java
@@ -34,16 +34,7 @@ import org.apache.ibatis.type.TypeHandlerRegistry; | @@ -34,16 +34,7 @@ import org.apache.ibatis.type.TypeHandlerRegistry; | ||
34 | import com.fh.entity.Page; | 34 | import com.fh.entity.Page; |
35 | import com.fh.util.ReflectHelper; | 35 | import com.fh.util.ReflectHelper; |
36 | import com.fh.util.Tools; | 36 | import com.fh.util.Tools; |
37 | -/** | ||
38 | - * | ||
39 | -* 类名称:分页插件 | ||
40 | -* 类描述: | ||
41 | -* @author FH | ||
42 | -* 作者单位: | ||
43 | -* 联系方式: | ||
44 | -* 修改时间:2016年2月1日 | ||
45 | -* @version 1.0 | ||
46 | - */ | 37 | + |
47 | @Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})}) | 38 | @Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})}) |
48 | public class PagePlugin implements Interceptor { | 39 | public class PagePlugin implements Interceptor { |
49 | 40 |
src/com/fh/plugin/websocketInstantMsg/ChatServer.java
@@ -14,12 +14,6 @@ import org.java_websocket.handshake.ClientHandshake; | @@ -14,12 +14,6 @@ import org.java_websocket.handshake.ClientHandshake; | ||
14 | import org.java_websocket.server.WebSocketServer; | 14 | import org.java_websocket.server.WebSocketServer; |
15 | 15 | ||
16 | 16 | ||
17 | -/** | ||
18 | - * 即时通讯 | ||
19 | - * @author FH | ||
20 | - * QQ 313596790 | ||
21 | - * 2015-5-16 | ||
22 | - */ | ||
23 | public class ChatServer extends WebSocketServer{ | 17 | public class ChatServer extends WebSocketServer{ |
24 | 18 | ||
25 | public ChatServer(int port) throws UnknownHostException { | 19 | public ChatServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketInstantMsg/ChatServerPool.java
@@ -9,12 +9,6 @@ import java.util.Set; | @@ -9,12 +9,6 @@ import java.util.Set; | ||
9 | 9 | ||
10 | import org.java_websocket.WebSocket; | 10 | import org.java_websocket.WebSocket; |
11 | 11 | ||
12 | -/** | ||
13 | - * 即时通讯 | ||
14 | - * @author FH | ||
15 | - * QQ 313596790 | ||
16 | - * 2015-5-16 | ||
17 | - */ | ||
18 | public class ChatServerPool { | 12 | public class ChatServerPool { |
19 | 13 | ||
20 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 14 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/plugin/websocketOnline/OnlineChatServer.java
@@ -12,12 +12,6 @@ import org.java_websocket.framing.Framedata; | @@ -12,12 +12,6 @@ import org.java_websocket.framing.Framedata; | ||
12 | import org.java_websocket.handshake.ClientHandshake; | 12 | import org.java_websocket.handshake.ClientHandshake; |
13 | import org.java_websocket.server.WebSocketServer; | 13 | import org.java_websocket.server.WebSocketServer; |
14 | 14 | ||
15 | -/** | ||
16 | - * 在线管理 | ||
17 | - * @author FH | ||
18 | - * QQ 313596790 | ||
19 | - * 2015-5-25 | ||
20 | - */ | ||
21 | public class OnlineChatServer extends WebSocketServer{ | 15 | public class OnlineChatServer extends WebSocketServer{ |
22 | 16 | ||
23 | public OnlineChatServer(int port) throws UnknownHostException { | 17 | public OnlineChatServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketOnline/OnlineChatServerPool.java
@@ -9,12 +9,6 @@ import java.util.Set; | @@ -9,12 +9,6 @@ import java.util.Set; | ||
9 | 9 | ||
10 | import org.java_websocket.WebSocket; | 10 | import org.java_websocket.WebSocket; |
11 | 11 | ||
12 | -/** | ||
13 | - * 在线管理 | ||
14 | - * @author FH | ||
15 | - * QQ 313596790 | ||
16 | - * 2015-5-25 | ||
17 | - */ | ||
18 | public class OnlineChatServerPool { | 12 | public class OnlineChatServerPool { |
19 | 13 | ||
20 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 14 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/plugin/websocketVideo/VideoServer.java
@@ -11,12 +11,6 @@ import org.java_websocket.handshake.ClientHandshake; | @@ -11,12 +11,6 @@ import org.java_websocket.handshake.ClientHandshake; | ||
11 | import org.java_websocket.server.WebSocketServer; | 11 | import org.java_websocket.server.WebSocketServer; |
12 | 12 | ||
13 | 13 | ||
14 | -/** | ||
15 | - * 视频弹幕服务端 | ||
16 | - * @author FH | ||
17 | - * QQ 313596790 | ||
18 | - * 2017-11-24 | ||
19 | - */ | ||
20 | public class VideoServer extends WebSocketServer{ | 14 | public class VideoServer extends WebSocketServer{ |
21 | 15 | ||
22 | public VideoServer(int port) throws UnknownHostException { | 16 | public VideoServer(int port) throws UnknownHostException { |
src/com/fh/plugin/websocketVideo/VideoServerPool.java
@@ -6,12 +6,6 @@ import java.util.Set; | @@ -6,12 +6,6 @@ import java.util.Set; | ||
6 | 6 | ||
7 | import org.java_websocket.WebSocket; | 7 | import org.java_websocket.WebSocket; |
8 | 8 | ||
9 | -/** | ||
10 | - * 视频弹幕服务端 | ||
11 | - * @author FH | ||
12 | - * QQ 313596790 | ||
13 | - * 2017-11-24 | ||
14 | - */ | ||
15 | public class VideoServerPool { | 9 | public class VideoServerPool { |
16 | 10 | ||
17 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); | 11 | private static final Map<WebSocket,String> userconnections = new HashMap<WebSocket,String>(); |
src/com/fh/resolver/MyExceptionResolver.java
@@ -5,15 +5,6 @@ import javax.servlet.http.HttpServletResponse; | @@ -5,15 +5,6 @@ import javax.servlet.http.HttpServletResponse; | ||
5 | 5 | ||
6 | import org.springframework.web.servlet.HandlerExceptionResolver; | 6 | import org.springframework.web.servlet.HandlerExceptionResolver; |
7 | import org.springframework.web.servlet.ModelAndView; | 7 | import org.springframework.web.servlet.ModelAndView; |
8 | -/** | ||
9 | - * | ||
10 | -* 类名称:MyExceptionResolver.java | ||
11 | -* 类描述: | ||
12 | -* @author FH | ||
13 | -* 作者单位: | ||
14 | -* 联系方式:QQ313596790 | ||
15 | -* @version 1.0 | ||
16 | - */ | ||
17 | public class MyExceptionResolver implements HandlerExceptionResolver{ | 8 | public class MyExceptionResolver implements HandlerExceptionResolver{ |
18 | 9 | ||
19 | public ModelAndView resolveException(HttpServletRequest request, | 10 | public ModelAndView resolveException(HttpServletRequest request, |
src/com/fh/service/dst/datasource2/DataSource2Manager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 第2数据源例子接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-04-29 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface DataSource2Manager{ | 7 | public interface DataSource2Manager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/dst/datasource2/impl/DataSource2Service.java
@@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.dst.datasource2.DataSource2Manager; | 9 | import com.fh.service.dst.datasource2.DataSource2Manager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 第2数据源例子 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2016-04-29 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("datasource2Service") | 11 | @Service("datasource2Service") |
18 | public class DataSource2Service implements DataSource2Manager{ | 12 | public class DataSource2Service implements DataSource2Manager{ |
19 | 13 |
src/com/fh/service/fhdb/brdb/BRdbManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 数据库管理接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-03-30 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface BRdbManager{ | 7 | public interface BRdbManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhdb/brdb/impl/BRdbService.java
@@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
12 | import com.fh.service.fhdb.brdb.BRdbManager; | 12 | import com.fh.service.fhdb.brdb.BRdbManager; |
13 | 13 | ||
14 | -/** | ||
15 | - * 说明: 数据库管理 | ||
16 | - * 创建人:FH Q313596790 | ||
17 | - * 创建时间:2016-03-30 | ||
18 | - * @version | ||
19 | - */ | ||
20 | @Service("brdbService") | 14 | @Service("brdbService") |
21 | public class BRdbService implements BRdbManager{ | 15 | public class BRdbService implements BRdbManager{ |
22 | 16 |
src/com/fh/service/fhdb/timingbackup/TimingBackUpManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 定时备份接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-04-09 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface TimingBackUpManager{ | 7 | public interface TimingBackUpManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhdb/timingbackup/impl/TimingBackUpService.java
@@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
12 | import com.fh.service.fhdb.timingbackup.TimingBackUpManager; | 12 | import com.fh.service.fhdb.timingbackup.TimingBackUpManager; |
13 | 13 | ||
14 | -/** | ||
15 | - * 说明: 定时备份 | ||
16 | - * 创建人:FH Q313596790 | ||
17 | - * 创建时间:2016-04-09 | ||
18 | - * @version | ||
19 | - */ | ||
20 | @Service("timingbackupService") | 14 | @Service("timingbackupService") |
21 | public class TimingBackUpService implements TimingBackUpManager{ | 15 | public class TimingBackUpService implements TimingBackUpManager{ |
22 | 16 |
src/com/fh/service/fhoa/datajur/DatajurManager.java
@@ -2,12 +2,6 @@ package com.fh.service.fhoa.datajur; | @@ -2,12 +2,6 @@ package com.fh.service.fhoa.datajur; | ||
2 | 2 | ||
3 | import com.fh.util.PageData; | 3 | import com.fh.util.PageData; |
4 | 4 | ||
5 | -/** | ||
6 | - * 说明: 组织数据权限接口 | ||
7 | - * 创建人:FH Q313596790 | ||
8 | - * 创建时间:2016-04-26 | ||
9 | - * @version | ||
10 | - */ | ||
11 | public interface DatajurManager{ | 5 | public interface DatajurManager{ |
12 | 6 | ||
13 | /**新增 | 7 | /**新增 |
src/com/fh/service/fhoa/datajur/impl/DatajurService.java
@@ -8,12 +8,6 @@ import com.fh.dao.DaoSupport; | @@ -8,12 +8,6 @@ import com.fh.dao.DaoSupport; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.fhoa.datajur.DatajurManager; | 9 | import com.fh.service.fhoa.datajur.DatajurManager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 组织数据权限表 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2016-04-26 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("datajurService") | 11 | @Service("datajurService") |
18 | public class DatajurService implements DatajurManager{ | 12 | public class DatajurService implements DatajurManager{ |
19 | 13 |
src/com/fh/service/fhoa/department/DepartmentManager.java
@@ -6,12 +6,6 @@ import com.fh.entity.Page; | @@ -6,12 +6,6 @@ import com.fh.entity.Page; | ||
6 | import com.fh.entity.system.Department; | 6 | import com.fh.entity.system.Department; |
7 | import com.fh.util.PageData; | 7 | import com.fh.util.PageData; |
8 | 8 | ||
9 | -/** | ||
10 | - * 说明: 组织机构接口类 | ||
11 | - * 创建人:FH Q313596790 | ||
12 | - * 创建时间:2015-12-16 | ||
13 | - * @version | ||
14 | - */ | ||
15 | public interface DepartmentManager{ | 9 | public interface DepartmentManager{ |
16 | 10 | ||
17 | /**新增 | 11 | /**新增 |
src/com/fh/service/fhoa/department/impl/DepartmentService.java
@@ -14,12 +14,6 @@ import com.fh.util.PageData; | @@ -14,12 +14,6 @@ import com.fh.util.PageData; | ||
14 | import com.fh.util.Tools; | 14 | import com.fh.util.Tools; |
15 | import com.fh.service.fhoa.department.DepartmentManager; | 15 | import com.fh.service.fhoa.department.DepartmentManager; |
16 | 16 | ||
17 | -/** | ||
18 | - * 说明: 组织机构 | ||
19 | - * 创建人:FH Q313596790 | ||
20 | - * 创建时间:2015-12-16 | ||
21 | - * @version | ||
22 | - */ | ||
23 | @Service("departmentService") | 17 | @Service("departmentService") |
24 | public class DepartmentService implements DepartmentManager{ | 18 | public class DepartmentService implements DepartmentManager{ |
25 | 19 |
src/com/fh/service/fhoa/fhfile/FhfileManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 文件管理接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-05-27 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface FhfileManager{ | 7 | public interface FhfileManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhoa/fhfile/impl/FhfileService.java
@@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.fhoa.fhfile.FhfileManager; | 9 | import com.fh.service.fhoa.fhfile.FhfileManager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 文件管理 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2016-05-27 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("fhfileService") | 11 | @Service("fhfileService") |
18 | public class FhfileService implements FhfileManager{ | 12 | public class FhfileService implements FhfileManager{ |
19 | 13 |
src/com/fh/service/fhoa/staff/StaffManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 员工管理接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-04-23 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface StaffManager{ | 7 | public interface StaffManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/fhoa/staff/impl/StaffService.java
@@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.fhoa.staff.StaffManager; | 9 | import com.fh.service.fhoa.staff.StaffManager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 员工管理 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2016-04-23 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("staffService") | 11 | @Service("staffService") |
18 | public class StaffService implements StaffManager{ | 12 | public class StaffService implements StaffManager{ |
19 | 13 |
src/com/fh/service/information/attached/AttachedManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 主附结构接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-04-17 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface AttachedManager{ | 7 | public interface AttachedManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/information/attached/impl/AttachedService.java
@@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.information.attached.AttachedManager; | 9 | import com.fh.service.information.attached.AttachedManager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 主附结构 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2016-04-17 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("attachedService") | 11 | @Service("attachedService") |
18 | public class AttachedService implements AttachedManager{ | 12 | public class AttachedService implements AttachedManager{ |
19 | 13 |
src/com/fh/service/information/attachedmx/AttachedMxManager.java
@@ -4,13 +4,6 @@ import java.util.List; | @@ -4,13 +4,6 @@ import java.util.List; | ||
4 | 4 | ||
5 | import com.fh.entity.Page; | 5 | import com.fh.entity.Page; |
6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
7 | - | ||
8 | -/** | ||
9 | - * 说明: 明细表接口 | ||
10 | - * 创建人:FH Q313596790 | ||
11 | - * 创建时间:2016-04-17 | ||
12 | - * @version | ||
13 | - */ | ||
14 | public interface AttachedMxManager{ | 7 | public interface AttachedMxManager{ |
15 | 8 | ||
16 | /**新增 | 9 | /**新增 |
src/com/fh/service/information/attachedmx/impl/AttachedMxService.java
@@ -11,12 +11,6 @@ import com.fh.entity.Page; | @@ -11,12 +11,6 @@ import com.fh.entity.Page; | ||
11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
12 | import com.fh.service.information.attachedmx.AttachedMxManager; | 12 | import com.fh.service.information.attachedmx.AttachedMxManager; |
13 | 13 | ||
14 | -/** | ||
15 | - * 说明: 明细表 | ||
16 | - * 创建人:FH Q313596790 | ||
17 | - * 创建时间:2016-04-17 | ||
18 | - * @version | ||
19 | - */ | ||
20 | @Service("attachedmxService") | 14 | @Service("attachedmxService") |
21 | public class AttachedMxService implements AttachedMxManager{ | 15 | public class AttachedMxService implements AttachedMxManager{ |
22 | 16 |
src/com/fh/service/information/pictures/PicturesManager.java
@@ -5,10 +5,6 @@ import com.fh.entity.Page; | @@ -5,10 +5,6 @@ import com.fh.entity.Page; | ||
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | 7 | ||
8 | -/** 图片管理接口 | ||
9 | - * @author fh313596790qq(青苔) | ||
10 | - * 修改时间:2015.11.2 | ||
11 | - */ | ||
12 | public interface PicturesManager { | 8 | public interface PicturesManager { |
13 | 9 | ||
14 | /**列表 | 10 | /**列表 |
src/com/fh/service/information/pictures/impl/PicturesService.java
@@ -11,11 +11,6 @@ import com.fh.entity.Page; | @@ -11,11 +11,6 @@ import com.fh.entity.Page; | ||
11 | import com.fh.service.information.pictures.PicturesManager; | 11 | import com.fh.service.information.pictures.PicturesManager; |
12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
13 | 13 | ||
14 | - | ||
15 | -/** 图片管理 | ||
16 | - * @author fh313596790qq(青苔) | ||
17 | - * 修改时间:2015.11.2 | ||
18 | - */ | ||
19 | @Service("picturesService") | 14 | @Service("picturesService") |
20 | public class PicturesService implements PicturesManager { | 15 | public class PicturesService implements PicturesManager { |
21 | 16 |
src/com/fh/service/system/appuser/AppuserManager.java
@@ -6,10 +6,6 @@ import com.fh.entity.Page; | @@ -6,10 +6,6 @@ import com.fh.entity.Page; | ||
6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
7 | 7 | ||
8 | 8 | ||
9 | -/** 会员接口类 | ||
10 | - * @author fh313596790qq(青苔) | ||
11 | - * 修改时间:2015.11.2 | ||
12 | - */ | ||
13 | public interface AppuserManager { | 9 | public interface AppuserManager { |
14 | 10 | ||
15 | /**列出某角色下的所有会员 | 11 | /**列出某角色下的所有会员 |
src/com/fh/service/system/appuser/impl/AppuserService.java
@@ -12,10 +12,6 @@ import com.fh.service.system.appuser.AppuserManager; | @@ -12,10 +12,6 @@ import com.fh.service.system.appuser.AppuserManager; | ||
12 | import com.fh.util.PageData; | 12 | import com.fh.util.PageData; |
13 | 13 | ||
14 | 14 | ||
15 | -/**类名称:AppuserService | ||
16 | - * @author FH Q313596790 | ||
17 | - * 修改时间:2015年11月6日 | ||
18 | - */ | ||
19 | @Service("appuserService") | 15 | @Service("appuserService") |
20 | public class AppuserService implements AppuserManager{ | 16 | public class AppuserService implements AppuserManager{ |
21 | 17 |
src/com/fh/service/system/buttonrights/ButtonrightsManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | 4 | ||
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明:按钮权限 接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2016-01-16 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface ButtonrightsManager{ | 7 | public interface ButtonrightsManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/buttonrights/impl/ButtonrightsService.java
@@ -10,12 +10,6 @@ import com.fh.dao.DaoSupport; | @@ -10,12 +10,6 @@ import com.fh.dao.DaoSupport; | ||
10 | import com.fh.util.PageData; | 10 | import com.fh.util.PageData; |
11 | import com.fh.service.system.buttonrights.ButtonrightsManager; | 11 | import com.fh.service.system.buttonrights.ButtonrightsManager; |
12 | 12 | ||
13 | -/** | ||
14 | - * 说明: 按钮权限 | ||
15 | - * 创建人:FH Q313596790 | ||
16 | - * 创建时间:2016-01-16 | ||
17 | - * @version | ||
18 | - */ | ||
19 | @Service("buttonrightsService") | 13 | @Service("buttonrightsService") |
20 | public class ButtonrightsService implements ButtonrightsManager{ | 14 | public class ButtonrightsService implements ButtonrightsManager{ |
21 | 15 |
src/com/fh/service/system/codeeditor/CodeEditorManager.java
@@ -4,12 +4,6 @@ import java.util.List; | @@ -4,12 +4,6 @@ import java.util.List; | ||
4 | import com.fh.entity.Page; | 4 | import com.fh.entity.Page; |
5 | import com.fh.util.PageData; | 5 | import com.fh.util.PageData; |
6 | 6 | ||
7 | -/** | ||
8 | - * 说明: 代码编辑器接口 | ||
9 | - * 创建人:FH Q313596790 | ||
10 | - * 创建时间:2017-06-11 | ||
11 | - * @version | ||
12 | - */ | ||
13 | public interface CodeEditorManager{ | 7 | public interface CodeEditorManager{ |
14 | 8 | ||
15 | /**新增 | 9 | /**新增 |
src/com/fh/service/system/codeeditor/impl/CodeEditorService.java
@@ -8,12 +8,6 @@ import com.fh.entity.Page; | @@ -8,12 +8,6 @@ import com.fh.entity.Page; | ||
8 | import com.fh.util.PageData; | 8 | import com.fh.util.PageData; |
9 | import com.fh.service.system.codeeditor.CodeEditorManager; | 9 | import com.fh.service.system.codeeditor.CodeEditorManager; |
10 | 10 | ||
11 | -/** | ||
12 | - * 说明: 代码编辑器 | ||
13 | - * 创建人:FH Q313596790 | ||
14 | - * 创建时间:2017-06-11 | ||
15 | - * @version | ||
16 | - */ | ||
17 | @Service("codeeditorService") | 11 | @Service("codeeditorService") |
18 | public class CodeEditorService implements CodeEditorManager{ | 12 | public class CodeEditorService implements CodeEditorManager{ |
19 | 13 |
src/com/fh/service/system/createcode/CreateCodeManager.java
@@ -5,12 +5,6 @@ import java.util.List; | @@ -5,12 +5,6 @@ import java.util.List; | ||
5 | import com.fh.entity.Page; | 5 | import com.fh.entity.Page; |
6 | import com.fh.util.PageData; | 6 | import com.fh.util.PageData; |
7 | 7 | ||
8 | -/** | ||
9 | - * 类名称:代码生成器接口类 | ||
10 | - * 创建人:FH Q313596790 | ||
11 | - * 修改时间:2015年11月24日 | ||
12 | - * @version | ||
13 | - */ | ||
14 | public interface CreateCodeManager { | 8 | public interface CreateCodeManager { |
15 | 9 | ||
16 | /**新增 | 10 | /**新增 |
src/com/fh/service/system/createcode/impl/CreateCodeService.java
@@ -11,12 +11,6 @@ import com.fh.service.system.createcode.CreateCodeManager; | @@ -11,12 +11,6 @@ import com.fh.service.system.createcode.CreateCodeManager; | ||
11 | import com.fh.util.PageData; | 11 | import com.fh.util.PageData; |
12 | 12 | ||
13 | 13 | ||
14 | -/** | ||
15 | - * 类名称:CreateCodeService 代码生成器 | ||
16 | - * 创建人:FH Q313596790 | ||
17 | - * 修改时间:2015年11月24日 | ||
18 | - * @version | ||
19 | - */ | ||
20 | @Service("createcodeService") | 14 | @Service("createcodeService") |
21 | public class CreateCodeService implements CreateCodeManager{ | 15 | public class CreateCodeService implements CreateCodeManager{ |
22 | 16 |