基于springboot vue小区家政服务预约平台源码和论文

可做计算机毕业设计JAVA、PHP、爬虫、APP、小程序、C#、C++、python、数据可视化、大数据、文案

近年来,科技飞速发展,在经济全球化的背景之下,互联网技术将进一步提高社会综合发展的效率和速度,互联网技术也会涉及到各个领域,而小区家政服务预约平台网络背景下有着无法忽视的作用。信息管理系统的开发是一个不断优化的过程,随着网络数据时代的到来,信息管理系统与计算机的集成成为必然。

本次将以小区家政服务预约方面为切入点,论述了小区家政服务预约的意义和内容,以此展开对小区家政服务预约的开发与建设的详细分析。从数据挖掘的角度出发,了解信息管理系统的作用,对小区家政服务预约的过程以及用处进行更深一步的研究,数据的处理效率,以及具体的应用方向。对于小区家政服务预约平台所带来的影响,将从传统管理方式进行对比分析,从硬件优化、软件开发,这几个方面来论述小区家政服务预约平台的优势所在,分析小区家政服务预约计算机时代发展的变化趋势。

关键词:小区家政服务预约平台

Abstract

In recent years, with the rapid development of technology, in the context of economic globalization, internet technology will further improve the efficiency and speed of social comprehensive development. Internet technology will also involve various fields, and the appointment platform for residential household services plays an indispensable role in the network context. The development of information management systems is a continuous optimization process, and with the arrival of the era of network data, the integration of information management systems and computers has become inevitable.

This time, we will take the appointment of residential housekeeping services as the starting point to discuss the significance and content of residential housekeeping service appointments, in order to conduct a detailed analysis of the development and construction of residential housekeeping service appointments. From the perspective   of data mining, understand the role of information management systems, conduct further research on the process and usefulness of community housekeeping service appointment, improve data processing efficiency, and specific application directions. For the impact of the community home service reservation platform, a comparative analysis will be conducted from traditional management methods. The advantages of the community home service reservation platform will be discussed from hardware optimization and software development, and the changing trend of the development of the community home service reservation in the computer age will be analyzed.

Keywords: community housekeeping service reservation platform;

目  录

摘  要

Abstract

1 绪  论

1.1论文背景 1

1.2 研究的主要内容

1.3 研究方法

2系统相关技术

2.1  Java语言简介

2.2  MySQL数据库 3

2.3  B/S架构 3

2.4  SpringBoot框架 4

3 系统分析 5

3.1 需求分析 5

3.1.1系统总体分析 6

3.2 可行性分析 7

3.2.1 经济可行性 8

3.2.2 技术可行性 9

3.2.3 运行可行性 10

3.3 系统结构和流程设计 10

4 系统设计 11

4.1系统通用功能用例分析 12

4.2 系统设计主要功能 12

4.3 数据库设计 12

4.3.1 数据库设计规范 13

4.3.2 E-R图 14

4.3.3 数据表 15

5 系统实现 16

5.1 前台系统功能模块 18

5.2 后台管理员功能模块 18

5.3 后台家政人员功能模块 18

5.4 后台用户功能模块 18

6 系统测试 20

6.1 系统测试目的 21

6.2 系统功能测试 26

6.3 系统测试结论 27

结论 30

参考文献 31

致  谢 33

1 绪  论

随着当代社会科技的迅速发展,计算机网络时代正式拉来帷幕,它颠覆性的影响着社会发展的各个方面。小区家政服务预约平台更是与数据密不可分,不仅在互联网中起着重要作用,更是充斥着我们日常工作和生活之中。在这个信息化的时代背景之下,互联网的来临,无论是对人类社会,还是对政治、经济等多方面领域影响深远,也给新时代的信息管理和信息系统带来新的机遇和挑战。网络电脑化越深入,影响越大,社会就越进入互联网时代。生活的各个领域都需要巨大的信息资源,需要妥善处理。因此,在计算机技术快速发展环境下,信息管理和信息系统尤为重要。对于小区家政服务预约平台的未来进行分析和展望,并提出研究意见[1]

