基于javaweb+jsp的企业财务记账管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap.

基础JSP+Servlet或JSP+SSM(Spring、SpringMVC、MyBatis)框架或JSP+SSM+Maven(pom.xml)框架或SpringBoot…均可

开发工具:eclipse/idea/myeclipse/sts等均可配置运行

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

/*** 删除企业资产** @param response* @param request* @throws IOException*/@RequestMapping("zicanDelete")public void delete(HttpServletResponse response, HttpServletRequest request) throws IOException {Serializable id = Util.decode(request, "id");zicanService.delete(Arrays.asList(id));this.redirectList(request, response);}/*** 编辑企业资产** @param response* @param request* @throws IOException*/@RequestMapping("zicanEdit")public void edit(HttpServletResponse response, HttpServletRequest request) throws IOException {
                    <if test ='noticeText != null'>#{noticeText},</if><if test ='noticeType != null'>#{noticeType},</if><if test ='createDate != null'>#{createDate}</if></trim></insert><!--批量删除--><delete id="doRemoveBatch" parameterType="java.util.Collection">DELETE FROM `t_notice` WHERE `id` IN<foreach collection="list" item="id" separator="," open="(" close=")">#{id}</foreach></delete><!--修改--><update id="doUpdate" parameterType="com.demo.vo.Notice">UPDATE `t_notice`<set><if test ='id != null'>`id` = #{id},</if><if test ='noticeName != null'>`notice_name` = #{noticeName},</if>
<!--批量删除--><delete id="doRemoveBatch" parameterType="java.util.Collection">DELETE FROM `t_user` WHERE `id` IN<foreach collection="list" item="id" separator="," open="(" close=")">#{id}</foreach></delete><!--修改--><update id="doUpdate" parameterType="com.demo.vo.User">UPDATE `t_user`<set><if test ='id != null'>`id` = #{id},</if><if test ='username != null'>`username` = #{username},</if><if test ='password != null'>`password` = #{password},</if><if test ='realName != null'>`real_name` = #{realName},</if><if test ='userSex != null'>`user_sex` = #{userSex},</if><if test ='userPhone != null'>`user_phone` = #{userPhone},</if><if test ='userText != null'>`user_text` = #{userText},</if><if test ='userType != null'>`user_type` = #{userType}</if>
    public void edit(HttpServletResponse response, HttpServletRequest request) throws IOException {Salary vo = new Salary();vo.setId(Long.valueOf(Util.decode(request, "id")));vo.setSalaryName(Util.decode(request, "salaryName"));vo.setSalaryNo(Util.decode(request, "salaryNo"));vo.setSalaryDept(Util.decode(request, "salaryDept"));vo.setSalaryMoney(Util.decode(request, "salaryMoney"));vo.setSalaryText(Util.decode(request, "salaryText"));salaryService.update(vo);this.redirectList(request, response);}/*** 获取职工工资的详细信息(详情页面与编辑页面要显示该职工工资的详情)并跳转回页面** @param response* @param request* @throws IOException*/@RequestMapping({"salaryGet", "salaryEditPre"})public void get(HttpServletResponse response, HttpServletRequest request) throws IOException {Serializable id = Util.decode(request, "id");//取出主键idSalary vo = salaryService.get(id);request.getSession().setAttribute("vo", vo);
        <table class="index-content-table-add"><tr><td width="12%">项目名称:</td><td><input class="index-content-table-td-add" type="text" id="jingyinName" name="jingyinName" value="${vo.jingyinName}"/></td></tr><tr><td width="12%">时间:</td><td><input class="index-content-table-td-add" type="text" id="jingyinDate" name="jingyinDate" value="${vo.jingyinDate}"/></td></tr><tr><td width="12%">投入(万元):</td><td><input class="index-content-table-td-add" type="text" id="jingyinTou" name="jingyinTou" value="${vo.jingyinTou}"/></td></tr><tr><td width="12%">收入(万元):</td><td><input class="index-content-table-td-add" type="text" id="jingyinShou" name="jingyinShou" value="${vo.jingyinShou}"/></td></tr><tr><td width="12%">利润(万元):</td><td><input class="index-content-table-td-add" type="text" id="jingyinLirun" name="jingyinLirun" value="${vo.jingyinLirun}"/></td></tr><tr><td width="12%">盈亏:</td><td><input name="jingyinStatus" type="radio" value="盈利" ${vo.jingyinStatus=='盈利'?'checked':''}/>&nbsp;&nbsp;&nbsp;盈利&nbsp;&nbsp;&nbsp;&nbsp;<input name="jingyinStatus" type="radio" value="亏损" ${vo.jingyinStatus=='亏损'?'checked':''}/>&nbsp;&nbsp;&nbsp;亏损&nbsp;&nbsp;&nbsp;&nbsp;</td></tr><tr><td width="12%">备注:</td><td><textarea id="jingyinText" name="jingyinText" style="width: 60%; height: 100px;padding: 0px 17px;" placeholder="请输入内容......">${vo.jingyinText}</textarea></td></tr></table>
            response.sendRedirect("login.jsp");return false;}return true;}//@Overridepublic void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception {}//@Overridepublic void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception {}
}
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
Map<String, Object> params = new HashMap();params.put("searchColumn", "username");//使用`username`字段进行模糊查询params.put("keyword", username);List<User> list = (List<User>) userService.list(params).get("list");for (User user : list) {if (user.getUsername().equals(username) && user.getPassword().equals(password)) {//找到这个管理员了request.getSession().setAttribute("loginUser", user);request.getRequestDispatcher("userList").forward(request, response);return;}}request.getSession().setAttribute("alert_msg", "错误:用户名或密码错误!");request.getRequestDispatcher("login.jsp").forward(request, response);}@RequestMapping("authRegister")public void register(HttpServletResponse response, HttpServletRequest request) throws IOException, ServletException {
     * @throws IOException*/@RequestMapping("jingyinDelete")public void delete(HttpServletResponse response, HttpServletRequest request) throws IOException {Serializable id = Util.decode(request, "id");jingyinService.delete(Arrays.asList(id));this.redirectList(request, response);}/*** 编辑项目经营** @param response* @param request* @throws IOException
                <if test ='jingyinName != null'>`jingyin_name` = #{jingyinName},</if><if test ='jingyinDate != null'>`jingyin_date` = #{jingyinDate},</if><if test ='jingyinTou != null'>`jingyin_tou` = #{jingyinTou},</if><if test ='jingyinShou != null'>`jingyin_shou` = #{jingyinShou},</if><if test ='jingyinLirun != null'>`jingyin_lirun` = #{jingyinLirun},</if><if test ='jingyinStatus != null'>`jingyin_status` = #{jingyinStatus},</if><if test ='jingyinText != null'>`jingyin_text` = #{jingyinText}</if></set>WHERE `id` = #{id}</update><!--获取--><select id="findById" resultMap="BaseResultMap">SELECT <include refid="Base_Column_List" /> FROM `t_jingyin` WHERE `id` = #{id}</select><!--列表--><select id="findAllSplit" parameterType="java.util.Map" resultMap="BaseResultMap">SELECT <include refid="Base_Column_List" /> FROM `t_jingyin`<where><if test="searchColumn != null and searchColumn != '' and keyword != null and keyword != ''">${searchColumn} LIKE CONCAT('%',#{keyword},'%')  AND</if>1=1</where>
        SELECT <include refid="Base_Column_List" /> FROM `t_user` WHERE `id` = #{id}</select><!--列表--><select id="findAllSplit" parameterType="java.util.Map" resultMap="BaseResultMap">SELECT <include refid="Base_Column_List" /> FROM `t_user`<where><if test="searchColumn != null and searchColumn != '' and keyword != null and keyword != ''">${searchColumn} LIKE CONCAT('%',#{keyword},'%')  AND</if>1=1</where>ORDER BY id ASC<if test="startIndex != null and pageSize != null">LIMIT #{startIndex},#{pageSize};</if></select><!--数量-->

运行环境

Java≥6、Tomcat≥7.0、MySQL≥5.5

开发工具

eclipse/idea/myeclipse/sts等均可配置运行

技术框架

JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap.

基础JSP+Servlet或JSP+SSM(Spring、SpringMVC、MyBatis)框架或JSP+SSM+Maven(pom.xml)框架或SpringBoot…均可

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

登录、注册、退出、用户模块、公告模块、职工工资模块、企业资产模块、项目经营模块的增删改查管理

基于javaweb+jsp的企业财务记账管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)相关推荐

  1. 基于javaweb+jsp的企业财务记账管理系统

    基于javaweb+jsp的企业财务记账管理系统 JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap 基础JSP+Servlet或JS ...

  2. 基于javaweb+jsp的大学生个人财务记账系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的大学生个人财务记账系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP M ...

  3. 基于javaweb+jsp的设备维修管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的设备维修管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MVC ...

  4. 基于javaweb+jsp的鲜花花卉销售管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的鲜花花卉销售管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MV ...

  5. 基于javaweb+jsp的餐饮店信息管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的餐饮店信息管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MVC ...

  6. 基于javaweb+jsp的工作日志管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的工作日志管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MVC ...

  7. 基于javaweb+jsp的高校科研项目管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的高校科研项目管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MV ...

  8. 基于javaweb+jsp的仓库进销存管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的仓库进销存管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) 运行环境 Java≥8.MySQL≥5.7.To ...

  9. 基于javaweb+jsp的快递物流管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot)

    基于javaweb+jsp的快递物流管理系统(JavaWeb MySQL JSP Bootstrap Servlet SSM SpringBoot) JavaWeb JavaBean JSP MVC ...

最新文章

  1. 使用OpenCV进行图像全景拼接
  2. 快速排序(Python实现)
  3. Linux 服务器必备的安全设置,建议收藏!
  4. php phpunit selenium,phpunit+selenium环境筹建
  5. 税务审计SAP需要用表
  6. 鸿蒙os实锤了吗,鸿蒙OS实锤了?8月9日华为开发者大会一同见证!
  7. 基于HTML5技术的电力3D监控应用(三)
  8. linux tomcat 日志乱码,Linux下TOMCAT中日志出现中文乱码
  9. Oracle正则表达式函数:regexp_like、regexp_substr、regexp_instr、regexp_replace
  10. 前端学习(1238):Vue调试工具使用
  11. linux awk入门,awk入门应用
  12. Unity代码里的Position和界面上的Position
  13. Fluent Web API集成测试
  14. python无法使用物理网卡_Python 实现监控所有物理网卡状态
  15. android自定义对话框_Android自定义提醒对话框
  16. 华为交换机配置链路聚合实验——Eth Trunk
  17. 使用POI操作Ecxel文档遇到转化成String类型的电话号码无法转化成Cell类型了
  18. R语言解决数学题江苏高考理科数学2018填空压轴题
  19. Excel学习日记:L8-工作表的设定与多个工作表合并计算
  20. 可视化接口管理平台 YApi,让你轻松搞定 API 的管理问题

热门文章

  1. 用800行代码做个行为树(Behavior Tree)的库(3)
  2. 大气 html5 企业网站,高端大气HTML5科技企业网站响应式网站带后端
  3. 11.pgsql批量插入测试数据测试
  4. layerUI弹出页面之后关闭刷新当前显示页面
  5. 西铁城citiz邮箱客户端配置
  6. 怎么在html中把表格居中,HTML中怎么把表格居中
  7. es6.x和7.x对比
  8. Java语法基础——标识符和关键字
  9. MySQL 数据库--SQL 语句(一)
  10. 【原创游戏】合金弹头S——Unity制作的同人游戏