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 | 15 | <attribute name="owner.project.facets" value="jst.web.jstl"/> |
| 16 | 16 | </attributes> |
| 17 | 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 | 19 | <classpathentry kind="output" path="WebRoot/WEB-INF/classes"/> |
| 20 | 20 | </classpath> | ... | ... |
WebRoot/WEB-INF/web.xml
| 1 | 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 | 6 | classpath:spring/ApplicationContext-main.xml, |
| 11 | 7 | classpath:spring/ApplicationContext-dataSource.xml, |
| 12 | 8 | classpath:spring/ApplicationContext-shiro.xml, |
| 13 | 9 | classpath:spring/ApplicationContext-redis.xml |
| 14 | 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 | 98 | </web-app> |
| 138 | 99 | \ No newline at end of file | ... | ... |
resources/dbconfig.properties
| 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 | 3 | driverClassName:com.mysql.jdbc.Driver |
| 4 | 4 | username:root |
| 5 | 5 | #password:elvis | ... | ... |
src/com/fh/controller/api/ApiServer.java
| 1 | 1 | package com.fh.controller.api; |
| 2 | 2 | |
| 3 | +import java.io.File; | |
| 4 | +import java.util.Date; | |
| 3 | 5 | import java.util.List; |
| 4 | 6 | |
| 5 | 7 | import javax.annotation.Resource; |
| 8 | +import javax.servlet.http.HttpServletRequest; | |
| 6 | 9 | |
| 7 | 10 | import org.springframework.stereotype.Controller; |
| 8 | 11 | import org.springframework.web.bind.annotation.RequestMapping; |
| 9 | 12 | import org.springframework.web.bind.annotation.ResponseBody; |
| 13 | +import org.springframework.web.multipart.MultipartFile; | |
| 10 | 14 | |
| 11 | 15 | import com.fh.controller.base.BaseController; |
| 16 | +import com.fh.service.feedback.feedback.FeedbackManager; | |
| 12 | 17 | import com.fh.service.sunvote.basestation.BasestationManager; |
| 13 | 18 | import com.fh.service.sunvote.keypad.KeypadManager; |
| 14 | 19 | import com.fh.service.sunvote.school.SchoolManager; |
| 15 | 20 | import com.fh.util.PageData; |
| 21 | +import com.fh.util.Tools; | |
| 16 | 22 | |
| 17 | 23 | @Controller |
| 18 | -@RequestMapping(value="/api") | |
| 24 | +@RequestMapping(value = "/api") | |
| 19 | 25 | public class ApiServer extends BaseController { |
| 20 | 26 | |
| 21 | - @Resource(name="schoolService") | |
| 27 | + @Resource(name = "schoolService") | |
| 22 | 28 | private SchoolManager schoolService; |
| 23 | - | |
| 24 | - @Resource(name="basestationService") | |
| 29 | + | |
| 30 | + @Resource(name = "basestationService") | |
| 25 | 31 | private BasestationManager basestationService; |
| 26 | - | |
| 27 | - @Resource(name="keypadService") | |
| 32 | + | |
| 33 | + @Resource(name = "keypadService") | |
| 28 | 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 | 40 | @ResponseBody |
| 33 | - public Object schoolDefault() throws Exception{ | |
| 41 | + public Object schoolDefault() throws Exception { | |
| 34 | 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 | 46 | @ResponseBody |
| 40 | - public Object schoolList() throws Exception{ | |
| 47 | + public Object schoolList() throws Exception { | |
| 41 | 48 | PageData pd = this.getPageData(); |
| 42 | 49 | String id = pd.getString("ID"); |
| 43 | - if(id != null && !"".equals(id)){ | |
| 50 | + if (id != null && !"".equals(id)) { | |
| 44 | 51 | PageData ret = schoolService.findById(pd); |
| 45 | 52 | ResponseGson<PageData> res = new ResponseGson(); |
| 46 | 53 | res.setData(ret); |
| 47 | 54 | return res.toJson(); |
| 48 | - }else{ | |
| 55 | + } else { | |
| 49 | 56 | List<PageData> ret = schoolService.listAll(pd); |
| 50 | 57 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 51 | 58 | res.setData(ret); |
| 52 | 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 | 64 | @ResponseBody |
| 57 | - public Object schoolAdd() throws Exception{ | |
| 65 | + public Object schoolAdd() throws Exception { | |
| 58 | 66 | PageData pd = this.getPageData(); |
| 59 | 67 | ResponseGson<Integer> res = new ResponseGson(); |
| 60 | 68 | try { |
| ... | ... | @@ -64,70 +72,69 @@ public class ApiServer extends BaseController { |
| 64 | 72 | } else { |
| 65 | 73 | res.setDataError(); |
| 66 | 74 | } |
| 67 | - }catch(Exception e){ | |
| 75 | + } catch (Exception e) { | |
| 68 | 76 | res.setDataError(); |
| 69 | 77 | } |
| 70 | 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 | 82 | @ResponseBody |
| 75 | - public Object schoolDelete() throws Exception{ | |
| 83 | + public Object schoolDelete() throws Exception { | |
| 76 | 84 | ResponseGson<PageData> res = new ResponseGson(); |
| 77 | 85 | PageData pd = this.getPageData(); |
| 78 | 86 | String id = pd.getString("ID"); |
| 79 | - if(id != null && !"".equals(id)){ | |
| 87 | + if (id != null && !"".equals(id)) { | |
| 80 | 88 | try { |
| 81 | 89 | schoolService.delete(pd); |
| 82 | 90 | } catch (Exception e) { |
| 83 | 91 | res.setDataError(); |
| 84 | 92 | } |
| 85 | - }else{ | |
| 93 | + } else { | |
| 86 | 94 | res.setDataError(); |
| 87 | 95 | } |
| 88 | 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 | 100 | @ResponseBody |
| 93 | - public Object schoolUpdate() throws Exception{ | |
| 101 | + public Object schoolUpdate() throws Exception { | |
| 94 | 102 | ResponseGson<PageData> res = new ResponseGson(); |
| 95 | 103 | PageData pd = this.getPageData(); |
| 96 | 104 | String id = pd.getString("ID"); |
| 97 | - if(id != null && !"".equals(id)){ | |
| 105 | + if (id != null && !"".equals(id)) { | |
| 98 | 106 | try { |
| 99 | 107 | schoolService.edit(pd); |
| 100 | 108 | } catch (Exception e) { |
| 101 | 109 | res.setDataError(); |
| 102 | 110 | } |
| 103 | - }else{ | |
| 111 | + } else { | |
| 104 | 112 | res.setDataError(); |
| 105 | 113 | } |
| 106 | 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 | 118 | @ResponseBody |
| 112 | - public Object basestation() throws Exception{ | |
| 119 | + public Object basestation() throws Exception { | |
| 113 | 120 | PageData pd = this.getPageData(); |
| 114 | 121 | String id = pd.getString("ID"); |
| 115 | - if(id != null && !"".equals(id)){ | |
| 122 | + if (id != null && !"".equals(id)) { | |
| 116 | 123 | pd.put("BASESTATION_ID", pd.getString("id")); |
| 117 | 124 | PageData ret = basestationService.findById(pd); |
| 118 | 125 | ResponseGson<PageData> res = new ResponseGson(); |
| 119 | 126 | res.setData(ret); |
| 120 | 127 | return res.toJson(); |
| 121 | - }else{ | |
| 128 | + } else { | |
| 122 | 129 | List<PageData> ret = basestationService.listAll(pd); |
| 123 | 130 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 124 | 131 | res.setData(ret); |
| 125 | 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 | 138 | @ResponseBody |
| 132 | 139 | public Object basestationAdd() throws Exception { |
| 133 | 140 | ResponseGson<PageData> res = new ResponseGson(); |
| ... | ... | @@ -138,67 +145,67 @@ public class ApiServer extends BaseController { |
| 138 | 145 | } catch (Exception ex) { |
| 139 | 146 | res.setDataError(); |
| 140 | 147 | } |
| 141 | - }else{ | |
| 148 | + } else { | |
| 142 | 149 | res.setDataError(); |
| 143 | 150 | } |
| 144 | 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 | 155 | @ResponseBody |
| 149 | - public Object basestationDelete() throws Exception{ | |
| 156 | + public Object basestationDelete() throws Exception { | |
| 150 | 157 | PageData pd = this.getPageData(); |
| 151 | 158 | ResponseGson<PageData> res = new ResponseGson(); |
| 152 | 159 | String id = pd.getString("ID"); |
| 153 | - if(id != null && !"".equals(id)){ | |
| 160 | + if (id != null && !"".equals(id)) { | |
| 154 | 161 | try { |
| 155 | 162 | basestationService.delete(pd); |
| 156 | 163 | } catch (Exception e) { |
| 157 | 164 | res.setDataError(); |
| 158 | 165 | } |
| 159 | - }else{ | |
| 166 | + } else { | |
| 160 | 167 | res.setDataError(); |
| 161 | 168 | } |
| 162 | 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 | 173 | @ResponseBody |
| 167 | - public Object basestationUpdate() throws Exception{ | |
| 174 | + public Object basestationUpdate() throws Exception { | |
| 168 | 175 | PageData pd = this.getPageData(); |
| 169 | 176 | ResponseGson<PageData> res = new ResponseGson(); |
| 170 | 177 | String id = pd.getString("ID"); |
| 171 | - if(id != null && !"".equals(id)){ | |
| 178 | + if (id != null && !"".equals(id)) { | |
| 172 | 179 | try { |
| 173 | 180 | basestationService.edit(pd); |
| 174 | 181 | } catch (Exception e) { |
| 175 | 182 | res.setDataError(); |
| 176 | 183 | } |
| 177 | - }else{ | |
| 184 | + } else { | |
| 178 | 185 | res.setDataError(); |
| 179 | 186 | } |
| 180 | 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 | 191 | @ResponseBody |
| 185 | - public Object keypad() throws Exception{ | |
| 192 | + public Object keypad() throws Exception { | |
| 186 | 193 | PageData pd = this.getPageData(); |
| 187 | 194 | String id = pd.getString("ID"); |
| 188 | - if(id != null && !"".equals(id)){ | |
| 195 | + if (id != null && !"".equals(id)) { | |
| 189 | 196 | PageData ret = keypadService.findById(pd); |
| 190 | 197 | ResponseGson<PageData> res = new ResponseGson(); |
| 191 | 198 | res.setData(ret); |
| 192 | 199 | return res.toJson(); |
| 193 | - }else{ | |
| 200 | + } else { | |
| 194 | 201 | List<PageData> ret = keypadService.listAll(pd); |
| 195 | 202 | ResponseGson<List<PageData>> res = new ResponseGson(); |
| 196 | 203 | res.setData(ret); |
| 197 | 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 | 209 | @ResponseBody |
| 203 | 210 | public Object keypadAdd() throws Exception { |
| 204 | 211 | PageData pd = this.getPageData(); |
| ... | ... | @@ -210,41 +217,76 @@ public class ApiServer extends BaseController { |
| 210 | 217 | } |
| 211 | 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 | 222 | @ResponseBody |
| 216 | - public Object keypadDelete() throws Exception{ | |
| 223 | + public Object keypadDelete() throws Exception { | |
| 217 | 224 | PageData pd = this.getPageData(); |
| 218 | 225 | ResponseGson<PageData> res = new ResponseGson(); |
| 219 | 226 | String id = pd.getString("ID"); |
| 220 | - if(id != null && !"".equals(id)){ | |
| 227 | + if (id != null && !"".equals(id)) { | |
| 221 | 228 | try { |
| 222 | 229 | keypadService.delete(pd); |
| 223 | 230 | } catch (Exception e) { |
| 224 | 231 | res.setDataError(); |
| 225 | 232 | } |
| 226 | - }else{ | |
| 233 | + } else { | |
| 227 | 234 | res.setDataError(); |
| 228 | 235 | } |
| 229 | 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 | 240 | @ResponseBody |
| 234 | - public Object keypadUpdate() throws Exception{ | |
| 241 | + public Object keypadUpdate() throws Exception { | |
| 235 | 242 | PageData pd = this.getPageData(); |
| 236 | 243 | ResponseGson<PageData> res = new ResponseGson(); |
| 237 | 244 | String id = pd.getString("ID"); |
| 238 | - if(id != null && !"".equals(id)){ | |
| 239 | - try{ | |
| 245 | + if (id != null && !"".equals(id)) { | |
| 246 | + try { | |
| 240 | 247 | keypadService.edit(pd); |
| 241 | - }catch(Exception ex){ | |
| 248 | + } catch (Exception ex) { | |
| 242 | 249 | res.setDataError(); |
| 243 | 250 | } |
| 244 | - }else{ | |
| 251 | + } else { | |
| 245 | 252 | res.setDataError(); |
| 246 | 253 | } |
| 247 | 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
src/com/fh/controller/dst/datasource2/DataSource2Controller.java
src/com/fh/controller/fhdb/brdb/BRdbController.java
src/com/fh/controller/fhoa/datajur/DatajurController.java
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
src/com/fh/controller/information/attachedmx/AttachedMxController.java
src/com/fh/controller/information/linkage/Linkage.java
src/com/fh/controller/information/pictures/PicturesController.java
src/com/fh/controller/system/appuser/AppuserController.java
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
src/com/fh/controller/system/fhbutton/FhbuttonController.java
src/com/fh/controller/system/fhlog/FHlogController.java
src/com/fh/controller/system/fhsms/FhsmsController.java
src/com/fh/controller/system/head/HeadController.java
src/com/fh/controller/system/login/LoginController.java
src/com/fh/controller/system/loginimg/LogInImgController.java
src/com/fh/controller/system/menu/MenuController.java
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 | 33 | import com.fh.util.Tools; |
| 34 | 34 | /** |
| 35 | 35 | * 类名称:RoleController 角色权限管理 |
| 36 | - * 创建人:FH Q313596790 | |
| 37 | 36 | * 修改时间:2015年11月6日 |
| 38 | 37 | * @version |
| 39 | 38 | */ |
| ... | ... | @@ -115,6 +114,9 @@ public class RoleController extends BaseController { |
| 115 | 114 | try{ |
| 116 | 115 | pd = this.getPageData(); |
| 117 | 116 | String parent_id = pd.getString("PARENT_ID"); //父类角色id |
| 117 | + if("".equals(parent_id)){ | |
| 118 | + parent_id = "1" ; | |
| 119 | + } | |
| 118 | 120 | pd.put("ROLE_ID", parent_id); |
| 119 | 121 | if("0".equals(parent_id)){ |
| 120 | 122 | pd.put("RIGHTS", ""); //菜单权限 | ... | ... |
src/com/fh/controller/system/secCode/SecCodeController.java
src/com/fh/controller/system/tools/ToolController.java
src/com/fh/controller/system/user/UserController.java
src/com/fh/controller/system/userphoto/UserPhotoController.java
src/com/fh/controller/weixin/WeixinController.java
src/com/fh/controller/weixin/command/CommandController.java
src/com/fh/controller/weixin/imgmsg/ImgmsgController.java
src/com/fh/controller/weixin/key/KeyController.java
src/com/fh/controller/weixin/mymenu/MyMenuController.java
src/com/fh/controller/weixin/textmsg/TextmsgController.java
src/com/fh/dao/AbstractBaseRedisDao.java
src/com/fh/dao/DAO.java
src/com/fh/dao/DaoSupport.java
src/com/fh/dao/DaoSupport2.java
| ... | ... | @@ -10,8 +10,6 @@ import org.apache.ibatis.session.SqlSessionFactory; |
| 10 | 10 | import org.mybatis.spring.SqlSessionTemplate; |
| 11 | 11 | import org.springframework.stereotype.Repository; |
| 12 | 12 | /** |
| 13 | - * 第2数据源 | |
| 14 | - * @author FH Q 31 359 6790 | |
| 15 | 13 | * 修改时间:2016、04、29 |
| 16 | 14 | */ |
| 17 | 15 | @Repository("daoSupport2") | ... | ... |
src/com/fh/dao/redis/RedisDao.java
src/com/fh/entity/Page.java
src/com/fh/entity/system/Department.java
src/com/fh/entity/system/Dictionaries.java
src/com/fh/entity/system/Menu.java
src/com/fh/entity/system/Role.java
src/com/fh/entity/system/User.java
| ... | ... | @@ -2,16 +2,7 @@ package com.fh.entity.system; |
| 2 | 2 | |
| 3 | 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 | 6 | public class User { |
| 16 | 7 | private String USER_ID; //用户id |
| 17 | 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
src/com/fh/filter/LoginFilter.java
| ... | ... | @@ -13,10 +13,6 @@ import javax.servlet.http.HttpServletResponse; |
| 13 | 13 | |
| 14 | 14 | import com.fh.controller.base.BaseController; |
| 15 | 15 | |
| 16 | -/**登录验证过滤器(废弃 com.fh.interceptor替代) | |
| 17 | - * @author FH QQ 313596790[青苔] | |
| 18 | - * | |
| 19 | - */ | |
| 20 | 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 | 25 | import com.fh.util.Tools; |
| 26 | 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 | 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 | 6 | import com.fh.entity.system.User; |
| 7 | 7 | import com.fh.util.Const; |
| 8 | 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 | 9 | public class LoginHandlerInterceptor extends HandlerInterceptorAdapter{ |
| 20 | 10 | |
| 21 | 11 | @Override | ... | ... |
src/com/fh/interceptor/shiro/ShiroRealm.java
src/com/fh/listener/WebAppContextListener.java
| ... | ... | @@ -6,14 +6,6 @@ import javax.servlet.ServletContextListener; |
| 6 | 6 | import org.springframework.web.context.support.WebApplicationContextUtils; |
| 7 | 7 | |
| 8 | 8 | import com.fh.util.Const; |
| 9 | -/** | |
| 10 | - * | |
| 11 | -* 类名称:WebAppContextListener.java | |
| 12 | -* 类描述: | |
| 13 | -* 作者:FH | |
| 14 | -* 联系方式: | |
| 15 | -* @version 1.0 | |
| 16 | - */ | |
| 17 | 9 | public class WebAppContextListener implements ServletContextListener { |
| 18 | 10 | |
| 19 | 11 | public void contextDestroyed(ServletContextEvent event) { | ... | ... |
src/com/fh/plugin/PagePlugin.java
| ... | ... | @@ -34,16 +34,7 @@ import org.apache.ibatis.type.TypeHandlerRegistry; |
| 34 | 34 | import com.fh.entity.Page; |
| 35 | 35 | import com.fh.util.ReflectHelper; |
| 36 | 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 | 38 | @Intercepts({@Signature(type=StatementHandler.class,method="prepare",args={Connection.class})}) |
| 48 | 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 | 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 | 17 | public class ChatServer extends WebSocketServer{ |
| 24 | 18 | |
| 25 | 19 | public ChatServer(int port) throws UnknownHostException { | ... | ... |
src/com/fh/plugin/websocketInstantMsg/ChatServerPool.java
| ... | ... | @@ -9,12 +9,6 @@ import java.util.Set; |
| 9 | 9 | |
| 10 | 10 | import org.java_websocket.WebSocket; |
| 11 | 11 | |
| 12 | -/** | |
| 13 | - * 即时通讯 | |
| 14 | - * @author FH | |
| 15 | - * QQ 313596790 | |
| 16 | - * 2015-5-16 | |
| 17 | - */ | |
| 18 | 12 | public class ChatServerPool { |
| 19 | 13 | |
| 20 | 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 | import org.java_websocket.handshake.ClientHandshake; |
| 13 | 13 | import org.java_websocket.server.WebSocketServer; |
| 14 | 14 | |
| 15 | -/** | |
| 16 | - * 在线管理 | |
| 17 | - * @author FH | |
| 18 | - * QQ 313596790 | |
| 19 | - * 2015-5-25 | |
| 20 | - */ | |
| 21 | 15 | public class OnlineChatServer extends WebSocketServer{ |
| 22 | 16 | |
| 23 | 17 | public OnlineChatServer(int port) throws UnknownHostException { | ... | ... |
src/com/fh/plugin/websocketOnline/OnlineChatServerPool.java
| ... | ... | @@ -9,12 +9,6 @@ import java.util.Set; |
| 9 | 9 | |
| 10 | 10 | import org.java_websocket.WebSocket; |
| 11 | 11 | |
| 12 | -/** | |
| 13 | - * 在线管理 | |
| 14 | - * @author FH | |
| 15 | - * QQ 313596790 | |
| 16 | - * 2015-5-25 | |
| 17 | - */ | |
| 18 | 12 | public class OnlineChatServerPool { |
| 19 | 13 | |
| 20 | 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 | 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 | 14 | public class VideoServer extends WebSocketServer{ |
| 21 | 15 | |
| 22 | 16 | public VideoServer(int port) throws UnknownHostException { | ... | ... |
src/com/fh/plugin/websocketVideo/VideoServerPool.java
| ... | ... | @@ -6,12 +6,6 @@ import java.util.Set; |
| 6 | 6 | |
| 7 | 7 | import org.java_websocket.WebSocket; |
| 8 | 8 | |
| 9 | -/** | |
| 10 | - * 视频弹幕服务端 | |
| 11 | - * @author FH | |
| 12 | - * QQ 313596790 | |
| 13 | - * 2017-11-24 | |
| 14 | - */ | |
| 15 | 9 | public class VideoServerPool { |
| 16 | 10 | |
| 17 | 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 | 5 | |
| 6 | 6 | import org.springframework.web.servlet.HandlerExceptionResolver; |
| 7 | 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 | 8 | public class MyExceptionResolver implements HandlerExceptionResolver{ |
| 18 | 9 | |
| 19 | 10 | public ModelAndView resolveException(HttpServletRequest request, | ... | ... |
src/com/fh/service/dst/datasource2/DataSource2Manager.java
src/com/fh/service/dst/datasource2/impl/DataSource2Service.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.entity.Page; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.dst.datasource2.DataSource2Manager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 第2数据源例子 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2016-04-29 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("datasource2Service") |
| 18 | 12 | public class DataSource2Service implements DataSource2Manager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/fhdb/brdb/BRdbManager.java
src/com/fh/service/fhdb/brdb/impl/BRdbService.java
| ... | ... | @@ -11,12 +11,6 @@ import com.fh.entity.Page; |
| 11 | 11 | import com.fh.util.PageData; |
| 12 | 12 | import com.fh.service.fhdb.brdb.BRdbManager; |
| 13 | 13 | |
| 14 | -/** | |
| 15 | - * 说明: 数据库管理 | |
| 16 | - * 创建人:FH Q313596790 | |
| 17 | - * 创建时间:2016-03-30 | |
| 18 | - * @version | |
| 19 | - */ | |
| 20 | 14 | @Service("brdbService") |
| 21 | 15 | public class BRdbService implements BRdbManager{ |
| 22 | 16 | ... | ... |
src/com/fh/service/fhdb/timingbackup/TimingBackUpManager.java
src/com/fh/service/fhdb/timingbackup/impl/TimingBackUpService.java
| ... | ... | @@ -11,12 +11,6 @@ import com.fh.entity.Page; |
| 11 | 11 | import com.fh.util.PageData; |
| 12 | 12 | import com.fh.service.fhdb.timingbackup.TimingBackUpManager; |
| 13 | 13 | |
| 14 | -/** | |
| 15 | - * 说明: 定时备份 | |
| 16 | - * 创建人:FH Q313596790 | |
| 17 | - * 创建时间:2016-04-09 | |
| 18 | - * @version | |
| 19 | - */ | |
| 20 | 14 | @Service("timingbackupService") |
| 21 | 15 | public class TimingBackUpService implements TimingBackUpManager{ |
| 22 | 16 | ... | ... |
src/com/fh/service/fhoa/datajur/DatajurManager.java
src/com/fh/service/fhoa/datajur/impl/DatajurService.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.dao.DaoSupport; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.fhoa.datajur.DatajurManager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 组织数据权限表 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2016-04-26 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("datajurService") |
| 18 | 12 | public class DatajurService implements DatajurManager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/fhoa/department/DepartmentManager.java
src/com/fh/service/fhoa/department/impl/DepartmentService.java
| ... | ... | @@ -14,12 +14,6 @@ import com.fh.util.PageData; |
| 14 | 14 | import com.fh.util.Tools; |
| 15 | 15 | import com.fh.service.fhoa.department.DepartmentManager; |
| 16 | 16 | |
| 17 | -/** | |
| 18 | - * 说明: 组织机构 | |
| 19 | - * 创建人:FH Q313596790 | |
| 20 | - * 创建时间:2015-12-16 | |
| 21 | - * @version | |
| 22 | - */ | |
| 23 | 17 | @Service("departmentService") |
| 24 | 18 | public class DepartmentService implements DepartmentManager{ |
| 25 | 19 | ... | ... |
src/com/fh/service/fhoa/fhfile/FhfileManager.java
src/com/fh/service/fhoa/fhfile/impl/FhfileService.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.entity.Page; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.fhoa.fhfile.FhfileManager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 文件管理 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2016-05-27 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("fhfileService") |
| 18 | 12 | public class FhfileService implements FhfileManager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/fhoa/staff/StaffManager.java
src/com/fh/service/fhoa/staff/impl/StaffService.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.entity.Page; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.fhoa.staff.StaffManager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 员工管理 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2016-04-23 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("staffService") |
| 18 | 12 | public class StaffService implements StaffManager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/information/attached/AttachedManager.java
src/com/fh/service/information/attached/impl/AttachedService.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.entity.Page; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.information.attached.AttachedManager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 主附结构 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2016-04-17 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("attachedService") |
| 18 | 12 | public class AttachedService implements AttachedManager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/information/attachedmx/AttachedMxManager.java
src/com/fh/service/information/attachedmx/impl/AttachedMxService.java
| ... | ... | @@ -11,12 +11,6 @@ import com.fh.entity.Page; |
| 11 | 11 | import com.fh.util.PageData; |
| 12 | 12 | import com.fh.service.information.attachedmx.AttachedMxManager; |
| 13 | 13 | |
| 14 | -/** | |
| 15 | - * 说明: 明细表 | |
| 16 | - * 创建人:FH Q313596790 | |
| 17 | - * 创建时间:2016-04-17 | |
| 18 | - * @version | |
| 19 | - */ | |
| 20 | 14 | @Service("attachedmxService") |
| 21 | 15 | public class AttachedMxService implements AttachedMxManager{ |
| 22 | 16 | ... | ... |
src/com/fh/service/information/pictures/PicturesManager.java
src/com/fh/service/information/pictures/impl/PicturesService.java
| ... | ... | @@ -11,11 +11,6 @@ import com.fh.entity.Page; |
| 11 | 11 | import com.fh.service.information.pictures.PicturesManager; |
| 12 | 12 | import com.fh.util.PageData; |
| 13 | 13 | |
| 14 | - | |
| 15 | -/** 图片管理 | |
| 16 | - * @author fh313596790qq(青苔) | |
| 17 | - * 修改时间:2015.11.2 | |
| 18 | - */ | |
| 19 | 14 | @Service("picturesService") |
| 20 | 15 | public class PicturesService implements PicturesManager { |
| 21 | 16 | ... | ... |
src/com/fh/service/system/appuser/AppuserManager.java
src/com/fh/service/system/appuser/impl/AppuserService.java
| ... | ... | @@ -12,10 +12,6 @@ import com.fh.service.system.appuser.AppuserManager; |
| 12 | 12 | import com.fh.util.PageData; |
| 13 | 13 | |
| 14 | 14 | |
| 15 | -/**类名称:AppuserService | |
| 16 | - * @author FH Q313596790 | |
| 17 | - * 修改时间:2015年11月6日 | |
| 18 | - */ | |
| 19 | 15 | @Service("appuserService") |
| 20 | 16 | public class AppuserService implements AppuserManager{ |
| 21 | 17 | ... | ... |
src/com/fh/service/system/buttonrights/ButtonrightsManager.java
src/com/fh/service/system/buttonrights/impl/ButtonrightsService.java
| ... | ... | @@ -10,12 +10,6 @@ import com.fh.dao.DaoSupport; |
| 10 | 10 | import com.fh.util.PageData; |
| 11 | 11 | import com.fh.service.system.buttonrights.ButtonrightsManager; |
| 12 | 12 | |
| 13 | -/** | |
| 14 | - * 说明: 按钮权限 | |
| 15 | - * 创建人:FH Q313596790 | |
| 16 | - * 创建时间:2016-01-16 | |
| 17 | - * @version | |
| 18 | - */ | |
| 19 | 13 | @Service("buttonrightsService") |
| 20 | 14 | public class ButtonrightsService implements ButtonrightsManager{ |
| 21 | 15 | ... | ... |
src/com/fh/service/system/codeeditor/CodeEditorManager.java
src/com/fh/service/system/codeeditor/impl/CodeEditorService.java
| ... | ... | @@ -8,12 +8,6 @@ import com.fh.entity.Page; |
| 8 | 8 | import com.fh.util.PageData; |
| 9 | 9 | import com.fh.service.system.codeeditor.CodeEditorManager; |
| 10 | 10 | |
| 11 | -/** | |
| 12 | - * 说明: 代码编辑器 | |
| 13 | - * 创建人:FH Q313596790 | |
| 14 | - * 创建时间:2017-06-11 | |
| 15 | - * @version | |
| 16 | - */ | |
| 17 | 11 | @Service("codeeditorService") |
| 18 | 12 | public class CodeEditorService implements CodeEditorManager{ |
| 19 | 13 | ... | ... |
src/com/fh/service/system/createcode/CreateCodeManager.java
src/com/fh/service/system/createcode/impl/CreateCodeService.java
| ... | ... | @@ -11,12 +11,6 @@ import com.fh.service.system.createcode.CreateCodeManager; |
| 11 | 11 | import com.fh.util.PageData; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | -/** | |
| 15 | - * 类名称:CreateCodeService 代码生成器 | |
| 16 | - * 创建人:FH Q313596790 | |
| 17 | - * 修改时间:2015年11月24日 | |
| 18 | - * @version | |
| 19 | - */ | |
| 20 | 14 | @Service("createcodeService") |
| 21 | 15 | public class CreateCodeService implements CreateCodeManager{ |
| 22 | 16 | ... | ... |