1.1论文背景

近年来互联网技术飞速发展,给人们的生活带来了极大便利,也改变人们的生活生产方式,拥有存储量大、可靠性高、使用方便等不可替代的优点,正在逐步取代传统的信息管理模式。由代码编程实现的各种管理工具和系统替代传统的人工操作,不但提升了可靠性还降低了人力成本,节省了时间,提升了工作效率。全球视域下信息技术逐步渗透到各个领域,多样化的数据信息为小区家政服务预约带来了深刻变革,打破了传统的小区家政服务预约的方式与载体,管理者的事务性工作面临新形势和新挑战[2]

小区家政服务预约作为信息化建设的重要一环,小区家政服务预约平台的开发与实现,能够使管理者的工作开展得更加有序。

1.2 研究的主要内容

小区家政服务预约平台分析基本内容:本设计主要是实现一个小区家政服务预约平台,实现自动化信息化管理。系统的主要的设计原则是:以实际应用为核心,重点突出“实用、易用、简洁、稳定”的优点。既能够注重到实效,满足现实用户的实际需要,也能够为系统以后的升级和扩展留有一定的余地。在技术设计的实现上,突出“实现合理、结构清晰、简单易懂”的特点[3]

本系统的主要目的在于加速数据可视化与信息化进程,充分利用计算机技术和现代通讯的手段面向小区或公司的服务。建立一个方便管理的小区家政服务预约平台的平台,方便信息资源的共享,提高管理的效率,为管理员和用户、家政人员提供小区家政服务预约平台辅助服务。本系统将最大程度地提高管理者整体的工作效率和工作质量,降低管理和工作的成本,改善工作的环境和条件,提高管理者的管理和决策的自动化和科学化水平。帮助各行业节省费用,减少中间环节,优化业务流程,提高整体工作效率,促进管的进步[4]

1.3 研究方法

小区家政服务预约平台在windows平台下完成开发,采用 SpringBoot框架,java语言开发,将应用程序部署于tomcat上,加之servlet接口来实现交互式响应服务器上的数据,将最终效果呈现于服务器上。运用mysql数据库,使用navicat premium连接数据库,从而实现数据库各个功能以友好的图形化界面展示。使用B/S架构,来降低各个层间解耦合,从而便捷高效完成开发[5]

 

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.2.2.RELEASE</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>
	<groupId>com.cl</groupId>
	<!-- 导入项目的名称 -->
	<artifactId>cl9428394</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>springboot-schema</name>
	<description>springboot学习框架</description>

	<properties>
		<java.version>1.8</java.version>
		<fastjson.version>1.2.8</fastjson.version>
		<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.mybatis.spring.boot</groupId>
			<artifactId>mybatis-spring-boot-starter</artifactId>
			<version>2.1.1</version>
		</dependency>
		<dependency>
		    <groupId>org.springframework.boot</groupId>
		    <artifactId>spring-boot-starter-jdbc</artifactId>
		</dependency>
		
		<dependency>
		    <groupId>mysql</groupId>
		    <artifactId>mysql-connector-java</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.shiro</groupId>
			<artifactId>shiro-spring</artifactId>
			<version>1.3.2</version>
		</dependency>
		
		<dependency>
			<groupId>com.baomidou</groupId>
			<artifactId>mybatis-plus</artifactId>
			<version>2.3</version>
		</dependency>
		<dependency>
			<groupId>com.baomidou</groupId>
			<artifactId>mybatisplus-spring-boot-starter</artifactId>
			<version>1.0.5</version>
		</dependency>
		<dependency>
		    <groupId>com.google.protobuf</groupId>
		    <artifactId>protobuf-java</artifactId>
		    <version>3.10.0</version>
		</dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.0</version>
        </dependency>
		<dependency>
		    <groupId>javax.validation</groupId>
		    <artifactId>validation-api</artifactId>
		    <version>2.0.1.Final</version>
		</dependency>
		
		<dependency>
		    <groupId>commons-io</groupId>
		    <artifactId>commons-io</artifactId>
		    <version>2.5</version>
		</dependency>
		
		
		<dependency>
		    <groupId>cn.hutool</groupId>
		    <artifactId>hutool-all</artifactId>
		    <version>4.0.12</version>
		</dependency>
		
		<!-- FastJson -->
		<dependency>
			<groupId>com.alibaba</groupId>
			<artifactId>fastjson</artifactId>
			<version>${fastjson.version}</version>
		</dependency>
		<!-- <dependency>
		    <groupId>com.microsoft.sqlserver</groupId>
		    <artifactId>sqljdbc4</artifactId>
		    <scope>4.0</scope>
		    <version>4.0</version>
		</dependency>
		<dependency>
		    <groupId>com.microsoft.sqlserver</groupId>
		    <artifactId>mssql-jdbc</artifactId>
		    <version>6.2.0.jre8</version>
		    <scope>runtime</scope>
		</dependency> -->
		<!-- 百度人工智能 -->
		<dependency>
    		<groupId>com.baidu.aip</groupId>
    		<artifactId>java-sdk</artifactId>
    		<version>4.4.1</version>
		</dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>3.11</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>3.9</version>
        </dependency>
		
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<groupId>org.junit.vintage</groupId>
					<artifactId>junit-vintage-engine</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
                   <skipTests>true</skipTests>
               </configuration>
           </plugin>
		</plugins>
	</build>

