Online renting | renting system based on Springboot+Vue to realize the separation of front and back ends

Author Homepage: Programming Compass

About the author: High-quality creator in the Java field, CSDN blog expert, CSDN content partner, invited author of Nuggets, Alibaba Cloud blog expert, 51CTO invited author, many years of architect design experience, resident lecturer of Tencent classroom

Main content: Java project, Python project, front-end project, artificial intelligence and big data, graduation design, resume template, learning materials, interview question bank, technical mutual assistance

Favorites, likes, don't get lost, it's good to follow the author

Get the source code at the end of the article 

Item number: BS-PT-105

1. Environmental introduction

Locale: Java: jdk1.8

Database: Mysql: mysql5.7

Application server: Tomcat: tomcat8.5.31

Development tools: IDEA or eclipse

Background development technology: Springboot+Mybatis

Front and back development technology: Vue+ElementUI+Nodejs

2. Project introduction

With the development of society and the advancement of science and technology, Internet technology is becoming more and more popular. The lifestyle of network computers has gradually been loved by the broad masses of the people, and has gradually entered the use of every user. The Internet has the advantages of convenience, high speed, high efficiency, and low cost. Therefore, it makes sense to build an operating system that meets your own requirements.

Based on the user's functional requirements, this paper establishes a house leasing system. The functional modules in the system are mainly to realize the people-centered, house type management, house information, appointment viewing management, contract information management, house repair management, house evaluation management, I It needs to be the landlord management, message board management, system management and other functional parts; after careful and meticulous research, careful preparation and planning, the final test is successful and the system can be used normally. Combining the analysis of function adjustment and the actual needs of the realization of the housing rental system, the use of JSP to develop the housing rental system is discussed.

2.1 Background and significance

The system management will also be intelligently operated through the computer. There are many management and data storage involved in the housing rental system, such as people center, housing type management, housing information, appointment viewing management, contract information management, Housing repair management, housing evaluation management, I want to be a landlord management, message board management, system management, etc., which bring huge challenges to the work of managers. Faced with a large amount of information, the traditional management system is all through notes Statistics of detailed information were carried out in a more detailed way. Later, computers appeared, and the paper-based information was counted on the computer through computer input software. To this end, a housing rental system has been developed; a housing rental system platform is provided for users, which is convenient for administrators to view and maintain, and can edit and maintain equipment information content according to requirements; for users, they can view housing information at any time and contract information, and can perform repair and evaluation operations. Landlords can view housing information, verify contract information, maintenance information, and evaluation information. Administrators can obtain system data information without leaving home, and can also It saves a lot of time for users, so the development of the housing rental system brings great convenience to managers, and it is also convenient for managers to review and process user information.

The program, database and computer technology are mainly involved in the housing rental system in this thesis. Covering a wide range of knowledge can greatly improve the work efficiency of system personnel.

2.2 Research Significance

As users now have more and more jobs, the data involved is also increasing accordingly. The traditional housing information query management mode is faced with a large amount of data information, and the efficiency of providing data to users will be slow, and the waiting time for users will be relatively long, so this can neither meet the needs of users nor provide users with more information. At the same time as effective data information, the work efficiency for managers is low, so the development of school housing rental system can change these shortcomings.

At present, the housing rental system is attracting the attention of many people. Building a housing rental system through the Internet can provide users with better services and improve work efficiency for staff. It can also better build more regions and data information for us.

2.3 Research content

At present, many people still use traditional paper tools as the main tool for information management, while the application of network technology only plays an auxiliary role. In terms of awareness of network tools, traditional office software is still the main tool people use, while relatively comprehensive and professional information management software is still not understood or recognized by most people. This topic aims to realize various functions of the house rental system through label classification management, etc., so as to achieve the system of the house rental system.

The detailed introduction will be elaborated in the following six chapters:

The first chapter, the introduction, introduces the background and significance of the research topic selection, the research status, and briefly introduces the chapter content of this article.

The second chapter introduces technical knowledge, develops by introducing key technologies, and introduces intuitively expressed technical knowledge into the system.

The third chapter focuses on the analysis of the system. Starting from the powerful supply and demand market of the system, it discusses the feasibility of system development, system process, system performance and function.

The fourth chapter introduces the detailed design scheme of the system, including system structure design and database design.

The fifth chapter, the realization of the system design, demonstrates the structure of the system through the detailed description of the system function design.

Chapter 6, the overall test of the system, to judge whether the system can be run online.

The design of the house rental system is mainly to meet the actual needs of users. Therefore, it needs to be realized through the Internet, so it must have a hardware and software foundation. The platform can finally achieve the purpose of supporting intelligent information management through science and technology and various methods. Therefore, it must have the environment and various materials required for the management of the online learning platform, and ensure the realization of the three principles of openness, modularity and practicability.

