JavaWeb小区物业管理系统

JavaMVC实践项目--JavaWeb小区物业管理系统

对于小区物业管理来说,其工作流程的繁杂性、多样化、管理复杂、收缴费用与设备维护繁琐。计算机已完全能够胜任物业管理工作,而且更加准确、方便、快捷、高效、清晰、透明,它完全可以克服以上所述的不足之处。这将给项目查询和管理带来很大的方便,从而给物业管理工作带来更高的效率,这也是物业管理正规化、现代化的重要标志。
因此,开发一套高效率、无差错的小区物业管理系统软件十分必要。本系统的主要目的是告别帐本,安全、快捷的保存数据信息。由于小区物业管理涉及到费用问题,为了增强系统的保密性,使业主利益不受损害,使业主能够对自家的物业费用和投诉等情况提供透明化、直观的了解。

#简介代码已经上传github,下载地址:https://github.com/21503882

JavaWeb小区物业管理系统_第1张图片

JavaWeb小区物业管理系统_第2张图片

JavaWeb小区物业管理系统_第3张图片

JavaWeb小区物业管理系统_第4张图片

 

 

 

负责数据库的设计和界面的设计和实现;
界面使用 BootStrap 框架,页面自适应效果,修改页面后实现各个功能模块的布局;
负责实现用户登录注册,查看小区活动公告、水电费查询、车费查询信息;
采用的技术:采用 MVC 架构,数据库用 MySql;

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>


        

        

            

                

登录即可体验  


                

丰富的功能  全面满足业务需求


            


        


            

                    

  •                     

                            

                                 
                            

                            

                                

    小区公告


                            

                        

                    

  •                 

  •                     

                            

                                 
                            

                            

                                

    小区活动


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    业主信息


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    报修平台


                            

                        

                    

  •                 

  •                     

                            

                                 
                            

                            

                                

    电费缴费


                            

                        

                    

  •                 

  •                     

                            

                                 
                            

                            

                                

    水费缴费


                            

                        

                    

  •                 

  •                     

                            

                                 
                            

                            

                                

    车辆管理


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    投诉平台


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    周边设施


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    小区便利店


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    设备管理


                            

                        

                    

  •                 

  •                     

                            

                                
                            

                            

                                

    楼盘管理


                            

                        

                    

  •             

        

        

        

    

        


      


            

                

                    

                        

完美对接微信公众号


                        

小区作专注于物业行业微信的开发和运营,30秒即可接入微信公众号,让传统物业升级成为微物业平台,为住户提供完善的微信服务体验。
                        


                    

                    

                        
                    

                

            

        

    

package cn.community.user.dao;

import java.sql.SQLException;

import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanHandler;
import org.apache.commons.dbutils.handlers.ScalarHandler;

import cn.community.jdbc.TxQueryRunner;
import cn.community.user.domain.User;


public class UserDao {
    private QueryRunner qr = new TxQueryRunner();

    /**
     * 按uid和password查询
     * @param code
     * @return
     * @throws SQLException
     */
    public boolean findByUidAndPassword(String uid, String password) throws SQLException{
        String sql = "select count(1) from c_user where uid=? and loginpass=?";
        Number number = (Number)qr.query(sql, new ScalarHandler(),uid,password);
        return number.intValue()>0;
    }
    
    /*
     * 修改密码
     */
    public void updatePassword(String uid, String password) throws SQLException{
        String sql = "update c_user set loginpass = ? where uid = ? ";
        qr.update(sql,password,uid);
    }
    
    /*
     * 通过激活码查询用户
     */
    public User findByCode(String code) throws SQLException{
        String sql = "select * from c_user where activationCode=?";
        return qr.query(sql, new BeanHandler(User.class), code); 
    }
      
    /**
     * 按用户名和密码查询
     * @param uid
     * @param status
     * @throws SQLException
     */
    public User findByLoginnameAndLoginpass(String loginname,String loginpass) throws SQLException {
        String sql = "select * from c_user where loginname=? and loginpass=?";
        return qr.query(sql, new BeanHandler(User.class), loginname, loginpass);
    }
    
    /*
     * 修改用户状态
     */
     public void updateStatus(String uid, boolean status) throws SQLException{
         String sql = "update c_user set status=? where uid=?";
         qr.update(sql, status,uid);
     }
     
    /*
     * 以ajax开头命名表示支持ajax的校验方法
     * 检验用户名是否注册
     */
    public boolean ajaxValidateLoginname(String loginname) throws SQLException{
        String sql = "select count(1) from c_user where loginname=?";
        Number number = (Number) qr.query(sql, new ScalarHandler(),loginname);
        return number.intValue() == 0;
    }
    /*
     * 校验email是否注册
     */
    public boolean ajaxValidateEmail(String email) throws SQLException{
        String sql = "select count(1) from c_user where email=?";
        Number number = (Number) qr.query(sql, new ScalarHandler(),email);
        return number.intValue() == 0;
    }
      
    /**
     * 添加用户
     * @param user
     * @throws SQLException
     */
    public void add(User user) throws SQLException{
        String sql ="insert into c_user values(?,?,?,?,?,?)";
        Object[] params = {user.getUid(), user.getLoginname(),user.getLoginpass(),
                user.getEmail(), user.isStatus(), user.getActivationCode()};
        qr.update(sql, params);
    }

}
 

   

代码已经上传github,下载地址:​​​​​​​​​​​​​​https://github.com/21503882

致 谢
同学们自己发挥想象。。。。

你可能感兴趣的:(JavaWeb小区物业管理系统)