</project>
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.ShuiguoxinxiEntity;
import com.entity.view.ShuiguoxinxiView;

import com.service.ShuiguoxinxiService;
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 2021-03-02 12:49:11
 */
@RestController
@RequestMapping("/shuiguoxinxi")
public class ShuiguoxinxiController {
    @Autowired
    private ShuiguoxinxiService shuiguoxinxiService;
    


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,ShuiguoxinxiEntity shuiguoxinxi, HttpServletRequest request){

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

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

	 /**
     * 查询
     */
    @RequestMapping("/query")
    public R query(ShuiguoxinxiEntity shuiguoxinxi){
        EntityWrapper< ShuiguoxinxiEntity> ew = new EntityWrapper< ShuiguoxinxiEntity>();
 		ew.allEq(MPUtil.allEQMapPre( shuiguoxinxi, "shuiguoxinxi")); 
		ShuiguoxinxiView shuiguoxinxiView =  shuiguoxinxiService.selectView(ew);
		return R.ok("查询水果信息成功").put("data", shuiguoxinxiView);
    }
	
    /**
     * 后端详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        ShuiguoxinxiEntity shuiguoxinxi = shuiguoxinxiService.selectById(id);
        return R.ok().put("data", shuiguoxinxi);
    }

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


    /**
     * 赞或踩
     */
    @RequestMapping("/thumbsup/{id}")
    public R vote(@PathVariable("id") String id,String type){
        ShuiguoxinxiEntity shuiguoxinxi = shuiguoxinxiService.selectById(id);
        if(type.equals("1")) {
        	shuiguoxinxi.setThumbsupnum(shuiguoxinxi.getThumbsupnum()+1);
        } else {
        	shuiguoxinxi.setCrazilynum(shuiguoxinxi.getCrazilynum()+1);
        }
        shuiguoxinxiService.updateById(shuiguoxinxi);
        return R.ok("投票成功");
    }

    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody ShuiguoxinxiEntity shuiguoxinxi, HttpServletRequest request){
    	shuiguoxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(shuiguoxinxi);

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

        shuiguoxinxiService.insert(shuiguoxinxi);
        return R.ok();
    }

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

    /**
     * 删除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        shuiguoxinxiService.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<ShuiguoxinxiEntity> wrapper = new EntityWrapper<ShuiguoxinxiEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}


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


}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值