The structure of the housing rental system and the functional modules realized by the system are shown in Figure 1 below.

 

Convert ER diagram of database conceptual design into relational database. In a relational database, the data relationship is composed of data tables, but the structure of the table is expressed in the fields of the table.

Table 4.1 config information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

name

varchar

100

DEFAULT NULL

value

varchar

100

DEFAULT NULL

Table 4.2 discussfangwuxinxi information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

refid

bigint

20

DEFAULT NULL

userid

bigint

20

DEFAULT NULL

Table 4.3 discusswoyaodangfangzhu information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

refid

bigint

20

DEFAULT NULL

userid

bigint

20

DEFAULT NULL

Table 4.4 fangwubaoxiu information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

hetongbianhao

varchar

200

DEFAULT NULL

fangwumingcheng

varchar

200

DEFAULT NULL

fangwuleixing

varchar

200

DEFAULT NULL

xiaoqu

varchar

200

DEFAULT NULL

baoxiumingcheng`

varchar

200

DEFAULT NULL

Leixing

varchar

200

DEFAULT NULL

baoxiuneirong

varchar

200

DEFAULT NULL

tupian

varchar

200

DEFAULT NULL

fangzhuzhanghao

varchar

200

DEFAULT NULL

fangzhuxingming

varchar

200

DEFAULT NULL

yonghuming

varchar

200

DEFAULT NULL

lianxidianhua

varchar

200

DEFAULT NULL

sfsh

varchar

200

DEFAULT NULL

Table 4.5 fangwuleixing information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

fangwuleixing

bigint

20

DEFAULT NULL

Table 4.6 fangwupingjia information table

column name

type of data

length

constraint

hetongbianhao

varchar

11

DEFAULT NULL

fangwumingcheng

varchar

200

DEFAULT NULL

fangwuleixing

varchar

200

DEFAULT NULL

xiaoqu

varchar

200

DEFAULT NULL

pingfen

varchar

200

DEFAULT NULL

fangzhuzhanghao

varchar

200

DEFAULT NULL

yonghuming

varchar

200

DEFAULT NULL

lianxidianhua

varchar

200

DEFAULT NULL

sfsh

varchar

200

DEFAULT NULL

Table 4.7 fangzhu information table

column name

type of data

length

constraint

id

bigint

200

PRIMARY KEY

fangzhuzhanghao

varchar

200

DEFAULT NULL

mima

varchar

200

DEFAULT NULL

fangzhuxingming

varchar

200

DEFAULT NULL

xingbie

varchar

200

DEFAULT NULL

touxiang

varchar

200

DEFAULT NULL

shouji

varchar

200

DEFAULT NULL

shenfenzheng

varchar

200

DEFAULT NULL

Table 4.8 messages information table

column name

type of data

length

constraint

id

bigint

11

DEFAULT NULL

userid

username

200

DEFAULT NULL

username

varchar

200

DEFAULT NULL

Table 4.9 news information table

column name

type of data

length

constraint

id

bigint

20

PRIMARY KEY

title

varchar

200

DEFAULT NULL

picture

varchar

200

DEFAULT NULL

Three, system display

User login

 

After the administrator logs in successfully, enter the background page, you can view the personal center, house type management, house information, appointment viewing management, contract information management, house repair management, house evaluation management, I want to be a landlord management, message board management, System management and other functional modules for corresponding operations.

Homeowner management: through the list, you can obtain user name, password, name, avatar, gender, occupation, contact information, ID number, view user information or modify and delete operations, and you can also add user information by adding new operations, as shown in the figure Show.

 House type management: You can view the house type through the list, view details or modify, delete operations, and add type information by adding new ones, as shown in the figure

 Housing information management: Through the housing information list, you can view the housing name, housing type, housing picture, rental method, facing floor, area, housing status, community, detailed address, monthly rent price, deposit, housing facilities, release date, housing account number , homeowner’s name, and other information to view details or modify or delete, and you can reply to information online or add new house information by viewing comments, as shown in the figure.

 Announcement information management: Through the list, you can obtain detailed information such as the title, introduction, and picture of the announcement information to modify or delete, and you can add announcement information by adding announcement information, as shown in the figure.

 预约看房管理:通过列表可以获取预约编号、房屋名称、房屋类型、房屋状态、小区、月租价格、押金、租用月数、预约时间、用户名、姓名、身份证、联系电话、房主账号、房主姓名、审核回复、审核状态等信息,进行审核或删除操作,如图所示。

 我要当房东信息:通过列表可以查看房屋名称、房屋类型、图片、租赁方式、小区、月租价格、用户名、房屋详情、朝向楼层、面积、发布日期、联系电话等信息,进行查看详情或修改、删除操作或进行审核操作,如图所示。

 房主登录后的主要功能:不再一 一展示

 租房用户注册登录后的主要功能:不再一 一展示 

个人中心操作界面:

 

四,核心代码展示

package com.controller;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;

import com.entity.FangwubaoxiuEntity;
import com.entity.view.FangwubaoxiuView;

import com.service.FangwubaoxiuService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;


/**
 * 房屋报修
 * 后端接口
 * @author 
 * @email 
 * @date 2023-03-04 18:46:21
 */
@RestController
@RequestMapping("/fangwubaoxiu")
public class FangwubaoxiuController {
    @Autowired
    private FangwubaoxiuService fangwubaoxiuService;
    


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,FangwubaoxiuEntity fangwubaoxiu, HttpServletRequest request){
		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("fangzhu")) {
			fangwubaoxiu.setFangzhuzhanghao((String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("yonghu")) {
			fangwubaoxiu.setYonghuming((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<FangwubaoxiuEntity> ew = new EntityWrapper<FangwubaoxiuEntity>();
		PageUtils page = fangwubaoxiuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwubaoxiu), params), params));

        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,FangwubaoxiuEntity fangwubaoxiu, HttpServletRequest request){
        EntityWrapper<FangwubaoxiuEntity> ew = new EntityWrapper<FangwubaoxiuEntity>();
		PageUtils page = fangwubaoxiuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwubaoxiu), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( FangwubaoxiuEntity fangwubaoxiu){
       	EntityWrapper<FangwubaoxiuEntity> ew = new EntityWrapper<FangwubaoxiuEntity>();
      	ew.allEq(MPUtil.allEQMapPre( fangwubaoxiu, "fangwubaoxiu")); 
        return R.ok().put("data", fangwubaoxiuService.selectListView(ew));
    }

	 /**
     * 查询
     */
    @RequestMapping("/query")
    public R query(FangwubaoxiuEntity fangwubaoxiu){
        EntityWrapper< FangwubaoxiuEntity> ew = new EntityWrapper< FangwubaoxiuEntity>();
 		ew.allEq(MPUtil.allEQMapPre( fangwubaoxiu, "fangwubaoxiu")); 
		FangwubaoxiuView fangwubaoxiuView =  fangwubaoxiuService.selectView(ew);
		return R.ok("查询房屋报修成功").put("data", fangwubaoxiuView);
    }
	
    /**
     * 后端详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        FangwubaoxiuEntity fangwubaoxiu = fangwubaoxiuService.selectById(id);
        return R.ok().put("data", fangwubaoxiu);
    }

    /**
     * 前端详情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        FangwubaoxiuEntity fangwubaoxiu = fangwubaoxiuService.selectById(id);
        return R.ok().put("data", fangwubaoxiu);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody FangwubaoxiuEntity fangwubaoxiu, HttpServletRequest request){
    	fangwubaoxiu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(fangwubaoxiu);
        fangwubaoxiuService.insert(fangwubaoxiu);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody FangwubaoxiuEntity fangwubaoxiu, HttpServletRequest request){
    	fangwubaoxiu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(fangwubaoxiu);
        fangwubaoxiuService.insert(fangwubaoxiu);
        return R.ok();
    }

    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody FangwubaoxiuEntity fangwubaoxiu, HttpServletRequest request){
        //ValidatorUtils.validateEntity(fangwubaoxiu);
        fangwubaoxiuService.updateById(fangwubaoxiu);//全部更新
        return R.ok();
    }
    

    /**
     * 删除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        fangwubaoxiuService.deleteBatchIds(Arrays.asList(ids));
        return R.ok();
    }
    
    /**
     * 提醒接口
     */
	@RequestMapping("/remind/{columnName}/{type}")
	public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		Wrapper<FangwubaoxiuEntity> wrapper = new EntityWrapper<FangwubaoxiuEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("fangzhu")) {
			wrapper.eq("fangzhuzhanghao", (String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("yonghu")) {
			wrapper.eq("yonghuming", (String)request.getSession().getAttribute("username"));
		}

		int count = fangwubaoxiuService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
	


}

package com.controller;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;

import com.entity.HetongxinxiEntity;
import com.entity.view.HetongxinxiView;

import com.service.HetongxinxiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;


/**
 * 合同信息
 * 后端接口
 * @author 
 * @email 
 * @date 2023-03-04 18:46:21
 */
@RestController
@RequestMapping("/hetongxinxi")
public class HetongxinxiController {
    @Autowired
    private HetongxinxiService hetongxinxiService;
    


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,HetongxinxiEntity hetongxinxi, HttpServletRequest request){
		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("yonghu")) {
			hetongxinxi.setYonghuming((String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("fangzhu")) {
			hetongxinxi.setFangzhuzhanghao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<HetongxinxiEntity> ew = new EntityWrapper<HetongxinxiEntity>();
		PageUtils page = hetongxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, hetongxinxi), params), params));

        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,HetongxinxiEntity hetongxinxi, HttpServletRequest request){
        EntityWrapper<HetongxinxiEntity> ew = new EntityWrapper<HetongxinxiEntity>();
		PageUtils page = hetongxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, hetongxinxi), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( HetongxinxiEntity hetongxinxi){
       	EntityWrapper<HetongxinxiEntity> ew = new EntityWrapper<HetongxinxiEntity>();
      	ew.allEq(MPUtil.allEQMapPre( hetongxinxi, "hetongxinxi")); 
        return R.ok().put("data", hetongxinxiService.selectListView(ew));
    }

	 /**
     * 查询
     */
    @RequestMapping("/query")
    public R query(HetongxinxiEntity hetongxinxi){
        EntityWrapper< HetongxinxiEntity> ew = new EntityWrapper< HetongxinxiEntity>();
 		ew.allEq(MPUtil.allEQMapPre( hetongxinxi, "hetongxinxi")); 
		HetongxinxiView hetongxinxiView =  hetongxinxiService.selectView(ew);
		return R.ok("查询合同信息成功").put("data", hetongxinxiView);
    }
	
    /**
     * 后端详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        HetongxinxiEntity hetongxinxi = hetongxinxiService.selectById(id);
        return R.ok().put("data", hetongxinxi);
    }

    /**
     * 前端详情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        HetongxinxiEntity hetongxinxi = hetongxinxiService.selectById(id);
        return R.ok().put("data", hetongxinxi);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody HetongxinxiEntity hetongxinxi, HttpServletRequest request){
    	hetongxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(hetongxinxi);
        hetongxinxiService.insert(hetongxinxi);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody HetongxinxiEntity hetongxinxi, HttpServletRequest request){
    	hetongxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(hetongxinxi);
        hetongxinxiService.insert(hetongxinxi);
        return R.ok();
    }

    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody HetongxinxiEntity hetongxinxi, HttpServletRequest request){
        //ValidatorUtils.validateEntity(hetongxinxi);
        hetongxinxiService.updateById(hetongxinxi);//全部更新
        return R.ok();
    }
    

    /**
     * 删除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        hetongxinxiService.deleteBatchIds(Arrays.asList(ids));
        return R.ok();
    }
    
    /**
     * 提醒接口
     */
	@RequestMapping("/remind/{columnName}/{type}")
	public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		Wrapper<HetongxinxiEntity> wrapper = new EntityWrapper<HetongxinxiEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("yonghu")) {
			wrapper.eq("yonghuming", (String)request.getSession().getAttribute("username"));
		}
		if(tableName.equals("fangzhu")) {
			wrapper.eq("fangzhuzhanghao", (String)request.getSession().getAttribute("username"));
		}

		int count = hetongxinxiService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
	


}

五,项目总结

房屋租赁系统的整体功能模块的实现,主要是对自己在大学这几年时间所学内容的一个测试,对于系统,主要是通过现在智能化的房屋租赁系统进行开始系统的实现,管理员根据问题信息进行科研成果信息及留言信息管理等操作,并且可以根据需求进行数据信息的增加修改删除等操作,完美的解决了当下房屋租赁系统中所遇到的问题。

经过一个学期的毕业设计的实现完成已接近尾声,到目前为止,当我回想起整个学期的系统开发日,收获颇丰。毕业设计的主要任务是建立一个智能化的房屋租赁系统的信息系统,主要使用JSP和Mysql数据库的开发工具,对系统的每个功能模块进行相对应的操作,最后,系统调试结果表明系统基本可以满足功能要求。

房屋租赁系统的开发对我大学学习的改进有很大帮助。它使我能够学习计算机知识的相关技术方面问题及与人交往的沟通交流方面,让我意识到无论我们做什么,我们都需要坚持不懈,努力工作,只有这样尝试了并且坚持去做了,我们才可以成功,才可以获得成功的喜悦,如果没有尝试,只是想,那连成功的机会都没有,实际操作进行做了,才会越来越近的靠近成功,随着道路一路向前,未来的路是美好的。

For the realization of the housing rental system, it is the first time that I have completed the design of a management system. During the design process of the project, I overcame various difficulties, and in the face of these difficulties, I actively faced them, tried to solve the problems, and better mastered the theoretical knowledge and hands-on practical ability, from the development of the system By the time the design was completed, I had completed a more comprehensive, better, and safer platform management system, which also gave me a great sense of accomplishment and made me more confident in my future life.

Guess you like

Origin blog.csdn.net/whirlwind526/article/details/131259097