├── .DS_Store ├── README.md ├── pom.xml └── src └── main ├── java └── com │ └── tax │ ├── Application.java │ ├── config │ ├── DataSourceConfig.java │ └── WebConfig.java │ ├── controller │ ├── AlterPasswordController.java │ ├── CodeController.java │ ├── ImgUploadController.java │ ├── LoginController.java │ ├── LoginInterceptor.java │ ├── LoginModel.java │ ├── RegistController.java │ ├── admin │ │ ├── ACityInfoController.java │ │ ├── ADIndexController.java │ │ ├── ANoticeInfoController.java │ │ ├── AStaffInfoController.java │ │ ├── ATaxTypeController.java │ │ ├── AUserInfoController.java │ │ ├── AWgInfoController.java │ │ └── AZcInfoController.java │ ├── index │ │ ├── IndexNoticeController.java │ │ ├── IndexWgController.java │ │ └── IndexZcController.java │ ├── staff │ │ ├── SApplyLogController.java │ │ ├── SFpLogController.java │ │ ├── SJfLogController.java │ │ ├── SMsgInfoController.java │ │ ├── SStaffInfoController.java │ │ ├── STIndexController.java │ │ └── STaxLogController.java │ └── user │ │ ├── UApplyLogController.java │ │ ├── UFpLogController.java │ │ ├── UJfLogController.java │ │ ├── UMsgInfoController.java │ │ ├── USIndexController.java │ │ ├── UTaxLogController.java │ │ └── UUserInfoController.java │ ├── dao │ ├── AdminInfoMapper.java │ ├── ApplyLogMapper.java │ ├── CityInfoMapper.java │ ├── FpLogMapper.java │ ├── JfLogMapper.java │ ├── MsgInfoMapper.java │ ├── NoticeInfoMapper.java │ ├── StaffInfoMapper.java │ ├── TaxLogMapper.java │ ├── TaxTypeMapper.java │ ├── UserInfoMapper.java │ ├── WgInfoMapper.java │ └── ZcInfoMapper.java │ ├── model │ ├── AdminInfo.java │ ├── AdminInfoExample.java │ ├── ApplyLog.java │ ├── ApplyLogExample.java │ ├── CityInfo.java │ ├── CityInfoExample.java │ ├── FpLog.java │ ├── FpLogExample.java │ ├── JfLog.java │ ├── JfLogExample.java │ ├── MsgInfo.java │ ├── MsgInfoExample.java │ ├── NoticeInfo.java │ ├── NoticeInfoExample.java │ ├── StaffInfo.java │ ├── StaffInfoExample.java │ ├── TaxLog.java │ ├── TaxLogExample.java │ ├── TaxType.java │ ├── TaxTypeExample.java │ ├── UserInfo.java │ ├── UserInfoExample.java │ ├── WgInfo.java │ ├── WgInfoExample.java │ ├── ZcInfo.java │ └── ZcInfoExample.java │ ├── service │ ├── AdminInfoService.java │ ├── ApplyLogService.java │ ├── CityInfoService.java │ ├── FpLogService.java │ ├── JfLogService.java │ ├── MsgInfoService.java │ ├── NoticeInfoService.java │ ├── StaffInfoService.java │ ├── TaxLogService.java │ ├── TaxTypeService.java │ ├── UserInfoService.java │ ├── WgInfoService.java │ ├── ZcInfoService.java │ └── impl │ │ ├── AdminInfoServiceImpl.java │ │ ├── ApplyLogServiceImpl.java │ │ ├── CityInfoServiceImpl.java │ │ ├── FpLogServiceImpl.java │ │ ├── JfLogServiceImpl.java │ │ ├── MsgInfoServiceImpl.java │ │ ├── NoticeInfoServiceImpl.java │ │ ├── StaffInfoServiceImpl.java │ │ ├── TaxLogServiceImpl.java │ │ ├── TaxTypeServiceImpl.java │ │ ├── UserInfoServiceImpl.java │ │ ├── WgInfoServiceImpl.java │ │ └── ZcInfoServiceImpl.java │ └── util │ ├── CommonUtils.java │ ├── CommonVal.java │ ├── DataListUtils.java │ ├── DateCommonUtils.java │ ├── ImgRandomCodeUtils.java │ ├── PageUtils.java │ ├── RandomCodeUtils.java │ └── Upload.java ├── resources ├── application.properties └── mapper │ ├── AdminInfoMapper.xml │ ├── ApplyLogMapper.xml │ ├── CityInfoMapper.xml │ ├── FpLogMapper.xml │ ├── JfLogMapper.xml │ ├── MsgInfoMapper.xml │ ├── NoticeInfoMapper.xml │ ├── StaffInfoMapper.xml │ ├── TaxLogMapper.xml │ ├── TaxTypeMapper.xml │ ├── UserInfoMapper.xml │ ├── WgInfoMapper.xml │ └── ZcInfoMapper.xml └── webapp ├── WEB-INF ├── views │ ├── admin │ │ ├── city_info │ │ │ ├── add_page.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ │ ├── index.jsp │ │ ├── notice_info │ │ │ ├── add_page.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ │ ├── staff_info │ │ │ ├── add_page.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ │ ├── tax_type │ │ │ ├── add_page.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ │ ├── user_info │ │ │ └── list.jsp │ │ ├── wg_info │ │ │ ├── add_page.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ │ └── zc_info │ │ │ ├── add_page.jsp │ │ │ ├── detail.jsp │ │ │ ├── list.jsp │ │ │ └── update_page.jsp │ ├── alter_password.jsp │ ├── error.jsp │ ├── index │ │ ├── notice_detail.jsp │ │ ├── notice_list.jsp │ │ ├── wg_detail.jsp │ │ ├── wg_list.jsp │ │ ├── zc_detail.jsp │ │ └── zc_list.jsp │ ├── staff │ │ ├── apply_log │ │ │ ├── btg_page.jsp │ │ │ └── list.jsp │ │ ├── fp_log │ │ │ ├── btg_page.jsp │ │ │ └── list.jsp │ │ ├── index.jsp │ │ ├── jf_log │ │ │ └── list.jsp │ │ ├── msg_info │ │ │ ├── list.jsp │ │ │ └── reply_page.jsp │ │ ├── personal.jsp │ │ └── tax_log │ │ │ ├── list.jsp │ │ │ └── sqtg_page.jsp │ ├── sys_login.jsp │ ├── user │ │ ├── apply_log │ │ │ ├── add_page.jsp │ │ │ └── list.jsp │ │ ├── fp_log │ │ │ ├── add_page.jsp │ │ │ └── list.jsp │ │ ├── index.jsp │ │ ├── jf_log │ │ │ └── list.jsp │ │ ├── msg_info │ │ │ ├── add_page.jsp │ │ │ └── list.jsp │ │ ├── personal.jsp │ │ ├── tax_log │ │ │ └── list.jsp │ │ └── user_info │ │ │ └── update_page.jsp │ └── user_info_regist.jsp └── web.xml └── static ├── admin ├── css │ ├── modal_css.css │ └── public.css ├── images │ ├── action_btn.gif │ ├── dclogo.gif │ ├── icon_edit_white.png │ ├── icon_menu.png │ ├── icon_mobile.png │ ├── icon_no.png │ ├── icon_yes.png │ ├── menu_cur.gif │ └── top_add.gif └── js │ ├── global.js │ ├── jquery.min.js │ ├── jquery.tab.js │ └── modal_js.js ├── bbs └── res │ ├── css │ ├── full.css │ ├── global.css │ ├── iconfont.eot │ ├── iconfont.svg │ ├── iconfont.ttf │ └── iconfont.woff │ ├── images │ ├── avatar │ │ ├── 0.jpg │ │ ├── 00.jpg │ │ ├── 1.jpg │ │ ├── 10.jpg │ │ ├── 11.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpg │ │ ├── 9.jpg │ │ └── default.png │ ├── case.png │ ├── fly.jpg │ ├── logo-1.png │ ├── logo.png │ ├── other │ │ ├── 1437100018023.jpg │ │ └── study-a.png │ └── weixin.jpg │ ├── layui │ ├── css │ │ ├── layui.css │ │ ├── layui.mobile.css │ │ └── modules │ │ │ ├── code.css │ │ │ ├── laydate │ │ │ └── default │ │ │ │ └── laydate.css │ │ │ └── layer │ │ │ └── default │ │ │ ├── icon-ext.png │ │ │ ├── icon.png │ │ │ ├── layer.css │ │ │ ├── loading-0.gif │ │ │ ├── loading-1.gif │ │ │ └── loading-2.gif │ ├── font │ │ ├── iconfont.eot │ │ ├── iconfont.svg │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ ├── images │ │ └── face │ │ │ ├── 0.gif │ │ │ ├── 1.gif │ │ │ ├── 10.gif │ │ │ ├── 11.gif │ │ │ ├── 12.gif │ │ │ ├── 13.gif │ │ │ ├── 14.gif │ │ │ ├── 15.gif │ │ │ ├── 16.gif │ │ │ ├── 17.gif │ │ │ ├── 18.gif │ │ │ ├── 19.gif │ │ │ ├── 2.gif │ │ │ ├── 20.gif │ │ │ ├── 21.gif │ │ │ ├── 22.gif │ │ │ ├── 23.gif │ │ │ ├── 24.gif │ │ │ ├── 25.gif │ │ │ ├── 26.gif │ │ │ ├── 27.gif │ │ │ ├── 28.gif │ │ │ ├── 29.gif │ │ │ ├── 3.gif │ │ │ ├── 30.gif │ │ │ ├── 31.gif │ │ │ ├── 32.gif │ │ │ ├── 33.gif │ │ │ ├── 34.gif │ │ │ ├── 35.gif │ │ │ ├── 36.gif │ │ │ ├── 37.gif │ │ │ ├── 38.gif │ │ │ ├── 39.gif │ │ │ ├── 4.gif │ │ │ ├── 40.gif │ │ │ ├── 41.gif │ │ │ ├── 42.gif │ │ │ ├── 43.gif │ │ │ ├── 44.gif │ │ │ ├── 45.gif │ │ │ ├── 46.gif │ │ │ ├── 47.gif │ │ │ ├── 48.gif │ │ │ ├── 49.gif │ │ │ ├── 5.gif │ │ │ ├── 50.gif │ │ │ ├── 51.gif │ │ │ ├── 52.gif │ │ │ ├── 53.gif │ │ │ ├── 54.gif │ │ │ ├── 55.gif │ │ │ ├── 56.gif │ │ │ ├── 57.gif │ │ │ ├── 58.gif │ │ │ ├── 59.gif │ │ │ ├── 6.gif │ │ │ ├── 60.gif │ │ │ ├── 61.gif │ │ │ ├── 62.gif │ │ │ ├── 63.gif │ │ │ ├── 64.gif │ │ │ ├── 65.gif │ │ │ ├── 66.gif │ │ │ ├── 67.gif │ │ │ ├── 68.gif │ │ │ ├── 69.gif │ │ │ ├── 7.gif │ │ │ ├── 70.gif │ │ │ ├── 71.gif │ │ │ ├── 8.gif │ │ │ └── 9.gif │ ├── lay │ │ └── modules │ │ │ ├── carousel.js │ │ │ ├── code.js │ │ │ ├── element.js │ │ │ ├── flow.js │ │ │ ├── form.js │ │ │ ├── jquery.js │ │ │ ├── laydate.js │ │ │ ├── layedit.js │ │ │ ├── layer.js │ │ │ ├── laypage.js │ │ │ ├── laytpl.js │ │ │ ├── mobile.js │ │ │ ├── table.js │ │ │ ├── tree.js │ │ │ ├── upload.js │ │ │ └── util.js │ ├── layui.all.js │ └── layui.js │ └── mods │ ├── case.js │ ├── face.js │ ├── index.js │ ├── jie.js │ └── user.js ├── common ├── My97DatePicker │ └── 4.8 │ │ ├── WdatePicker.js │ │ ├── calendar.js │ │ ├── lang │ │ ├── en.js │ │ ├── zh-cn.js │ │ └── zh-tw.js │ │ └── skin │ │ ├── WdatePicker.css │ │ ├── datePicker.gif │ │ ├── default │ │ ├── datepicker.css │ │ └── img.gif │ │ ├── twoer │ │ ├── datepicker-dev.css │ │ ├── datepicker.css │ │ ├── img.gif │ │ └── img.png │ │ └── whyGreen │ │ ├── bg.jpg │ │ ├── datepicker.css │ │ └── img.gif ├── jquery-1.11.1.min.js ├── jquery-form.js ├── loading.gif ├── page │ ├── myPagination.css │ └── myPagination.js ├── selectSearch │ ├── jquery.searchableSelect.css │ └── jquery.searchableSelect.js ├── utils │ └── listutils.js ├── wangeditor-3.0.17 │ ├── fonts │ │ └── w-e-icon.woff │ ├── wangEditor.css │ ├── wangEditor.js │ ├── wangEditor.min.css │ ├── wangEditor.min.js │ ├── wangEditor.min.js.map │ └── wangeditor_emotion.js ├── webupload │ ├── Uploader.swf │ ├── imgloading.gif │ ├── upload.js │ ├── webuploader.css │ ├── webuploader.js │ └── �� ��.png └── ����.png └── login ├── css ├── H-ui.login.css └── H-ui.min.css └── images ├── acrossTab └── acrossTab-2.png ├── admin-login-bg.jpg ├── admin-loginform-bg.png ├── cn.gif ├── loading.gif ├── logo.png └── um.gif /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/.DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 全目录 2 | 3 | [更多系统、论文,供君选择 ~~>](https://www.yuque.com/wisebit/blog) 4 | 5 | # 246.TaxManagementSystem 6 | 7 |

群: 983063232(入群获取sql文件)

8 |

QQ: 206157502(加好友获取sql文件)

9 | 10 |

246.税务管理系统

11 | 12 | 13 |

14 | 15 | 16 | 17 | 18 |

19 | 20 | # 简介 21 | 22 | > 本代码来源于网络,仅供学习参考使用,请入群(983063232)后联系群主索要sql文件! 23 | > 24 | > 提供1.远程部署/2.修改代码/3.设计文档指导/4.框架代码讲解等服务 25 | > 26 | > 首页: http://localhost:8080/tax_sys/ 27 | > 28 | > 后端登录地址:http://localhost:8080/tax_sys/commonapi/sys_login 29 | > 30 | > 管理员: admin 密码: 123456 31 | > 32 | > 税务人员: staff 密码: 123456 33 | > 34 | > 用户: user 密码: 123456 35 | 36 | # 环境 37 | 38 | - IntelliJ IDEA 2021.3 39 | 40 | - Mysql 5.7.26 41 | 42 | - Tomcat 7.0.73 43 | 44 | - JDK 1.8 45 | 46 | 47 | 48 | 49 | ## 缩略图 50 | 51 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/d92d6e3f-b0ca-4262-9cd3-da45205ff3d0.png) 52 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/e3921ec6-f96c-4d5c-a4a8-76c37823d860.png) 53 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/b2fd34c2-1729-4a56-9e1d-f06e429f18b4.png) 54 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/3124e4c7-59f9-47d5-a3a4-cbeb3c7d1fde.png) 55 | ![](https://bitwise.oss-cn-heyuan.aliyuncs.com/2024/9/10/b7cbf101-85af-485e-96e1-48bfa50f7c59.png) 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /src/main/java/com/tax/Application.java: -------------------------------------------------------------------------------- 1 | package com.tax; 2 | import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration; 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 6 | import org.springframework.boot.builder.SpringApplicationBuilder; 7 | import org.springframework.boot.web.support.SpringBootServletInitializer; 8 | import org.springframework.scheduling.annotation.EnableScheduling; 9 | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class // 关闭mybatis的自动配置 10 | , MybatisAutoConfiguration.class }) 11 | @EnableScheduling 12 | public class Application extends SpringBootServletInitializer { 13 | @Override 14 | protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { 15 | return builder.sources(Application.class); 16 | } 17 | public static void main(String[] args) { 18 | SpringApplication.run(Application.class, args); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/tax/config/WebConfig.java: -------------------------------------------------------------------------------- 1 | package com.tax.config; 2 | import java.util.List; 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.format.FormatterRegistry; 6 | import org.springframework.http.converter.HttpMessageConverter; 7 | import org.springframework.validation.MessageCodesResolver; 8 | import org.springframework.validation.Validator; 9 | import org.springframework.web.method.support.HandlerMethodArgumentResolver; 10 | import org.springframework.web.method.support.HandlerMethodReturnValueHandler; 11 | import org.springframework.web.servlet.HandlerExceptionResolver; 12 | import org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer; 13 | import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer; 14 | import org.springframework.web.servlet.config.annotation.CorsRegistry; 15 | import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer; 16 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 17 | import org.springframework.web.servlet.config.annotation.PathMatchConfigurer; 18 | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; 19 | import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; 20 | import org.springframework.web.servlet.config.annotation.ViewResolverRegistry; 21 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 22 | import com.tax.controller.LoginInterceptor; 23 | @Configuration 24 | public class WebConfig implements WebMvcConfigurer { 25 | @Override 26 | public void addInterceptors(InterceptorRegistry registry) { 27 | registry.addInterceptor(new LoginInterceptor()) 28 | .addPathPatterns("/**") 29 | .excludePathPatterns("/static/**").excludePathPatterns("/commonapi/**"); 30 | } 31 | @Override 32 | public void addArgumentResolvers(List arg0) { 33 | // TODO Auto-generated method stub 34 | } 35 | @Override 36 | public void addCorsMappings(CorsRegistry arg0) { 37 | // TODO Auto-generated method stub 38 | } 39 | @Override 40 | public void addFormatters(FormatterRegistry arg0) { 41 | // TODO Auto-generated method stub 42 | } 43 | @Override 44 | public void addResourceHandlers(ResourceHandlerRegistry arg0) { 45 | // TODO Auto-generated method stub 46 | } 47 | @Override 48 | public void addReturnValueHandlers( 49 | List arg0) { 50 | // TODO Auto-generated method stub 51 | } 52 | @Override 53 | public void addViewControllers(ViewControllerRegistry arg0) { 54 | // TODO Auto-generated method stub 55 | } 56 | @Override 57 | public void configureAsyncSupport(AsyncSupportConfigurer arg0) { 58 | // TODO Auto-generated method stub 59 | } 60 | @Override 61 | public void configureContentNegotiation(ContentNegotiationConfigurer arg0) { 62 | // TODO Auto-generated method stub 63 | } 64 | @Override 65 | public void configureDefaultServletHandling( 66 | DefaultServletHandlerConfigurer arg0) { 67 | // TODO Auto-generated method stub 68 | } 69 | @Override 70 | public void configureHandlerExceptionResolvers( 71 | List arg0) { 72 | // TODO Auto-generated method stub 73 | } 74 | @Override 75 | public void configureMessageConverters(List> arg0) { 76 | // TODO Auto-generated method stub 77 | } 78 | @Override 79 | public void configurePathMatch(PathMatchConfigurer arg0) { 80 | // TODO Auto-generated method stub 81 | } 82 | @Override 83 | public void configureViewResolvers(ViewResolverRegistry arg0) { 84 | // TODO Auto-generated method stub 85 | } 86 | @Override 87 | public void extendHandlerExceptionResolvers( 88 | List arg0) { 89 | // TODO Auto-generated method stub 90 | } 91 | @Override 92 | public void extendMessageConverters(List> arg0) { 93 | // TODO Auto-generated method stub 94 | } 95 | @Override 96 | public MessageCodesResolver getMessageCodesResolver() { 97 | // TODO Auto-generated method stub 98 | return null; 99 | } 100 | @Override 101 | public Validator getValidator() { 102 | // TODO Auto-generated method stub 103 | return null; 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/CodeController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller; 2 | import java.io.IOException; 3 | import javax.imageio.ImageIO; 4 | import javax.servlet.ServletOutputStream; 5 | import javax.servlet.http.HttpServletRequest; 6 | import javax.servlet.http.HttpServletResponse; 7 | import javax.servlet.http.HttpSession; 8 | import org.springframework.stereotype.Controller; 9 | import org.springframework.web.bind.annotation.RequestMapping; 10 | import com.tax.util.CommonVal; 11 | import com.tax.util.ImgRandomCodeUtils; 12 | /** 13 | * 14 | 图片验证码生成接口,该接口用来生成一张带有4位随机码的图片 15 | * 16 | */ 17 | @Controller 18 | public class CodeController { 19 | @RequestMapping("/commonapi/code") 20 | public void getCode(HttpServletRequest req, HttpServletResponse resp) throws IOException { 21 | ImgRandomCodeUtils rdnu = ImgRandomCodeUtils.Instance();//图片验证码生成器 22 | HttpSession session = req.getSession(); 23 | // 取得随机字符串放入Session中 24 | session.setAttribute(CommonVal.code, rdnu.getString());//将该验证码存入session中 25 | // 禁止图像缓存。 26 | resp.setHeader("Pragma", "no-cache"); 27 | resp.setHeader("Cache-Control", "no-cache"); 28 | resp.setDateHeader("Expires", 0); 29 | resp.setContentType("image/jpeg"); 30 | // 将图像输出到Servlet输出流中。 31 | ServletOutputStream sos = resp.getOutputStream(); 32 | ImageIO.write(rdnu.getBuffImg(), "jpeg", sos);//返回给前台 33 | sos.close(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/ImgUploadController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller; 2 | import java.io.IOException; 3 | import java.net.InetAddress; 4 | import java.net.UnknownHostException; 5 | import java.util.ArrayList; 6 | import java.util.HashMap; 7 | import java.util.List; 8 | import java.util.Map; 9 | import java.util.UUID; 10 | import java.io.InputStream; 11 | import javax.servlet.http.HttpServletRequest; 12 | import org.springframework.beans.factory.annotation.Autowired; 13 | import org.springframework.stereotype.Controller; 14 | import org.springframework.web.bind.annotation.RequestMapping; 15 | import org.springframework.web.bind.annotation.RequestMethod; 16 | import org.springframework.web.bind.annotation.RequestParam; 17 | import org.springframework.web.bind.annotation.ResponseBody; 18 | import org.springframework.web.multipart.MultipartFile; 19 | import org.springframework.web.multipart.commons.CommonsMultipartFile; 20 | import com.tax.util.Upload; 21 | import com.tax.util.CommonVal; 22 | @Controller 23 | @RequestMapping("/commonapi/imgUpload") 24 | public class ImgUploadController{ 25 | //文件上传并生成缩略图 26 | @RequestMapping(value="thumb",method=RequestMethod.POST) 27 | @ResponseBody 28 | public Object GenerateImage(@RequestParam("file")MultipartFile file,HttpServletRequest request) throws IOException{ 29 | Map result =new HashMap(); 30 | String realUploadPath= ""; String uriPath= ""; 31 | if(CommonVal.imgRealPath.equals("")==false){ 32 | realUploadPath = CommonVal.imgRealPath; 33 | String [] split = CommonVal.imgRealPath.split("webapps"); 34 | if(split.length>1){ 35 | uriPath = split[1]; 36 | } 37 | }else{ 38 | realUploadPath= request.getSession().getServletContext().getRealPath("/")+"/images";//使用tomcat文件路径作为上传路径 39 | uriPath= "tax_sys/images"; 40 | } 41 | //String realUploadPath = ""; 42 | //获取上传后原图的相对地址 43 | String imageUrl=Upload.uploadImage(file, realUploadPath,uriPath); 44 | result.put("code", 0); 45 | result.put("url", "http://"+imageUrl); 46 | return result; 47 | } 48 | 49 | @RequestMapping(value="imgUploadForWangEditor",method=RequestMethod.POST) 50 | @ResponseBody 51 | public Map imgUploadForWangEditor(@RequestParam MultipartFile[] files,HttpServletRequest request) throws UnknownHostException{ 52 | if(files==null){ 53 | return null; 54 | } 55 | List urls = new ArrayList(); 56 | Map result = new HashMap(); 57 | String realUploadPath= ""; String uriPath= ""; 58 | if(CommonVal.imgRealPath.equals("")==false){ 59 | realUploadPath = CommonVal.imgRealPath; 60 | String [] split = CommonVal.imgRealPath.split("webapps"); 61 | if(split.length>1){ 62 | uriPath = split[1]; 63 | } 64 | }else{ 65 | realUploadPath= request.getSession().getServletContext().getRealPath("/")+"/images";//使用tomcat文件路径作为上传路径 66 | uriPath= "tax_sys/images"; 67 | } 68 | for(MultipartFile f:files){ 69 | String imageUrl; 70 | try { 71 | imageUrl = Upload.uploadImage(f, realUploadPath,uriPath); 72 | urls.add("http://"+imageUrl); 73 | } catch (IOException e) { 74 | e.printStackTrace(); 75 | } 76 | } 77 | result.put("data", urls); 78 | result.put("errno", 0); 79 | return result; 80 | } 81 | 82 | } 83 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/LoginInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller; 2 | 3 | import com.tax.util.CommonVal; 4 | 5 | import org.springframework.web.servlet.HandlerInterceptor; 6 | import org.springframework.web.servlet.ModelAndView; 7 | 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | 12 | /** 13 | 过滤器,校验所有需要验证的请求,判断是否有登录,如果未登录,则强制跳转到登录页面,如果已登录,则判断是否正在进行非法请求 14 | */ 15 | public class LoginInterceptor implements HandlerInterceptor { 16 | public boolean preHandle(HttpServletRequest request, 17 | HttpServletResponse response, Object handler) throws Exception { 18 | LoginModel login = (LoginModel) request.getSession() 19 | .getAttribute(CommonVal.sessionName); 20 | String requestUri = request.getRequestURI(); 21 | String contextPath = request.getContextPath(); 22 | String contextPath2 = requestUri.trim().replaceAll("/", ""); 23 | 24 | if (contextPath2.equals("tax_sys") || 25 | ((contextPath2.contains("admin") == false) && 26 | (contextPath2.contains("staff") == false) && 27 | (contextPath2.contains("user") == false))) { 28 | return true; 29 | } 30 | 31 | if (login == null) { 32 | System.out.println( 33 | "尚未登录,调到登录页面"); 34 | 35 | if (requestUri.contains("/admin/")) { 36 | response.sendRedirect(contextPath + "/commonapi/sys_login"); //强制跳转到登录页面 37 | 38 | return false; 39 | } 40 | 41 | if (requestUri.contains("/staff/")) { 42 | response.sendRedirect(contextPath + "/commonapi/sys_login"); //强制跳转到登录页面 43 | 44 | return false; 45 | } 46 | 47 | if (requestUri.contains("/user/")) { 48 | response.sendRedirect(contextPath + "/commonapi/sys_login"); //强制跳转到登录页面 49 | 50 | return false; 51 | } 52 | 53 | response.sendRedirect(contextPath + "/"); 54 | 55 | return false; 56 | } else { 57 | if (login.getLoginType() == 1) { 58 | if ((requestUri.contains("admin") == false) && 59 | (requestUri.contains("commonapi") == false)) { //当前登录角色为管理员,但请求其他角色使用的接口,即盗链,这种需要拦截并提示错误 60 | response.sendRedirect(contextPath + 61 | "/commonapi/error?msg=-2"); 62 | 63 | return true; 64 | } 65 | } 66 | 67 | if (login.getLoginType() == 2) { 68 | if ((requestUri.contains("staff") == false) && 69 | (requestUri.contains("commonapi") == false)) { //当前登录角色为办税人员,但请求其他角色使用的接口,即盗链,这种需要拦截并提示错误 70 | response.sendRedirect(contextPath + 71 | "/commonapi/error?msg=-2"); 72 | 73 | return true; 74 | } 75 | } 76 | 77 | if (login.getLoginType() == 3) { 78 | if ((requestUri.contains("user") == false) && 79 | (requestUri.contains("commonapi") == false)) { //当前登录角色为用户,但请求其他角色使用的接口,即盗链,这种需要拦截并提示错误 80 | response.sendRedirect(contextPath + 81 | "/commonapi/error?msg=-2"); 82 | 83 | return true; 84 | } 85 | } 86 | } 87 | 88 | return true; 89 | } 90 | 91 | @Override 92 | public void postHandle(HttpServletRequest request, 93 | HttpServletResponse response, Object handler, ModelAndView modelAndView) 94 | throws Exception { 95 | } 96 | 97 | @Override 98 | public void afterCompletion(HttpServletRequest request, 99 | HttpServletResponse response, Object handler, Exception ex) 100 | throws Exception { 101 | } 102 | } 103 | 104 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/LoginModel.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller; 2 | public class LoginModel { 3 | private Integer id;//登录id 4 | private String name;//登录名 5 | private String password;//密码 6 | private Integer loginType;//登录类型 7 | private Integer cityId; 8 | 9 | 10 | public Integer getCityId() { 11 | return cityId; 12 | } 13 | public void setCityId(Integer cityId) { 14 | this.cityId = cityId; 15 | } 16 | public Integer getLoginType() { 17 | return loginType; 18 | } 19 | public void setLoginType(Integer loginType) { 20 | this.loginType = loginType; 21 | } 22 | public Integer getId() { 23 | return id; 24 | } 25 | public void setId(Integer id) { 26 | this.id = id; 27 | } 28 | public String getName() { 29 | return name; 30 | } 31 | public void setName(String name) { 32 | this.name = name; 33 | } 34 | public String getPassword() { 35 | return password; 36 | } 37 | public void setPassword(String password) { 38 | this.password = password; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/admin/ADIndexController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.admin; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.CommonVal; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Controller; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | 21 | import java.util.List; 22 | 23 | import javax.servlet.http.HttpServletRequest; 24 | import javax.servlet.http.HttpServletResponse; 25 | import javax.servlet.http.HttpSession; 26 | 27 | 28 | @Controller 29 | @RequestMapping("/admin/index") 30 | public class ADIndexController { 31 | @Autowired 32 | AdminInfoMapper adminInfoMapper; 33 | 34 | /** 35 | 管理员角色进入管理首页接口 36 | */ 37 | @RequestMapping(value = "") 38 | public String index(ModelMap modelMap, HttpServletRequest request) { 39 | LoginModel login = (LoginModel) request.getSession() 40 | .getAttribute(CommonVal.sessionName); 41 | AdminInfo user = adminInfoMapper.selectByPrimaryKey(login.getId()); 42 | modelMap.addAttribute("user", user); 43 | 44 | modelMap.addAttribute("roleName", 45 | "管理员"); 46 | modelMap.addAttribute("login", login); 47 | 48 | return "admin/index"; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/admin/AUserInfoController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.admin; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | import com.tax.service.impl.*; 11 | 12 | import com.tax.util.*; 13 | 14 | import net.sf.json.JSONObject; 15 | 16 | import org.springframework.beans.factory.annotation.Autowired; 17 | 18 | import org.springframework.stereotype.Controller; 19 | 20 | import org.springframework.ui.ModelMap; 21 | 22 | import org.springframework.web.bind.annotation.RequestBody; 23 | import org.springframework.web.bind.annotation.RequestMapping; 24 | import org.springframework.web.bind.annotation.RequestMethod; 25 | import org.springframework.web.bind.annotation.RequestParam; 26 | import org.springframework.web.bind.annotation.ResponseBody; 27 | import org.springframework.web.multipart.MultipartFile; 28 | 29 | import java.io.IOException; 30 | 31 | import java.text.SimpleDateFormat; 32 | 33 | import java.util.ArrayList; 34 | import java.util.Date; 35 | import java.util.HashMap; 36 | import java.util.List; 37 | import java.util.Map; 38 | 39 | import javax.servlet.http.HttpServletRequest; 40 | import javax.servlet.http.HttpServletResponse; 41 | import javax.servlet.http.HttpSession; 42 | 43 | 44 | @Controller 45 | @RequestMapping("/admin/user_info") 46 | public class AUserInfoController { 47 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 48 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 49 | @Autowired 50 | UserInfoService userInfoService; 51 | @Autowired 52 | AdminInfoMapper adminInfoMapper; 53 | @Autowired 54 | CityInfoMapper cityInfoMapper; 55 | @Autowired 56 | UserInfoMapper userInfoMapper; 57 | 58 | public void getList(ModelMap modelMap, LoginModel login) { 59 | CityInfoExample cityInfoE = new CityInfoExample(); 60 | CityInfoExample.Criteria cityInfoC = cityInfoE.createCriteria(); 61 | List cityInfoList = cityInfoMapper.selectByExample(cityInfoE); 62 | List> cityInfoList2 = new ArrayList>(); 63 | 64 | for (CityInfo m : cityInfoList) { 65 | Map map = new HashMap(); 66 | map.put("id", m.getId()); 67 | map.put("name", m.getCname()); 68 | cityInfoList2.add(map); 69 | } 70 | 71 | modelMap.addAttribute("cityInfoList", cityInfoList2); 72 | } 73 | 74 | /** 75 | * 返回用户列表jsp页面 76 | */ 77 | @RequestMapping(value = "") 78 | public String index(ModelMap modelMap, HttpServletRequest request) { 79 | LoginModel login = (LoginModel) request.getSession() 80 | .getAttribute(CommonVal.sessionName); //获取当前登录账号信息 81 | AdminInfo adminInfo = adminInfoMapper.selectByPrimaryKey(login.getId()); 82 | modelMap.addAttribute("user", adminInfo); 83 | getList(modelMap, login); //获取数据列表并返回给前台 84 | 85 | return "admin/user_info/list"; 86 | } 87 | 88 | /** 89 | * 根据查询条件分页查询用户数据,然后返回给前台渲染 90 | */ 91 | @RequestMapping(value = "queryList") 92 | @ResponseBody 93 | public Object toList(UserInfo model, Integer page, 94 | HttpServletRequest request) { 95 | LoginModel login = (LoginModel) request.getSession() 96 | .getAttribute(CommonVal.sessionName); 97 | 98 | return userInfoService.getDataList(model, page, CommonVal.pageSize, 99 | login); //分页查询数据 100 | } 101 | 102 | /** 103 | 删除用户接口 104 | */ 105 | @RequestMapping("del") 106 | @ResponseBody 107 | public Object del(Integer id, ModelMap modelMap, HttpServletRequest request) { 108 | LoginModel login = (LoginModel) request.getSession() 109 | .getAttribute(CommonVal.sessionName); 110 | Map rs = new HashMap(); 111 | userInfoService.delete(id); 112 | rs.put("code", 1); 113 | rs.put("msg", 114 | "删除成功"); 115 | 116 | return rs; 117 | } 118 | } 119 | 120 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/index/IndexNoticeController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.index; 2 | 3 | import com.tax.controller.*; 4 | import com.tax.dao.*; 5 | import com.tax.model.*; 6 | import com.tax.service.*; 7 | import com.tax.util.*; 8 | 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Controller; 11 | import org.springframework.ui.ModelMap; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.ResponseBody; 14 | 15 | import java.text.SimpleDateFormat; 16 | import java.util.ArrayList; 17 | import java.util.Collections; 18 | import java.util.Comparator; 19 | import java.util.Date; 20 | import java.util.HashMap; 21 | import java.util.Iterator; 22 | import java.util.List; 23 | import java.util.Map; 24 | 25 | import javax.servlet.http.HttpServletRequest; 26 | import javax.servlet.http.HttpServletResponse; 27 | import javax.servlet.http.HttpSession; 28 | 29 | 30 | @Controller 31 | @RequestMapping("/notice") 32 | public class IndexNoticeController { 33 | @Autowired 34 | NoticeInfoMapper NoticeInfoMapper; 35 | 36 | 37 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 38 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 39 | /** 40 | 进入搜索列表接口 41 | **/ 42 | @RequestMapping(value = "") 43 | public String index(ModelMap modelMap, HttpServletRequest request) { 44 | LoginModel login = (LoginModel) request.getSession() 45 | .getAttribute(CommonVal.sessionName); 46 | modelMap.addAttribute("login", login); 47 | 48 | return "index/notice_list"; 49 | } 50 | 51 | @RequestMapping(value = "search") 52 | @ResponseBody 53 | public Object search(String searchWord, Integer page, 54 | HttpServletRequest request) { 55 | LoginModel login = (LoginModel) request.getSession() 56 | .getAttribute(CommonVal.sessionName); 57 | int pageSize = 8; 58 | 59 | if (page == null) { 60 | page = 1; 61 | } 62 | 63 | NoticeInfoExample te = new NoticeInfoExample(); 64 | NoticeInfoExample.Criteria tc = te.createCriteria(); 65 | te.setOrderByClause("id desc"); 66 | if ((searchWord != null) && (searchWord.trim().equals("") == false)) { 67 | tc.andTitleLike("%" + searchWord + "%"); 68 | } 69 | 70 | int count = (int) NoticeInfoMapper.countByExample(te); 71 | int totalPage = 0; 72 | 73 | if ((count > 0) && ((count % pageSize) == 0)) { 74 | totalPage = count / pageSize; 75 | } else { 76 | totalPage = (count / pageSize) + 1; 77 | } 78 | 79 | te.setPageRows(pageSize); 80 | te.setStartRow((page - 1) * pageSize); 81 | 82 | List tl = NoticeInfoMapper.selectByExample(te); 83 | List> list = new ArrayList>(); 84 | 85 | for (NoticeInfo t : tl) { 86 | Map map = new HashMap(); 87 | map.put("t", t); 88 | list.add(map); 89 | } 90 | 91 | Map rs = new HashMap(); 92 | rs.put("data", list); 93 | rs.put("count", count); 94 | rs.put("totalPage", totalPage); 95 | rs.put("pageSize", pageSize); 96 | 97 | return rs; 98 | } 99 | 100 | 101 | @RequestMapping(value = "detail") 102 | public String detail(ModelMap modelMap, Integer id, 103 | HttpServletRequest request) { 104 | LoginModel login = (LoginModel) request.getSession() 105 | .getAttribute(CommonVal.sessionName); 106 | modelMap.addAttribute("login", login); 107 | 108 | NoticeInfo t = NoticeInfoMapper.selectByPrimaryKey(id); 109 | 110 | if (t == null) { 111 | t = new NoticeInfo(); 112 | } 113 | 114 | modelMap.addAttribute("detail", t); 115 | 116 | return "index/notice_detail"; 117 | } 118 | 119 | 120 | } 121 | 122 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/index/IndexWgController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.index; 2 | 3 | import com.tax.controller.*; 4 | import com.tax.dao.*; 5 | import com.tax.model.*; 6 | import com.tax.service.*; 7 | import com.tax.util.*; 8 | 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Controller; 11 | import org.springframework.ui.ModelMap; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.ResponseBody; 14 | 15 | import java.text.SimpleDateFormat; 16 | import java.util.ArrayList; 17 | import java.util.Collections; 18 | import java.util.Comparator; 19 | import java.util.Date; 20 | import java.util.HashMap; 21 | import java.util.Iterator; 22 | import java.util.List; 23 | import java.util.Map; 24 | 25 | import javax.servlet.http.HttpServletRequest; 26 | import javax.servlet.http.HttpServletResponse; 27 | import javax.servlet.http.HttpSession; 28 | 29 | 30 | @Controller 31 | @RequestMapping("wg") 32 | public class IndexWgController { 33 | @Autowired 34 | WgInfoMapper WgInfoMapper; 35 | 36 | 37 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 38 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 39 | /** 40 | 进入搜索列表接口 41 | **/ 42 | @RequestMapping(value = "") 43 | public String index(ModelMap modelMap, HttpServletRequest request) { 44 | LoginModel login = (LoginModel) request.getSession() 45 | .getAttribute(CommonVal.sessionName); 46 | modelMap.addAttribute("login", login); 47 | 48 | return "index/wg_list"; 49 | } 50 | 51 | @RequestMapping(value = "search") 52 | @ResponseBody 53 | public Object search(String searchWord, Integer page, 54 | HttpServletRequest request) { 55 | LoginModel login = (LoginModel) request.getSession() 56 | .getAttribute(CommonVal.sessionName); 57 | int pageSize = 8; 58 | 59 | if (page == null) { 60 | page = 1; 61 | } 62 | 63 | WgInfoExample te = new WgInfoExample(); 64 | WgInfoExample.Criteria tc = te.createCriteria(); 65 | te.setOrderByClause("id desc"); 66 | if ((searchWord != null) && (searchWord.trim().equals("") == false)) { 67 | tc.andTitleLike("%" + searchWord + "%"); 68 | } 69 | 70 | int count = (int) WgInfoMapper.countByExample(te); 71 | int totalPage = 0; 72 | 73 | if ((count > 0) && ((count % pageSize) == 0)) { 74 | totalPage = count / pageSize; 75 | } else { 76 | totalPage = (count / pageSize) + 1; 77 | } 78 | 79 | te.setPageRows(pageSize); 80 | te.setStartRow((page - 1) * pageSize); 81 | 82 | List tl = WgInfoMapper.selectByExample(te); 83 | List> list = new ArrayList>(); 84 | 85 | for (WgInfo t : tl) { 86 | Map map = new HashMap(); 87 | map.put("t", t); 88 | list.add(map); 89 | } 90 | 91 | Map rs = new HashMap(); 92 | rs.put("data", list); 93 | rs.put("count", count); 94 | rs.put("totalPage", totalPage); 95 | rs.put("pageSize", pageSize); 96 | 97 | return rs; 98 | } 99 | 100 | 101 | @RequestMapping(value = "detail") 102 | public String detail(ModelMap modelMap, Integer id, 103 | HttpServletRequest request) { 104 | LoginModel login = (LoginModel) request.getSession() 105 | .getAttribute(CommonVal.sessionName); 106 | modelMap.addAttribute("login", login); 107 | 108 | WgInfo t = WgInfoMapper.selectByPrimaryKey(id); 109 | 110 | if (t == null) { 111 | t = new WgInfo(); 112 | } 113 | 114 | modelMap.addAttribute("detail", t); 115 | 116 | return "index/wg_detail"; 117 | } 118 | 119 | 120 | } 121 | 122 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/index/IndexZcController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.index; 2 | 3 | import com.tax.controller.*; 4 | import com.tax.dao.*; 5 | import com.tax.model.*; 6 | import com.tax.service.*; 7 | import com.tax.util.*; 8 | 9 | import org.springframework.beans.factory.annotation.Autowired; 10 | import org.springframework.stereotype.Controller; 11 | import org.springframework.ui.ModelMap; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.ResponseBody; 14 | 15 | import java.text.SimpleDateFormat; 16 | import java.util.ArrayList; 17 | import java.util.Collections; 18 | import java.util.Comparator; 19 | import java.util.Date; 20 | import java.util.HashMap; 21 | import java.util.Iterator; 22 | import java.util.List; 23 | import java.util.Map; 24 | 25 | import javax.servlet.http.HttpServletRequest; 26 | import javax.servlet.http.HttpServletResponse; 27 | import javax.servlet.http.HttpSession; 28 | 29 | 30 | @Controller 31 | @RequestMapping("") 32 | public class IndexZcController { 33 | @Autowired 34 | ZcInfoMapper ZcInfoMapper; 35 | 36 | 37 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 38 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 39 | /** 40 | 进入搜索列表接口 41 | **/ 42 | @RequestMapping(value = "") 43 | public String index(ModelMap modelMap, HttpServletRequest request) { 44 | LoginModel login = (LoginModel) request.getSession() 45 | .getAttribute(CommonVal.sessionName); 46 | modelMap.addAttribute("login", login); 47 | 48 | return "index/zc_list"; 49 | } 50 | 51 | @RequestMapping(value = "search") 52 | @ResponseBody 53 | public Object search(String searchWord, Integer page, 54 | HttpServletRequest request) { 55 | LoginModel login = (LoginModel) request.getSession() 56 | .getAttribute(CommonVal.sessionName); 57 | int pageSize = 8; 58 | 59 | if (page == null) { 60 | page = 1; 61 | } 62 | 63 | ZcInfoExample te = new ZcInfoExample(); 64 | ZcInfoExample.Criteria tc = te.createCriteria(); 65 | te.setOrderByClause("id desc"); 66 | if ((searchWord != null) && (searchWord.trim().equals("") == false)) { 67 | tc.andTitleLike("%" + searchWord + "%"); 68 | } 69 | 70 | int count = (int) ZcInfoMapper.countByExample(te); 71 | int totalPage = 0; 72 | 73 | if ((count > 0) && ((count % pageSize) == 0)) { 74 | totalPage = count / pageSize; 75 | } else { 76 | totalPage = (count / pageSize) + 1; 77 | } 78 | 79 | te.setPageRows(pageSize); 80 | te.setStartRow((page - 1) * pageSize); 81 | 82 | List tl = ZcInfoMapper.selectByExample(te); 83 | List> list = new ArrayList>(); 84 | 85 | for (ZcInfo t : tl) { 86 | Map map = new HashMap(); 87 | map.put("t", t); 88 | list.add(map); 89 | } 90 | 91 | Map rs = new HashMap(); 92 | rs.put("data", list); 93 | rs.put("count", count); 94 | rs.put("totalPage", totalPage); 95 | rs.put("pageSize", pageSize); 96 | 97 | return rs; 98 | } 99 | 100 | 101 | @RequestMapping(value = "detail") 102 | public String detail(ModelMap modelMap, Integer id, 103 | HttpServletRequest request) { 104 | LoginModel login = (LoginModel) request.getSession() 105 | .getAttribute(CommonVal.sessionName); 106 | modelMap.addAttribute("login", login); 107 | 108 | ZcInfo t = ZcInfoMapper.selectByPrimaryKey(id); 109 | 110 | if (t == null) { 111 | t = new ZcInfo(); 112 | } 113 | 114 | modelMap.addAttribute("detail", t); 115 | 116 | return "index/zc_detail"; 117 | } 118 | 119 | 120 | } 121 | 122 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/staff/SJfLogController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.staff; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | import com.tax.service.impl.*; 11 | 12 | import com.tax.util.*; 13 | 14 | import net.sf.json.JSONObject; 15 | 16 | import org.springframework.beans.factory.annotation.Autowired; 17 | 18 | import org.springframework.stereotype.Controller; 19 | 20 | import org.springframework.ui.ModelMap; 21 | 22 | import org.springframework.web.bind.annotation.RequestBody; 23 | import org.springframework.web.bind.annotation.RequestMapping; 24 | import org.springframework.web.bind.annotation.RequestMethod; 25 | import org.springframework.web.bind.annotation.RequestParam; 26 | import org.springframework.web.bind.annotation.ResponseBody; 27 | import org.springframework.web.multipart.MultipartFile; 28 | 29 | import java.io.IOException; 30 | 31 | import java.text.SimpleDateFormat; 32 | 33 | import java.util.ArrayList; 34 | import java.util.Date; 35 | import java.util.HashMap; 36 | import java.util.List; 37 | import java.util.Map; 38 | 39 | import javax.servlet.http.HttpServletRequest; 40 | import javax.servlet.http.HttpServletResponse; 41 | import javax.servlet.http.HttpSession; 42 | 43 | 44 | @Controller 45 | @RequestMapping("/staff/jf_log") 46 | public class SJfLogController { 47 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 48 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 49 | @Autowired 50 | JfLogService jfLogService; 51 | @Autowired 52 | JfLogMapper jfLogMapper; 53 | @Autowired 54 | StaffInfoMapper staffInfoMapper; 55 | @Autowired 56 | CityInfoMapper cityInfoMapper; 57 | @Autowired 58 | TaxLogMapper taxLogMapper; 59 | 60 | /** 61 | * 返回缴费记录列表jsp页面 62 | */ 63 | @RequestMapping(value = "") 64 | public String index(ModelMap modelMap, HttpServletRequest request) { 65 | LoginModel login = (LoginModel) request.getSession() 66 | .getAttribute(CommonVal.sessionName); //获取当前登录账号信息 67 | StaffInfo staffInfo = staffInfoMapper.selectByPrimaryKey(login.getId()); 68 | modelMap.addAttribute("user", staffInfo); 69 | 70 | return "staff/jf_log/list"; 71 | } 72 | 73 | /** 74 | * 根据查询条件分页查询缴费记录数据,然后返回给前台渲染 75 | */ 76 | @RequestMapping(value = "queryList") 77 | @ResponseBody 78 | public Object toList(JfLog model, Integer page, HttpServletRequest request) { 79 | LoginModel login = (LoginModel) request.getSession() 80 | .getAttribute(CommonVal.sessionName); 81 | 82 | return jfLogService.getDataList(model, page, CommonVal.pageSize, login); //分页查询数据 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/staff/SStaffInfoController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.staff; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | import com.tax.service.impl.*; 11 | 12 | import com.tax.util.*; 13 | 14 | import net.sf.json.JSONObject; 15 | 16 | import org.springframework.beans.factory.annotation.Autowired; 17 | 18 | import org.springframework.stereotype.Controller; 19 | 20 | import org.springframework.ui.ModelMap; 21 | 22 | import org.springframework.web.bind.annotation.RequestBody; 23 | import org.springframework.web.bind.annotation.RequestMapping; 24 | import org.springframework.web.bind.annotation.RequestMethod; 25 | import org.springframework.web.bind.annotation.RequestParam; 26 | import org.springframework.web.bind.annotation.ResponseBody; 27 | import org.springframework.web.multipart.MultipartFile; 28 | 29 | import java.io.IOException; 30 | 31 | import java.text.SimpleDateFormat; 32 | 33 | import java.util.ArrayList; 34 | import java.util.Date; 35 | import java.util.HashMap; 36 | import java.util.List; 37 | import java.util.Map; 38 | 39 | import javax.servlet.http.HttpServletRequest; 40 | import javax.servlet.http.HttpServletResponse; 41 | import javax.servlet.http.HttpSession; 42 | 43 | 44 | @Controller 45 | @RequestMapping("/staff/staff_info") 46 | public class SStaffInfoController { 47 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 48 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 49 | @Autowired 50 | StaffInfoService staffInfoService; 51 | @Autowired 52 | StaffInfoMapper staffInfoMapper; 53 | @Autowired 54 | CityInfoMapper cityInfoMapper; 55 | 56 | /** 57 | 进入办税人员详情页 58 | */ 59 | @RequestMapping("detail") 60 | public Object detail(ModelMap modelMap, HttpServletRequest request) { 61 | LoginModel login = (LoginModel) request.getSession() 62 | .getAttribute(CommonVal.sessionName); 63 | StaffInfo model = new StaffInfo(); 64 | model.setId(login.getId()); 65 | 66 | StaffInfo preModel = staffInfoMapper.selectByPrimaryKey(login.getId()); 67 | modelMap.addAttribute("detail", 68 | staffInfoService.getStaffInfoModel(preModel, login)); 69 | 70 | return "staff/personal"; 71 | } 72 | } 73 | 74 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/staff/STIndexController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.staff; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.CommonVal; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Controller; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | 21 | import java.util.List; 22 | 23 | import javax.servlet.http.HttpServletRequest; 24 | import javax.servlet.http.HttpServletResponse; 25 | import javax.servlet.http.HttpSession; 26 | 27 | 28 | @Controller 29 | @RequestMapping("/staff/index") 30 | public class STIndexController { 31 | @Autowired 32 | StaffInfoMapper staffInfoMapper; 33 | 34 | /** 35 | 办税人员角色进入管理首页接口 36 | */ 37 | @RequestMapping(value = "") 38 | public String index(ModelMap modelMap, HttpServletRequest request) { 39 | LoginModel login = (LoginModel) request.getSession() 40 | .getAttribute(CommonVal.sessionName); 41 | StaffInfo user = staffInfoMapper.selectByPrimaryKey(login.getId()); 42 | modelMap.addAttribute("user", user); 43 | 44 | modelMap.addAttribute("roleName", 45 | "办税人员"); 46 | modelMap.addAttribute("login", login); 47 | 48 | return "staff/index"; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/user/UJfLogController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.user; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | import com.tax.service.impl.*; 11 | 12 | import com.tax.util.*; 13 | 14 | import net.sf.json.JSONObject; 15 | 16 | import org.springframework.beans.factory.annotation.Autowired; 17 | 18 | import org.springframework.stereotype.Controller; 19 | 20 | import org.springframework.ui.ModelMap; 21 | 22 | import org.springframework.web.bind.annotation.RequestBody; 23 | import org.springframework.web.bind.annotation.RequestMapping; 24 | import org.springframework.web.bind.annotation.RequestMethod; 25 | import org.springframework.web.bind.annotation.RequestParam; 26 | import org.springframework.web.bind.annotation.ResponseBody; 27 | import org.springframework.web.multipart.MultipartFile; 28 | 29 | import java.io.IOException; 30 | 31 | import java.text.SimpleDateFormat; 32 | 33 | import java.util.ArrayList; 34 | import java.util.Date; 35 | import java.util.HashMap; 36 | import java.util.List; 37 | import java.util.Map; 38 | 39 | import javax.servlet.http.HttpServletRequest; 40 | import javax.servlet.http.HttpServletResponse; 41 | import javax.servlet.http.HttpSession; 42 | 43 | 44 | @Controller 45 | @RequestMapping("/user/jf_log") 46 | public class UJfLogController { 47 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 48 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 49 | @Autowired 50 | JfLogService jfLogService; 51 | @Autowired 52 | JfLogMapper jfLogMapper; 53 | @Autowired 54 | CityInfoMapper cityInfoMapper; 55 | @Autowired 56 | UserInfoMapper userInfoMapper; 57 | @Autowired 58 | TaxLogMapper taxLogMapper; 59 | 60 | /** 61 | * 返回缴费记录列表jsp页面 62 | */ 63 | @RequestMapping(value = "") 64 | public String index(ModelMap modelMap, HttpServletRequest request) { 65 | LoginModel login = (LoginModel) request.getSession() 66 | .getAttribute(CommonVal.sessionName); //获取当前登录账号信息 67 | UserInfo userInfo = userInfoMapper.selectByPrimaryKey(login.getId()); 68 | modelMap.addAttribute("user", userInfo); 69 | 70 | return "user/jf_log/list"; 71 | } 72 | 73 | /** 74 | * 根据查询条件分页查询缴费记录数据,然后返回给前台渲染 75 | */ 76 | @RequestMapping(value = "queryList") 77 | @ResponseBody 78 | public Object toList(JfLog model, Integer page, HttpServletRequest request) { 79 | LoginModel login = (LoginModel) request.getSession() 80 | .getAttribute(CommonVal.sessionName); 81 | model.setUserId(login.getId()); //缴费用户等于当前登录id 82 | 83 | return jfLogService.getDataList(model, page, CommonVal.pageSize, login); //分页查询数据 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /src/main/java/com/tax/controller/user/USIndexController.java: -------------------------------------------------------------------------------- 1 | package com.tax.controller.user; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.CommonVal; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Controller; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | 21 | import java.util.List; 22 | 23 | import javax.servlet.http.HttpServletRequest; 24 | import javax.servlet.http.HttpServletResponse; 25 | import javax.servlet.http.HttpSession; 26 | 27 | 28 | @Controller 29 | @RequestMapping("/user/index") 30 | public class USIndexController { 31 | @Autowired 32 | UserInfoMapper userInfoMapper; 33 | 34 | /** 35 | 用户角色进入管理首页接口 36 | */ 37 | @RequestMapping(value = "") 38 | public String index(ModelMap modelMap, HttpServletRequest request) { 39 | LoginModel login = (LoginModel) request.getSession() 40 | .getAttribute(CommonVal.sessionName); 41 | UserInfo user = userInfoMapper.selectByPrimaryKey(login.getId()); 42 | modelMap.addAttribute("user", user); 43 | 44 | modelMap.addAttribute("roleName", "用户"); 45 | modelMap.addAttribute("login", login); 46 | 47 | return "user/index"; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/AdminInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.AdminInfo; 4 | import com.tax.model.AdminInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface AdminInfoMapper { 12 | long countByExample(AdminInfoExample example); 13 | 14 | int deleteByExample(AdminInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(AdminInfo record); 19 | 20 | int insertSelective(AdminInfo record); 21 | 22 | List selectByExample(AdminInfoExample example); 23 | 24 | AdminInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | AdminInfo record, @Param("example") 28 | AdminInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | AdminInfo record, @Param("example") 32 | AdminInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(AdminInfo record); 35 | 36 | int updateByPrimaryKey(AdminInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/ApplyLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.ApplyLog; 4 | import com.tax.model.ApplyLogExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface ApplyLogMapper { 12 | long countByExample(ApplyLogExample example); 13 | 14 | int deleteByExample(ApplyLogExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(ApplyLog record); 19 | 20 | int insertSelective(ApplyLog record); 21 | 22 | List selectByExample(ApplyLogExample example); 23 | 24 | ApplyLog selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | ApplyLog record, @Param("example") 28 | ApplyLogExample example); 29 | 30 | int updateByExample(@Param("record") 31 | ApplyLog record, @Param("example") 32 | ApplyLogExample example); 33 | 34 | int updateByPrimaryKeySelective(ApplyLog record); 35 | 36 | int updateByPrimaryKey(ApplyLog record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/CityInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.CityInfo; 4 | import com.tax.model.CityInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface CityInfoMapper { 12 | long countByExample(CityInfoExample example); 13 | 14 | int deleteByExample(CityInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(CityInfo record); 19 | 20 | int insertSelective(CityInfo record); 21 | 22 | List selectByExample(CityInfoExample example); 23 | 24 | CityInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | CityInfo record, @Param("example") 28 | CityInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | CityInfo record, @Param("example") 32 | CityInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(CityInfo record); 35 | 36 | int updateByPrimaryKey(CityInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/FpLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.FpLog; 4 | import com.tax.model.FpLogExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface FpLogMapper { 12 | long countByExample(FpLogExample example); 13 | 14 | int deleteByExample(FpLogExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(FpLog record); 19 | 20 | int insertSelective(FpLog record); 21 | 22 | List selectByExample(FpLogExample example); 23 | 24 | FpLog selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | FpLog record, @Param("example") 28 | FpLogExample example); 29 | 30 | int updateByExample(@Param("record") 31 | FpLog record, @Param("example") 32 | FpLogExample example); 33 | 34 | int updateByPrimaryKeySelective(FpLog record); 35 | 36 | int updateByPrimaryKey(FpLog record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/JfLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.JfLog; 4 | import com.tax.model.JfLogExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface JfLogMapper { 12 | long countByExample(JfLogExample example); 13 | 14 | int deleteByExample(JfLogExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(JfLog record); 19 | 20 | int insertSelective(JfLog record); 21 | 22 | List selectByExample(JfLogExample example); 23 | 24 | JfLog selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | JfLog record, @Param("example") 28 | JfLogExample example); 29 | 30 | int updateByExample(@Param("record") 31 | JfLog record, @Param("example") 32 | JfLogExample example); 33 | 34 | int updateByPrimaryKeySelective(JfLog record); 35 | 36 | int updateByPrimaryKey(JfLog record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/MsgInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.MsgInfo; 4 | import com.tax.model.MsgInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface MsgInfoMapper { 12 | long countByExample(MsgInfoExample example); 13 | 14 | int deleteByExample(MsgInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(MsgInfo record); 19 | 20 | int insertSelective(MsgInfo record); 21 | 22 | List selectByExample(MsgInfoExample example); 23 | 24 | MsgInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | MsgInfo record, @Param("example") 28 | MsgInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | MsgInfo record, @Param("example") 32 | MsgInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(MsgInfo record); 35 | 36 | int updateByPrimaryKey(MsgInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/NoticeInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.NoticeInfo; 4 | import com.tax.model.NoticeInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface NoticeInfoMapper { 12 | long countByExample(NoticeInfoExample example); 13 | 14 | int deleteByExample(NoticeInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(NoticeInfo record); 19 | 20 | int insertSelective(NoticeInfo record); 21 | 22 | List selectByExample(NoticeInfoExample example); 23 | 24 | NoticeInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | NoticeInfo record, @Param("example") 28 | NoticeInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | NoticeInfo record, @Param("example") 32 | NoticeInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(NoticeInfo record); 35 | 36 | int updateByPrimaryKey(NoticeInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/StaffInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.StaffInfo; 4 | import com.tax.model.StaffInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface StaffInfoMapper { 12 | long countByExample(StaffInfoExample example); 13 | 14 | int deleteByExample(StaffInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(StaffInfo record); 19 | 20 | int insertSelective(StaffInfo record); 21 | 22 | List selectByExample(StaffInfoExample example); 23 | 24 | StaffInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | StaffInfo record, @Param("example") 28 | StaffInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | StaffInfo record, @Param("example") 32 | StaffInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(StaffInfo record); 35 | 36 | int updateByPrimaryKey(StaffInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/TaxLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.TaxLog; 4 | import com.tax.model.TaxLogExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface TaxLogMapper { 12 | long countByExample(TaxLogExample example); 13 | 14 | int deleteByExample(TaxLogExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(TaxLog record); 19 | 20 | int insertSelective(TaxLog record); 21 | 22 | List selectByExample(TaxLogExample example); 23 | 24 | TaxLog selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | TaxLog record, @Param("example") 28 | TaxLogExample example); 29 | 30 | int updateByExample(@Param("record") 31 | TaxLog record, @Param("example") 32 | TaxLogExample example); 33 | 34 | int updateByPrimaryKeySelective(TaxLog record); 35 | 36 | int updateByPrimaryKey(TaxLog record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/TaxTypeMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.TaxType; 4 | import com.tax.model.TaxTypeExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface TaxTypeMapper { 12 | long countByExample(TaxTypeExample example); 13 | 14 | int deleteByExample(TaxTypeExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(TaxType record); 19 | 20 | int insertSelective(TaxType record); 21 | 22 | List selectByExample(TaxTypeExample example); 23 | 24 | TaxType selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | TaxType record, @Param("example") 28 | TaxTypeExample example); 29 | 30 | int updateByExample(@Param("record") 31 | TaxType record, @Param("example") 32 | TaxTypeExample example); 33 | 34 | int updateByPrimaryKeySelective(TaxType record); 35 | 36 | int updateByPrimaryKey(TaxType record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/UserInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.UserInfo; 4 | import com.tax.model.UserInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface UserInfoMapper { 12 | long countByExample(UserInfoExample example); 13 | 14 | int deleteByExample(UserInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(UserInfo record); 19 | 20 | int insertSelective(UserInfo record); 21 | 22 | List selectByExample(UserInfoExample example); 23 | 24 | UserInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | UserInfo record, @Param("example") 28 | UserInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | UserInfo record, @Param("example") 32 | UserInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(UserInfo record); 35 | 36 | int updateByPrimaryKey(UserInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/WgInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.WgInfo; 4 | import com.tax.model.WgInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface WgInfoMapper { 12 | long countByExample(WgInfoExample example); 13 | 14 | int deleteByExample(WgInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(WgInfo record); 19 | 20 | int insertSelective(WgInfo record); 21 | 22 | List selectByExample(WgInfoExample example); 23 | 24 | WgInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | WgInfo record, @Param("example") 28 | WgInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | WgInfo record, @Param("example") 32 | WgInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(WgInfo record); 35 | 36 | int updateByPrimaryKey(WgInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/dao/ZcInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.tax.dao; 2 | 3 | import com.tax.model.ZcInfo; 4 | import com.tax.model.ZcInfoExample; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import java.util.List; 9 | 10 | 11 | public interface ZcInfoMapper { 12 | long countByExample(ZcInfoExample example); 13 | 14 | int deleteByExample(ZcInfoExample example); 15 | 16 | int deleteByPrimaryKey(Integer id); 17 | 18 | int insert(ZcInfo record); 19 | 20 | int insertSelective(ZcInfo record); 21 | 22 | List selectByExample(ZcInfoExample example); 23 | 24 | ZcInfo selectByPrimaryKey(Integer id); 25 | 26 | int updateByExampleSelective(@Param("record") 27 | ZcInfo record, @Param("example") 28 | ZcInfoExample example); 29 | 30 | int updateByExample(@Param("record") 31 | ZcInfo record, @Param("example") 32 | ZcInfoExample example); 33 | 34 | int updateByPrimaryKeySelective(ZcInfo record); 35 | 36 | int updateByPrimaryKey(ZcInfo record); 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/AdminInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class AdminInfo { 4 | private Integer id; //ID 5 | private String loginName; //登录名 6 | private String password; //密码 7 | 8 | public Integer getId() { 9 | return id; 10 | } 11 | 12 | public void setId(Integer id) { 13 | this.id = id; 14 | } 15 | 16 | public String getLoginName() { 17 | return loginName; 18 | } 19 | 20 | public void setLoginName(String loginName) { 21 | this.loginName = (loginName == null) ? null : loginName.trim(); 22 | } 23 | 24 | public String getPassword() { 25 | return password; 26 | } 27 | 28 | public void setPassword(String password) { 29 | this.password = (password == null) ? null : password.trim(); 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/ApplyLog.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class ApplyLog { 4 | private Integer id; //ID 5 | private String taxNo; //申报编号 6 | private String taxTitle; //申报名目 7 | private Integer taxType; //报税类型 8 | private String taxIntro; //报税简述 9 | private Integer userId; //报税用户 10 | private String realName; //报税人 11 | private String celPhone; //联系电话 12 | private Integer taxUserType; //主体类型 13 | private String ztName; //主体名 14 | private String ztNo; //主体证件号 15 | private Integer taxStatus; //状态 16 | private String checkRemark; //审核备注 17 | private String createTime; //申请时间 18 | private Double taxAmount; //项目金额 19 | private String zjImg; //证件图片 20 | private Integer cityId; //用户城市 21 | 22 | public Integer getId() { 23 | return id; 24 | } 25 | 26 | public void setId(Integer id) { 27 | this.id = id; 28 | } 29 | 30 | public String getTaxNo() { 31 | return taxNo; 32 | } 33 | 34 | public void setTaxNo(String taxNo) { 35 | this.taxNo = (taxNo == null) ? null : taxNo.trim(); 36 | } 37 | 38 | public String getTaxTitle() { 39 | return taxTitle; 40 | } 41 | 42 | public void setTaxTitle(String taxTitle) { 43 | this.taxTitle = (taxTitle == null) ? null : taxTitle.trim(); 44 | } 45 | 46 | public Integer getTaxType() { 47 | return taxType; 48 | } 49 | 50 | public void setTaxType(Integer taxType) { 51 | this.taxType = taxType; 52 | } 53 | 54 | public String getTaxIntro() { 55 | return taxIntro; 56 | } 57 | 58 | public void setTaxIntro(String taxIntro) { 59 | this.taxIntro = (taxIntro == null) ? null : taxIntro.trim(); 60 | } 61 | 62 | public Integer getUserId() { 63 | return userId; 64 | } 65 | 66 | public void setUserId(Integer userId) { 67 | this.userId = userId; 68 | } 69 | 70 | public String getRealName() { 71 | return realName; 72 | } 73 | 74 | public void setRealName(String realName) { 75 | this.realName = (realName == null) ? null : realName.trim(); 76 | } 77 | 78 | public String getCelPhone() { 79 | return celPhone; 80 | } 81 | 82 | public void setCelPhone(String celPhone) { 83 | this.celPhone = (celPhone == null) ? null : celPhone.trim(); 84 | } 85 | 86 | public Integer getTaxUserType() { 87 | return taxUserType; 88 | } 89 | 90 | public void setTaxUserType(Integer taxUserType) { 91 | this.taxUserType = taxUserType; 92 | } 93 | 94 | public String getZtName() { 95 | return ztName; 96 | } 97 | 98 | public void setZtName(String ztName) { 99 | this.ztName = (ztName == null) ? null : ztName.trim(); 100 | } 101 | 102 | public String getZtNo() { 103 | return ztNo; 104 | } 105 | 106 | public void setZtNo(String ztNo) { 107 | this.ztNo = (ztNo == null) ? null : ztNo.trim(); 108 | } 109 | 110 | public Integer getTaxStatus() { 111 | return taxStatus; 112 | } 113 | 114 | public void setTaxStatus(Integer taxStatus) { 115 | this.taxStatus = taxStatus; 116 | } 117 | 118 | public String getCheckRemark() { 119 | return checkRemark; 120 | } 121 | 122 | public void setCheckRemark(String checkRemark) { 123 | this.checkRemark = (checkRemark == null) ? null : checkRemark.trim(); 124 | } 125 | 126 | public String getCreateTime() { 127 | return createTime; 128 | } 129 | 130 | public void setCreateTime(String createTime) { 131 | this.createTime = (createTime == null) ? null : createTime.trim(); 132 | } 133 | 134 | public Double getTaxAmount() { 135 | return taxAmount; 136 | } 137 | 138 | public void setTaxAmount(Double taxAmount) { 139 | this.taxAmount = taxAmount; 140 | } 141 | 142 | public String getZjImg() { 143 | return zjImg; 144 | } 145 | 146 | public void setZjImg(String zjImg) { 147 | this.zjImg = (zjImg == null) ? null : zjImg.trim(); 148 | } 149 | 150 | public Integer getCityId() { 151 | return cityId; 152 | } 153 | 154 | public void setCityId(Integer cityId) { 155 | this.cityId = cityId; 156 | } 157 | } 158 | 159 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/CityInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class CityInfo { 4 | private Integer id; //ID 5 | private String cname; //城市名 6 | 7 | public Integer getId() { 8 | return id; 9 | } 10 | 11 | public void setId(Integer id) { 12 | this.id = id; 13 | } 14 | 15 | public String getCname() { 16 | return cname; 17 | } 18 | 19 | public void setCname(String cname) { 20 | this.cname = (cname == null) ? null : cname.trim(); 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/FpLog.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class FpLog { 4 | private Integer id; //ID 5 | private String fpNo; //发票编号 6 | private String ztName; //发票抬头 7 | private String fpReason; //开票项目 8 | private Double fpAmount; //发票金额 9 | private Integer checkStatus; //审核状态 10 | private Integer userId; //申请用户 11 | private String createTime; //申请时间 12 | private String checkRemark; //审核备注 13 | private String zjNo; //主体证件号 14 | private String zjImg; //证件图片 15 | private Integer userCity; //用户城市 16 | 17 | public Integer getId() { 18 | return id; 19 | } 20 | 21 | public void setId(Integer id) { 22 | this.id = id; 23 | } 24 | 25 | public String getFpNo() { 26 | return fpNo; 27 | } 28 | 29 | public void setFpNo(String fpNo) { 30 | this.fpNo = (fpNo == null) ? null : fpNo.trim(); 31 | } 32 | 33 | public String getZtName() { 34 | return ztName; 35 | } 36 | 37 | public void setZtName(String ztName) { 38 | this.ztName = (ztName == null) ? null : ztName.trim(); 39 | } 40 | 41 | public String getFpReason() { 42 | return fpReason; 43 | } 44 | 45 | public void setFpReason(String fpReason) { 46 | this.fpReason = (fpReason == null) ? null : fpReason.trim(); 47 | } 48 | 49 | public Double getFpAmount() { 50 | return fpAmount; 51 | } 52 | 53 | public void setFpAmount(Double fpAmount) { 54 | this.fpAmount = fpAmount; 55 | } 56 | 57 | public Integer getCheckStatus() { 58 | return checkStatus; 59 | } 60 | 61 | public void setCheckStatus(Integer checkStatus) { 62 | this.checkStatus = checkStatus; 63 | } 64 | 65 | public Integer getUserId() { 66 | return userId; 67 | } 68 | 69 | public void setUserId(Integer userId) { 70 | this.userId = userId; 71 | } 72 | 73 | public String getCreateTime() { 74 | return createTime; 75 | } 76 | 77 | public void setCreateTime(String createTime) { 78 | this.createTime = (createTime == null) ? null : createTime.trim(); 79 | } 80 | 81 | public String getCheckRemark() { 82 | return checkRemark; 83 | } 84 | 85 | public void setCheckRemark(String checkRemark) { 86 | this.checkRemark = (checkRemark == null) ? null : checkRemark.trim(); 87 | } 88 | 89 | public String getZjNo() { 90 | return zjNo; 91 | } 92 | 93 | public void setZjNo(String zjNo) { 94 | this.zjNo = (zjNo == null) ? null : zjNo.trim(); 95 | } 96 | 97 | public String getZjImg() { 98 | return zjImg; 99 | } 100 | 101 | public void setZjImg(String zjImg) { 102 | this.zjImg = (zjImg == null) ? null : zjImg.trim(); 103 | } 104 | 105 | public Integer getUserCity() { 106 | return userCity; 107 | } 108 | 109 | public void setUserCity(Integer userCity) { 110 | this.userCity = userCity; 111 | } 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/JfLog.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class JfLog { 4 | private Integer id; //ID 5 | private String jfNo; //缴费编号 6 | private String createTime; //缴费时间 7 | private Integer userId; //缴费用户 8 | private Integer taxId; //税务编号 9 | private Double amount; //缴费金额 10 | private Integer cityId; //用户城市 11 | 12 | public Integer getId() { 13 | return id; 14 | } 15 | 16 | public void setId(Integer id) { 17 | this.id = id; 18 | } 19 | 20 | public String getJfNo() { 21 | return jfNo; 22 | } 23 | 24 | public void setJfNo(String jfNo) { 25 | this.jfNo = (jfNo == null) ? null : jfNo.trim(); 26 | } 27 | 28 | public String getCreateTime() { 29 | return createTime; 30 | } 31 | 32 | public void setCreateTime(String createTime) { 33 | this.createTime = (createTime == null) ? null : createTime.trim(); 34 | } 35 | 36 | public Integer getUserId() { 37 | return userId; 38 | } 39 | 40 | public void setUserId(Integer userId) { 41 | this.userId = userId; 42 | } 43 | 44 | public Integer getTaxId() { 45 | return taxId; 46 | } 47 | 48 | public void setTaxId(Integer taxId) { 49 | this.taxId = taxId; 50 | } 51 | 52 | public Double getAmount() { 53 | return amount; 54 | } 55 | 56 | public void setAmount(Double amount) { 57 | this.amount = amount; 58 | } 59 | 60 | public Integer getCityId() { 61 | return cityId; 62 | } 63 | 64 | public void setCityId(Integer cityId) { 65 | this.cityId = cityId; 66 | } 67 | } 68 | 69 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/MsgInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class MsgInfo { 4 | private Integer id; //ID 5 | private String msgContent; //留言内容 6 | private Integer replyStatus; //回复状态 7 | private String replyContent; //回复内容 8 | private Integer userId; //留言用户 9 | private String createTime; //留言时间 10 | private Integer userCity; //用户城市 11 | 12 | public Integer getId() { 13 | return id; 14 | } 15 | 16 | public void setId(Integer id) { 17 | this.id = id; 18 | } 19 | 20 | public String getMsgContent() { 21 | return msgContent; 22 | } 23 | 24 | public void setMsgContent(String msgContent) { 25 | this.msgContent = (msgContent == null) ? null : msgContent.trim(); 26 | } 27 | 28 | public Integer getReplyStatus() { 29 | return replyStatus; 30 | } 31 | 32 | public void setReplyStatus(Integer replyStatus) { 33 | this.replyStatus = replyStatus; 34 | } 35 | 36 | public String getReplyContent() { 37 | return replyContent; 38 | } 39 | 40 | public void setReplyContent(String replyContent) { 41 | this.replyContent = (replyContent == null) ? null : replyContent.trim(); 42 | } 43 | 44 | public Integer getUserId() { 45 | return userId; 46 | } 47 | 48 | public void setUserId(Integer userId) { 49 | this.userId = userId; 50 | } 51 | 52 | public String getCreateTime() { 53 | return createTime; 54 | } 55 | 56 | public void setCreateTime(String createTime) { 57 | this.createTime = (createTime == null) ? null : createTime.trim(); 58 | } 59 | 60 | public Integer getUserCity() { 61 | return userCity; 62 | } 63 | 64 | public void setUserCity(Integer userCity) { 65 | this.userCity = userCity; 66 | } 67 | } 68 | 69 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/NoticeInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class NoticeInfo { 4 | private Integer id; //ID 5 | private String title; //标题 6 | private String content; //内容 7 | private String createTime; //发布时间 8 | 9 | public Integer getId() { 10 | return id; 11 | } 12 | 13 | public void setId(Integer id) { 14 | this.id = id; 15 | } 16 | 17 | public String getTitle() { 18 | return title; 19 | } 20 | 21 | public void setTitle(String title) { 22 | this.title = (title == null) ? null : title.trim(); 23 | } 24 | 25 | public String getContent() { 26 | return content; 27 | } 28 | 29 | public void setContent(String content) { 30 | this.content = (content == null) ? null : content.trim(); 31 | } 32 | 33 | public String getCreateTime() { 34 | return createTime; 35 | } 36 | 37 | public void setCreateTime(String createTime) { 38 | this.createTime = (createTime == null) ? null : createTime.trim(); 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/StaffInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class StaffInfo { 4 | private Integer id; //ID 5 | private String loginName; //登录名 6 | private String password; //密码 7 | private String realName; //姓名 8 | private String celPhone; //联系电话 9 | private String idNumber; //身份证号码 10 | private String address; //地址 11 | private String createTime; //创建时间 12 | private Integer cityId; //城市 13 | 14 | public Integer getId() { 15 | return id; 16 | } 17 | 18 | public void setId(Integer id) { 19 | this.id = id; 20 | } 21 | 22 | public String getLoginName() { 23 | return loginName; 24 | } 25 | 26 | public void setLoginName(String loginName) { 27 | this.loginName = (loginName == null) ? null : loginName.trim(); 28 | } 29 | 30 | public String getPassword() { 31 | return password; 32 | } 33 | 34 | public void setPassword(String password) { 35 | this.password = (password == null) ? null : password.trim(); 36 | } 37 | 38 | public String getRealName() { 39 | return realName; 40 | } 41 | 42 | public void setRealName(String realName) { 43 | this.realName = (realName == null) ? null : realName.trim(); 44 | } 45 | 46 | public String getCelPhone() { 47 | return celPhone; 48 | } 49 | 50 | public void setCelPhone(String celPhone) { 51 | this.celPhone = (celPhone == null) ? null : celPhone.trim(); 52 | } 53 | 54 | public String getIdNumber() { 55 | return idNumber; 56 | } 57 | 58 | public void setIdNumber(String idNumber) { 59 | this.idNumber = (idNumber == null) ? null : idNumber.trim(); 60 | } 61 | 62 | public String getAddress() { 63 | return address; 64 | } 65 | 66 | public void setAddress(String address) { 67 | this.address = (address == null) ? null : address.trim(); 68 | } 69 | 70 | public String getCreateTime() { 71 | return createTime; 72 | } 73 | 74 | public void setCreateTime(String createTime) { 75 | this.createTime = (createTime == null) ? null : createTime.trim(); 76 | } 77 | 78 | public Integer getCityId() { 79 | return cityId; 80 | } 81 | 82 | public void setCityId(Integer cityId) { 83 | this.cityId = cityId; 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/TaxLog.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class TaxLog { 4 | private Integer id; //ID 5 | private Integer applyId; //申报编号 6 | private Double projectAmount; //项目金额 7 | private Double taxAmount; //税务金额 8 | private String remark; //税务说明 9 | private Integer userId; //用户ID 10 | private String createTime; //创建时间 11 | private String taxNo; //税务编号 12 | private Integer userCity; //用户城市 13 | private Integer jfStatus; //缴费状态 14 | 15 | public Integer getId() { 16 | return id; 17 | } 18 | 19 | public void setId(Integer id) { 20 | this.id = id; 21 | } 22 | 23 | public Integer getApplyId() { 24 | return applyId; 25 | } 26 | 27 | public void setApplyId(Integer applyId) { 28 | this.applyId = applyId; 29 | } 30 | 31 | public Double getProjectAmount() { 32 | return projectAmount; 33 | } 34 | 35 | public void setProjectAmount(Double projectAmount) { 36 | this.projectAmount = projectAmount; 37 | } 38 | 39 | public Double getTaxAmount() { 40 | return taxAmount; 41 | } 42 | 43 | public void setTaxAmount(Double taxAmount) { 44 | this.taxAmount = taxAmount; 45 | } 46 | 47 | public String getRemark() { 48 | return remark; 49 | } 50 | 51 | public void setRemark(String remark) { 52 | this.remark = (remark == null) ? null : remark.trim(); 53 | } 54 | 55 | public Integer getUserId() { 56 | return userId; 57 | } 58 | 59 | public void setUserId(Integer userId) { 60 | this.userId = userId; 61 | } 62 | 63 | public String getCreateTime() { 64 | return createTime; 65 | } 66 | 67 | public void setCreateTime(String createTime) { 68 | this.createTime = (createTime == null) ? null : createTime.trim(); 69 | } 70 | 71 | public String getTaxNo() { 72 | return taxNo; 73 | } 74 | 75 | public void setTaxNo(String taxNo) { 76 | this.taxNo = (taxNo == null) ? null : taxNo.trim(); 77 | } 78 | 79 | public Integer getUserCity() { 80 | return userCity; 81 | } 82 | 83 | public void setUserCity(Integer userCity) { 84 | this.userCity = userCity; 85 | } 86 | 87 | public Integer getJfStatus() { 88 | return jfStatus; 89 | } 90 | 91 | public void setJfStatus(Integer jfStatus) { 92 | this.jfStatus = jfStatus; 93 | } 94 | } 95 | 96 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/TaxType.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class TaxType { 4 | private Integer id; //ID 5 | private String typeName; //类型名 6 | 7 | public Integer getId() { 8 | return id; 9 | } 10 | 11 | public void setId(Integer id) { 12 | this.id = id; 13 | } 14 | 15 | public String getTypeName() { 16 | return typeName; 17 | } 18 | 19 | public void setTypeName(String typeName) { 20 | this.typeName = (typeName == null) ? null : typeName.trim(); 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/UserInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class UserInfo { 4 | private Integer id; //ID 5 | private String loginName; //登录名 6 | private String password; //密码 7 | private String realName; //姓名 8 | private String celPhone; //联系电话 9 | private String idNumber; //身份证号码 10 | private String email; //邮箱 11 | private String address; //地址 12 | private String createTime; //注册时间 13 | private Integer cityId; //城市 14 | 15 | public Integer getId() { 16 | return id; 17 | } 18 | 19 | public void setId(Integer id) { 20 | this.id = id; 21 | } 22 | 23 | public String getLoginName() { 24 | return loginName; 25 | } 26 | 27 | public void setLoginName(String loginName) { 28 | this.loginName = (loginName == null) ? null : loginName.trim(); 29 | } 30 | 31 | public String getPassword() { 32 | return password; 33 | } 34 | 35 | public void setPassword(String password) { 36 | this.password = (password == null) ? null : password.trim(); 37 | } 38 | 39 | public String getRealName() { 40 | return realName; 41 | } 42 | 43 | public void setRealName(String realName) { 44 | this.realName = (realName == null) ? null : realName.trim(); 45 | } 46 | 47 | public String getCelPhone() { 48 | return celPhone; 49 | } 50 | 51 | public void setCelPhone(String celPhone) { 52 | this.celPhone = (celPhone == null) ? null : celPhone.trim(); 53 | } 54 | 55 | public String getIdNumber() { 56 | return idNumber; 57 | } 58 | 59 | public void setIdNumber(String idNumber) { 60 | this.idNumber = (idNumber == null) ? null : idNumber.trim(); 61 | } 62 | 63 | public String getEmail() { 64 | return email; 65 | } 66 | 67 | public void setEmail(String email) { 68 | this.email = (email == null) ? null : email.trim(); 69 | } 70 | 71 | public String getAddress() { 72 | return address; 73 | } 74 | 75 | public void setAddress(String address) { 76 | this.address = (address == null) ? null : address.trim(); 77 | } 78 | 79 | public String getCreateTime() { 80 | return createTime; 81 | } 82 | 83 | public void setCreateTime(String createTime) { 84 | this.createTime = (createTime == null) ? null : createTime.trim(); 85 | } 86 | 87 | public Integer getCityId() { 88 | return cityId; 89 | } 90 | 91 | public void setCityId(Integer cityId) { 92 | this.cityId = cityId; 93 | } 94 | } 95 | 96 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/WgInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class WgInfo { 4 | private Integer id; //ID 5 | private String title; //标题 6 | private String wgType; //违规类型 7 | private String wgDetail; //违规详情 8 | private String createTime; //发布时间 9 | 10 | public Integer getId() { 11 | return id; 12 | } 13 | 14 | public void setId(Integer id) { 15 | this.id = id; 16 | } 17 | 18 | public String getTitle() { 19 | return title; 20 | } 21 | 22 | public void setTitle(String title) { 23 | this.title = (title == null) ? null : title.trim(); 24 | } 25 | 26 | public String getWgType() { 27 | return wgType; 28 | } 29 | 30 | public void setWgType(String wgType) { 31 | this.wgType = (wgType == null) ? null : wgType.trim(); 32 | } 33 | 34 | public String getWgDetail() { 35 | return wgDetail; 36 | } 37 | 38 | public void setWgDetail(String wgDetail) { 39 | this.wgDetail = (wgDetail == null) ? null : wgDetail.trim(); 40 | } 41 | 42 | public String getCreateTime() { 43 | return createTime; 44 | } 45 | 46 | public void setCreateTime(String createTime) { 47 | this.createTime = (createTime == null) ? null : createTime.trim(); 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /src/main/java/com/tax/model/ZcInfo.java: -------------------------------------------------------------------------------- 1 | package com.tax.model; 2 | 3 | public class ZcInfo { 4 | private Integer id; //ID 5 | private String title; //标题 6 | private String zcIntro; //简述 7 | private String content; //详情 8 | private String createTime; //发布时间 9 | 10 | public Integer getId() { 11 | return id; 12 | } 13 | 14 | public void setId(Integer id) { 15 | this.id = id; 16 | } 17 | 18 | public String getTitle() { 19 | return title; 20 | } 21 | 22 | public void setTitle(String title) { 23 | this.title = (title == null) ? null : title.trim(); 24 | } 25 | 26 | public String getZcIntro() { 27 | return zcIntro; 28 | } 29 | 30 | public void setZcIntro(String zcIntro) { 31 | this.zcIntro = (zcIntro == null) ? null : zcIntro.trim(); 32 | } 33 | 34 | public String getContent() { 35 | return content; 36 | } 37 | 38 | public void setContent(String content) { 39 | this.content = (content == null) ? null : content.trim(); 40 | } 41 | 42 | public String getCreateTime() { 43 | return createTime; 44 | } 45 | 46 | public void setCreateTime(String createTime) { 47 | this.createTime = (createTime == null) ? null : createTime.trim(); 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/AdminInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface AdminInfoService { 16 | /** 17 | 分页查询管理员数据列表 18 | */ 19 | public Map getDataList(AdminInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装管理员为前台展示的数据形式 24 | */ 25 | public Map getAdminInfoModel(AdminInfo model, 26 | LoginModel login); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/ApplyLogService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface ApplyLogService { 16 | /** 17 | 分页查询申报记录数据列表 18 | */ 19 | public Map getDataList(ApplyLog queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装申报记录为前台展示的数据形式 24 | */ 25 | public Map getApplyLogModel(ApplyLog model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 申报税务 34 | */ 35 | public String add(ApplyLog model, LoginModel login); 36 | 37 | /** 38 | 审核不通过 39 | */ 40 | public String btg(ApplyLog model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/CityInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface CityInfoService { 16 | /** 17 | 分页查询城市数据列表 18 | */ 19 | public Map getDataList(CityInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装城市为前台展示的数据形式 24 | */ 25 | public Map getCityInfoModel(CityInfo model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 新增 34 | */ 35 | public String add(CityInfo model, LoginModel login); 36 | 37 | /** 38 | 修改 39 | */ 40 | public String update(CityInfo model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/FpLogService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface FpLogService { 16 | /** 17 | 分页查询发票记录数据列表 18 | */ 19 | public Map getDataList(FpLog queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装发票记录为前台展示的数据形式 24 | */ 25 | public Map getFpLogModel(FpLog model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 申请发票 34 | */ 35 | public String add(FpLog model, LoginModel login); 36 | 37 | /** 38 | 审核不通过 39 | */ 40 | public String btg(FpLog model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/JfLogService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface JfLogService { 16 | /** 17 | 分页查询缴费记录数据列表 18 | */ 19 | public Map getDataList(JfLog queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装缴费记录为前台展示的数据形式 24 | */ 25 | public Map getJfLogModel(JfLog model, LoginModel login); 26 | } 27 | 28 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/MsgInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface MsgInfoService { 16 | /** 17 | 分页查询留言反馈数据列表 18 | */ 19 | public Map getDataList(MsgInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装留言反馈为前台展示的数据形式 24 | */ 25 | public Map getMsgInfoModel(MsgInfo model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 新增留言 34 | */ 35 | public String add(MsgInfo model, LoginModel login); 36 | 37 | /** 38 | 回复 39 | */ 40 | public String reply(MsgInfo model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/NoticeInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface NoticeInfoService { 16 | /** 17 | 分页查询公告数据列表 18 | */ 19 | public Map getDataList(NoticeInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装公告为前台展示的数据形式 24 | */ 25 | public Map getNoticeInfoModel(NoticeInfo model, 26 | LoginModel login); 27 | 28 | /** 29 | * 删除数据 30 | */ 31 | public void delete(Integer id); 32 | 33 | /** 34 | 新增 35 | */ 36 | public String add(NoticeInfo model, LoginModel login); 37 | 38 | /** 39 | 修改 40 | */ 41 | public String update(NoticeInfo model, LoginModel login); 42 | } 43 | 44 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/StaffInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface StaffInfoService { 16 | /** 17 | 分页查询办税人员数据列表 18 | */ 19 | public Map getDataList(StaffInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装办税人员为前台展示的数据形式 24 | */ 25 | public Map getStaffInfoModel(StaffInfo model, 26 | LoginModel login); 27 | 28 | /** 29 | * 删除数据 30 | */ 31 | public void delete(Integer id); 32 | 33 | /** 34 | 新增 35 | */ 36 | public String add(StaffInfo model, LoginModel login); 37 | 38 | /** 39 | 修改 40 | */ 41 | public String update(StaffInfo model, LoginModel login); 42 | } 43 | 44 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/TaxLogService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface TaxLogService { 16 | /** 17 | 分页查询报税记录数据列表 18 | */ 19 | public Map getDataList(TaxLog queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装报税记录为前台展示的数据形式 24 | */ 25 | public Map getTaxLogModel(TaxLog model, LoginModel login); 26 | 27 | /** 28 | 审核通过 29 | */ 30 | public String sqtg(TaxLog model, LoginModel login); 31 | } 32 | 33 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/TaxTypeService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface TaxTypeService { 16 | /** 17 | 分页查询税务类型数据列表 18 | */ 19 | public Map getDataList(TaxType queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装税务类型为前台展示的数据形式 24 | */ 25 | public Map getTaxTypeModel(TaxType model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 新增 34 | */ 35 | public String add(TaxType model, LoginModel login); 36 | 37 | /** 38 | 修改 39 | */ 40 | public String update(TaxType model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/UserInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface UserInfoService { 16 | /** 17 | 分页查询用户数据列表 18 | */ 19 | public Map getDataList(UserInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装用户为前台展示的数据形式 24 | */ 25 | public Map getUserInfoModel(UserInfo model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 修改 34 | */ 35 | public String update(UserInfo model, LoginModel login); 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/WgInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface WgInfoService { 16 | /** 17 | 分页查询违规公示数据列表 18 | */ 19 | public Map getDataList(WgInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装违规公示为前台展示的数据形式 24 | */ 25 | public Map getWgInfoModel(WgInfo model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 新增 34 | */ 35 | public String add(WgInfo model, LoginModel login); 36 | 37 | /** 38 | 修改 39 | */ 40 | public String update(WgInfo model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/ZcInfoService.java: -------------------------------------------------------------------------------- 1 | package com.tax.service; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.model.*; 6 | 7 | import java.io.InputStream; 8 | 9 | import java.util.Map; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import javax.servlet.http.HttpServletResponse; 13 | 14 | 15 | public interface ZcInfoService { 16 | /** 17 | 分页查询法规政策数据列表 18 | */ 19 | public Map getDataList(ZcInfo queryModel, Integer page, 20 | Integer pageSize, LoginModel login); 21 | 22 | /** 23 | 封装法规政策为前台展示的数据形式 24 | */ 25 | public Map getZcInfoModel(ZcInfo model, LoginModel login); 26 | 27 | /** 28 | * 删除数据 29 | */ 30 | public void delete(Integer id); 31 | 32 | /** 33 | 新增 34 | */ 35 | public String add(ZcInfo model, LoginModel login); 36 | 37 | /** 38 | 修改 39 | */ 40 | public String update(ZcInfo model, LoginModel login); 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/impl/AdminInfoServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.tax.service.impl; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.*; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Service; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import java.io.IOException; 20 | import java.io.InputStream; 21 | 22 | import java.text.SimpleDateFormat; 23 | 24 | import java.util.*; 25 | import java.util.ArrayList; 26 | import java.util.List; 27 | import java.util.regex.Matcher; 28 | import java.util.regex.Pattern; 29 | 30 | import javax.servlet.http.HttpServletRequest; 31 | import javax.servlet.http.HttpServletResponse; 32 | 33 | 34 | @Service 35 | public class AdminInfoServiceImpl implements AdminInfoService { 36 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 37 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 38 | SimpleDateFormat sdf3 = new SimpleDateFormat("yyyyMMddHHmmss"); 39 | @Autowired 40 | AdminInfoMapper adminInfoMapper; 41 | 42 | /** 43 | *根据参数查询管理员列表数据 44 | */ 45 | @Override 46 | public Map getDataList(AdminInfo queryModel, Integer page, 47 | Integer pageSize, LoginModel login) { 48 | AdminInfoExample se = new AdminInfoExample(); 49 | AdminInfoExample.Criteria sc = se.createCriteria(); 50 | se.setOrderByClause("id desc"); //默认按照id倒序排序 51 | 52 | if (queryModel.getId() != null) { 53 | sc.andIdEqualTo(queryModel.getId()); 54 | } 55 | 56 | if ((queryModel.getLoginName() != null) && 57 | (queryModel.getLoginName().equals("") == false)) { 58 | sc.andLoginNameLike("%" + queryModel.getLoginName() + "%"); //模糊查询 59 | } 60 | 61 | int count = (int) adminInfoMapper.countByExample(se); 62 | int totalPage = 0; 63 | 64 | if ((page != null) && (pageSize != null)) { //分页 65 | 66 | if ((count > 0) && ((count % pageSize) == 0)) { 67 | totalPage = count / pageSize; 68 | } else { 69 | totalPage = (count / pageSize) + 1; 70 | } 71 | 72 | se.setPageRows(pageSize); 73 | se.setStartRow((page - 1) * pageSize); 74 | } 75 | 76 | List list = adminInfoMapper.selectByExample(se); //执行查询语句 77 | Map rs = new HashMap(); 78 | List> list2 = new ArrayList>(); 79 | 80 | for (AdminInfo model : list) { 81 | list2.add(getAdminInfoModel(model, login)); 82 | } 83 | 84 | rs.put("list", list2); //数据列表 85 | rs.put("count", count); //数据总数 86 | rs.put("totalPage", totalPage); //总页数 87 | 88 | return rs; 89 | } 90 | 91 | /** 92 | 封装管理员为前台展示的数据形式 93 | */ 94 | @Override 95 | public Map getAdminInfoModel(AdminInfo model, 96 | LoginModel login) { 97 | Map map = new HashMap(); 98 | map.put("adminInfo", model); 99 | 100 | return map; 101 | } 102 | } 103 | 104 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/impl/CityInfoServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.tax.service.impl; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.*; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Service; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import java.io.IOException; 20 | import java.io.InputStream; 21 | 22 | import java.text.SimpleDateFormat; 23 | 24 | import java.util.*; 25 | import java.util.ArrayList; 26 | import java.util.List; 27 | import java.util.regex.Matcher; 28 | import java.util.regex.Pattern; 29 | 30 | import javax.servlet.http.HttpServletRequest; 31 | import javax.servlet.http.HttpServletResponse; 32 | 33 | 34 | @Service 35 | public class CityInfoServiceImpl implements CityInfoService { 36 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 37 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 38 | SimpleDateFormat sdf3 = new SimpleDateFormat("yyyyMMddHHmmss"); 39 | @Autowired 40 | CityInfoMapper cityInfoMapper; 41 | 42 | /** 43 | 新增 44 | */ 45 | @Override 46 | public String add(CityInfo model, LoginModel login) { 47 | if ((model.getCname() == null) || model.getCname().equals("")) { 48 | return "城市名为必填属性"; 49 | } 50 | 51 | cityInfoMapper.insertSelective(model); //插入数据 52 | 53 | return ""; 54 | } 55 | 56 | /** 57 | 修改 58 | */ 59 | @Override 60 | public String update(CityInfo model, LoginModel login) { 61 | CityInfo preModel = cityInfoMapper.selectByPrimaryKey(model.getId()); 62 | 63 | if ((model.getCname() == null) || model.getCname().equals("")) { 64 | return "城市名为必填属性"; 65 | } 66 | 67 | preModel.setCname(model.getCname()); 68 | cityInfoMapper.updateByPrimaryKey(preModel); //更新数据 69 | 70 | return ""; 71 | } 72 | 73 | /** 74 | *根据参数查询城市列表数据 75 | */ 76 | @Override 77 | public Map getDataList(CityInfo queryModel, Integer page, 78 | Integer pageSize, LoginModel login) { 79 | CityInfoExample se = new CityInfoExample(); 80 | CityInfoExample.Criteria sc = se.createCriteria(); 81 | se.setOrderByClause("id desc"); //默认按照id倒序排序 82 | 83 | if (queryModel.getId() != null) { 84 | sc.andIdEqualTo(queryModel.getId()); 85 | } 86 | 87 | if ((queryModel.getCname() != null) && 88 | (queryModel.getCname().equals("") == false)) { 89 | sc.andCnameLike("%" + queryModel.getCname() + "%"); //模糊查询 90 | } 91 | 92 | int count = (int) cityInfoMapper.countByExample(se); 93 | int totalPage = 0; 94 | 95 | if ((page != null) && (pageSize != null)) { //分页 96 | 97 | if ((count > 0) && ((count % pageSize) == 0)) { 98 | totalPage = count / pageSize; 99 | } else { 100 | totalPage = (count / pageSize) + 1; 101 | } 102 | 103 | se.setPageRows(pageSize); 104 | se.setStartRow((page - 1) * pageSize); 105 | } 106 | 107 | List list = cityInfoMapper.selectByExample(se); //执行查询语句 108 | Map rs = new HashMap(); 109 | List> list2 = new ArrayList>(); 110 | 111 | for (CityInfo model : list) { 112 | list2.add(getCityInfoModel(model, login)); 113 | } 114 | 115 | rs.put("list", list2); //数据列表 116 | rs.put("count", count); //数据总数 117 | rs.put("totalPage", totalPage); //总页数 118 | 119 | return rs; 120 | } 121 | 122 | /** 123 | 封装城市为前台展示的数据形式 124 | */ 125 | @Override 126 | public Map getCityInfoModel(CityInfo model, LoginModel login) { 127 | Map map = new HashMap(); 128 | map.put("cityInfo", model); 129 | 130 | return map; 131 | } 132 | 133 | /** 134 | * 删除数据 135 | */ 136 | @Override 137 | public void delete(Integer id) { 138 | cityInfoMapper.deleteByPrimaryKey(id); 139 | } 140 | } 141 | 142 | -------------------------------------------------------------------------------- /src/main/java/com/tax/service/impl/TaxTypeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.tax.service.impl; 2 | 3 | import com.tax.controller.LoginModel; 4 | 5 | import com.tax.dao.*; 6 | 7 | import com.tax.model.*; 8 | 9 | import com.tax.service.*; 10 | 11 | import com.tax.util.*; 12 | 13 | import org.springframework.beans.factory.annotation.Autowired; 14 | 15 | import org.springframework.stereotype.Service; 16 | 17 | import org.springframework.ui.ModelMap; 18 | 19 | import java.io.IOException; 20 | import java.io.InputStream; 21 | 22 | import java.text.SimpleDateFormat; 23 | 24 | import java.util.*; 25 | import java.util.ArrayList; 26 | import java.util.List; 27 | import java.util.regex.Matcher; 28 | import java.util.regex.Pattern; 29 | 30 | import javax.servlet.http.HttpServletRequest; 31 | import javax.servlet.http.HttpServletResponse; 32 | 33 | 34 | @Service 35 | public class TaxTypeServiceImpl implements TaxTypeService { 36 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 37 | SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd"); 38 | SimpleDateFormat sdf3 = new SimpleDateFormat("yyyyMMddHHmmss"); 39 | @Autowired 40 | TaxTypeMapper taxTypeMapper; 41 | 42 | /** 43 | 新增 44 | */ 45 | @Override 46 | public String add(TaxType model, LoginModel login) { 47 | if ((model.getTypeName() == null) || model.getTypeName().equals("")) { 48 | return "类型名为必填属性"; 49 | } 50 | 51 | taxTypeMapper.insertSelective(model); //插入数据 52 | 53 | return ""; 54 | } 55 | 56 | /** 57 | 修改 58 | */ 59 | @Override 60 | public String update(TaxType model, LoginModel login) { 61 | TaxType preModel = taxTypeMapper.selectByPrimaryKey(model.getId()); 62 | 63 | if ((model.getTypeName() == null) || model.getTypeName().equals("")) { 64 | return "类型名为必填属性"; 65 | } 66 | 67 | preModel.setTypeName(model.getTypeName()); 68 | taxTypeMapper.updateByPrimaryKey(preModel); //更新数据 69 | 70 | return ""; 71 | } 72 | 73 | /** 74 | *根据参数查询税务类型列表数据 75 | */ 76 | @Override 77 | public Map getDataList(TaxType queryModel, Integer page, 78 | Integer pageSize, LoginModel login) { 79 | TaxTypeExample se = new TaxTypeExample(); 80 | TaxTypeExample.Criteria sc = se.createCriteria(); 81 | se.setOrderByClause("id desc"); //默认按照id倒序排序 82 | 83 | if (queryModel.getId() != null) { 84 | sc.andIdEqualTo(queryModel.getId()); 85 | } 86 | 87 | if ((queryModel.getTypeName() != null) && 88 | (queryModel.getTypeName().equals("") == false)) { 89 | sc.andTypeNameLike("%" + queryModel.getTypeName() + "%"); //模糊查询 90 | } 91 | 92 | int count = (int) taxTypeMapper.countByExample(se); 93 | int totalPage = 0; 94 | 95 | if ((page != null) && (pageSize != null)) { //分页 96 | 97 | if ((count > 0) && ((count % pageSize) == 0)) { 98 | totalPage = count / pageSize; 99 | } else { 100 | totalPage = (count / pageSize) + 1; 101 | } 102 | 103 | se.setPageRows(pageSize); 104 | se.setStartRow((page - 1) * pageSize); 105 | } 106 | 107 | List list = taxTypeMapper.selectByExample(se); //执行查询语句 108 | Map rs = new HashMap(); 109 | List> list2 = new ArrayList>(); 110 | 111 | for (TaxType model : list) { 112 | list2.add(getTaxTypeModel(model, login)); 113 | } 114 | 115 | rs.put("list", list2); //数据列表 116 | rs.put("count", count); //数据总数 117 | rs.put("totalPage", totalPage); //总页数 118 | 119 | return rs; 120 | } 121 | 122 | /** 123 | 封装税务类型为前台展示的数据形式 124 | */ 125 | @Override 126 | public Map getTaxTypeModel(TaxType model, LoginModel login) { 127 | Map map = new HashMap(); 128 | map.put("taxType", model); 129 | 130 | return map; 131 | } 132 | 133 | /** 134 | * 删除数据 135 | */ 136 | @Override 137 | public void delete(Integer id) { 138 | taxTypeMapper.deleteByPrimaryKey(id); 139 | } 140 | } 141 | 142 | -------------------------------------------------------------------------------- /src/main/java/com/tax/util/CommonVal.java: -------------------------------------------------------------------------------- 1 | package com.tax.util; 2 | public class CommonVal { 3 | public static String code="763793";//图片存储session 4 | public static String sessionName="837186";//登录session 5 | public static Integer pageSize=10; 6 | 7 | public static String imgRealPath="";//图片存储真实路径,当为空时使用默认路径; 8 | public static String hostPort = "localhost:8080";//使用ip+端口 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/tax/util/DataListUtils.java: -------------------------------------------------------------------------------- 1 | package com.tax.util; 2 | 3 | import java.util.ArrayList; 4 | import java.util.HashMap; 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | 9 | /** 10 | * 固定下拉列表解释器 11 | * @author Administrator 12 | * 13 | */ 14 | public class DataListUtils { 15 | public static void main(String[] args) { 16 | } 17 | 18 | /** 19 | **获取登录角色列表 20 | */ 21 | public static List> getLoginTypeList() { 22 | List> list = new ArrayList>(); 23 | list.add(getMap("1", "admin")); 24 | list.add(getMap("2", "staff")); 25 | list.add(getMap("3", "user")); 26 | 27 | return list; 28 | } 29 | 30 | /** 31 | **获取tax_user_type数据列表 32 | */ 33 | public static List> getTaxUserTypeList() { 34 | List> list = new ArrayList>(); 35 | list.add(getMap("1", "个人")); 36 | list.add(getMap("2", "公司")); 37 | 38 | return list; 39 | } 40 | 41 | public static String getTaxUserTypeNameById(String id) { //根据tax_user_type的key值获取名称 42 | 43 | List> list = getTaxUserTypeList(); 44 | 45 | return getNameById(id, list); 46 | } 47 | 48 | /** 49 | **获取tax_status数据列表 50 | */ 51 | public static List> getTaxStatusList() { 52 | List> list = new ArrayList>(); 53 | list.add(getMap("1", "待审核")); 54 | list.add(getMap("2", 55 | "审核通过")); 56 | list.add(getMap("3", 57 | "审核不通过")); 58 | 59 | return list; 60 | } 61 | 62 | public static String getTaxStatusNameById(String id) { //根据tax_status的key值获取名称 63 | 64 | List> list = getTaxStatusList(); 65 | 66 | return getNameById(id, list); 67 | } 68 | 69 | /** 70 | **获取reply_status数据列表 71 | */ 72 | public static List> getReplyStatusList() { 73 | List> list = new ArrayList>(); 74 | list.add(getMap("1", "未回复")); 75 | list.add(getMap("2", "已回复")); 76 | 77 | return list; 78 | } 79 | 80 | public static String getReplyStatusNameById(String id) { //根据reply_status的key值获取名称 81 | 82 | List> list = getReplyStatusList(); 83 | 84 | return getNameById(id, list); 85 | } 86 | 87 | /** 88 | **获取jf_status数据列表 89 | */ 90 | public static List> getJfStatusList() { 91 | List> list = new ArrayList>(); 92 | list.add(getMap("1", "未缴费")); 93 | list.add(getMap("2", "已缴费")); 94 | 95 | return list; 96 | } 97 | 98 | public static String getJfStatusNameById(String id) { //根据jf_status的key值获取名称 99 | 100 | List> list = getJfStatusList(); 101 | 102 | return getNameById(id, list); 103 | } 104 | 105 | public static String getNameById(String id, List> list) { 106 | if (id == null) { 107 | return null; 108 | } 109 | 110 | if (id.endsWith(",")) { 111 | id = id.substring(0, id.length() - 1); 112 | } 113 | 114 | String[] idsplit = id.split(","); 115 | String rs = ""; 116 | 117 | for (String tmp : idsplit) { 118 | for (Map map : list) { 119 | if (map.get("id").toString().equals(tmp)) { 120 | rs += (map.get("name").toString() + ","); 121 | } 122 | } 123 | } 124 | 125 | if (rs.endsWith(",")) { 126 | rs = rs.substring(0, rs.length() - 1); 127 | } 128 | 129 | return rs; 130 | } 131 | 132 | private static Map getMap(String id, String name) { 133 | Map map = new HashMap(); 134 | map.put("id", id); 135 | map.put("name", name); 136 | 137 | return map; 138 | } 139 | } 140 | 141 | -------------------------------------------------------------------------------- /src/main/java/com/tax/util/PageUtils.java: -------------------------------------------------------------------------------- 1 | package com.tax.util; 2 | import java.util.ArrayList; 3 | import java.util.List; 4 | import org.apache.poi.ss.formula.functions.T; 5 | public class PageUtils { 6 | /** 7 | 分页工具,获取某个list分页后的数据 8 | */ 9 | public static List getCurrentPageList(List list,Integer page,Integer rows){ 10 | if(page==null){ 11 | return list; 12 | } 13 | int size = list.size(); 14 | int startNum = (page-1)*rows; 15 | int endNum = (page-1)*rows+rows; 16 | if(startNum>=size){ 17 | return new ArrayList(); 18 | } 19 | if(endNum>=size){ 20 | return list.subList(startNum, size); 21 | }else{ 22 | return list.subList(startNum, endNum); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/tax/util/RandomCodeUtils.java: -------------------------------------------------------------------------------- 1 | package com.tax.util; 2 | import java.text.SimpleDateFormat; 3 | import java.util.List; 4 | import java.util.Random; 5 | public class RandomCodeUtils { 6 | SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); 7 | public static String getRandomCode(){//获取6位随机码 8 | Random rand = new Random(); 9 | String ranInt = rand.nextInt(1000000)+""; 10 | int len = ranInt.length(); 11 | for(int i=len;i<6;i++){ 12 | ranInt="0"+ranInt; 13 | } 14 | return ranInt; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/tax/util/Upload.java: -------------------------------------------------------------------------------- 1 | package com.tax.util; 2 | import java.io.File; 3 | import java.io.FileOutputStream; 4 | import java.io.IOException; 5 | import java.io.InputStream; 6 | import java.io.OutputStream; 7 | import java.text.SimpleDateFormat; 8 | import java.util.Date; 9 | 10 | import org.springframework.stereotype.Service; 11 | import org.springframework.web.multipart.MultipartFile; 12 | import org.springframework.web.multipart.commons.CommonsMultipartFile; 13 | 14 | import com.tax.util.CommonVal; 15 | 16 | public class Upload{ 17 | private static SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");//设置日期格式 18 | /* 19 | * 上传图片并返回图片的相对地址 20 | */ 21 | public static String uploadImage(MultipartFile file,String realUploadPath,String uriPath) throws IOException 22 | { 23 | String date = df.format(new Date()); 24 | //如果目录不存在则创建目录 25 | File uploadFile=new File(realUploadPath); 26 | if(!uploadFile.exists()){ 27 | uploadFile.mkdirs(); 28 | } 29 | String [] tmp = file.getOriginalFilename().split("\\."); 30 | //创建输入流 31 | InputStream inputStream=file.getInputStream(); 32 | //生成输出地址URL 33 | String outputPath=realUploadPath+"/"+date+"."+tmp[tmp.length-1]; 34 | //创建输出流 35 | OutputStream outputStream=new FileOutputStream(outputPath); 36 | //设置缓冲区 37 | byte[] buffer=new byte[1024]; 38 | //输入流读入缓冲区,输出流从缓冲区写出 39 | while((inputStream.read(buffer))>0) 40 | { 41 | outputStream.write(buffer); //将图片复制到目标文件夹里,然后就可以使用http请求访问该图片 42 | } 43 | outputStream.close(); 44 | //返回原图上传后的相对地址 45 | return CommonVal.hostPort+"/"+uriPath+"/"+date+"."+tmp[tmp.length-1]; 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #页面默认前缀目录 2 | spring.mvc.view.prefix=/WEB-INF/views/ 3 | #响应页面默认后缀 4 | spring.mvc.view.suffix=.jsp 5 | spring.datasource.dev.driverClassName=com.mysql.jdbc.Driver 6 | spring.datasource.dev.url=jdbc:mysql://localhost:3306/graduation_246_tax_sys?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT&useSSL=false 7 | spring.datasource.dev.username=root 8 | spring.datasource.dev.password=123456 9 | server.port=8080 10 | server.context-path=/tax_sys 11 | spring.http.multipart.maxFileSize = 10Mb 12 | spring.http.multipart.maxRequestSize=100Mb 13 | #logging.level.com.com.chen=true 14 | #logging.level.org.springframework=WARN 15 | #logging.level.org.spring.springboot.dao=DEBUG 16 | #logging.file=D:/logs/spring-boot-logging.log 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/admin/zc_info/detail.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 3 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 4 | 5 | 6 | 7 | 8 | 9 | 法规政策-详情页 10 | 11 | 12 | 13 | 14 | 15 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
50 |

法规政策-详情页

51 | 52 |
53 |
54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 |
标题${detail.zcInfo.title}
简述${detail.zcInfo.zcIntro}
详情${detail.zcInfo.content}
发布时间${detail.zcInfo.createTime}
80 |
81 | 返回上一页 82 |
83 | 84 |
85 |
86 | 87 |
88 | 89 | 90 | 91 | 92 | 93 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/alter_password.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 3 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 4 | 5 | 6 | 7 | 8 | 9 | 修改密码 10 | 11 | 12 | 13 | 14 | 15 | 36 | 37 | 38 | 39 | 40 |
41 |

修改密码

42 |
43 |
44 | 45 | 46 | 47 | 48 | 51 | 52 | 53 | 54 | 55 | 56 | 59 | 60 | 61 | 62 | 63 | 66 | 67 | 68 | 69 | 70 | 73 | 74 | 75 | 76 | 77 | 78 | 83 | 84 |
账号名 49 | ${login.name} 50 |
旧密码 57 | 58 |
新密码 64 | 65 |
新密码 71 | 72 |
79 | 80 | 提交 81 | 返回上一页 82 |
85 |
86 |
87 | 88 | 89 |
90 | 91 | 92 | 93 | 94 | 118 | 119 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/error.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ERROR 12 | 13 | 14 |
15 |

16 |
17 |

返回上一页 18 | 19 | 登录过期 20 | 21 | 22 | 非法操作 23 | 24 | 25 | ${msg} 26 | 27 | 前往登录

28 | 29 | 34 | 35 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/views/index/wg_detail.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 3 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 4 | 5 | 6 | 7 | 8 | 税务管理系统 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 20 |

税务管理系统

21 |
22 | 33 | 78 |
79 |
80 |
81 |
82 |
83 |
84 |

${detail.title}

85 |

${detail.createTime}

86 |
87 | 88 | 89 | 90 | 91 |
92 | 93 |
94 |

${detail.wgDetail}

95 | 96 |
97 |
98 | 99 |
100 |
101 |
102 | 103 | 104 | 105 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Archetype Created Web Application 4 | 5 | contextConfigLocation 6 | classpath:spring/spring-*.xml,classpath:spring/mybatis-*.xml 7 | 8 | 9 | seckill-dispatcher 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | contextConfigLocation 13 | classpath:spring/spring-*.xml 14 | 15 | 1 16 | 17 | 18 | seckill-dispatcher 19 | / 20 | 21 | 22 | CharacterEncodingFilter 23 | org.springframework.web.filter.CharacterEncodingFilter 24 | 25 | encoding 26 | UTF-8 27 | 28 | 29 | 30 | 31 | CharacterEncodingFilter 32 | /* 33 | 34 | 35 | DruidStatView 36 | com.alibaba.druid.support.http.StatViewServlet 37 | 38 | loginUserName 39 | admin 40 | 41 | 42 | loginPassword 43 | 123456 44 | 45 | 46 | listings 47 | true 48 | 49 | 50 | 51 | DruidStatView 52 | /druid/* 53 | 54 | 55 | DruidWebStatFilter 56 | com.alibaba.druid.support.http.WebStatFilter 57 | 58 | exclusions 59 | *.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/* 60 | 61 | 62 | 63 | DruidWebStatFilter 64 | /* 65 | 66 | -------------------------------------------------------------------------------- /src/main/webapp/static/admin/css/modal_css.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/css/modal_css.css -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/action_btn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/action_btn.gif -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/dclogo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/dclogo.gif -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/icon_edit_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/icon_edit_white.png -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/icon_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/icon_menu.png -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/icon_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/icon_mobile.png -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/icon_no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/icon_no.png -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/icon_yes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/icon_yes.png -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/menu_cur.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/menu_cur.gif -------------------------------------------------------------------------------- /src/main/webapp/static/admin/images/top_add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/admin/images/top_add.gif -------------------------------------------------------------------------------- /src/main/webapp/static/admin/js/modal_js.js: -------------------------------------------------------------------------------- 1 | function modalOpen() { 2 | //获取模态框对象 getElementsByClassName获取到的是一个数组对象 3 | let modal = document.getElementsByClassName("modal-box")[0]; 4 | //获取浏览器当前宽高 5 | let documentWidth = window.innerWidth; 6 | let documentHeight = window.innerHeight; 7 | //获取模态框宽度 8 | let modalWidth = modal.offsetWidth; 9 | //模态框距离浏览器右侧的距离就是(浏览器宽度-模态框宽)/ 2.0 10 | //注意,需要把结果转为字符串类型 11 | modal.style.left = ((documentWidth - modalWidth) / 2.0).toString(); 12 | //设置为可见 13 | modal.style.visibility = "visible"; 14 | } 15 | 16 | //模态框关闭 17 | function modalClose() { 18 | //获取模态框 19 | let modal = document.getElementsByClassName("modal-box")[0]; 20 | //设置为不可见 21 | modal.style.visibility = "hidden"; 22 | } -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/css/full.css: -------------------------------------------------------------------------------- 1 | /*! 默认风格 */ 2 | 3 | html body{margin-top:0; margin-left: 136px;} 4 | html .fly-full{margin-top: 0;} 5 | 6 | .main{width:auto; margin:15px 24px 15px 24px;} 7 | .content{margin-right: 360px;} 8 | .jie-row li .jie-title{max-width:70%;} 9 | 10 | /* 头部 */ 11 | .header{width:136px; height:100%;} 12 | .header .main{position: static; width:auto;} 13 | .logo{top:20px; left:50%; width:86px; height:74px; margin-left:-43px; background:url(../images/logo-1.png);} 14 | .nav{position:relative; left:0; top:110px; border-top:1px solid #282C35;} 15 | .nav a{display:block; height:50px; line-height:50px; padding:0; text-align:center;} 16 | .nav a:first-child{border-top:1px solid #424857;} 17 | .nav-user span{margin-top: 10px;} 18 | 19 | .icon-touxiang{font-size: 60px;} 20 | 21 | .nav-user{top: auto; bottom:20px; left:0; width:100%;} 22 | .nav-user span, 23 | .nav-user .unlogin, 24 | .out-login, 25 | .avatar, 26 | .avatar cite, 27 | .nav-user .nav{display:block; *display:block; text-align:center;} 28 | .nav-user span{top: 0;} 29 | .nav-user span a{padding:0 6px;} 30 | .nav-user .unlogin{margin-right: 0;} 31 | .out-login{margin-left:0; margin-top:20px;} 32 | .out-login a{ padding:0 5px;} 33 | .nav-user .nav{position:relative; margin-left: 0; margin-top: 15px;} 34 | 35 | .avatar img{width:60px; height:60px;} 36 | .avatar cite{margin-left: 0; margin-top:10px; } 37 | .avatar i{margin-left: 0;} 38 | 39 | .nav-message{left: auto; right: 10px;} 40 | 41 | /* 适配 */ 42 | @media screen and (max-width: 1024px) { 43 | html body{margin-left: 140px;} 44 | .main{margin: 15px 10px;} 45 | .content{margin: 0;} 46 | .edge{display:none} 47 | } 48 | 49 | @media screen and (max-width: 750px) { 50 | html body{margin-left:0;} 51 | .header{left:-140px;} 52 | .edge{display: block;} 53 | } 54 | -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/css/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/css/iconfont.eot -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/css/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/css/iconfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/css/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/css/iconfont.woff -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/0.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/00.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/1.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/10.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/11.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/2.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/3.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/4.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/5.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/6.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/7.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/8.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/9.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/avatar/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/avatar/default.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/case.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/fly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/fly.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/logo-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/logo-1.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/logo.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/other/1437100018023.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/other/1437100018023.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/other/study-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/other/study-a.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/images/weixin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/images/weixin.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/font/iconfont.eot -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/font/iconfont.woff -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/10.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/11.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/12.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/13.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/14.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/15.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/16.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/17.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/18.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/19.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/2.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/20.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/21.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/22.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/23.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/24.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/25.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/26.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/27.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/28.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/29.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/3.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/30.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/31.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/32.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/33.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/34.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/35.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/36.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/37.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/38.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/39.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/4.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/40.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/41.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/42.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/43.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/44.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/45.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/46.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/47.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/48.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/49.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/5.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/50.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/51.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/52.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/53.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/54.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/55.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/56.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/57.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/58.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/59.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/6.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/60.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/61.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/62.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/63.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/64.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/65.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/66.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/67.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/68.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/69.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/7.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/70.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/71.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/8.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaGraduationProject/TaxManagementSystem/41875aa13d1e1b8b4e33fa0576e628548648e8f9/src/main/webapp/static/bbs/res/layui/images/face/9.gif -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/carousel.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['",'"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['
    ',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("")}),i.join("")}(),"
"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/flow.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)}); -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/laypage.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+"":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+"");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('');r<=u;r++)r===a.curr?e.push('"+r+""):e.push(''+r+"");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+"")),e.join("")}(),next:function(){return a.next?''+a.next+"":""}(),count:'共 '+a.count+" 条",limit:function(){var e=['"}(),skip:function(){return['到第','','页',""].join("")}()};return['
',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)}); -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/tree.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('
    '),s=o(["
  • ",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),"
  • "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
    '));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); -------------------------------------------------------------------------------- /src/main/webapp/static/bbs/res/layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.3 MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['
      ',e.bar1?'
    • '+c[0]+"
    • ":"",e.bar2?'
    • '+c[1]+"
    • ":"",'
    • '+c[2]+"
    • ","
    "].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o