├── image ├── 1.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png ├── 7.png ├── 8.png ├── 9.png ├── 10.png ├── 11.png └── 12.png ├── limage ├── 1.png ├── 2.png └── 3.png ├── src ├── main │ ├── java │ │ └── com │ │ │ ├── dao │ │ │ ├── ConfigDao.java │ │ │ ├── UsersDao.java │ │ │ ├── TokenDao.java │ │ │ ├── CommonDao.java │ │ │ ├── YezhuDao.java │ │ │ ├── TingcheweiDao.java │ │ │ ├── TousuchuliDao.java │ │ │ ├── TousuxinxiDao.java │ │ │ ├── WeixiuyuanDao.java │ │ │ ├── WuyeguanliDao.java │ │ │ ├── BaoxiuxinxiDao.java │ │ │ ├── CheweixinxiDao.java │ │ │ ├── FuwupingjiaDao.java │ │ │ ├── TousufenleiDao.java │ │ │ ├── WeixiuchuliDao.java │ │ │ ├── XiaoquxinxiDao.java │ │ │ ├── HuodongxinxiDao.java │ │ │ ├── JiaofeixinxiDao.java │ │ │ ├── TingchexinxiDao.java │ │ │ ├── FangchanxinxiDao.java │ │ │ └── XiaoqugonggaoDao.java │ │ │ ├── annotation │ │ │ ├── IgnoreAuth.java │ │ │ ├── LoginUser.java │ │ │ └── APPLoginUser.java │ │ │ ├── config │ │ │ ├── AlipayConfig.java │ │ │ ├── MybatisPlusConfig.java │ │ │ └── InterceptorConfig.java │ │ │ ├── entity │ │ │ ├── vo │ │ │ │ ├── TousufenleiVO.java │ │ │ │ ├── TingcheweiVO.java │ │ │ │ ├── XiaoqugonggaoVO.java │ │ │ │ ├── HuodongxinxiVO.java │ │ │ │ ├── XiaoquxinxiVO.java │ │ │ │ ├── TousuchuliVO.java │ │ │ │ ├── WeixiuyuanVO.java │ │ │ │ ├── WuyeguanliVO.java │ │ │ │ ├── YezhuVO.java │ │ │ │ ├── CheweixinxiVO.java │ │ │ │ ├── BaoxiuxinxiVO.java │ │ │ │ ├── TousuxinxiVO.java │ │ │ │ ├── WeixiuchuliVO.java │ │ │ │ ├── TingchexinxiVO.java │ │ │ │ ├── JiaofeixinxiVO.java │ │ │ │ ├── FuwupingjiaVO.java │ │ │ │ └── FangchanxinxiVO.java │ │ │ ├── model │ │ │ │ ├── TousufenleiModel.java │ │ │ │ ├── TingcheweiModel.java │ │ │ │ ├── XiaoqugonggaoModel.java │ │ │ │ ├── HuodongxinxiModel.java │ │ │ │ ├── XiaoquxinxiModel.java │ │ │ │ ├── TousuchuliModel.java │ │ │ │ ├── WeixiuyuanModel.java │ │ │ │ ├── WuyeguanliModel.java │ │ │ │ ├── YezhuModel.java │ │ │ │ ├── CheweixinxiModel.java │ │ │ │ ├── BaoxiuxinxiModel.java │ │ │ │ ├── TousuxinxiModel.java │ │ │ │ ├── WeixiuchuliModel.java │ │ │ │ ├── TingchexinxiModel.java │ │ │ │ ├── JiaofeixinxiModel.java │ │ │ │ ├── FuwupingjiaModel.java │ │ │ │ └── FangchanxinxiModel.java │ │ │ ├── view │ │ │ │ ├── YezhuView.java │ │ │ │ ├── TingcheweiView.java │ │ │ │ ├── WeixiuyuanView.java │ │ │ │ ├── TousuchuliView.java │ │ │ │ ├── TousuxinxiView.java │ │ │ │ ├── WuyeguanliView.java │ │ │ │ ├── BaoxiuxinxiView.java │ │ │ │ ├── CheweixinxiView.java │ │ │ │ ├── FuwupingjiaView.java │ │ │ │ ├── TousufenleiView.java │ │ │ │ ├── WeixiuchuliView.java │ │ │ │ ├── XiaoquxinxiView.java │ │ │ │ ├── HuodongxinxiView.java │ │ │ │ ├── JiaofeixinxiView.java │ │ │ │ ├── TingchexinxiView.java │ │ │ │ ├── FangchanxinxiView.java │ │ │ │ └── XiaoqugonggaoView.java │ │ │ ├── EIException.java │ │ │ ├── ConfigEntity.java │ │ │ ├── UsersEntity.java │ │ │ ├── TousufenleiEntity.java │ │ │ ├── TokenEntity.java │ │ │ ├── XiaoqugonggaoEntity.java │ │ │ ├── TingcheweiEntity.java │ │ │ ├── HuodongxinxiEntity.java │ │ │ ├── TousuchuliEntity.java │ │ │ ├── XiaoquxinxiEntity.java │ │ │ ├── WeixiuyuanEntity.java │ │ │ ├── WuyeguanliEntity.java │ │ │ ├── YezhuEntity.java │ │ │ ├── CheweixinxiEntity.java │ │ │ ├── TousuxinxiEntity.java │ │ │ ├── BaoxiuxinxiEntity.java │ │ │ ├── WeixiuchuliEntity.java │ │ │ └── TingchexinxiEntity.java │ │ │ └── interceptor │ │ │ └── AuthorizationInterceptor.java │ └── resources │ │ └── application.yml └── test │ └── java │ └── com │ └── SpringbootSchemaApplicationTests.java ├── .gitignore └── README.md /image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/1.png -------------------------------------------------------------------------------- /image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/2.png -------------------------------------------------------------------------------- /image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/3.png -------------------------------------------------------------------------------- /image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/4.png -------------------------------------------------------------------------------- /image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/5.png -------------------------------------------------------------------------------- /image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/6.png -------------------------------------------------------------------------------- /image/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/7.png -------------------------------------------------------------------------------- /image/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/8.png -------------------------------------------------------------------------------- /image/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/9.png -------------------------------------------------------------------------------- /image/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/10.png -------------------------------------------------------------------------------- /image/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/11.png -------------------------------------------------------------------------------- /image/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/image/12.png -------------------------------------------------------------------------------- /limage/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/limage/1.png -------------------------------------------------------------------------------- /limage/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/limage/2.png -------------------------------------------------------------------------------- /limage/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No91Property-Management-System/HEAD/limage/3.png -------------------------------------------------------------------------------- /src/main/java/com/dao/ConfigDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import com.entity.ConfigEntity; 6 | 7 | /** 8 | * 配置 9 | */ 10 | public interface ConfigDao extends BaseMapper { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/IgnoreAuth.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * 忽略Token验证 7 | */ 8 | @Target(ElementType.METHOD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | @Documented 11 | public @interface IgnoreAuth { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/com/SpringbootSchemaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootSchemaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/config/AlipayConfig.java: -------------------------------------------------------------------------------- 1 | package com.config; 2 | 3 | import java.io.FileWriter; 4 | import java.io.IOException; 5 | 6 | /* * 7 | *类名:AlipayConfig 8 | *功能:基础配置类 9 | *详细:设置帐户有关信息及返回路径 10 | *修改日期:2017-04-05 11 | *说明: 12 | *以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。 13 | *该代码仅供学习和研究支付宝接口使用,只是提供一个参考。 14 | */ 15 | 16 | public class AlipayConfig { 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/LoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface LoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/APPLoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface APPLoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /src/main/java/com/config/MybatisPlusConfig.java: -------------------------------------------------------------------------------- 1 | 2 | package com.config; 3 | 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | 7 | import com.baomidou.mybatisplus.mapper.MetaObjectHandler; 8 | import com.baomidou.mybatisplus.plugins.PaginationInterceptor; 9 | 10 | /** 11 | * mybatis-plus配置 12 | */ 13 | @Configuration 14 | public class MybatisPlusConfig { 15 | 16 | /** 17 | * 分页插件 18 | */ 19 | @Bean 20 | public PaginationInterceptor paginationInterceptor() { 21 | return new PaginationInterceptor(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/TousufenleiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.TousufenleiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉分类 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class TousufenleiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/dao/UsersDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.UsersEntity; 12 | 13 | /** 14 | * 用户 15 | */ 16 | public interface UsersDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TokenDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.TokenEntity; 12 | 13 | /** 14 | * token 15 | */ 16 | public interface TokenDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/TousufenleiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.TousufenleiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉分类 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class TousufenleiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/dao/CommonDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | /** 8 | * 通用接口 9 | */ 10 | public interface CommonDao{ 11 | List getOption(Map params); 12 | 13 | Map getFollowByOption(Map params); 14 | 15 | List getFollowByOption2(Map params); 16 | 17 | void sh(Map params); 18 | 19 | int remindCount(Map params); 20 | 21 | Map selectCal(Map params); 22 | 23 | List> selectGroup(Map params); 24 | 25 | List> selectValue(Map params); 26 | 27 | List> selectTimeStatValue(Map params); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/YezhuView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.YezhuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 业主 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("yezhu") 21 | public class YezhuView extends YezhuEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public YezhuView(){ 25 | } 26 | 27 | public YezhuView(YezhuEntity yezhuEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, yezhuEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/TingcheweiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.TingcheweiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 停车位 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("tingchewei") 21 | public class TingcheweiView extends TingcheweiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public TingcheweiView(){ 25 | } 26 | 27 | public TingcheweiView(TingcheweiEntity tingcheweiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, tingcheweiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/WeixiuyuanView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.WeixiuyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 维修员 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("weixiuyuan") 21 | public class WeixiuyuanView extends WeixiuyuanEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public WeixiuyuanView(){ 25 | } 26 | 27 | public WeixiuyuanView(WeixiuyuanEntity weixiuyuanEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, weixiuyuanEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/TousuchuliView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.TousuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 投诉处理 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("tousuchuli") 21 | public class TousuchuliView extends TousuchuliEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public TousuchuliView(){ 25 | } 26 | 27 | public TousuchuliView(TousuchuliEntity tousuchuliEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, tousuchuliEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/TousuxinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.TousuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 投诉信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("tousuxinxi") 21 | public class TousuxinxiView extends TousuxinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public TousuxinxiView(){ 25 | } 26 | 27 | public TousuxinxiView(TousuxinxiEntity tousuxinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, tousuxinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/WuyeguanliView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.WuyeguanliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 物业管理 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("wuyeguanli") 21 | public class WuyeguanliView extends WuyeguanliEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public WuyeguanliView(){ 25 | } 26 | 27 | public WuyeguanliView(WuyeguanliEntity wuyeguanliEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, wuyeguanliEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/BaoxiuxinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.BaoxiuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 报修信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("baoxiuxinxi") 21 | public class BaoxiuxinxiView extends BaoxiuxinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public BaoxiuxinxiView(){ 25 | } 26 | 27 | public BaoxiuxinxiView(BaoxiuxinxiEntity baoxiuxinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, baoxiuxinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/CheweixinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.CheweixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 车位信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("cheweixinxi") 21 | public class CheweixinxiView extends CheweixinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public CheweixinxiView(){ 25 | } 26 | 27 | public CheweixinxiView(CheweixinxiEntity cheweixinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, cheweixinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/FuwupingjiaView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.FuwupingjiaEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 服务评价 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("fuwupingjia") 21 | public class FuwupingjiaView extends FuwupingjiaEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public FuwupingjiaView(){ 25 | } 26 | 27 | public FuwupingjiaView(FuwupingjiaEntity fuwupingjiaEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, fuwupingjiaEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/TousufenleiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.TousufenleiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 投诉分类 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("tousufenlei") 21 | public class TousufenleiView extends TousufenleiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public TousufenleiView(){ 25 | } 26 | 27 | public TousufenleiView(TousufenleiEntity tousufenleiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, tousufenleiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/WeixiuchuliView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.WeixiuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 维修处理 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("weixiuchuli") 21 | public class WeixiuchuliView extends WeixiuchuliEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public WeixiuchuliView(){ 25 | } 26 | 27 | public WeixiuchuliView(WeixiuchuliEntity weixiuchuliEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, weixiuchuliEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/XiaoquxinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.XiaoquxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 小区信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("xiaoquxinxi") 21 | public class XiaoquxinxiView extends XiaoquxinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public XiaoquxinxiView(){ 25 | } 26 | 27 | public XiaoquxinxiView(XiaoquxinxiEntity xiaoquxinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, xiaoquxinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/HuodongxinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.HuodongxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 活动信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("huodongxinxi") 21 | public class HuodongxinxiView extends HuodongxinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public HuodongxinxiView(){ 25 | } 26 | 27 | public HuodongxinxiView(HuodongxinxiEntity huodongxinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, huodongxinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/JiaofeixinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.JiaofeixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 缴费信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("jiaofeixinxi") 21 | public class JiaofeixinxiView extends JiaofeixinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public JiaofeixinxiView(){ 25 | } 26 | 27 | public JiaofeixinxiView(JiaofeixinxiEntity jiaofeixinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, jiaofeixinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/TingchexinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.TingchexinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 停车信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("tingchexinxi") 21 | public class TingchexinxiView extends TingchexinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public TingchexinxiView(){ 25 | } 26 | 27 | public TingchexinxiView(TingchexinxiEntity tingchexinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, tingchexinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/FangchanxinxiView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.FangchanxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 房产信息 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("fangchanxinxi") 21 | public class FangchanxinxiView extends FangchanxinxiEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public FangchanxinxiView(){ 25 | } 26 | 27 | public FangchanxinxiView(FangchanxinxiEntity fangchanxinxiEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, fangchanxinxiEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/XiaoqugonggaoView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.XiaoqugonggaoEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 小区公告 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-25 16:19:37 19 | */ 20 | @TableName("xiaoqugonggao") 21 | public class XiaoqugonggaoView extends XiaoqugonggaoEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public XiaoqugonggaoView(){ 25 | } 26 | 27 | public XiaoqugonggaoView(XiaoqugonggaoEntity xiaoqugonggaoEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, xiaoqugonggaoEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/EIException.java: -------------------------------------------------------------------------------- 1 | 2 | package com.entity; 3 | 4 | /** 5 | * 自定义异常 6 | */ 7 | public class EIException extends RuntimeException { 8 | private static final long serialVersionUID = 1L; 9 | 10 | private String msg; 11 | private int code = 500; 12 | 13 | public EIException(String msg) { 14 | super(msg); 15 | this.msg = msg; 16 | } 17 | 18 | public EIException(String msg, Throwable e) { 19 | super(msg, e); 20 | this.msg = msg; 21 | } 22 | 23 | public EIException(String msg, int code) { 24 | super(msg); 25 | this.msg = msg; 26 | this.code = code; 27 | } 28 | 29 | public EIException(String msg, int code, Throwable e) { 30 | super(msg, e); 31 | this.msg = msg; 32 | this.code = code; 33 | } 34 | 35 | public String getMsg() { 36 | return msg; 37 | } 38 | 39 | public void setMsg(String msg) { 40 | this.msg = msg; 41 | } 42 | 43 | public int getCode() { 44 | return code; 45 | } 46 | 47 | public void setCode(int code) { 48 | this.code = code; 49 | } 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/dao/YezhuDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.YezhuEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.YezhuVO; 12 | import com.entity.view.YezhuView; 13 | 14 | 15 | /** 16 | * 业主 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface YezhuDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | YezhuVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | YezhuView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/entity/ConfigEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableId; 6 | import com.baomidou.mybatisplus.annotations.TableName; 7 | import com.baomidou.mybatisplus.enums.IdType; 8 | 9 | /** 10 | * 类说明 : 11 | */ 12 | @TableName("config") 13 | public class ConfigEntity implements Serializable{ 14 | private static final long serialVersionUID = 1L; 15 | 16 | @TableId(type = IdType.AUTO) 17 | private Long id; 18 | 19 | /** 20 | * key 21 | */ 22 | private String name; 23 | 24 | /** 25 | * value 26 | */ 27 | private String value; 28 | 29 | public Long getId() { 30 | return id; 31 | } 32 | 33 | public void setId(Long id) { 34 | this.id = id; 35 | } 36 | 37 | public String getName() { 38 | return name; 39 | } 40 | 41 | public void setName(String name) { 42 | this.name = name; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | public void setValue(String value) { 50 | this.value = value; 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TingcheweiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.TingcheweiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.TingcheweiVO; 12 | import com.entity.view.TingcheweiView; 13 | 14 | 15 | /** 16 | * 停车位 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface TingcheweiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | TingcheweiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | TingcheweiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TousuchuliDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.TousuchuliEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.TousuchuliVO; 12 | import com.entity.view.TousuchuliView; 13 | 14 | 15 | /** 16 | * 投诉处理 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface TousuchuliDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | TousuchuliVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | TousuchuliView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TousuxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.TousuxinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.TousuxinxiVO; 12 | import com.entity.view.TousuxinxiView; 13 | 14 | 15 | /** 16 | * 投诉信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface TousuxinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | TousuxinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | TousuxinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/WeixiuyuanDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.WeixiuyuanEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.WeixiuyuanVO; 12 | import com.entity.view.WeixiuyuanView; 13 | 14 | 15 | /** 16 | * 维修员 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface WeixiuyuanDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | WeixiuyuanVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | WeixiuyuanView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/WuyeguanliDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.WuyeguanliEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.WuyeguanliVO; 12 | import com.entity.view.WuyeguanliView; 13 | 14 | 15 | /** 16 | * 物业管理 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface WuyeguanliDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | WuyeguanliVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | WuyeguanliView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/BaoxiuxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.BaoxiuxinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.BaoxiuxinxiVO; 12 | import com.entity.view.BaoxiuxinxiView; 13 | 14 | 15 | /** 16 | * 报修信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface BaoxiuxinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | BaoxiuxinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | BaoxiuxinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/CheweixinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.CheweixinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.CheweixinxiVO; 12 | import com.entity.view.CheweixinxiView; 13 | 14 | 15 | /** 16 | * 车位信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface CheweixinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | CheweixinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | CheweixinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/FuwupingjiaDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.FuwupingjiaEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.FuwupingjiaVO; 12 | import com.entity.view.FuwupingjiaView; 13 | 14 | 15 | /** 16 | * 服务评价 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface FuwupingjiaDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | FuwupingjiaVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | FuwupingjiaView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TousufenleiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.TousufenleiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.TousufenleiVO; 12 | import com.entity.view.TousufenleiView; 13 | 14 | 15 | /** 16 | * 投诉分类 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface TousufenleiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | TousufenleiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | TousufenleiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/WeixiuchuliDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.WeixiuchuliEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.WeixiuchuliVO; 12 | import com.entity.view.WeixiuchuliView; 13 | 14 | 15 | /** 16 | * 维修处理 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface WeixiuchuliDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | WeixiuchuliVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | WeixiuchuliView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/XiaoquxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.XiaoquxinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.XiaoquxinxiVO; 12 | import com.entity.view.XiaoquxinxiView; 13 | 14 | 15 | /** 16 | * 小区信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface XiaoquxinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | XiaoquxinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | XiaoquxinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/HuodongxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.HuodongxinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.HuodongxinxiVO; 12 | import com.entity.view.HuodongxinxiView; 13 | 14 | 15 | /** 16 | * 活动信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface HuodongxinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | HuodongxinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | HuodongxinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/JiaofeixinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.JiaofeixinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.JiaofeixinxiVO; 12 | import com.entity.view.JiaofeixinxiView; 13 | 14 | 15 | /** 16 | * 缴费信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface JiaofeixinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | JiaofeixinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | JiaofeixinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TingchexinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.TingchexinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.TingchexinxiVO; 12 | import com.entity.view.TingchexinxiView; 13 | 14 | 15 | /** 16 | * 停车信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface TingchexinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | TingchexinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | TingchexinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/FangchanxinxiDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.FangchanxinxiEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.FangchanxinxiVO; 12 | import com.entity.view.FangchanxinxiView; 13 | 14 | 15 | /** 16 | * 房产信息 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface FangchanxinxiDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | FangchanxinxiVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | FangchanxinxiView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/XiaoqugonggaoDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.XiaoqugonggaoEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.XiaoqugonggaoVO; 12 | import com.entity.view.XiaoqugonggaoView; 13 | 14 | 15 | /** 16 | * 小区公告 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public interface XiaoqugonggaoDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | XiaoqugonggaoVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | XiaoqugonggaoView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/entity/UsersEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | 6 | import com.baomidou.mybatisplus.annotations.TableId; 7 | import com.baomidou.mybatisplus.annotations.TableName; 8 | import com.baomidou.mybatisplus.enums.IdType; 9 | 10 | /** 11 | * 用户 12 | */ 13 | @TableName("users") 14 | public class UsersEntity implements Serializable { 15 | private static final long serialVersionUID = 1L; 16 | 17 | @TableId(type = IdType.AUTO) 18 | private Long id; 19 | 20 | /** 21 | * 用户账号 22 | */ 23 | private String username; 24 | 25 | /** 26 | * 密码 27 | */ 28 | private String password; 29 | 30 | /** 31 | * 用户类型 32 | */ 33 | private String role; 34 | 35 | private Date addtime; 36 | 37 | public String getUsername() { 38 | return username; 39 | } 40 | 41 | public void setUsername(String username) { 42 | this.username = username; 43 | } 44 | 45 | public String getPassword() { 46 | return password; 47 | } 48 | 49 | public void setPassword(String password) { 50 | this.password = password; 51 | } 52 | 53 | public String getRole() { 54 | return role; 55 | } 56 | 57 | public void setRole(String role) { 58 | this.role = role; 59 | } 60 | 61 | public Date getAddtime() { 62 | return addtime; 63 | } 64 | 65 | public void setAddtime(Date addtime) { 66 | this.addtime = addtime; 67 | } 68 | 69 | public Long getId() { 70 | return id; 71 | } 72 | 73 | public void setId(Long id) { 74 | this.id = id; 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /src/main/java/com/config/InterceptorConfig.java: -------------------------------------------------------------------------------- 1 | package com.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 6 | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; 7 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; 8 | 9 | import com.interceptor.AuthorizationInterceptor; 10 | 11 | @Configuration 12 | public class InterceptorConfig extends WebMvcConfigurationSupport{ 13 | 14 | @Bean 15 | public AuthorizationInterceptor getAuthorizationInterceptor() { 16 | return new AuthorizationInterceptor(); 17 | } 18 | 19 | @Override 20 | public void addInterceptors(InterceptorRegistry registry) { 21 | registry.addInterceptor(getAuthorizationInterceptor()).addPathPatterns("/**").excludePathPatterns("/static/**"); 22 | super.addInterceptors(registry); 23 | } 24 | 25 | /** 26 | * springboot 2.0配置WebMvcConfigurationSupport之后,会导致默认配置被覆盖,要访问静态资源需要重写addResourceHandlers方法 27 | */ 28 | @Override 29 | public void addResourceHandlers(ResourceHandlerRegistry registry) { 30 | registry.addResourceHandler("/**") 31 | .addResourceLocations("classpath:/resources/") 32 | .addResourceLocations("classpath:/static/") 33 | .addResourceLocations("classpath:/admin/") 34 | .addResourceLocations("classpath:/front/") 35 | .addResourceLocations("classpath:/public/"); 36 | super.addResourceHandlers(registry); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | # Tomcat 2 | server: 3 | tomcat: 4 | uri-encoding: UTF-8 5 | port: 8080 6 | servlet: 7 | context-path: /springboot78ahx 8 | 9 | 10 | spring: 11 | datasource: 12 | driverClassName: com.mysql.cj.jdbc.Driver 13 | url: jdbc:mysql://127.0.0.1:3306/springboot78ahx?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 14 | username: root 15 | password: 123456 16 | 17 | # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver 18 | # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=springboot78ahx 19 | # username: sa 20 | # password: 123456 21 | 22 | servlet: 23 | multipart: 24 | max-file-size: 300MB 25 | max-request-size: 300MB 26 | resources: 27 | static-locations: classpath:static/,file:static/ 28 | 29 | #mybatis 30 | mybatis-plus: 31 | mapper-locations: classpath*:mapper/*.xml 32 | #实体扫描,多个package用逗号或者分号分隔 33 | typeAliasesPackage: com.entity 34 | global-config: 35 | #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; 36 | id-type: 1 37 | #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" 38 | field-strategy: 1 39 | #驼峰下划线转换 40 | db-column-underline: true 41 | #刷新mapper 调试神器 42 | refresh-mapper: true 43 | #逻辑删除配置 44 | logic-delete-value: -1 45 | logic-not-delete-value: 0 46 | #自定义SQL注入器 47 | sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector 48 | configuration: 49 | map-underscore-to-camel-case: true 50 | cache-enabled: false 51 | call-setters-on-nulls: true 52 | #springboot 项目mybatis plus 设置 jdbcTypeForNull (oracle数据库需配置JdbcType.NULL, 默认是Other) 53 | jdbc-type-for-null: 'null' 54 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/TingcheweiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.TingcheweiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 停车位 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class TingcheweiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 车位区号 27 | */ 28 | 29 | private String cheweiquhao; 30 | 31 | /** 32 | * 车位编号 33 | */ 34 | 35 | private String cheweibianhao; 36 | 37 | /** 38 | * 车场类型 39 | */ 40 | 41 | private String chechangleixing; 42 | 43 | /** 44 | * 状态 45 | */ 46 | 47 | private String zhuangtai; 48 | 49 | 50 | /** 51 | * 设置:车位区号 52 | */ 53 | 54 | public void setCheweiquhao(String cheweiquhao) { 55 | this.cheweiquhao = cheweiquhao; 56 | } 57 | 58 | /** 59 | * 获取:车位区号 60 | */ 61 | public String getCheweiquhao() { 62 | return cheweiquhao; 63 | } 64 | 65 | 66 | /** 67 | * 设置:车位编号 68 | */ 69 | 70 | public void setCheweibianhao(String cheweibianhao) { 71 | this.cheweibianhao = cheweibianhao; 72 | } 73 | 74 | /** 75 | * 获取:车位编号 76 | */ 77 | public String getCheweibianhao() { 78 | return cheweibianhao; 79 | } 80 | 81 | 82 | /** 83 | * 设置:车场类型 84 | */ 85 | 86 | public void setChechangleixing(String chechangleixing) { 87 | this.chechangleixing = chechangleixing; 88 | } 89 | 90 | /** 91 | * 获取:车场类型 92 | */ 93 | public String getChechangleixing() { 94 | return chechangleixing; 95 | } 96 | 97 | 98 | /** 99 | * 设置:状态 100 | */ 101 | 102 | public void setZhuangtai(String zhuangtai) { 103 | this.zhuangtai = zhuangtai; 104 | } 105 | 106 | /** 107 | * 获取:状态 108 | */ 109 | public String getZhuangtai() { 110 | return zhuangtai; 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/XiaoqugonggaoVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.XiaoqugonggaoEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 小区公告 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class XiaoqugonggaoVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 类型 27 | */ 28 | 29 | private String leixing; 30 | 31 | /** 32 | * 图片 33 | */ 34 | 35 | private String tupian; 36 | 37 | /** 38 | * 公告内容 39 | */ 40 | 41 | private String gonggaoneirong; 42 | 43 | /** 44 | * 发布时间 45 | */ 46 | 47 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 48 | @DateTimeFormat 49 | private Date fabushijian; 50 | 51 | 52 | /** 53 | * 设置:类型 54 | */ 55 | 56 | public void setLeixing(String leixing) { 57 | this.leixing = leixing; 58 | } 59 | 60 | /** 61 | * 获取:类型 62 | */ 63 | public String getLeixing() { 64 | return leixing; 65 | } 66 | 67 | 68 | /** 69 | * 设置:图片 70 | */ 71 | 72 | public void setTupian(String tupian) { 73 | this.tupian = tupian; 74 | } 75 | 76 | /** 77 | * 获取:图片 78 | */ 79 | public String getTupian() { 80 | return tupian; 81 | } 82 | 83 | 84 | /** 85 | * 设置:公告内容 86 | */ 87 | 88 | public void setGonggaoneirong(String gonggaoneirong) { 89 | this.gonggaoneirong = gonggaoneirong; 90 | } 91 | 92 | /** 93 | * 获取:公告内容 94 | */ 95 | public String getGonggaoneirong() { 96 | return gonggaoneirong; 97 | } 98 | 99 | 100 | /** 101 | * 设置:发布时间 102 | */ 103 | 104 | public void setFabushijian(Date fabushijian) { 105 | this.fabushijian = fabushijian; 106 | } 107 | 108 | /** 109 | * 获取:发布时间 110 | */ 111 | public Date getFabushijian() { 112 | return fabushijian; 113 | } 114 | 115 | } 116 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/HuodongxinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.HuodongxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 活动信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class HuodongxinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 活动类型 27 | */ 28 | 29 | private String huodongleixing; 30 | 31 | /** 32 | * 活动时间 33 | */ 34 | 35 | private String huodongshijian; 36 | 37 | /** 38 | * 活动地址 39 | */ 40 | 41 | private String huodongdizhi; 42 | 43 | /** 44 | * 活动结果 45 | */ 46 | 47 | private String huodongjieguo; 48 | 49 | 50 | /** 51 | * 设置:活动类型 52 | */ 53 | 54 | public void setHuodongleixing(String huodongleixing) { 55 | this.huodongleixing = huodongleixing; 56 | } 57 | 58 | /** 59 | * 获取:活动类型 60 | */ 61 | public String getHuodongleixing() { 62 | return huodongleixing; 63 | } 64 | 65 | 66 | /** 67 | * 设置:活动时间 68 | */ 69 | 70 | public void setHuodongshijian(String huodongshijian) { 71 | this.huodongshijian = huodongshijian; 72 | } 73 | 74 | /** 75 | * 获取:活动时间 76 | */ 77 | public String getHuodongshijian() { 78 | return huodongshijian; 79 | } 80 | 81 | 82 | /** 83 | * 设置:活动地址 84 | */ 85 | 86 | public void setHuodongdizhi(String huodongdizhi) { 87 | this.huodongdizhi = huodongdizhi; 88 | } 89 | 90 | /** 91 | * 获取:活动地址 92 | */ 93 | public String getHuodongdizhi() { 94 | return huodongdizhi; 95 | } 96 | 97 | 98 | /** 99 | * 设置:活动结果 100 | */ 101 | 102 | public void setHuodongjieguo(String huodongjieguo) { 103 | this.huodongjieguo = huodongjieguo; 104 | } 105 | 106 | /** 107 | * 获取:活动结果 108 | */ 109 | public String getHuodongjieguo() { 110 | return huodongjieguo; 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/TingcheweiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.TingcheweiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 停车位 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class TingcheweiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 车位区号 28 | */ 29 | 30 | private String cheweiquhao; 31 | 32 | /** 33 | * 车位编号 34 | */ 35 | 36 | private String cheweibianhao; 37 | 38 | /** 39 | * 车场类型 40 | */ 41 | 42 | private String chechangleixing; 43 | 44 | /** 45 | * 状态 46 | */ 47 | 48 | private String zhuangtai; 49 | 50 | 51 | /** 52 | * 设置:车位区号 53 | */ 54 | 55 | public void setCheweiquhao(String cheweiquhao) { 56 | this.cheweiquhao = cheweiquhao; 57 | } 58 | 59 | /** 60 | * 获取:车位区号 61 | */ 62 | public String getCheweiquhao() { 63 | return cheweiquhao; 64 | } 65 | 66 | 67 | /** 68 | * 设置:车位编号 69 | */ 70 | 71 | public void setCheweibianhao(String cheweibianhao) { 72 | this.cheweibianhao = cheweibianhao; 73 | } 74 | 75 | /** 76 | * 获取:车位编号 77 | */ 78 | public String getCheweibianhao() { 79 | return cheweibianhao; 80 | } 81 | 82 | 83 | /** 84 | * 设置:车场类型 85 | */ 86 | 87 | public void setChechangleixing(String chechangleixing) { 88 | this.chechangleixing = chechangleixing; 89 | } 90 | 91 | /** 92 | * 获取:车场类型 93 | */ 94 | public String getChechangleixing() { 95 | return chechangleixing; 96 | } 97 | 98 | 99 | /** 100 | * 设置:状态 101 | */ 102 | 103 | public void setZhuangtai(String zhuangtai) { 104 | this.zhuangtai = zhuangtai; 105 | } 106 | 107 | /** 108 | * 获取:状态 109 | */ 110 | public String getZhuangtai() { 111 | return zhuangtai; 112 | } 113 | 114 | } 115 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/XiaoqugonggaoModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.XiaoqugonggaoEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 小区公告 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class XiaoqugonggaoModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 类型 28 | */ 29 | 30 | private String leixing; 31 | 32 | /** 33 | * 图片 34 | */ 35 | 36 | private String tupian; 37 | 38 | /** 39 | * 公告内容 40 | */ 41 | 42 | private String gonggaoneirong; 43 | 44 | /** 45 | * 发布时间 46 | */ 47 | 48 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 49 | @DateTimeFormat 50 | private Date fabushijian; 51 | 52 | 53 | /** 54 | * 设置:类型 55 | */ 56 | 57 | public void setLeixing(String leixing) { 58 | this.leixing = leixing; 59 | } 60 | 61 | /** 62 | * 获取:类型 63 | */ 64 | public String getLeixing() { 65 | return leixing; 66 | } 67 | 68 | 69 | /** 70 | * 设置:图片 71 | */ 72 | 73 | public void setTupian(String tupian) { 74 | this.tupian = tupian; 75 | } 76 | 77 | /** 78 | * 获取:图片 79 | */ 80 | public String getTupian() { 81 | return tupian; 82 | } 83 | 84 | 85 | /** 86 | * 设置:公告内容 87 | */ 88 | 89 | public void setGonggaoneirong(String gonggaoneirong) { 90 | this.gonggaoneirong = gonggaoneirong; 91 | } 92 | 93 | /** 94 | * 获取:公告内容 95 | */ 96 | public String getGonggaoneirong() { 97 | return gonggaoneirong; 98 | } 99 | 100 | 101 | /** 102 | * 设置:发布时间 103 | */ 104 | 105 | public void setFabushijian(Date fabushijian) { 106 | this.fabushijian = fabushijian; 107 | } 108 | 109 | /** 110 | * 获取:发布时间 111 | */ 112 | public Date getFabushijian() { 113 | return fabushijian; 114 | } 115 | 116 | } 117 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TousufenleiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 投诉分类 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("tousufenlei") 32 | public class TousufenleiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public TousufenleiEntity() { 37 | 38 | } 39 | 40 | public TousufenleiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 投诉分类 56 | */ 57 | 58 | private String tousufenlei; 59 | 60 | 61 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 62 | @DateTimeFormat 63 | private Date addtime; 64 | 65 | public Date getAddtime() { 66 | return addtime; 67 | } 68 | public void setAddtime(Date addtime) { 69 | this.addtime = addtime; 70 | } 71 | 72 | public Long getId() { 73 | return id; 74 | } 75 | 76 | public void setId(Long id) { 77 | this.id = id; 78 | } 79 | /** 80 | * 设置:投诉分类 81 | */ 82 | public void setTousufenlei(String tousufenlei) { 83 | this.tousufenlei = tousufenlei; 84 | } 85 | /** 86 | * 获取:投诉分类 87 | */ 88 | public String getTousufenlei() { 89 | return tousufenlei; 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/HuodongxinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.HuodongxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 活动信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class HuodongxinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 活动类型 28 | */ 29 | 30 | private String huodongleixing; 31 | 32 | /** 33 | * 活动时间 34 | */ 35 | 36 | private String huodongshijian; 37 | 38 | /** 39 | * 活动地址 40 | */ 41 | 42 | private String huodongdizhi; 43 | 44 | /** 45 | * 活动结果 46 | */ 47 | 48 | private String huodongjieguo; 49 | 50 | 51 | /** 52 | * 设置:活动类型 53 | */ 54 | 55 | public void setHuodongleixing(String huodongleixing) { 56 | this.huodongleixing = huodongleixing; 57 | } 58 | 59 | /** 60 | * 获取:活动类型 61 | */ 62 | public String getHuodongleixing() { 63 | return huodongleixing; 64 | } 65 | 66 | 67 | /** 68 | * 设置:活动时间 69 | */ 70 | 71 | public void setHuodongshijian(String huodongshijian) { 72 | this.huodongshijian = huodongshijian; 73 | } 74 | 75 | /** 76 | * 获取:活动时间 77 | */ 78 | public String getHuodongshijian() { 79 | return huodongshijian; 80 | } 81 | 82 | 83 | /** 84 | * 设置:活动地址 85 | */ 86 | 87 | public void setHuodongdizhi(String huodongdizhi) { 88 | this.huodongdizhi = huodongdizhi; 89 | } 90 | 91 | /** 92 | * 获取:活动地址 93 | */ 94 | public String getHuodongdizhi() { 95 | return huodongdizhi; 96 | } 97 | 98 | 99 | /** 100 | * 设置:活动结果 101 | */ 102 | 103 | public void setHuodongjieguo(String huodongjieguo) { 104 | this.huodongjieguo = huodongjieguo; 105 | } 106 | 107 | /** 108 | * 获取:活动结果 109 | */ 110 | public String getHuodongjieguo() { 111 | return huodongjieguo; 112 | } 113 | 114 | } 115 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/XiaoquxinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.XiaoquxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 小区信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class XiaoquxinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 小区类型 27 | */ 28 | 29 | private String xiaoquleixing; 30 | 31 | /** 32 | * 物业名称 33 | */ 34 | 35 | private String wuyemingcheng; 36 | 37 | /** 38 | * 小区人数 39 | */ 40 | 41 | private Integer xiaoqurenshu; 42 | 43 | /** 44 | * 小区位置 45 | */ 46 | 47 | private String xiaoquweizhi; 48 | 49 | /** 50 | * 小区简介 51 | */ 52 | 53 | private String xiaoqujianjie; 54 | 55 | 56 | /** 57 | * 设置:小区类型 58 | */ 59 | 60 | public void setXiaoquleixing(String xiaoquleixing) { 61 | this.xiaoquleixing = xiaoquleixing; 62 | } 63 | 64 | /** 65 | * 获取:小区类型 66 | */ 67 | public String getXiaoquleixing() { 68 | return xiaoquleixing; 69 | } 70 | 71 | 72 | /** 73 | * 设置:物业名称 74 | */ 75 | 76 | public void setWuyemingcheng(String wuyemingcheng) { 77 | this.wuyemingcheng = wuyemingcheng; 78 | } 79 | 80 | /** 81 | * 获取:物业名称 82 | */ 83 | public String getWuyemingcheng() { 84 | return wuyemingcheng; 85 | } 86 | 87 | 88 | /** 89 | * 设置:小区人数 90 | */ 91 | 92 | public void setXiaoqurenshu(Integer xiaoqurenshu) { 93 | this.xiaoqurenshu = xiaoqurenshu; 94 | } 95 | 96 | /** 97 | * 获取:小区人数 98 | */ 99 | public Integer getXiaoqurenshu() { 100 | return xiaoqurenshu; 101 | } 102 | 103 | 104 | /** 105 | * 设置:小区位置 106 | */ 107 | 108 | public void setXiaoquweizhi(String xiaoquweizhi) { 109 | this.xiaoquweizhi = xiaoquweizhi; 110 | } 111 | 112 | /** 113 | * 获取:小区位置 114 | */ 115 | public String getXiaoquweizhi() { 116 | return xiaoquweizhi; 117 | } 118 | 119 | 120 | /** 121 | * 设置:小区简介 122 | */ 123 | 124 | public void setXiaoqujianjie(String xiaoqujianjie) { 125 | this.xiaoqujianjie = xiaoqujianjie; 126 | } 127 | 128 | /** 129 | * 获取:小区简介 130 | */ 131 | public String getXiaoqujianjie() { 132 | return xiaoqujianjie; 133 | } 134 | 135 | } 136 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/TousuchuliVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.TousuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉处理 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class TousuchuliVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 投诉分类 27 | */ 28 | 29 | private String tousufenlei; 30 | 31 | /** 32 | * 处理结果 33 | */ 34 | 35 | private String chulijieguo; 36 | 37 | /** 38 | * 处理时间 39 | */ 40 | 41 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 42 | @DateTimeFormat 43 | private Date chulishijian; 44 | 45 | /** 46 | * 用户名 47 | */ 48 | 49 | private String yonghuming; 50 | 51 | /** 52 | * 业主姓名 53 | */ 54 | 55 | private String yezhuxingming; 56 | 57 | 58 | /** 59 | * 设置:投诉分类 60 | */ 61 | 62 | public void setTousufenlei(String tousufenlei) { 63 | this.tousufenlei = tousufenlei; 64 | } 65 | 66 | /** 67 | * 获取:投诉分类 68 | */ 69 | public String getTousufenlei() { 70 | return tousufenlei; 71 | } 72 | 73 | 74 | /** 75 | * 设置:处理结果 76 | */ 77 | 78 | public void setChulijieguo(String chulijieguo) { 79 | this.chulijieguo = chulijieguo; 80 | } 81 | 82 | /** 83 | * 获取:处理结果 84 | */ 85 | public String getChulijieguo() { 86 | return chulijieguo; 87 | } 88 | 89 | 90 | /** 91 | * 设置:处理时间 92 | */ 93 | 94 | public void setChulishijian(Date chulishijian) { 95 | this.chulishijian = chulishijian; 96 | } 97 | 98 | /** 99 | * 获取:处理时间 100 | */ 101 | public Date getChulishijian() { 102 | return chulishijian; 103 | } 104 | 105 | 106 | /** 107 | * 设置:用户名 108 | */ 109 | 110 | public void setYonghuming(String yonghuming) { 111 | this.yonghuming = yonghuming; 112 | } 113 | 114 | /** 115 | * 获取:用户名 116 | */ 117 | public String getYonghuming() { 118 | return yonghuming; 119 | } 120 | 121 | 122 | /** 123 | * 设置:业主姓名 124 | */ 125 | 126 | public void setYezhuxingming(String yezhuxingming) { 127 | this.yezhuxingming = yezhuxingming; 128 | } 129 | 130 | /** 131 | * 获取:业主姓名 132 | */ 133 | public String getYezhuxingming() { 134 | return yezhuxingming; 135 | } 136 | 137 | } 138 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/XiaoquxinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.XiaoquxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 小区信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class XiaoquxinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 小区类型 28 | */ 29 | 30 | private String xiaoquleixing; 31 | 32 | /** 33 | * 物业名称 34 | */ 35 | 36 | private String wuyemingcheng; 37 | 38 | /** 39 | * 小区人数 40 | */ 41 | 42 | private Integer xiaoqurenshu; 43 | 44 | /** 45 | * 小区位置 46 | */ 47 | 48 | private String xiaoquweizhi; 49 | 50 | /** 51 | * 小区简介 52 | */ 53 | 54 | private String xiaoqujianjie; 55 | 56 | 57 | /** 58 | * 设置:小区类型 59 | */ 60 | 61 | public void setXiaoquleixing(String xiaoquleixing) { 62 | this.xiaoquleixing = xiaoquleixing; 63 | } 64 | 65 | /** 66 | * 获取:小区类型 67 | */ 68 | public String getXiaoquleixing() { 69 | return xiaoquleixing; 70 | } 71 | 72 | 73 | /** 74 | * 设置:物业名称 75 | */ 76 | 77 | public void setWuyemingcheng(String wuyemingcheng) { 78 | this.wuyemingcheng = wuyemingcheng; 79 | } 80 | 81 | /** 82 | * 获取:物业名称 83 | */ 84 | public String getWuyemingcheng() { 85 | return wuyemingcheng; 86 | } 87 | 88 | 89 | /** 90 | * 设置:小区人数 91 | */ 92 | 93 | public void setXiaoqurenshu(Integer xiaoqurenshu) { 94 | this.xiaoqurenshu = xiaoqurenshu; 95 | } 96 | 97 | /** 98 | * 获取:小区人数 99 | */ 100 | public Integer getXiaoqurenshu() { 101 | return xiaoqurenshu; 102 | } 103 | 104 | 105 | /** 106 | * 设置:小区位置 107 | */ 108 | 109 | public void setXiaoquweizhi(String xiaoquweizhi) { 110 | this.xiaoquweizhi = xiaoquweizhi; 111 | } 112 | 113 | /** 114 | * 获取:小区位置 115 | */ 116 | public String getXiaoquweizhi() { 117 | return xiaoquweizhi; 118 | } 119 | 120 | 121 | /** 122 | * 设置:小区简介 123 | */ 124 | 125 | public void setXiaoqujianjie(String xiaoqujianjie) { 126 | this.xiaoqujianjie = xiaoqujianjie; 127 | } 128 | 129 | /** 130 | * 获取:小区简介 131 | */ 132 | public String getXiaoqujianjie() { 133 | return xiaoqujianjie; 134 | } 135 | 136 | } 137 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 基于SpringBoot的物业管理系统(程序+论文) 2 | = 3 | - 完整代码获取地址:从戎源码网 ([https://armycodes.com/](https://armycodes.com/)) 4 | - 作者微信:19941326836 QQ:952045282 5 | - 承接计算机毕业设计、Java毕业设计、Python毕业设计、深度学习、机器学习 6 | - 选题+开题报告+任务书+程序定制+安装调试+论文+答辩ppt 一条龙服务 7 | - 所有选题地址https://github.com/nature924/allProject 8 | 9 | 一、项目介绍 10 | --- 11 | 基于Spring Boot框架实现的物业管理系统,系统包含两种角色:管理员、用户,系统分为前台和后台两大模块,主要功能如下。 12 | 13 | 14 | ### 后台: 15 | ### 管理员角色: 16 | - 个人中心:管理员可以管理个人信息,修改密码等。 17 | - 物业管理:管理员可以管理物业服务相关的信息。 18 | - 业主管理:管理员可以对业主信息进行增删改查等操作。 19 | - 维修员管理:管理员可以管理维修员信息。 20 | - 小区公告管理:管理员可以发布小区相关的公告通知。 21 | - 小区信息管理:管理员可以管理小区的基本信息。 22 | - 房产信息管理:管理员可以管理房产的基本信息。 23 | - 车位信息管理:管理员可以管理车位的基本信息。 24 | - 停车位管理:管理员可以管理停车位的分配情况。 25 | - 停车信息管理:管理员可以管理停车记录。 26 | - 缴费信息管理:管理员可以管理业主的缴费信息。 27 | - 投诉分类管理:管理员可以管理投诉的分类信息。 28 | - 投诉信息管理:管理员可以管理业主的投诉信息。 29 | 30 | ### 用户角色: 31 | - 个人中心:用户可以管理个人信息,修改密码等。 32 | - 小区公告管理:用户可以查看小区发布的公告通知。 33 | - 小区信息管理:用户可以查看小区的基本信息。 34 | - 车位信息管理:用户可以查看车位的基本信息。 35 | - 停车位管理:用户可以查看停车位的分配情况。 36 | - 停车信息管理:用户可以查看自己的停车记录。 37 | - 缴费信息管理:用户可以查看自己的缴费信息。 38 | - 投诉信息管理:用户可以提交投诉信息。 39 | - 投诉处理管理:用户可以查看和处理自己提交的投诉信息。 40 | - 报修信息管理:用户可以提交报修信息。 41 | - 维修处理管理:用户可以查看和处理自己提交的报修信息。 42 | - 服务评价管理:用户可以对物业服务进行评价。 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 | - 编程语言:Java 72 | - 数据库:MySQL 73 | - 项目管理工具:Maven 74 | - 前端技术:VUE、HTML、Jquery、Bootstrap 75 | - 后端技术:Spring、SpringMVC、MyBatis 76 | 77 | 三、运行环境 78 | --- 79 | - 操作系统:Windows、macOS都可以 80 | - JDK版本:JDK1.8以上都可以 81 | - 开发工具:IDEA、Ecplise、Myecplise都可以 82 | - 数据库: MySQL5.7以上都可以 83 | - Tomcat:任意版本都可以 84 | - Maven:任意版本都可以 85 | 86 | 四、运行截图 87 | --- 88 | ### 论文截图: 89 | ![image/1.png](limage/1.png) 90 | ![image/1.png](limage/2.png) 91 | 92 | ### 程序截图: 93 | ![image/1.png](image/1.png) 94 | ![image/1.png](image/2.png) 95 | ![image/1.png](image/3.png) 96 | ![image/1.png](image/4.png) 97 | ![image/1.png](image/5.png) 98 | ![image/1.png](image/6.png) 99 | ![image/1.png](image/7.png) 100 | ![image/1.png](image/8.png) 101 | ![image/1.png](image/9.png) 102 | ![image/1.png](image/10.png) 103 | 104 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/TousuchuliModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.TousuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉处理 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class TousuchuliModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 投诉分类 28 | */ 29 | 30 | private String tousufenlei; 31 | 32 | /** 33 | * 处理结果 34 | */ 35 | 36 | private String chulijieguo; 37 | 38 | /** 39 | * 处理时间 40 | */ 41 | 42 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 43 | @DateTimeFormat 44 | private Date chulishijian; 45 | 46 | /** 47 | * 用户名 48 | */ 49 | 50 | private String yonghuming; 51 | 52 | /** 53 | * 业主姓名 54 | */ 55 | 56 | private String yezhuxingming; 57 | 58 | 59 | /** 60 | * 设置:投诉分类 61 | */ 62 | 63 | public void setTousufenlei(String tousufenlei) { 64 | this.tousufenlei = tousufenlei; 65 | } 66 | 67 | /** 68 | * 获取:投诉分类 69 | */ 70 | public String getTousufenlei() { 71 | return tousufenlei; 72 | } 73 | 74 | 75 | /** 76 | * 设置:处理结果 77 | */ 78 | 79 | public void setChulijieguo(String chulijieguo) { 80 | this.chulijieguo = chulijieguo; 81 | } 82 | 83 | /** 84 | * 获取:处理结果 85 | */ 86 | public String getChulijieguo() { 87 | return chulijieguo; 88 | } 89 | 90 | 91 | /** 92 | * 设置:处理时间 93 | */ 94 | 95 | public void setChulishijian(Date chulishijian) { 96 | this.chulishijian = chulishijian; 97 | } 98 | 99 | /** 100 | * 获取:处理时间 101 | */ 102 | public Date getChulishijian() { 103 | return chulishijian; 104 | } 105 | 106 | 107 | /** 108 | * 设置:用户名 109 | */ 110 | 111 | public void setYonghuming(String yonghuming) { 112 | this.yonghuming = yonghuming; 113 | } 114 | 115 | /** 116 | * 获取:用户名 117 | */ 118 | public String getYonghuming() { 119 | return yonghuming; 120 | } 121 | 122 | 123 | /** 124 | * 设置:业主姓名 125 | */ 126 | 127 | public void setYezhuxingming(String yezhuxingming) { 128 | this.yezhuxingming = yezhuxingming; 129 | } 130 | 131 | /** 132 | * 获取:业主姓名 133 | */ 134 | public String getYezhuxingming() { 135 | return yezhuxingming; 136 | } 137 | 138 | } 139 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/WeixiuyuanVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.WeixiuyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 维修员 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class WeixiuyuanVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 密码 27 | */ 28 | 29 | private String mima; 30 | 31 | /** 32 | * 姓名 33 | */ 34 | 35 | private String xingming; 36 | 37 | /** 38 | * 性别 39 | */ 40 | 41 | private String xingbie; 42 | 43 | /** 44 | * 年龄 45 | */ 46 | 47 | private String nianling; 48 | 49 | /** 50 | * 邮箱 51 | */ 52 | 53 | private String youxiang; 54 | 55 | /** 56 | * 电话 57 | */ 58 | 59 | private String dianhua; 60 | 61 | 62 | /** 63 | * 设置:密码 64 | */ 65 | 66 | public void setMima(String mima) { 67 | this.mima = mima; 68 | } 69 | 70 | /** 71 | * 获取:密码 72 | */ 73 | public String getMima() { 74 | return mima; 75 | } 76 | 77 | 78 | /** 79 | * 设置:姓名 80 | */ 81 | 82 | public void setXingming(String xingming) { 83 | this.xingming = xingming; 84 | } 85 | 86 | /** 87 | * 获取:姓名 88 | */ 89 | public String getXingming() { 90 | return xingming; 91 | } 92 | 93 | 94 | /** 95 | * 设置:性别 96 | */ 97 | 98 | public void setXingbie(String xingbie) { 99 | this.xingbie = xingbie; 100 | } 101 | 102 | /** 103 | * 获取:性别 104 | */ 105 | public String getXingbie() { 106 | return xingbie; 107 | } 108 | 109 | 110 | /** 111 | * 设置:年龄 112 | */ 113 | 114 | public void setNianling(String nianling) { 115 | this.nianling = nianling; 116 | } 117 | 118 | /** 119 | * 获取:年龄 120 | */ 121 | public String getNianling() { 122 | return nianling; 123 | } 124 | 125 | 126 | /** 127 | * 设置:邮箱 128 | */ 129 | 130 | public void setYouxiang(String youxiang) { 131 | this.youxiang = youxiang; 132 | } 133 | 134 | /** 135 | * 获取:邮箱 136 | */ 137 | public String getYouxiang() { 138 | return youxiang; 139 | } 140 | 141 | 142 | /** 143 | * 设置:电话 144 | */ 145 | 146 | public void setDianhua(String dianhua) { 147 | this.dianhua = dianhua; 148 | } 149 | 150 | /** 151 | * 获取:电话 152 | */ 153 | public String getDianhua() { 154 | return dianhua; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/WuyeguanliVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.WuyeguanliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 物业管理 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class WuyeguanliVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 密码 27 | */ 28 | 29 | private String mima; 30 | 31 | /** 32 | * 姓名 33 | */ 34 | 35 | private String xingming; 36 | 37 | /** 38 | * 性别 39 | */ 40 | 41 | private String xingbie; 42 | 43 | /** 44 | * 年龄 45 | */ 46 | 47 | private String nianling; 48 | 49 | /** 50 | * 邮箱 51 | */ 52 | 53 | private String youxiang; 54 | 55 | /** 56 | * 电话 57 | */ 58 | 59 | private String dianhua; 60 | 61 | 62 | /** 63 | * 设置:密码 64 | */ 65 | 66 | public void setMima(String mima) { 67 | this.mima = mima; 68 | } 69 | 70 | /** 71 | * 获取:密码 72 | */ 73 | public String getMima() { 74 | return mima; 75 | } 76 | 77 | 78 | /** 79 | * 设置:姓名 80 | */ 81 | 82 | public void setXingming(String xingming) { 83 | this.xingming = xingming; 84 | } 85 | 86 | /** 87 | * 获取:姓名 88 | */ 89 | public String getXingming() { 90 | return xingming; 91 | } 92 | 93 | 94 | /** 95 | * 设置:性别 96 | */ 97 | 98 | public void setXingbie(String xingbie) { 99 | this.xingbie = xingbie; 100 | } 101 | 102 | /** 103 | * 获取:性别 104 | */ 105 | public String getXingbie() { 106 | return xingbie; 107 | } 108 | 109 | 110 | /** 111 | * 设置:年龄 112 | */ 113 | 114 | public void setNianling(String nianling) { 115 | this.nianling = nianling; 116 | } 117 | 118 | /** 119 | * 获取:年龄 120 | */ 121 | public String getNianling() { 122 | return nianling; 123 | } 124 | 125 | 126 | /** 127 | * 设置:邮箱 128 | */ 129 | 130 | public void setYouxiang(String youxiang) { 131 | this.youxiang = youxiang; 132 | } 133 | 134 | /** 135 | * 获取:邮箱 136 | */ 137 | public String getYouxiang() { 138 | return youxiang; 139 | } 140 | 141 | 142 | /** 143 | * 设置:电话 144 | */ 145 | 146 | public void setDianhua(String dianhua) { 147 | this.dianhua = dianhua; 148 | } 149 | 150 | /** 151 | * 获取:电话 152 | */ 153 | public String getDianhua() { 154 | return dianhua; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/YezhuVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.YezhuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 业主 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class YezhuVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 密码 27 | */ 28 | 29 | private String mima; 30 | 31 | /** 32 | * 业主姓名 33 | */ 34 | 35 | private String yezhuxingming; 36 | 37 | /** 38 | * 性别 39 | */ 40 | 41 | private String xingbie; 42 | 43 | /** 44 | * 年龄 45 | */ 46 | 47 | private String nianling; 48 | 49 | /** 50 | * 邮箱 51 | */ 52 | 53 | private String youxiang; 54 | 55 | /** 56 | * 手机 57 | */ 58 | 59 | private String shouji; 60 | 61 | 62 | /** 63 | * 设置:密码 64 | */ 65 | 66 | public void setMima(String mima) { 67 | this.mima = mima; 68 | } 69 | 70 | /** 71 | * 获取:密码 72 | */ 73 | public String getMima() { 74 | return mima; 75 | } 76 | 77 | 78 | /** 79 | * 设置:业主姓名 80 | */ 81 | 82 | public void setYezhuxingming(String yezhuxingming) { 83 | this.yezhuxingming = yezhuxingming; 84 | } 85 | 86 | /** 87 | * 获取:业主姓名 88 | */ 89 | public String getYezhuxingming() { 90 | return yezhuxingming; 91 | } 92 | 93 | 94 | /** 95 | * 设置:性别 96 | */ 97 | 98 | public void setXingbie(String xingbie) { 99 | this.xingbie = xingbie; 100 | } 101 | 102 | /** 103 | * 获取:性别 104 | */ 105 | public String getXingbie() { 106 | return xingbie; 107 | } 108 | 109 | 110 | /** 111 | * 设置:年龄 112 | */ 113 | 114 | public void setNianling(String nianling) { 115 | this.nianling = nianling; 116 | } 117 | 118 | /** 119 | * 获取:年龄 120 | */ 121 | public String getNianling() { 122 | return nianling; 123 | } 124 | 125 | 126 | /** 127 | * 设置:邮箱 128 | */ 129 | 130 | public void setYouxiang(String youxiang) { 131 | this.youxiang = youxiang; 132 | } 133 | 134 | /** 135 | * 获取:邮箱 136 | */ 137 | public String getYouxiang() { 138 | return youxiang; 139 | } 140 | 141 | 142 | /** 143 | * 设置:手机 144 | */ 145 | 146 | public void setShouji(String shouji) { 147 | this.shouji = shouji; 148 | } 149 | 150 | /** 151 | * 获取:手机 152 | */ 153 | public String getShouji() { 154 | return shouji; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TokenEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | 6 | import com.baomidou.mybatisplus.annotations.TableId; 7 | import com.baomidou.mybatisplus.annotations.TableName; 8 | import com.baomidou.mybatisplus.enums.IdType; 9 | 10 | /** 11 | * token表 12 | */ 13 | @TableName("token") 14 | public class TokenEntity implements Serializable { 15 | private static final long serialVersionUID = 1L; 16 | 17 | @TableId(type = IdType.AUTO) 18 | private Long id; 19 | 20 | /** 21 | * 用户id 22 | */ 23 | private Long userid; 24 | 25 | /** 26 | * 用户名 27 | */ 28 | private String username; 29 | 30 | /** 31 | * 表名 32 | */ 33 | private String tablename; 34 | 35 | /** 36 | * 角色 37 | */ 38 | private String role; 39 | 40 | /** 41 | * token 42 | */ 43 | private String token; 44 | 45 | /** 46 | * 过期时间 47 | */ 48 | private Date expiratedtime; 49 | 50 | /** 51 | * 新增时间 52 | */ 53 | private Date addtime; 54 | 55 | public Long getId() { 56 | return id; 57 | } 58 | 59 | public void setId(Long id) { 60 | this.id = id; 61 | } 62 | 63 | public Long getUserid() { 64 | return userid; 65 | } 66 | 67 | public void setUserid(Long userid) { 68 | this.userid = userid; 69 | } 70 | 71 | public String getRole() { 72 | return role; 73 | } 74 | 75 | public void setRole(String role) { 76 | this.role = role; 77 | } 78 | 79 | public String getToken() { 80 | return token; 81 | } 82 | 83 | public String getTablename() { 84 | return tablename; 85 | } 86 | 87 | public void setTablename(String tablename) { 88 | this.tablename = tablename; 89 | } 90 | 91 | public void setToken(String token) { 92 | this.token = token; 93 | } 94 | 95 | public Date getExpiratedtime() { 96 | return expiratedtime; 97 | } 98 | 99 | public void setExpiratedtime(Date expiratedtime) { 100 | this.expiratedtime = expiratedtime; 101 | } 102 | 103 | public Date getAddtime() { 104 | return addtime; 105 | } 106 | 107 | public void setAddtime(Date addtime) { 108 | this.addtime = addtime; 109 | } 110 | 111 | public String getUsername() { 112 | return username; 113 | } 114 | 115 | public void setUsername(String username) { 116 | this.username = username; 117 | } 118 | 119 | public TokenEntity(Long userid, String username, String tablename,String role, String token, Date expiratedtime) { 120 | super(); 121 | this.userid = userid; 122 | this.username = username; 123 | this.tablename = tablename; 124 | this.role = role; 125 | this.token = token; 126 | this.expiratedtime = expiratedtime; 127 | } 128 | 129 | public TokenEntity() { 130 | } 131 | 132 | } 133 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/WeixiuyuanModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.WeixiuyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 维修员 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class WeixiuyuanModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 密码 28 | */ 29 | 30 | private String mima; 31 | 32 | /** 33 | * 姓名 34 | */ 35 | 36 | private String xingming; 37 | 38 | /** 39 | * 性别 40 | */ 41 | 42 | private String xingbie; 43 | 44 | /** 45 | * 年龄 46 | */ 47 | 48 | private String nianling; 49 | 50 | /** 51 | * 邮箱 52 | */ 53 | 54 | private String youxiang; 55 | 56 | /** 57 | * 电话 58 | */ 59 | 60 | private String dianhua; 61 | 62 | 63 | /** 64 | * 设置:密码 65 | */ 66 | 67 | public void setMima(String mima) { 68 | this.mima = mima; 69 | } 70 | 71 | /** 72 | * 获取:密码 73 | */ 74 | public String getMima() { 75 | return mima; 76 | } 77 | 78 | 79 | /** 80 | * 设置:姓名 81 | */ 82 | 83 | public void setXingming(String xingming) { 84 | this.xingming = xingming; 85 | } 86 | 87 | /** 88 | * 获取:姓名 89 | */ 90 | public String getXingming() { 91 | return xingming; 92 | } 93 | 94 | 95 | /** 96 | * 设置:性别 97 | */ 98 | 99 | public void setXingbie(String xingbie) { 100 | this.xingbie = xingbie; 101 | } 102 | 103 | /** 104 | * 获取:性别 105 | */ 106 | public String getXingbie() { 107 | return xingbie; 108 | } 109 | 110 | 111 | /** 112 | * 设置:年龄 113 | */ 114 | 115 | public void setNianling(String nianling) { 116 | this.nianling = nianling; 117 | } 118 | 119 | /** 120 | * 获取:年龄 121 | */ 122 | public String getNianling() { 123 | return nianling; 124 | } 125 | 126 | 127 | /** 128 | * 设置:邮箱 129 | */ 130 | 131 | public void setYouxiang(String youxiang) { 132 | this.youxiang = youxiang; 133 | } 134 | 135 | /** 136 | * 获取:邮箱 137 | */ 138 | public String getYouxiang() { 139 | return youxiang; 140 | } 141 | 142 | 143 | /** 144 | * 设置:电话 145 | */ 146 | 147 | public void setDianhua(String dianhua) { 148 | this.dianhua = dianhua; 149 | } 150 | 151 | /** 152 | * 获取:电话 153 | */ 154 | public String getDianhua() { 155 | return dianhua; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/WuyeguanliModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.WuyeguanliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 物业管理 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class WuyeguanliModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 密码 28 | */ 29 | 30 | private String mima; 31 | 32 | /** 33 | * 姓名 34 | */ 35 | 36 | private String xingming; 37 | 38 | /** 39 | * 性别 40 | */ 41 | 42 | private String xingbie; 43 | 44 | /** 45 | * 年龄 46 | */ 47 | 48 | private String nianling; 49 | 50 | /** 51 | * 邮箱 52 | */ 53 | 54 | private String youxiang; 55 | 56 | /** 57 | * 电话 58 | */ 59 | 60 | private String dianhua; 61 | 62 | 63 | /** 64 | * 设置:密码 65 | */ 66 | 67 | public void setMima(String mima) { 68 | this.mima = mima; 69 | } 70 | 71 | /** 72 | * 获取:密码 73 | */ 74 | public String getMima() { 75 | return mima; 76 | } 77 | 78 | 79 | /** 80 | * 设置:姓名 81 | */ 82 | 83 | public void setXingming(String xingming) { 84 | this.xingming = xingming; 85 | } 86 | 87 | /** 88 | * 获取:姓名 89 | */ 90 | public String getXingming() { 91 | return xingming; 92 | } 93 | 94 | 95 | /** 96 | * 设置:性别 97 | */ 98 | 99 | public void setXingbie(String xingbie) { 100 | this.xingbie = xingbie; 101 | } 102 | 103 | /** 104 | * 获取:性别 105 | */ 106 | public String getXingbie() { 107 | return xingbie; 108 | } 109 | 110 | 111 | /** 112 | * 设置:年龄 113 | */ 114 | 115 | public void setNianling(String nianling) { 116 | this.nianling = nianling; 117 | } 118 | 119 | /** 120 | * 获取:年龄 121 | */ 122 | public String getNianling() { 123 | return nianling; 124 | } 125 | 126 | 127 | /** 128 | * 设置:邮箱 129 | */ 130 | 131 | public void setYouxiang(String youxiang) { 132 | this.youxiang = youxiang; 133 | } 134 | 135 | /** 136 | * 获取:邮箱 137 | */ 138 | public String getYouxiang() { 139 | return youxiang; 140 | } 141 | 142 | 143 | /** 144 | * 设置:电话 145 | */ 146 | 147 | public void setDianhua(String dianhua) { 148 | this.dianhua = dianhua; 149 | } 150 | 151 | /** 152 | * 获取:电话 153 | */ 154 | public String getDianhua() { 155 | return dianhua; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/YezhuModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.YezhuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 业主 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class YezhuModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 密码 28 | */ 29 | 30 | private String mima; 31 | 32 | /** 33 | * 业主姓名 34 | */ 35 | 36 | private String yezhuxingming; 37 | 38 | /** 39 | * 性别 40 | */ 41 | 42 | private String xingbie; 43 | 44 | /** 45 | * 年龄 46 | */ 47 | 48 | private String nianling; 49 | 50 | /** 51 | * 邮箱 52 | */ 53 | 54 | private String youxiang; 55 | 56 | /** 57 | * 手机 58 | */ 59 | 60 | private String shouji; 61 | 62 | 63 | /** 64 | * 设置:密码 65 | */ 66 | 67 | public void setMima(String mima) { 68 | this.mima = mima; 69 | } 70 | 71 | /** 72 | * 获取:密码 73 | */ 74 | public String getMima() { 75 | return mima; 76 | } 77 | 78 | 79 | /** 80 | * 设置:业主姓名 81 | */ 82 | 83 | public void setYezhuxingming(String yezhuxingming) { 84 | this.yezhuxingming = yezhuxingming; 85 | } 86 | 87 | /** 88 | * 获取:业主姓名 89 | */ 90 | public String getYezhuxingming() { 91 | return yezhuxingming; 92 | } 93 | 94 | 95 | /** 96 | * 设置:性别 97 | */ 98 | 99 | public void setXingbie(String xingbie) { 100 | this.xingbie = xingbie; 101 | } 102 | 103 | /** 104 | * 获取:性别 105 | */ 106 | public String getXingbie() { 107 | return xingbie; 108 | } 109 | 110 | 111 | /** 112 | * 设置:年龄 113 | */ 114 | 115 | public void setNianling(String nianling) { 116 | this.nianling = nianling; 117 | } 118 | 119 | /** 120 | * 获取:年龄 121 | */ 122 | public String getNianling() { 123 | return nianling; 124 | } 125 | 126 | 127 | /** 128 | * 设置:邮箱 129 | */ 130 | 131 | public void setYouxiang(String youxiang) { 132 | this.youxiang = youxiang; 133 | } 134 | 135 | /** 136 | * 获取:邮箱 137 | */ 138 | public String getYouxiang() { 139 | return youxiang; 140 | } 141 | 142 | 143 | /** 144 | * 设置:手机 145 | */ 146 | 147 | public void setShouji(String shouji) { 148 | this.shouji = shouji; 149 | } 150 | 151 | /** 152 | * 获取:手机 153 | */ 154 | public String getShouji() { 155 | return shouji; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/CheweixinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.CheweixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 车位信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class CheweixinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 车位编号 27 | */ 28 | 29 | private String cheweibianhao; 30 | 31 | /** 32 | * 类型 33 | */ 34 | 35 | private String leixing; 36 | 37 | /** 38 | * 用户名 39 | */ 40 | 41 | private String yonghuming; 42 | 43 | /** 44 | * 业主姓名 45 | */ 46 | 47 | private String yezhuxingming; 48 | 49 | /** 50 | * 车位费 51 | */ 52 | 53 | private Float cheweifei; 54 | 55 | /** 56 | * 备注说明 57 | */ 58 | 59 | private String beizhushuoming; 60 | 61 | 62 | /** 63 | * 设置:车位编号 64 | */ 65 | 66 | public void setCheweibianhao(String cheweibianhao) { 67 | this.cheweibianhao = cheweibianhao; 68 | } 69 | 70 | /** 71 | * 获取:车位编号 72 | */ 73 | public String getCheweibianhao() { 74 | return cheweibianhao; 75 | } 76 | 77 | 78 | /** 79 | * 设置:类型 80 | */ 81 | 82 | public void setLeixing(String leixing) { 83 | this.leixing = leixing; 84 | } 85 | 86 | /** 87 | * 获取:类型 88 | */ 89 | public String getLeixing() { 90 | return leixing; 91 | } 92 | 93 | 94 | /** 95 | * 设置:用户名 96 | */ 97 | 98 | public void setYonghuming(String yonghuming) { 99 | this.yonghuming = yonghuming; 100 | } 101 | 102 | /** 103 | * 获取:用户名 104 | */ 105 | public String getYonghuming() { 106 | return yonghuming; 107 | } 108 | 109 | 110 | /** 111 | * 设置:业主姓名 112 | */ 113 | 114 | public void setYezhuxingming(String yezhuxingming) { 115 | this.yezhuxingming = yezhuxingming; 116 | } 117 | 118 | /** 119 | * 获取:业主姓名 120 | */ 121 | public String getYezhuxingming() { 122 | return yezhuxingming; 123 | } 124 | 125 | 126 | /** 127 | * 设置:车位费 128 | */ 129 | 130 | public void setCheweifei(Float cheweifei) { 131 | this.cheweifei = cheweifei; 132 | } 133 | 134 | /** 135 | * 获取:车位费 136 | */ 137 | public Float getCheweifei() { 138 | return cheweifei; 139 | } 140 | 141 | 142 | /** 143 | * 设置:备注说明 144 | */ 145 | 146 | public void setBeizhushuoming(String beizhushuoming) { 147 | this.beizhushuoming = beizhushuoming; 148 | } 149 | 150 | /** 151 | * 获取:备注说明 152 | */ 153 | public String getBeizhushuoming() { 154 | return beizhushuoming; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/CheweixinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.CheweixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 车位信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class CheweixinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 车位编号 28 | */ 29 | 30 | private String cheweibianhao; 31 | 32 | /** 33 | * 类型 34 | */ 35 | 36 | private String leixing; 37 | 38 | /** 39 | * 用户名 40 | */ 41 | 42 | private String yonghuming; 43 | 44 | /** 45 | * 业主姓名 46 | */ 47 | 48 | private String yezhuxingming; 49 | 50 | /** 51 | * 车位费 52 | */ 53 | 54 | private Float cheweifei; 55 | 56 | /** 57 | * 备注说明 58 | */ 59 | 60 | private String beizhushuoming; 61 | 62 | 63 | /** 64 | * 设置:车位编号 65 | */ 66 | 67 | public void setCheweibianhao(String cheweibianhao) { 68 | this.cheweibianhao = cheweibianhao; 69 | } 70 | 71 | /** 72 | * 获取:车位编号 73 | */ 74 | public String getCheweibianhao() { 75 | return cheweibianhao; 76 | } 77 | 78 | 79 | /** 80 | * 设置:类型 81 | */ 82 | 83 | public void setLeixing(String leixing) { 84 | this.leixing = leixing; 85 | } 86 | 87 | /** 88 | * 获取:类型 89 | */ 90 | public String getLeixing() { 91 | return leixing; 92 | } 93 | 94 | 95 | /** 96 | * 设置:用户名 97 | */ 98 | 99 | public void setYonghuming(String yonghuming) { 100 | this.yonghuming = yonghuming; 101 | } 102 | 103 | /** 104 | * 获取:用户名 105 | */ 106 | public String getYonghuming() { 107 | return yonghuming; 108 | } 109 | 110 | 111 | /** 112 | * 设置:业主姓名 113 | */ 114 | 115 | public void setYezhuxingming(String yezhuxingming) { 116 | this.yezhuxingming = yezhuxingming; 117 | } 118 | 119 | /** 120 | * 获取:业主姓名 121 | */ 122 | public String getYezhuxingming() { 123 | return yezhuxingming; 124 | } 125 | 126 | 127 | /** 128 | * 设置:车位费 129 | */ 130 | 131 | public void setCheweifei(Float cheweifei) { 132 | this.cheweifei = cheweifei; 133 | } 134 | 135 | /** 136 | * 获取:车位费 137 | */ 138 | public Float getCheweifei() { 139 | return cheweifei; 140 | } 141 | 142 | 143 | /** 144 | * 设置:备注说明 145 | */ 146 | 147 | public void setBeizhushuoming(String beizhushuoming) { 148 | this.beizhushuoming = beizhushuoming; 149 | } 150 | 151 | /** 152 | * 获取:备注说明 153 | */ 154 | public String getBeizhushuoming() { 155 | return beizhushuoming; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/BaoxiuxinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.BaoxiuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 报修信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class BaoxiuxinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 报修物品 27 | */ 28 | 29 | private String baoxiuwupin; 30 | 31 | /** 32 | * 报修问题 33 | */ 34 | 35 | private String baoxiuwenti; 36 | 37 | /** 38 | * 报修日期 39 | */ 40 | 41 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 42 | @DateTimeFormat 43 | private Date baoxiuriqi; 44 | 45 | /** 46 | * 用户名 47 | */ 48 | 49 | private String yonghuming; 50 | 51 | /** 52 | * 业主姓名 53 | */ 54 | 55 | private String yezhuxingming; 56 | 57 | /** 58 | * 处理状态 59 | */ 60 | 61 | private String chulizhuangtai; 62 | 63 | 64 | /** 65 | * 设置:报修物品 66 | */ 67 | 68 | public void setBaoxiuwupin(String baoxiuwupin) { 69 | this.baoxiuwupin = baoxiuwupin; 70 | } 71 | 72 | /** 73 | * 获取:报修物品 74 | */ 75 | public String getBaoxiuwupin() { 76 | return baoxiuwupin; 77 | } 78 | 79 | 80 | /** 81 | * 设置:报修问题 82 | */ 83 | 84 | public void setBaoxiuwenti(String baoxiuwenti) { 85 | this.baoxiuwenti = baoxiuwenti; 86 | } 87 | 88 | /** 89 | * 获取:报修问题 90 | */ 91 | public String getBaoxiuwenti() { 92 | return baoxiuwenti; 93 | } 94 | 95 | 96 | /** 97 | * 设置:报修日期 98 | */ 99 | 100 | public void setBaoxiuriqi(Date baoxiuriqi) { 101 | this.baoxiuriqi = baoxiuriqi; 102 | } 103 | 104 | /** 105 | * 获取:报修日期 106 | */ 107 | public Date getBaoxiuriqi() { 108 | return baoxiuriqi; 109 | } 110 | 111 | 112 | /** 113 | * 设置:用户名 114 | */ 115 | 116 | public void setYonghuming(String yonghuming) { 117 | this.yonghuming = yonghuming; 118 | } 119 | 120 | /** 121 | * 获取:用户名 122 | */ 123 | public String getYonghuming() { 124 | return yonghuming; 125 | } 126 | 127 | 128 | /** 129 | * 设置:业主姓名 130 | */ 131 | 132 | public void setYezhuxingming(String yezhuxingming) { 133 | this.yezhuxingming = yezhuxingming; 134 | } 135 | 136 | /** 137 | * 获取:业主姓名 138 | */ 139 | public String getYezhuxingming() { 140 | return yezhuxingming; 141 | } 142 | 143 | 144 | /** 145 | * 设置:处理状态 146 | */ 147 | 148 | public void setChulizhuangtai(String chulizhuangtai) { 149 | this.chulizhuangtai = chulizhuangtai; 150 | } 151 | 152 | /** 153 | * 获取:处理状态 154 | */ 155 | public String getChulizhuangtai() { 156 | return chulizhuangtai; 157 | } 158 | 159 | } 160 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/TousuxinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.TousuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class TousuxinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 投诉分类 27 | */ 28 | 29 | private String tousufenlei; 30 | 31 | /** 32 | * 投诉内容 33 | */ 34 | 35 | private String tousuneirong; 36 | 37 | /** 38 | * 投诉时间 39 | */ 40 | 41 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 42 | @DateTimeFormat 43 | private Date tousushijian; 44 | 45 | /** 46 | * 用户名 47 | */ 48 | 49 | private String yonghuming; 50 | 51 | /** 52 | * 业主姓名 53 | */ 54 | 55 | private String yezhuxingming; 56 | 57 | /** 58 | * 处理状态 59 | */ 60 | 61 | private String chulizhuangtai; 62 | 63 | 64 | /** 65 | * 设置:投诉分类 66 | */ 67 | 68 | public void setTousufenlei(String tousufenlei) { 69 | this.tousufenlei = tousufenlei; 70 | } 71 | 72 | /** 73 | * 获取:投诉分类 74 | */ 75 | public String getTousufenlei() { 76 | return tousufenlei; 77 | } 78 | 79 | 80 | /** 81 | * 设置:投诉内容 82 | */ 83 | 84 | public void setTousuneirong(String tousuneirong) { 85 | this.tousuneirong = tousuneirong; 86 | } 87 | 88 | /** 89 | * 获取:投诉内容 90 | */ 91 | public String getTousuneirong() { 92 | return tousuneirong; 93 | } 94 | 95 | 96 | /** 97 | * 设置:投诉时间 98 | */ 99 | 100 | public void setTousushijian(Date tousushijian) { 101 | this.tousushijian = tousushijian; 102 | } 103 | 104 | /** 105 | * 获取:投诉时间 106 | */ 107 | public Date getTousushijian() { 108 | return tousushijian; 109 | } 110 | 111 | 112 | /** 113 | * 设置:用户名 114 | */ 115 | 116 | public void setYonghuming(String yonghuming) { 117 | this.yonghuming = yonghuming; 118 | } 119 | 120 | /** 121 | * 获取:用户名 122 | */ 123 | public String getYonghuming() { 124 | return yonghuming; 125 | } 126 | 127 | 128 | /** 129 | * 设置:业主姓名 130 | */ 131 | 132 | public void setYezhuxingming(String yezhuxingming) { 133 | this.yezhuxingming = yezhuxingming; 134 | } 135 | 136 | /** 137 | * 获取:业主姓名 138 | */ 139 | public String getYezhuxingming() { 140 | return yezhuxingming; 141 | } 142 | 143 | 144 | /** 145 | * 设置:处理状态 146 | */ 147 | 148 | public void setChulizhuangtai(String chulizhuangtai) { 149 | this.chulizhuangtai = chulizhuangtai; 150 | } 151 | 152 | /** 153 | * 获取:处理状态 154 | */ 155 | public String getChulizhuangtai() { 156 | return chulizhuangtai; 157 | } 158 | 159 | } 160 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/BaoxiuxinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.BaoxiuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 报修信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class BaoxiuxinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 报修物品 28 | */ 29 | 30 | private String baoxiuwupin; 31 | 32 | /** 33 | * 报修问题 34 | */ 35 | 36 | private String baoxiuwenti; 37 | 38 | /** 39 | * 报修日期 40 | */ 41 | 42 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 43 | @DateTimeFormat 44 | private Date baoxiuriqi; 45 | 46 | /** 47 | * 用户名 48 | */ 49 | 50 | private String yonghuming; 51 | 52 | /** 53 | * 业主姓名 54 | */ 55 | 56 | private String yezhuxingming; 57 | 58 | /** 59 | * 处理状态 60 | */ 61 | 62 | private String chulizhuangtai; 63 | 64 | 65 | /** 66 | * 设置:报修物品 67 | */ 68 | 69 | public void setBaoxiuwupin(String baoxiuwupin) { 70 | this.baoxiuwupin = baoxiuwupin; 71 | } 72 | 73 | /** 74 | * 获取:报修物品 75 | */ 76 | public String getBaoxiuwupin() { 77 | return baoxiuwupin; 78 | } 79 | 80 | 81 | /** 82 | * 设置:报修问题 83 | */ 84 | 85 | public void setBaoxiuwenti(String baoxiuwenti) { 86 | this.baoxiuwenti = baoxiuwenti; 87 | } 88 | 89 | /** 90 | * 获取:报修问题 91 | */ 92 | public String getBaoxiuwenti() { 93 | return baoxiuwenti; 94 | } 95 | 96 | 97 | /** 98 | * 设置:报修日期 99 | */ 100 | 101 | public void setBaoxiuriqi(Date baoxiuriqi) { 102 | this.baoxiuriqi = baoxiuriqi; 103 | } 104 | 105 | /** 106 | * 获取:报修日期 107 | */ 108 | public Date getBaoxiuriqi() { 109 | return baoxiuriqi; 110 | } 111 | 112 | 113 | /** 114 | * 设置:用户名 115 | */ 116 | 117 | public void setYonghuming(String yonghuming) { 118 | this.yonghuming = yonghuming; 119 | } 120 | 121 | /** 122 | * 获取:用户名 123 | */ 124 | public String getYonghuming() { 125 | return yonghuming; 126 | } 127 | 128 | 129 | /** 130 | * 设置:业主姓名 131 | */ 132 | 133 | public void setYezhuxingming(String yezhuxingming) { 134 | this.yezhuxingming = yezhuxingming; 135 | } 136 | 137 | /** 138 | * 获取:业主姓名 139 | */ 140 | public String getYezhuxingming() { 141 | return yezhuxingming; 142 | } 143 | 144 | 145 | /** 146 | * 设置:处理状态 147 | */ 148 | 149 | public void setChulizhuangtai(String chulizhuangtai) { 150 | this.chulizhuangtai = chulizhuangtai; 151 | } 152 | 153 | /** 154 | * 获取:处理状态 155 | */ 156 | public String getChulizhuangtai() { 157 | return chulizhuangtai; 158 | } 159 | 160 | } 161 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/TousuxinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.TousuxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 投诉信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class TousuxinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 投诉分类 28 | */ 29 | 30 | private String tousufenlei; 31 | 32 | /** 33 | * 投诉内容 34 | */ 35 | 36 | private String tousuneirong; 37 | 38 | /** 39 | * 投诉时间 40 | */ 41 | 42 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 43 | @DateTimeFormat 44 | private Date tousushijian; 45 | 46 | /** 47 | * 用户名 48 | */ 49 | 50 | private String yonghuming; 51 | 52 | /** 53 | * 业主姓名 54 | */ 55 | 56 | private String yezhuxingming; 57 | 58 | /** 59 | * 处理状态 60 | */ 61 | 62 | private String chulizhuangtai; 63 | 64 | 65 | /** 66 | * 设置:投诉分类 67 | */ 68 | 69 | public void setTousufenlei(String tousufenlei) { 70 | this.tousufenlei = tousufenlei; 71 | } 72 | 73 | /** 74 | * 获取:投诉分类 75 | */ 76 | public String getTousufenlei() { 77 | return tousufenlei; 78 | } 79 | 80 | 81 | /** 82 | * 设置:投诉内容 83 | */ 84 | 85 | public void setTousuneirong(String tousuneirong) { 86 | this.tousuneirong = tousuneirong; 87 | } 88 | 89 | /** 90 | * 获取:投诉内容 91 | */ 92 | public String getTousuneirong() { 93 | return tousuneirong; 94 | } 95 | 96 | 97 | /** 98 | * 设置:投诉时间 99 | */ 100 | 101 | public void setTousushijian(Date tousushijian) { 102 | this.tousushijian = tousushijian; 103 | } 104 | 105 | /** 106 | * 获取:投诉时间 107 | */ 108 | public Date getTousushijian() { 109 | return tousushijian; 110 | } 111 | 112 | 113 | /** 114 | * 设置:用户名 115 | */ 116 | 117 | public void setYonghuming(String yonghuming) { 118 | this.yonghuming = yonghuming; 119 | } 120 | 121 | /** 122 | * 获取:用户名 123 | */ 124 | public String getYonghuming() { 125 | return yonghuming; 126 | } 127 | 128 | 129 | /** 130 | * 设置:业主姓名 131 | */ 132 | 133 | public void setYezhuxingming(String yezhuxingming) { 134 | this.yezhuxingming = yezhuxingming; 135 | } 136 | 137 | /** 138 | * 获取:业主姓名 139 | */ 140 | public String getYezhuxingming() { 141 | return yezhuxingming; 142 | } 143 | 144 | 145 | /** 146 | * 设置:处理状态 147 | */ 148 | 149 | public void setChulizhuangtai(String chulizhuangtai) { 150 | this.chulizhuangtai = chulizhuangtai; 151 | } 152 | 153 | /** 154 | * 获取:处理状态 155 | */ 156 | public String getChulizhuangtai() { 157 | return chulizhuangtai; 158 | } 159 | 160 | } 161 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/WeixiuchuliVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.WeixiuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 维修处理 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class WeixiuchuliVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 报修物品 27 | */ 28 | 29 | private String baoxiuwupin; 30 | 31 | /** 32 | * 用户名 33 | */ 34 | 35 | private String yonghuming; 36 | 37 | /** 38 | * 业主姓名 39 | */ 40 | 41 | private String yezhuxingming; 42 | 43 | /** 44 | * 处理结果 45 | */ 46 | 47 | private String chulijieguo; 48 | 49 | /** 50 | * 处理时间 51 | */ 52 | 53 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 54 | @DateTimeFormat 55 | private Date chulishijian; 56 | 57 | /** 58 | * 工号 59 | */ 60 | 61 | private String gonghao; 62 | 63 | /** 64 | * 姓名 65 | */ 66 | 67 | private String xingming; 68 | 69 | 70 | /** 71 | * 设置:报修物品 72 | */ 73 | 74 | public void setBaoxiuwupin(String baoxiuwupin) { 75 | this.baoxiuwupin = baoxiuwupin; 76 | } 77 | 78 | /** 79 | * 获取:报修物品 80 | */ 81 | public String getBaoxiuwupin() { 82 | return baoxiuwupin; 83 | } 84 | 85 | 86 | /** 87 | * 设置:用户名 88 | */ 89 | 90 | public void setYonghuming(String yonghuming) { 91 | this.yonghuming = yonghuming; 92 | } 93 | 94 | /** 95 | * 获取:用户名 96 | */ 97 | public String getYonghuming() { 98 | return yonghuming; 99 | } 100 | 101 | 102 | /** 103 | * 设置:业主姓名 104 | */ 105 | 106 | public void setYezhuxingming(String yezhuxingming) { 107 | this.yezhuxingming = yezhuxingming; 108 | } 109 | 110 | /** 111 | * 获取:业主姓名 112 | */ 113 | public String getYezhuxingming() { 114 | return yezhuxingming; 115 | } 116 | 117 | 118 | /** 119 | * 设置:处理结果 120 | */ 121 | 122 | public void setChulijieguo(String chulijieguo) { 123 | this.chulijieguo = chulijieguo; 124 | } 125 | 126 | /** 127 | * 获取:处理结果 128 | */ 129 | public String getChulijieguo() { 130 | return chulijieguo; 131 | } 132 | 133 | 134 | /** 135 | * 设置:处理时间 136 | */ 137 | 138 | public void setChulishijian(Date chulishijian) { 139 | this.chulishijian = chulishijian; 140 | } 141 | 142 | /** 143 | * 获取:处理时间 144 | */ 145 | public Date getChulishijian() { 146 | return chulishijian; 147 | } 148 | 149 | 150 | /** 151 | * 设置:工号 152 | */ 153 | 154 | public void setGonghao(String gonghao) { 155 | this.gonghao = gonghao; 156 | } 157 | 158 | /** 159 | * 获取:工号 160 | */ 161 | public String getGonghao() { 162 | return gonghao; 163 | } 164 | 165 | 166 | /** 167 | * 设置:姓名 168 | */ 169 | 170 | public void setXingming(String xingming) { 171 | this.xingming = xingming; 172 | } 173 | 174 | /** 175 | * 获取:姓名 176 | */ 177 | public String getXingming() { 178 | return xingming; 179 | } 180 | 181 | } 182 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/TingchexinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.TingchexinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 停车信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class TingchexinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 车位编号 27 | */ 28 | 29 | private String cheweibianhao; 30 | 31 | /** 32 | * 停车时间 33 | */ 34 | 35 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 36 | @DateTimeFormat 37 | private Date tingcheshijian; 38 | 39 | /** 40 | * 用户名 41 | */ 42 | 43 | private String yonghuming; 44 | 45 | /** 46 | * 业主姓名 47 | */ 48 | 49 | private String yezhuxingming; 50 | 51 | /** 52 | * 手机 53 | */ 54 | 55 | private String shouji; 56 | 57 | /** 58 | * 车牌图片 59 | */ 60 | 61 | private String chepaitupian; 62 | 63 | /** 64 | * 车牌号 65 | */ 66 | 67 | private String chepaihao; 68 | 69 | 70 | /** 71 | * 设置:车位编号 72 | */ 73 | 74 | public void setCheweibianhao(String cheweibianhao) { 75 | this.cheweibianhao = cheweibianhao; 76 | } 77 | 78 | /** 79 | * 获取:车位编号 80 | */ 81 | public String getCheweibianhao() { 82 | return cheweibianhao; 83 | } 84 | 85 | 86 | /** 87 | * 设置:停车时间 88 | */ 89 | 90 | public void setTingcheshijian(Date tingcheshijian) { 91 | this.tingcheshijian = tingcheshijian; 92 | } 93 | 94 | /** 95 | * 获取:停车时间 96 | */ 97 | public Date getTingcheshijian() { 98 | return tingcheshijian; 99 | } 100 | 101 | 102 | /** 103 | * 设置:用户名 104 | */ 105 | 106 | public void setYonghuming(String yonghuming) { 107 | this.yonghuming = yonghuming; 108 | } 109 | 110 | /** 111 | * 获取:用户名 112 | */ 113 | public String getYonghuming() { 114 | return yonghuming; 115 | } 116 | 117 | 118 | /** 119 | * 设置:业主姓名 120 | */ 121 | 122 | public void setYezhuxingming(String yezhuxingming) { 123 | this.yezhuxingming = yezhuxingming; 124 | } 125 | 126 | /** 127 | * 获取:业主姓名 128 | */ 129 | public String getYezhuxingming() { 130 | return yezhuxingming; 131 | } 132 | 133 | 134 | /** 135 | * 设置:手机 136 | */ 137 | 138 | public void setShouji(String shouji) { 139 | this.shouji = shouji; 140 | } 141 | 142 | /** 143 | * 获取:手机 144 | */ 145 | public String getShouji() { 146 | return shouji; 147 | } 148 | 149 | 150 | /** 151 | * 设置:车牌图片 152 | */ 153 | 154 | public void setChepaitupian(String chepaitupian) { 155 | this.chepaitupian = chepaitupian; 156 | } 157 | 158 | /** 159 | * 获取:车牌图片 160 | */ 161 | public String getChepaitupian() { 162 | return chepaitupian; 163 | } 164 | 165 | 166 | /** 167 | * 设置:车牌号 168 | */ 169 | 170 | public void setChepaihao(String chepaihao) { 171 | this.chepaihao = chepaihao; 172 | } 173 | 174 | /** 175 | * 获取:车牌号 176 | */ 177 | public String getChepaihao() { 178 | return chepaihao; 179 | } 180 | 181 | } 182 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/WeixiuchuliModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.WeixiuchuliEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 维修处理 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class WeixiuchuliModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 报修物品 28 | */ 29 | 30 | private String baoxiuwupin; 31 | 32 | /** 33 | * 用户名 34 | */ 35 | 36 | private String yonghuming; 37 | 38 | /** 39 | * 业主姓名 40 | */ 41 | 42 | private String yezhuxingming; 43 | 44 | /** 45 | * 处理结果 46 | */ 47 | 48 | private String chulijieguo; 49 | 50 | /** 51 | * 处理时间 52 | */ 53 | 54 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 55 | @DateTimeFormat 56 | private Date chulishijian; 57 | 58 | /** 59 | * 工号 60 | */ 61 | 62 | private String gonghao; 63 | 64 | /** 65 | * 姓名 66 | */ 67 | 68 | private String xingming; 69 | 70 | 71 | /** 72 | * 设置:报修物品 73 | */ 74 | 75 | public void setBaoxiuwupin(String baoxiuwupin) { 76 | this.baoxiuwupin = baoxiuwupin; 77 | } 78 | 79 | /** 80 | * 获取:报修物品 81 | */ 82 | public String getBaoxiuwupin() { 83 | return baoxiuwupin; 84 | } 85 | 86 | 87 | /** 88 | * 设置:用户名 89 | */ 90 | 91 | public void setYonghuming(String yonghuming) { 92 | this.yonghuming = yonghuming; 93 | } 94 | 95 | /** 96 | * 获取:用户名 97 | */ 98 | public String getYonghuming() { 99 | return yonghuming; 100 | } 101 | 102 | 103 | /** 104 | * 设置:业主姓名 105 | */ 106 | 107 | public void setYezhuxingming(String yezhuxingming) { 108 | this.yezhuxingming = yezhuxingming; 109 | } 110 | 111 | /** 112 | * 获取:业主姓名 113 | */ 114 | public String getYezhuxingming() { 115 | return yezhuxingming; 116 | } 117 | 118 | 119 | /** 120 | * 设置:处理结果 121 | */ 122 | 123 | public void setChulijieguo(String chulijieguo) { 124 | this.chulijieguo = chulijieguo; 125 | } 126 | 127 | /** 128 | * 获取:处理结果 129 | */ 130 | public String getChulijieguo() { 131 | return chulijieguo; 132 | } 133 | 134 | 135 | /** 136 | * 设置:处理时间 137 | */ 138 | 139 | public void setChulishijian(Date chulishijian) { 140 | this.chulishijian = chulishijian; 141 | } 142 | 143 | /** 144 | * 获取:处理时间 145 | */ 146 | public Date getChulishijian() { 147 | return chulishijian; 148 | } 149 | 150 | 151 | /** 152 | * 设置:工号 153 | */ 154 | 155 | public void setGonghao(String gonghao) { 156 | this.gonghao = gonghao; 157 | } 158 | 159 | /** 160 | * 获取:工号 161 | */ 162 | public String getGonghao() { 163 | return gonghao; 164 | } 165 | 166 | 167 | /** 168 | * 设置:姓名 169 | */ 170 | 171 | public void setXingming(String xingming) { 172 | this.xingming = xingming; 173 | } 174 | 175 | /** 176 | * 获取:姓名 177 | */ 178 | public String getXingming() { 179 | return xingming; 180 | } 181 | 182 | } 183 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/TingchexinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.TingchexinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 停车信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class TingchexinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 车位编号 28 | */ 29 | 30 | private String cheweibianhao; 31 | 32 | /** 33 | * 停车时间 34 | */ 35 | 36 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 37 | @DateTimeFormat 38 | private Date tingcheshijian; 39 | 40 | /** 41 | * 用户名 42 | */ 43 | 44 | private String yonghuming; 45 | 46 | /** 47 | * 业主姓名 48 | */ 49 | 50 | private String yezhuxingming; 51 | 52 | /** 53 | * 手机 54 | */ 55 | 56 | private String shouji; 57 | 58 | /** 59 | * 车牌图片 60 | */ 61 | 62 | private String chepaitupian; 63 | 64 | /** 65 | * 车牌号 66 | */ 67 | 68 | private String chepaihao; 69 | 70 | 71 | /** 72 | * 设置:车位编号 73 | */ 74 | 75 | public void setCheweibianhao(String cheweibianhao) { 76 | this.cheweibianhao = cheweibianhao; 77 | } 78 | 79 | /** 80 | * 获取:车位编号 81 | */ 82 | public String getCheweibianhao() { 83 | return cheweibianhao; 84 | } 85 | 86 | 87 | /** 88 | * 设置:停车时间 89 | */ 90 | 91 | public void setTingcheshijian(Date tingcheshijian) { 92 | this.tingcheshijian = tingcheshijian; 93 | } 94 | 95 | /** 96 | * 获取:停车时间 97 | */ 98 | public Date getTingcheshijian() { 99 | return tingcheshijian; 100 | } 101 | 102 | 103 | /** 104 | * 设置:用户名 105 | */ 106 | 107 | public void setYonghuming(String yonghuming) { 108 | this.yonghuming = yonghuming; 109 | } 110 | 111 | /** 112 | * 获取:用户名 113 | */ 114 | public String getYonghuming() { 115 | return yonghuming; 116 | } 117 | 118 | 119 | /** 120 | * 设置:业主姓名 121 | */ 122 | 123 | public void setYezhuxingming(String yezhuxingming) { 124 | this.yezhuxingming = yezhuxingming; 125 | } 126 | 127 | /** 128 | * 获取:业主姓名 129 | */ 130 | public String getYezhuxingming() { 131 | return yezhuxingming; 132 | } 133 | 134 | 135 | /** 136 | * 设置:手机 137 | */ 138 | 139 | public void setShouji(String shouji) { 140 | this.shouji = shouji; 141 | } 142 | 143 | /** 144 | * 获取:手机 145 | */ 146 | public String getShouji() { 147 | return shouji; 148 | } 149 | 150 | 151 | /** 152 | * 设置:车牌图片 153 | */ 154 | 155 | public void setChepaitupian(String chepaitupian) { 156 | this.chepaitupian = chepaitupian; 157 | } 158 | 159 | /** 160 | * 获取:车牌图片 161 | */ 162 | public String getChepaitupian() { 163 | return chepaitupian; 164 | } 165 | 166 | 167 | /** 168 | * 设置:车牌号 169 | */ 170 | 171 | public void setChepaihao(String chepaihao) { 172 | this.chepaihao = chepaihao; 173 | } 174 | 175 | /** 176 | * 获取:车牌号 177 | */ 178 | public String getChepaihao() { 179 | return chepaihao; 180 | } 181 | 182 | } 183 | -------------------------------------------------------------------------------- /src/main/java/com/interceptor/AuthorizationInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.interceptor; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.HashMap; 6 | import java.util.Map; 7 | import com.alibaba.fastjson.JSONObject; 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | import org.apache.commons.lang3.StringUtils; 12 | import org.springframework.beans.factory.annotation.Autowired; 13 | import org.springframework.stereotype.Component; 14 | import org.springframework.web.method.HandlerMethod; 15 | import org.springframework.web.servlet.HandlerInterceptor; 16 | import org.springframework.web.bind.annotation.RequestMethod; 17 | import org.springframework.http.HttpStatus; 18 | 19 | import com.annotation.IgnoreAuth; 20 | import com.entity.EIException; 21 | import com.entity.TokenEntity; 22 | import com.service.TokenService; 23 | import com.utils.R; 24 | 25 | /** 26 | * 权限(Token)验证 27 | */ 28 | @Component 29 | public class AuthorizationInterceptor implements HandlerInterceptor { 30 | 31 | public static final String LOGIN_TOKEN_KEY = "Token"; 32 | 33 | @Autowired 34 | private TokenService tokenService; 35 | 36 | @Override 37 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { 38 | 39 | //支持跨域请求 40 | response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE"); 41 | response.setHeader("Access-Control-Max-Age", "3600"); 42 | response.setHeader("Access-Control-Allow-Credentials", "true"); 43 | response.setHeader("Access-Control-Allow-Headers", "x-requested-with,request-source,Token, Origin,imgType, Content-Type, cache-control,postman-token,Cookie, Accept,authorization"); 44 | response.setHeader("Access-Control-Allow-Origin", request.getHeader("Origin")); 45 | // 跨域时会首先发送一个OPTIONS请求,这里我们给OPTIONS请求直接返回正常状态 46 | if (request.getMethod().equals(RequestMethod.OPTIONS.name())) { 47 | response.setStatus(HttpStatus.OK.value()); 48 | return false; 49 | } 50 | 51 | IgnoreAuth annotation; 52 | if (handler instanceof HandlerMethod) { 53 | annotation = ((HandlerMethod) handler).getMethodAnnotation(IgnoreAuth.class); 54 | } else { 55 | return true; 56 | } 57 | 58 | //从header中获取token 59 | String token = request.getHeader(LOGIN_TOKEN_KEY); 60 | 61 | /** 62 | * 不需要验证权限的方法直接放过 63 | */ 64 | if(annotation!=null) { 65 | return true; 66 | } 67 | 68 | TokenEntity tokenEntity = null; 69 | if(StringUtils.isNotBlank(token)) { 70 | tokenEntity = tokenService.getTokenEntity(token); 71 | } 72 | 73 | if(tokenEntity != null) { 74 | request.getSession().setAttribute("userId", tokenEntity.getUserid()); 75 | request.getSession().setAttribute("role", tokenEntity.getRole()); 76 | request.getSession().setAttribute("tableName", tokenEntity.getTablename()); 77 | request.getSession().setAttribute("username", tokenEntity.getUsername()); 78 | return true; 79 | } 80 | 81 | PrintWriter writer = null; 82 | response.setCharacterEncoding("UTF-8"); 83 | response.setContentType("application/json; charset=utf-8"); 84 | try { 85 | writer = response.getWriter(); 86 | writer.print(JSONObject.toJSONString(R.error(401, "请先登录"))); 87 | } finally { 88 | if(writer != null){ 89 | writer.close(); 90 | } 91 | } 92 | // throw new EIException("请先登录", 401); 93 | return false; 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /src/main/java/com/entity/XiaoqugonggaoEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 小区公告 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("xiaoqugonggao") 32 | public class XiaoqugonggaoEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public XiaoqugonggaoEntity() { 37 | 38 | } 39 | 40 | public XiaoqugonggaoEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 标题 56 | */ 57 | 58 | private String biaoti; 59 | 60 | /** 61 | * 类型 62 | */ 63 | 64 | private String leixing; 65 | 66 | /** 67 | * 图片 68 | */ 69 | 70 | private String tupian; 71 | 72 | /** 73 | * 公告内容 74 | */ 75 | 76 | private String gonggaoneirong; 77 | 78 | /** 79 | * 发布时间 80 | */ 81 | 82 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") 83 | @DateTimeFormat 84 | private Date fabushijian; 85 | 86 | 87 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 88 | @DateTimeFormat 89 | private Date addtime; 90 | 91 | public Date getAddtime() { 92 | return addtime; 93 | } 94 | public void setAddtime(Date addtime) { 95 | this.addtime = addtime; 96 | } 97 | 98 | public Long getId() { 99 | return id; 100 | } 101 | 102 | public void setId(Long id) { 103 | this.id = id; 104 | } 105 | /** 106 | * 设置:标题 107 | */ 108 | public void setBiaoti(String biaoti) { 109 | this.biaoti = biaoti; 110 | } 111 | /** 112 | * 获取:标题 113 | */ 114 | public String getBiaoti() { 115 | return biaoti; 116 | } 117 | /** 118 | * 设置:类型 119 | */ 120 | public void setLeixing(String leixing) { 121 | this.leixing = leixing; 122 | } 123 | /** 124 | * 获取:类型 125 | */ 126 | public String getLeixing() { 127 | return leixing; 128 | } 129 | /** 130 | * 设置:图片 131 | */ 132 | public void setTupian(String tupian) { 133 | this.tupian = tupian; 134 | } 135 | /** 136 | * 获取:图片 137 | */ 138 | public String getTupian() { 139 | return tupian; 140 | } 141 | /** 142 | * 设置:公告内容 143 | */ 144 | public void setGonggaoneirong(String gonggaoneirong) { 145 | this.gonggaoneirong = gonggaoneirong; 146 | } 147 | /** 148 | * 获取:公告内容 149 | */ 150 | public String getGonggaoneirong() { 151 | return gonggaoneirong; 152 | } 153 | /** 154 | * 设置:发布时间 155 | */ 156 | public void setFabushijian(Date fabushijian) { 157 | this.fabushijian = fabushijian; 158 | } 159 | /** 160 | * 获取:发布时间 161 | */ 162 | public Date getFabushijian() { 163 | return fabushijian; 164 | } 165 | 166 | } 167 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/JiaofeixinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.JiaofeixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 缴费信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class JiaofeixinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 缴费名称 27 | */ 28 | 29 | private String jiaofeimingcheng; 30 | 31 | /** 32 | * 用户名 33 | */ 34 | 35 | private String yonghuming; 36 | 37 | /** 38 | * 业主姓名 39 | */ 40 | 41 | private String yezhuxingming; 42 | 43 | /** 44 | * 缴费类型 45 | */ 46 | 47 | private String jiaofeileixing; 48 | 49 | /** 50 | * 缴费明细 51 | */ 52 | 53 | private String jiaofeimingxi; 54 | 55 | /** 56 | * 需缴金额 57 | */ 58 | 59 | private Float xujiaojine; 60 | 61 | /** 62 | * 发布时间 63 | */ 64 | 65 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 66 | @DateTimeFormat 67 | private Date fabushijian; 68 | 69 | /** 70 | * 是否支付 71 | */ 72 | 73 | private String ispay; 74 | 75 | 76 | /** 77 | * 设置:缴费名称 78 | */ 79 | 80 | public void setJiaofeimingcheng(String jiaofeimingcheng) { 81 | this.jiaofeimingcheng = jiaofeimingcheng; 82 | } 83 | 84 | /** 85 | * 获取:缴费名称 86 | */ 87 | public String getJiaofeimingcheng() { 88 | return jiaofeimingcheng; 89 | } 90 | 91 | 92 | /** 93 | * 设置:用户名 94 | */ 95 | 96 | public void setYonghuming(String yonghuming) { 97 | this.yonghuming = yonghuming; 98 | } 99 | 100 | /** 101 | * 获取:用户名 102 | */ 103 | public String getYonghuming() { 104 | return yonghuming; 105 | } 106 | 107 | 108 | /** 109 | * 设置:业主姓名 110 | */ 111 | 112 | public void setYezhuxingming(String yezhuxingming) { 113 | this.yezhuxingming = yezhuxingming; 114 | } 115 | 116 | /** 117 | * 获取:业主姓名 118 | */ 119 | public String getYezhuxingming() { 120 | return yezhuxingming; 121 | } 122 | 123 | 124 | /** 125 | * 设置:缴费类型 126 | */ 127 | 128 | public void setJiaofeileixing(String jiaofeileixing) { 129 | this.jiaofeileixing = jiaofeileixing; 130 | } 131 | 132 | /** 133 | * 获取:缴费类型 134 | */ 135 | public String getJiaofeileixing() { 136 | return jiaofeileixing; 137 | } 138 | 139 | 140 | /** 141 | * 设置:缴费明细 142 | */ 143 | 144 | public void setJiaofeimingxi(String jiaofeimingxi) { 145 | this.jiaofeimingxi = jiaofeimingxi; 146 | } 147 | 148 | /** 149 | * 获取:缴费明细 150 | */ 151 | public String getJiaofeimingxi() { 152 | return jiaofeimingxi; 153 | } 154 | 155 | 156 | /** 157 | * 设置:需缴金额 158 | */ 159 | 160 | public void setXujiaojine(Float xujiaojine) { 161 | this.xujiaojine = xujiaojine; 162 | } 163 | 164 | /** 165 | * 获取:需缴金额 166 | */ 167 | public Float getXujiaojine() { 168 | return xujiaojine; 169 | } 170 | 171 | 172 | /** 173 | * 设置:发布时间 174 | */ 175 | 176 | public void setFabushijian(Date fabushijian) { 177 | this.fabushijian = fabushijian; 178 | } 179 | 180 | /** 181 | * 获取:发布时间 182 | */ 183 | public Date getFabushijian() { 184 | return fabushijian; 185 | } 186 | 187 | 188 | /** 189 | * 设置:是否支付 190 | */ 191 | 192 | public void setIspay(String ispay) { 193 | this.ispay = ispay; 194 | } 195 | 196 | /** 197 | * 获取:是否支付 198 | */ 199 | public String getIspay() { 200 | return ispay; 201 | } 202 | 203 | } 204 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TingcheweiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 停车位 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("tingchewei") 32 | public class TingcheweiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public TingcheweiEntity() { 37 | 38 | } 39 | 40 | public TingcheweiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 车场名称 56 | */ 57 | 58 | private String chechangmingcheng; 59 | 60 | /** 61 | * 车位区号 62 | */ 63 | 64 | private String cheweiquhao; 65 | 66 | /** 67 | * 车位编号 68 | */ 69 | 70 | private String cheweibianhao; 71 | 72 | /** 73 | * 车场类型 74 | */ 75 | 76 | private String chechangleixing; 77 | 78 | /** 79 | * 状态 80 | */ 81 | 82 | private String zhuangtai; 83 | 84 | 85 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 86 | @DateTimeFormat 87 | private Date addtime; 88 | 89 | public Date getAddtime() { 90 | return addtime; 91 | } 92 | public void setAddtime(Date addtime) { 93 | this.addtime = addtime; 94 | } 95 | 96 | public Long getId() { 97 | return id; 98 | } 99 | 100 | public void setId(Long id) { 101 | this.id = id; 102 | } 103 | /** 104 | * 设置:车场名称 105 | */ 106 | public void setChechangmingcheng(String chechangmingcheng) { 107 | this.chechangmingcheng = chechangmingcheng; 108 | } 109 | /** 110 | * 获取:车场名称 111 | */ 112 | public String getChechangmingcheng() { 113 | return chechangmingcheng; 114 | } 115 | /** 116 | * 设置:车位区号 117 | */ 118 | public void setCheweiquhao(String cheweiquhao) { 119 | this.cheweiquhao = cheweiquhao; 120 | } 121 | /** 122 | * 获取:车位区号 123 | */ 124 | public String getCheweiquhao() { 125 | return cheweiquhao; 126 | } 127 | /** 128 | * 设置:车位编号 129 | */ 130 | public void setCheweibianhao(String cheweibianhao) { 131 | this.cheweibianhao = cheweibianhao; 132 | } 133 | /** 134 | * 获取:车位编号 135 | */ 136 | public String getCheweibianhao() { 137 | return cheweibianhao; 138 | } 139 | /** 140 | * 设置:车场类型 141 | */ 142 | public void setChechangleixing(String chechangleixing) { 143 | this.chechangleixing = chechangleixing; 144 | } 145 | /** 146 | * 获取:车场类型 147 | */ 148 | public String getChechangleixing() { 149 | return chechangleixing; 150 | } 151 | /** 152 | * 设置:状态 153 | */ 154 | public void setZhuangtai(String zhuangtai) { 155 | this.zhuangtai = zhuangtai; 156 | } 157 | /** 158 | * 获取:状态 159 | */ 160 | public String getZhuangtai() { 161 | return zhuangtai; 162 | } 163 | 164 | } 165 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/JiaofeixinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.JiaofeixinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 缴费信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class JiaofeixinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 缴费名称 28 | */ 29 | 30 | private String jiaofeimingcheng; 31 | 32 | /** 33 | * 用户名 34 | */ 35 | 36 | private String yonghuming; 37 | 38 | /** 39 | * 业主姓名 40 | */ 41 | 42 | private String yezhuxingming; 43 | 44 | /** 45 | * 缴费类型 46 | */ 47 | 48 | private String jiaofeileixing; 49 | 50 | /** 51 | * 缴费明细 52 | */ 53 | 54 | private String jiaofeimingxi; 55 | 56 | /** 57 | * 需缴金额 58 | */ 59 | 60 | private Float xujiaojine; 61 | 62 | /** 63 | * 发布时间 64 | */ 65 | 66 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 67 | @DateTimeFormat 68 | private Date fabushijian; 69 | 70 | /** 71 | * 是否支付 72 | */ 73 | 74 | private String ispay; 75 | 76 | 77 | /** 78 | * 设置:缴费名称 79 | */ 80 | 81 | public void setJiaofeimingcheng(String jiaofeimingcheng) { 82 | this.jiaofeimingcheng = jiaofeimingcheng; 83 | } 84 | 85 | /** 86 | * 获取:缴费名称 87 | */ 88 | public String getJiaofeimingcheng() { 89 | return jiaofeimingcheng; 90 | } 91 | 92 | 93 | /** 94 | * 设置:用户名 95 | */ 96 | 97 | public void setYonghuming(String yonghuming) { 98 | this.yonghuming = yonghuming; 99 | } 100 | 101 | /** 102 | * 获取:用户名 103 | */ 104 | public String getYonghuming() { 105 | return yonghuming; 106 | } 107 | 108 | 109 | /** 110 | * 设置:业主姓名 111 | */ 112 | 113 | public void setYezhuxingming(String yezhuxingming) { 114 | this.yezhuxingming = yezhuxingming; 115 | } 116 | 117 | /** 118 | * 获取:业主姓名 119 | */ 120 | public String getYezhuxingming() { 121 | return yezhuxingming; 122 | } 123 | 124 | 125 | /** 126 | * 设置:缴费类型 127 | */ 128 | 129 | public void setJiaofeileixing(String jiaofeileixing) { 130 | this.jiaofeileixing = jiaofeileixing; 131 | } 132 | 133 | /** 134 | * 获取:缴费类型 135 | */ 136 | public String getJiaofeileixing() { 137 | return jiaofeileixing; 138 | } 139 | 140 | 141 | /** 142 | * 设置:缴费明细 143 | */ 144 | 145 | public void setJiaofeimingxi(String jiaofeimingxi) { 146 | this.jiaofeimingxi = jiaofeimingxi; 147 | } 148 | 149 | /** 150 | * 获取:缴费明细 151 | */ 152 | public String getJiaofeimingxi() { 153 | return jiaofeimingxi; 154 | } 155 | 156 | 157 | /** 158 | * 设置:需缴金额 159 | */ 160 | 161 | public void setXujiaojine(Float xujiaojine) { 162 | this.xujiaojine = xujiaojine; 163 | } 164 | 165 | /** 166 | * 获取:需缴金额 167 | */ 168 | public Float getXujiaojine() { 169 | return xujiaojine; 170 | } 171 | 172 | 173 | /** 174 | * 设置:发布时间 175 | */ 176 | 177 | public void setFabushijian(Date fabushijian) { 178 | this.fabushijian = fabushijian; 179 | } 180 | 181 | /** 182 | * 获取:发布时间 183 | */ 184 | public Date getFabushijian() { 185 | return fabushijian; 186 | } 187 | 188 | 189 | /** 190 | * 设置:是否支付 191 | */ 192 | 193 | public void setIspay(String ispay) { 194 | this.ispay = ispay; 195 | } 196 | 197 | /** 198 | * 获取:是否支付 199 | */ 200 | public String getIspay() { 201 | return ispay; 202 | } 203 | 204 | } 205 | -------------------------------------------------------------------------------- /src/main/java/com/entity/HuodongxinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 活动信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("huodongxinxi") 32 | public class HuodongxinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public HuodongxinxiEntity() { 37 | 38 | } 39 | 40 | public HuodongxinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 活动名称 56 | */ 57 | 58 | private String huodongmingcheng; 59 | 60 | /** 61 | * 活动类型 62 | */ 63 | 64 | private String huodongleixing; 65 | 66 | /** 67 | * 活动时间 68 | */ 69 | 70 | private String huodongshijian; 71 | 72 | /** 73 | * 活动地址 74 | */ 75 | 76 | private String huodongdizhi; 77 | 78 | /** 79 | * 活动结果 80 | */ 81 | 82 | private String huodongjieguo; 83 | 84 | 85 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 86 | @DateTimeFormat 87 | private Date addtime; 88 | 89 | public Date getAddtime() { 90 | return addtime; 91 | } 92 | public void setAddtime(Date addtime) { 93 | this.addtime = addtime; 94 | } 95 | 96 | public Long getId() { 97 | return id; 98 | } 99 | 100 | public void setId(Long id) { 101 | this.id = id; 102 | } 103 | /** 104 | * 设置:活动名称 105 | */ 106 | public void setHuodongmingcheng(String huodongmingcheng) { 107 | this.huodongmingcheng = huodongmingcheng; 108 | } 109 | /** 110 | * 获取:活动名称 111 | */ 112 | public String getHuodongmingcheng() { 113 | return huodongmingcheng; 114 | } 115 | /** 116 | * 设置:活动类型 117 | */ 118 | public void setHuodongleixing(String huodongleixing) { 119 | this.huodongleixing = huodongleixing; 120 | } 121 | /** 122 | * 获取:活动类型 123 | */ 124 | public String getHuodongleixing() { 125 | return huodongleixing; 126 | } 127 | /** 128 | * 设置:活动时间 129 | */ 130 | public void setHuodongshijian(String huodongshijian) { 131 | this.huodongshijian = huodongshijian; 132 | } 133 | /** 134 | * 获取:活动时间 135 | */ 136 | public String getHuodongshijian() { 137 | return huodongshijian; 138 | } 139 | /** 140 | * 设置:活动地址 141 | */ 142 | public void setHuodongdizhi(String huodongdizhi) { 143 | this.huodongdizhi = huodongdizhi; 144 | } 145 | /** 146 | * 获取:活动地址 147 | */ 148 | public String getHuodongdizhi() { 149 | return huodongdizhi; 150 | } 151 | /** 152 | * 设置:活动结果 153 | */ 154 | public void setHuodongjieguo(String huodongjieguo) { 155 | this.huodongjieguo = huodongjieguo; 156 | } 157 | /** 158 | * 获取:活动结果 159 | */ 160 | public String getHuodongjieguo() { 161 | return huodongjieguo; 162 | } 163 | 164 | } 165 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/FuwupingjiaVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.FuwupingjiaEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 服务评价 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class FuwupingjiaVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 工号 27 | */ 28 | 29 | private String gonghao; 30 | 31 | /** 32 | * 姓名 33 | */ 34 | 35 | private String xingming; 36 | 37 | /** 38 | * 服务评价 39 | */ 40 | 41 | private String fuwupingjia; 42 | 43 | /** 44 | * 意见评价 45 | */ 46 | 47 | private String yijianpingjia; 48 | 49 | /** 50 | * 评价时间 51 | */ 52 | 53 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 54 | @DateTimeFormat 55 | private Date pingjiashijian; 56 | 57 | /** 58 | * 用户名 59 | */ 60 | 61 | private String yonghuming; 62 | 63 | /** 64 | * 业主姓名 65 | */ 66 | 67 | private String yezhuxingming; 68 | 69 | /** 70 | * 跨表用户id 71 | */ 72 | 73 | private Long crossuserid; 74 | 75 | /** 76 | * 跨表主键id 77 | */ 78 | 79 | private Long crossrefid; 80 | 81 | 82 | /** 83 | * 设置:工号 84 | */ 85 | 86 | public void setGonghao(String gonghao) { 87 | this.gonghao = gonghao; 88 | } 89 | 90 | /** 91 | * 获取:工号 92 | */ 93 | public String getGonghao() { 94 | return gonghao; 95 | } 96 | 97 | 98 | /** 99 | * 设置:姓名 100 | */ 101 | 102 | public void setXingming(String xingming) { 103 | this.xingming = xingming; 104 | } 105 | 106 | /** 107 | * 获取:姓名 108 | */ 109 | public String getXingming() { 110 | return xingming; 111 | } 112 | 113 | 114 | /** 115 | * 设置:服务评价 116 | */ 117 | 118 | public void setFuwupingjia(String fuwupingjia) { 119 | this.fuwupingjia = fuwupingjia; 120 | } 121 | 122 | /** 123 | * 获取:服务评价 124 | */ 125 | public String getFuwupingjia() { 126 | return fuwupingjia; 127 | } 128 | 129 | 130 | /** 131 | * 设置:意见评价 132 | */ 133 | 134 | public void setYijianpingjia(String yijianpingjia) { 135 | this.yijianpingjia = yijianpingjia; 136 | } 137 | 138 | /** 139 | * 获取:意见评价 140 | */ 141 | public String getYijianpingjia() { 142 | return yijianpingjia; 143 | } 144 | 145 | 146 | /** 147 | * 设置:评价时间 148 | */ 149 | 150 | public void setPingjiashijian(Date pingjiashijian) { 151 | this.pingjiashijian = pingjiashijian; 152 | } 153 | 154 | /** 155 | * 获取:评价时间 156 | */ 157 | public Date getPingjiashijian() { 158 | return pingjiashijian; 159 | } 160 | 161 | 162 | /** 163 | * 设置:用户名 164 | */ 165 | 166 | public void setYonghuming(String yonghuming) { 167 | this.yonghuming = yonghuming; 168 | } 169 | 170 | /** 171 | * 获取:用户名 172 | */ 173 | public String getYonghuming() { 174 | return yonghuming; 175 | } 176 | 177 | 178 | /** 179 | * 设置:业主姓名 180 | */ 181 | 182 | public void setYezhuxingming(String yezhuxingming) { 183 | this.yezhuxingming = yezhuxingming; 184 | } 185 | 186 | /** 187 | * 获取:业主姓名 188 | */ 189 | public String getYezhuxingming() { 190 | return yezhuxingming; 191 | } 192 | 193 | 194 | /** 195 | * 设置:跨表用户id 196 | */ 197 | 198 | public void setCrossuserid(Long crossuserid) { 199 | this.crossuserid = crossuserid; 200 | } 201 | 202 | /** 203 | * 获取:跨表用户id 204 | */ 205 | public Long getCrossuserid() { 206 | return crossuserid; 207 | } 208 | 209 | 210 | /** 211 | * 设置:跨表主键id 212 | */ 213 | 214 | public void setCrossrefid(Long crossrefid) { 215 | this.crossrefid = crossrefid; 216 | } 217 | 218 | /** 219 | * 获取:跨表主键id 220 | */ 221 | public Long getCrossrefid() { 222 | return crossrefid; 223 | } 224 | 225 | } 226 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TousuchuliEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 投诉处理 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("tousuchuli") 32 | public class TousuchuliEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public TousuchuliEntity() { 37 | 38 | } 39 | 40 | public TousuchuliEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 标题 56 | */ 57 | 58 | private String biaoti; 59 | 60 | /** 61 | * 投诉分类 62 | */ 63 | 64 | private String tousufenlei; 65 | 66 | /** 67 | * 处理结果 68 | */ 69 | 70 | private String chulijieguo; 71 | 72 | /** 73 | * 处理时间 74 | */ 75 | 76 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") 77 | @DateTimeFormat 78 | private Date chulishijian; 79 | 80 | /** 81 | * 用户名 82 | */ 83 | 84 | private String yonghuming; 85 | 86 | /** 87 | * 业主姓名 88 | */ 89 | 90 | private String yezhuxingming; 91 | 92 | 93 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 94 | @DateTimeFormat 95 | private Date addtime; 96 | 97 | public Date getAddtime() { 98 | return addtime; 99 | } 100 | public void setAddtime(Date addtime) { 101 | this.addtime = addtime; 102 | } 103 | 104 | public Long getId() { 105 | return id; 106 | } 107 | 108 | public void setId(Long id) { 109 | this.id = id; 110 | } 111 | /** 112 | * 设置:标题 113 | */ 114 | public void setBiaoti(String biaoti) { 115 | this.biaoti = biaoti; 116 | } 117 | /** 118 | * 获取:标题 119 | */ 120 | public String getBiaoti() { 121 | return biaoti; 122 | } 123 | /** 124 | * 设置:投诉分类 125 | */ 126 | public void setTousufenlei(String tousufenlei) { 127 | this.tousufenlei = tousufenlei; 128 | } 129 | /** 130 | * 获取:投诉分类 131 | */ 132 | public String getTousufenlei() { 133 | return tousufenlei; 134 | } 135 | /** 136 | * 设置:处理结果 137 | */ 138 | public void setChulijieguo(String chulijieguo) { 139 | this.chulijieguo = chulijieguo; 140 | } 141 | /** 142 | * 获取:处理结果 143 | */ 144 | public String getChulijieguo() { 145 | return chulijieguo; 146 | } 147 | /** 148 | * 设置:处理时间 149 | */ 150 | public void setChulishijian(Date chulishijian) { 151 | this.chulishijian = chulishijian; 152 | } 153 | /** 154 | * 获取:处理时间 155 | */ 156 | public Date getChulishijian() { 157 | return chulishijian; 158 | } 159 | /** 160 | * 设置:用户名 161 | */ 162 | public void setYonghuming(String yonghuming) { 163 | this.yonghuming = yonghuming; 164 | } 165 | /** 166 | * 获取:用户名 167 | */ 168 | public String getYonghuming() { 169 | return yonghuming; 170 | } 171 | /** 172 | * 设置:业主姓名 173 | */ 174 | public void setYezhuxingming(String yezhuxingming) { 175 | this.yezhuxingming = yezhuxingming; 176 | } 177 | /** 178 | * 获取:业主姓名 179 | */ 180 | public String getYezhuxingming() { 181 | return yezhuxingming; 182 | } 183 | 184 | } 185 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/FuwupingjiaModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.FuwupingjiaEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 服务评价 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class FuwupingjiaModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 工号 28 | */ 29 | 30 | private String gonghao; 31 | 32 | /** 33 | * 姓名 34 | */ 35 | 36 | private String xingming; 37 | 38 | /** 39 | * 服务评价 40 | */ 41 | 42 | private String fuwupingjia; 43 | 44 | /** 45 | * 意见评价 46 | */ 47 | 48 | private String yijianpingjia; 49 | 50 | /** 51 | * 评价时间 52 | */ 53 | 54 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 55 | @DateTimeFormat 56 | private Date pingjiashijian; 57 | 58 | /** 59 | * 用户名 60 | */ 61 | 62 | private String yonghuming; 63 | 64 | /** 65 | * 业主姓名 66 | */ 67 | 68 | private String yezhuxingming; 69 | 70 | /** 71 | * 跨表用户id 72 | */ 73 | 74 | private Long crossuserid; 75 | 76 | /** 77 | * 跨表主键id 78 | */ 79 | 80 | private Long crossrefid; 81 | 82 | 83 | /** 84 | * 设置:工号 85 | */ 86 | 87 | public void setGonghao(String gonghao) { 88 | this.gonghao = gonghao; 89 | } 90 | 91 | /** 92 | * 获取:工号 93 | */ 94 | public String getGonghao() { 95 | return gonghao; 96 | } 97 | 98 | 99 | /** 100 | * 设置:姓名 101 | */ 102 | 103 | public void setXingming(String xingming) { 104 | this.xingming = xingming; 105 | } 106 | 107 | /** 108 | * 获取:姓名 109 | */ 110 | public String getXingming() { 111 | return xingming; 112 | } 113 | 114 | 115 | /** 116 | * 设置:服务评价 117 | */ 118 | 119 | public void setFuwupingjia(String fuwupingjia) { 120 | this.fuwupingjia = fuwupingjia; 121 | } 122 | 123 | /** 124 | * 获取:服务评价 125 | */ 126 | public String getFuwupingjia() { 127 | return fuwupingjia; 128 | } 129 | 130 | 131 | /** 132 | * 设置:意见评价 133 | */ 134 | 135 | public void setYijianpingjia(String yijianpingjia) { 136 | this.yijianpingjia = yijianpingjia; 137 | } 138 | 139 | /** 140 | * 获取:意见评价 141 | */ 142 | public String getYijianpingjia() { 143 | return yijianpingjia; 144 | } 145 | 146 | 147 | /** 148 | * 设置:评价时间 149 | */ 150 | 151 | public void setPingjiashijian(Date pingjiashijian) { 152 | this.pingjiashijian = pingjiashijian; 153 | } 154 | 155 | /** 156 | * 获取:评价时间 157 | */ 158 | public Date getPingjiashijian() { 159 | return pingjiashijian; 160 | } 161 | 162 | 163 | /** 164 | * 设置:用户名 165 | */ 166 | 167 | public void setYonghuming(String yonghuming) { 168 | this.yonghuming = yonghuming; 169 | } 170 | 171 | /** 172 | * 获取:用户名 173 | */ 174 | public String getYonghuming() { 175 | return yonghuming; 176 | } 177 | 178 | 179 | /** 180 | * 设置:业主姓名 181 | */ 182 | 183 | public void setYezhuxingming(String yezhuxingming) { 184 | this.yezhuxingming = yezhuxingming; 185 | } 186 | 187 | /** 188 | * 获取:业主姓名 189 | */ 190 | public String getYezhuxingming() { 191 | return yezhuxingming; 192 | } 193 | 194 | 195 | /** 196 | * 设置:跨表用户id 197 | */ 198 | 199 | public void setCrossuserid(Long crossuserid) { 200 | this.crossuserid = crossuserid; 201 | } 202 | 203 | /** 204 | * 获取:跨表用户id 205 | */ 206 | public Long getCrossuserid() { 207 | return crossuserid; 208 | } 209 | 210 | 211 | /** 212 | * 设置:跨表主键id 213 | */ 214 | 215 | public void setCrossrefid(Long crossrefid) { 216 | this.crossrefid = crossrefid; 217 | } 218 | 219 | /** 220 | * 获取:跨表主键id 221 | */ 222 | public Long getCrossrefid() { 223 | return crossrefid; 224 | } 225 | 226 | } 227 | -------------------------------------------------------------------------------- /src/main/java/com/entity/XiaoquxinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 小区信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("xiaoquxinxi") 32 | public class XiaoquxinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public XiaoquxinxiEntity() { 37 | 38 | } 39 | 40 | public XiaoquxinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 小区名称 56 | */ 57 | 58 | private String xiaoqumingcheng; 59 | 60 | /** 61 | * 小区类型 62 | */ 63 | 64 | private String xiaoquleixing; 65 | 66 | /** 67 | * 物业名称 68 | */ 69 | 70 | private String wuyemingcheng; 71 | 72 | /** 73 | * 小区人数 74 | */ 75 | 76 | private Integer xiaoqurenshu; 77 | 78 | /** 79 | * 小区位置 80 | */ 81 | 82 | private String xiaoquweizhi; 83 | 84 | /** 85 | * 小区简介 86 | */ 87 | 88 | private String xiaoqujianjie; 89 | 90 | 91 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 92 | @DateTimeFormat 93 | private Date addtime; 94 | 95 | public Date getAddtime() { 96 | return addtime; 97 | } 98 | public void setAddtime(Date addtime) { 99 | this.addtime = addtime; 100 | } 101 | 102 | public Long getId() { 103 | return id; 104 | } 105 | 106 | public void setId(Long id) { 107 | this.id = id; 108 | } 109 | /** 110 | * 设置:小区名称 111 | */ 112 | public void setXiaoqumingcheng(String xiaoqumingcheng) { 113 | this.xiaoqumingcheng = xiaoqumingcheng; 114 | } 115 | /** 116 | * 获取:小区名称 117 | */ 118 | public String getXiaoqumingcheng() { 119 | return xiaoqumingcheng; 120 | } 121 | /** 122 | * 设置:小区类型 123 | */ 124 | public void setXiaoquleixing(String xiaoquleixing) { 125 | this.xiaoquleixing = xiaoquleixing; 126 | } 127 | /** 128 | * 获取:小区类型 129 | */ 130 | public String getXiaoquleixing() { 131 | return xiaoquleixing; 132 | } 133 | /** 134 | * 设置:物业名称 135 | */ 136 | public void setWuyemingcheng(String wuyemingcheng) { 137 | this.wuyemingcheng = wuyemingcheng; 138 | } 139 | /** 140 | * 获取:物业名称 141 | */ 142 | public String getWuyemingcheng() { 143 | return wuyemingcheng; 144 | } 145 | /** 146 | * 设置:小区人数 147 | */ 148 | public void setXiaoqurenshu(Integer xiaoqurenshu) { 149 | this.xiaoqurenshu = xiaoqurenshu; 150 | } 151 | /** 152 | * 获取:小区人数 153 | */ 154 | public Integer getXiaoqurenshu() { 155 | return xiaoqurenshu; 156 | } 157 | /** 158 | * 设置:小区位置 159 | */ 160 | public void setXiaoquweizhi(String xiaoquweizhi) { 161 | this.xiaoquweizhi = xiaoquweizhi; 162 | } 163 | /** 164 | * 获取:小区位置 165 | */ 166 | public String getXiaoquweizhi() { 167 | return xiaoquweizhi; 168 | } 169 | /** 170 | * 设置:小区简介 171 | */ 172 | public void setXiaoqujianjie(String xiaoqujianjie) { 173 | this.xiaoqujianjie = xiaoqujianjie; 174 | } 175 | /** 176 | * 获取:小区简介 177 | */ 178 | public String getXiaoqujianjie() { 179 | return xiaoqujianjie; 180 | } 181 | 182 | } 183 | -------------------------------------------------------------------------------- /src/main/java/com/entity/WeixiuyuanEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 维修员 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("weixiuyuan") 32 | public class WeixiuyuanEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public WeixiuyuanEntity() { 37 | 38 | } 39 | 40 | public WeixiuyuanEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 工号 56 | */ 57 | 58 | private String gonghao; 59 | 60 | /** 61 | * 密码 62 | */ 63 | 64 | private String mima; 65 | 66 | /** 67 | * 姓名 68 | */ 69 | 70 | private String xingming; 71 | 72 | /** 73 | * 性别 74 | */ 75 | 76 | private String xingbie; 77 | 78 | /** 79 | * 年龄 80 | */ 81 | 82 | private String nianling; 83 | 84 | /** 85 | * 邮箱 86 | */ 87 | 88 | private String youxiang; 89 | 90 | /** 91 | * 电话 92 | */ 93 | 94 | private String dianhua; 95 | 96 | 97 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 98 | @DateTimeFormat 99 | private Date addtime; 100 | 101 | public Date getAddtime() { 102 | return addtime; 103 | } 104 | public void setAddtime(Date addtime) { 105 | this.addtime = addtime; 106 | } 107 | 108 | public Long getId() { 109 | return id; 110 | } 111 | 112 | public void setId(Long id) { 113 | this.id = id; 114 | } 115 | /** 116 | * 设置:工号 117 | */ 118 | public void setGonghao(String gonghao) { 119 | this.gonghao = gonghao; 120 | } 121 | /** 122 | * 获取:工号 123 | */ 124 | public String getGonghao() { 125 | return gonghao; 126 | } 127 | /** 128 | * 设置:密码 129 | */ 130 | public void setMima(String mima) { 131 | this.mima = mima; 132 | } 133 | /** 134 | * 获取:密码 135 | */ 136 | public String getMima() { 137 | return mima; 138 | } 139 | /** 140 | * 设置:姓名 141 | */ 142 | public void setXingming(String xingming) { 143 | this.xingming = xingming; 144 | } 145 | /** 146 | * 获取:姓名 147 | */ 148 | public String getXingming() { 149 | return xingming; 150 | } 151 | /** 152 | * 设置:性别 153 | */ 154 | public void setXingbie(String xingbie) { 155 | this.xingbie = xingbie; 156 | } 157 | /** 158 | * 获取:性别 159 | */ 160 | public String getXingbie() { 161 | return xingbie; 162 | } 163 | /** 164 | * 设置:年龄 165 | */ 166 | public void setNianling(String nianling) { 167 | this.nianling = nianling; 168 | } 169 | /** 170 | * 获取:年龄 171 | */ 172 | public String getNianling() { 173 | return nianling; 174 | } 175 | /** 176 | * 设置:邮箱 177 | */ 178 | public void setYouxiang(String youxiang) { 179 | this.youxiang = youxiang; 180 | } 181 | /** 182 | * 获取:邮箱 183 | */ 184 | public String getYouxiang() { 185 | return youxiang; 186 | } 187 | /** 188 | * 设置:电话 189 | */ 190 | public void setDianhua(String dianhua) { 191 | this.dianhua = dianhua; 192 | } 193 | /** 194 | * 获取:电话 195 | */ 196 | public String getDianhua() { 197 | return dianhua; 198 | } 199 | 200 | } 201 | -------------------------------------------------------------------------------- /src/main/java/com/entity/WuyeguanliEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 物业管理 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("wuyeguanli") 32 | public class WuyeguanliEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public WuyeguanliEntity() { 37 | 38 | } 39 | 40 | public WuyeguanliEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 账号 56 | */ 57 | 58 | private String zhanghao; 59 | 60 | /** 61 | * 密码 62 | */ 63 | 64 | private String mima; 65 | 66 | /** 67 | * 姓名 68 | */ 69 | 70 | private String xingming; 71 | 72 | /** 73 | * 性别 74 | */ 75 | 76 | private String xingbie; 77 | 78 | /** 79 | * 年龄 80 | */ 81 | 82 | private String nianling; 83 | 84 | /** 85 | * 邮箱 86 | */ 87 | 88 | private String youxiang; 89 | 90 | /** 91 | * 电话 92 | */ 93 | 94 | private String dianhua; 95 | 96 | 97 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 98 | @DateTimeFormat 99 | private Date addtime; 100 | 101 | public Date getAddtime() { 102 | return addtime; 103 | } 104 | public void setAddtime(Date addtime) { 105 | this.addtime = addtime; 106 | } 107 | 108 | public Long getId() { 109 | return id; 110 | } 111 | 112 | public void setId(Long id) { 113 | this.id = id; 114 | } 115 | /** 116 | * 设置:账号 117 | */ 118 | public void setZhanghao(String zhanghao) { 119 | this.zhanghao = zhanghao; 120 | } 121 | /** 122 | * 获取:账号 123 | */ 124 | public String getZhanghao() { 125 | return zhanghao; 126 | } 127 | /** 128 | * 设置:密码 129 | */ 130 | public void setMima(String mima) { 131 | this.mima = mima; 132 | } 133 | /** 134 | * 获取:密码 135 | */ 136 | public String getMima() { 137 | return mima; 138 | } 139 | /** 140 | * 设置:姓名 141 | */ 142 | public void setXingming(String xingming) { 143 | this.xingming = xingming; 144 | } 145 | /** 146 | * 获取:姓名 147 | */ 148 | public String getXingming() { 149 | return xingming; 150 | } 151 | /** 152 | * 设置:性别 153 | */ 154 | public void setXingbie(String xingbie) { 155 | this.xingbie = xingbie; 156 | } 157 | /** 158 | * 获取:性别 159 | */ 160 | public String getXingbie() { 161 | return xingbie; 162 | } 163 | /** 164 | * 设置:年龄 165 | */ 166 | public void setNianling(String nianling) { 167 | this.nianling = nianling; 168 | } 169 | /** 170 | * 获取:年龄 171 | */ 172 | public String getNianling() { 173 | return nianling; 174 | } 175 | /** 176 | * 设置:邮箱 177 | */ 178 | public void setYouxiang(String youxiang) { 179 | this.youxiang = youxiang; 180 | } 181 | /** 182 | * 获取:邮箱 183 | */ 184 | public String getYouxiang() { 185 | return youxiang; 186 | } 187 | /** 188 | * 设置:电话 189 | */ 190 | public void setDianhua(String dianhua) { 191 | this.dianhua = dianhua; 192 | } 193 | /** 194 | * 获取:电话 195 | */ 196 | public String getDianhua() { 197 | return dianhua; 198 | } 199 | 200 | } 201 | -------------------------------------------------------------------------------- /src/main/java/com/entity/YezhuEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 业主 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("yezhu") 32 | public class YezhuEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public YezhuEntity() { 37 | 38 | } 39 | 40 | public YezhuEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 用户名 56 | */ 57 | 58 | private String yonghuming; 59 | 60 | /** 61 | * 密码 62 | */ 63 | 64 | private String mima; 65 | 66 | /** 67 | * 业主姓名 68 | */ 69 | 70 | private String yezhuxingming; 71 | 72 | /** 73 | * 性别 74 | */ 75 | 76 | private String xingbie; 77 | 78 | /** 79 | * 年龄 80 | */ 81 | 82 | private String nianling; 83 | 84 | /** 85 | * 邮箱 86 | */ 87 | 88 | private String youxiang; 89 | 90 | /** 91 | * 手机 92 | */ 93 | 94 | private String shouji; 95 | 96 | 97 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 98 | @DateTimeFormat 99 | private Date addtime; 100 | 101 | public Date getAddtime() { 102 | return addtime; 103 | } 104 | public void setAddtime(Date addtime) { 105 | this.addtime = addtime; 106 | } 107 | 108 | public Long getId() { 109 | return id; 110 | } 111 | 112 | public void setId(Long id) { 113 | this.id = id; 114 | } 115 | /** 116 | * 设置:用户名 117 | */ 118 | public void setYonghuming(String yonghuming) { 119 | this.yonghuming = yonghuming; 120 | } 121 | /** 122 | * 获取:用户名 123 | */ 124 | public String getYonghuming() { 125 | return yonghuming; 126 | } 127 | /** 128 | * 设置:密码 129 | */ 130 | public void setMima(String mima) { 131 | this.mima = mima; 132 | } 133 | /** 134 | * 获取:密码 135 | */ 136 | public String getMima() { 137 | return mima; 138 | } 139 | /** 140 | * 设置:业主姓名 141 | */ 142 | public void setYezhuxingming(String yezhuxingming) { 143 | this.yezhuxingming = yezhuxingming; 144 | } 145 | /** 146 | * 获取:业主姓名 147 | */ 148 | public String getYezhuxingming() { 149 | return yezhuxingming; 150 | } 151 | /** 152 | * 设置:性别 153 | */ 154 | public void setXingbie(String xingbie) { 155 | this.xingbie = xingbie; 156 | } 157 | /** 158 | * 获取:性别 159 | */ 160 | public String getXingbie() { 161 | return xingbie; 162 | } 163 | /** 164 | * 设置:年龄 165 | */ 166 | public void setNianling(String nianling) { 167 | this.nianling = nianling; 168 | } 169 | /** 170 | * 获取:年龄 171 | */ 172 | public String getNianling() { 173 | return nianling; 174 | } 175 | /** 176 | * 设置:邮箱 177 | */ 178 | public void setYouxiang(String youxiang) { 179 | this.youxiang = youxiang; 180 | } 181 | /** 182 | * 获取:邮箱 183 | */ 184 | public String getYouxiang() { 185 | return youxiang; 186 | } 187 | /** 188 | * 设置:手机 189 | */ 190 | public void setShouji(String shouji) { 191 | this.shouji = shouji; 192 | } 193 | /** 194 | * 获取:手机 195 | */ 196 | public String getShouji() { 197 | return shouji; 198 | } 199 | 200 | } 201 | -------------------------------------------------------------------------------- /src/main/java/com/entity/CheweixinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 车位信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("cheweixinxi") 32 | public class CheweixinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public CheweixinxiEntity() { 37 | 38 | } 39 | 40 | public CheweixinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 车位区号 56 | */ 57 | 58 | private String cheweiquhao; 59 | 60 | /** 61 | * 车位编号 62 | */ 63 | 64 | private String cheweibianhao; 65 | 66 | /** 67 | * 类型 68 | */ 69 | 70 | private String leixing; 71 | 72 | /** 73 | * 用户名 74 | */ 75 | 76 | private String yonghuming; 77 | 78 | /** 79 | * 业主姓名 80 | */ 81 | 82 | private String yezhuxingming; 83 | 84 | /** 85 | * 车位费 86 | */ 87 | 88 | private Float cheweifei; 89 | 90 | /** 91 | * 备注说明 92 | */ 93 | 94 | private String beizhushuoming; 95 | 96 | 97 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 98 | @DateTimeFormat 99 | private Date addtime; 100 | 101 | public Date getAddtime() { 102 | return addtime; 103 | } 104 | public void setAddtime(Date addtime) { 105 | this.addtime = addtime; 106 | } 107 | 108 | public Long getId() { 109 | return id; 110 | } 111 | 112 | public void setId(Long id) { 113 | this.id = id; 114 | } 115 | /** 116 | * 设置:车位区号 117 | */ 118 | public void setCheweiquhao(String cheweiquhao) { 119 | this.cheweiquhao = cheweiquhao; 120 | } 121 | /** 122 | * 获取:车位区号 123 | */ 124 | public String getCheweiquhao() { 125 | return cheweiquhao; 126 | } 127 | /** 128 | * 设置:车位编号 129 | */ 130 | public void setCheweibianhao(String cheweibianhao) { 131 | this.cheweibianhao = cheweibianhao; 132 | } 133 | /** 134 | * 获取:车位编号 135 | */ 136 | public String getCheweibianhao() { 137 | return cheweibianhao; 138 | } 139 | /** 140 | * 设置:类型 141 | */ 142 | public void setLeixing(String leixing) { 143 | this.leixing = leixing; 144 | } 145 | /** 146 | * 获取:类型 147 | */ 148 | public String getLeixing() { 149 | return leixing; 150 | } 151 | /** 152 | * 设置:用户名 153 | */ 154 | public void setYonghuming(String yonghuming) { 155 | this.yonghuming = yonghuming; 156 | } 157 | /** 158 | * 获取:用户名 159 | */ 160 | public String getYonghuming() { 161 | return yonghuming; 162 | } 163 | /** 164 | * 设置:业主姓名 165 | */ 166 | public void setYezhuxingming(String yezhuxingming) { 167 | this.yezhuxingming = yezhuxingming; 168 | } 169 | /** 170 | * 获取:业主姓名 171 | */ 172 | public String getYezhuxingming() { 173 | return yezhuxingming; 174 | } 175 | /** 176 | * 设置:车位费 177 | */ 178 | public void setCheweifei(Float cheweifei) { 179 | this.cheweifei = cheweifei; 180 | } 181 | /** 182 | * 获取:车位费 183 | */ 184 | public Float getCheweifei() { 185 | return cheweifei; 186 | } 187 | /** 188 | * 设置:备注说明 189 | */ 190 | public void setBeizhushuoming(String beizhushuoming) { 191 | this.beizhushuoming = beizhushuoming; 192 | } 193 | /** 194 | * 获取:备注说明 195 | */ 196 | public String getBeizhushuoming() { 197 | return beizhushuoming; 198 | } 199 | 200 | } 201 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TousuxinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 投诉信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("tousuxinxi") 32 | public class TousuxinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public TousuxinxiEntity() { 37 | 38 | } 39 | 40 | public TousuxinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 标题 56 | */ 57 | 58 | private String biaoti; 59 | 60 | /** 61 | * 投诉分类 62 | */ 63 | 64 | private String tousufenlei; 65 | 66 | /** 67 | * 投诉内容 68 | */ 69 | 70 | private String tousuneirong; 71 | 72 | /** 73 | * 投诉时间 74 | */ 75 | 76 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") 77 | @DateTimeFormat 78 | private Date tousushijian; 79 | 80 | /** 81 | * 用户名 82 | */ 83 | 84 | private String yonghuming; 85 | 86 | /** 87 | * 业主姓名 88 | */ 89 | 90 | private String yezhuxingming; 91 | 92 | /** 93 | * 处理状态 94 | */ 95 | 96 | private String chulizhuangtai; 97 | 98 | 99 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 100 | @DateTimeFormat 101 | private Date addtime; 102 | 103 | public Date getAddtime() { 104 | return addtime; 105 | } 106 | public void setAddtime(Date addtime) { 107 | this.addtime = addtime; 108 | } 109 | 110 | public Long getId() { 111 | return id; 112 | } 113 | 114 | public void setId(Long id) { 115 | this.id = id; 116 | } 117 | /** 118 | * 设置:标题 119 | */ 120 | public void setBiaoti(String biaoti) { 121 | this.biaoti = biaoti; 122 | } 123 | /** 124 | * 获取:标题 125 | */ 126 | public String getBiaoti() { 127 | return biaoti; 128 | } 129 | /** 130 | * 设置:投诉分类 131 | */ 132 | public void setTousufenlei(String tousufenlei) { 133 | this.tousufenlei = tousufenlei; 134 | } 135 | /** 136 | * 获取:投诉分类 137 | */ 138 | public String getTousufenlei() { 139 | return tousufenlei; 140 | } 141 | /** 142 | * 设置:投诉内容 143 | */ 144 | public void setTousuneirong(String tousuneirong) { 145 | this.tousuneirong = tousuneirong; 146 | } 147 | /** 148 | * 获取:投诉内容 149 | */ 150 | public String getTousuneirong() { 151 | return tousuneirong; 152 | } 153 | /** 154 | * 设置:投诉时间 155 | */ 156 | public void setTousushijian(Date tousushijian) { 157 | this.tousushijian = tousushijian; 158 | } 159 | /** 160 | * 获取:投诉时间 161 | */ 162 | public Date getTousushijian() { 163 | return tousushijian; 164 | } 165 | /** 166 | * 设置:用户名 167 | */ 168 | public void setYonghuming(String yonghuming) { 169 | this.yonghuming = yonghuming; 170 | } 171 | /** 172 | * 获取:用户名 173 | */ 174 | public String getYonghuming() { 175 | return yonghuming; 176 | } 177 | /** 178 | * 设置:业主姓名 179 | */ 180 | public void setYezhuxingming(String yezhuxingming) { 181 | this.yezhuxingming = yezhuxingming; 182 | } 183 | /** 184 | * 获取:业主姓名 185 | */ 186 | public String getYezhuxingming() { 187 | return yezhuxingming; 188 | } 189 | /** 190 | * 设置:处理状态 191 | */ 192 | public void setChulizhuangtai(String chulizhuangtai) { 193 | this.chulizhuangtai = chulizhuangtai; 194 | } 195 | /** 196 | * 获取:处理状态 197 | */ 198 | public String getChulizhuangtai() { 199 | return chulizhuangtai; 200 | } 201 | 202 | } 203 | -------------------------------------------------------------------------------- /src/main/java/com/entity/BaoxiuxinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 报修信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("baoxiuxinxi") 32 | public class BaoxiuxinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public BaoxiuxinxiEntity() { 37 | 38 | } 39 | 40 | public BaoxiuxinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 名称 56 | */ 57 | 58 | private String mingcheng; 59 | 60 | /** 61 | * 报修物品 62 | */ 63 | 64 | private String baoxiuwupin; 65 | 66 | /** 67 | * 报修问题 68 | */ 69 | 70 | private String baoxiuwenti; 71 | 72 | /** 73 | * 报修日期 74 | */ 75 | 76 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") 77 | @DateTimeFormat 78 | private Date baoxiuriqi; 79 | 80 | /** 81 | * 用户名 82 | */ 83 | 84 | private String yonghuming; 85 | 86 | /** 87 | * 业主姓名 88 | */ 89 | 90 | private String yezhuxingming; 91 | 92 | /** 93 | * 处理状态 94 | */ 95 | 96 | private String chulizhuangtai; 97 | 98 | 99 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 100 | @DateTimeFormat 101 | private Date addtime; 102 | 103 | public Date getAddtime() { 104 | return addtime; 105 | } 106 | public void setAddtime(Date addtime) { 107 | this.addtime = addtime; 108 | } 109 | 110 | public Long getId() { 111 | return id; 112 | } 113 | 114 | public void setId(Long id) { 115 | this.id = id; 116 | } 117 | /** 118 | * 设置:名称 119 | */ 120 | public void setMingcheng(String mingcheng) { 121 | this.mingcheng = mingcheng; 122 | } 123 | /** 124 | * 获取:名称 125 | */ 126 | public String getMingcheng() { 127 | return mingcheng; 128 | } 129 | /** 130 | * 设置:报修物品 131 | */ 132 | public void setBaoxiuwupin(String baoxiuwupin) { 133 | this.baoxiuwupin = baoxiuwupin; 134 | } 135 | /** 136 | * 获取:报修物品 137 | */ 138 | public String getBaoxiuwupin() { 139 | return baoxiuwupin; 140 | } 141 | /** 142 | * 设置:报修问题 143 | */ 144 | public void setBaoxiuwenti(String baoxiuwenti) { 145 | this.baoxiuwenti = baoxiuwenti; 146 | } 147 | /** 148 | * 获取:报修问题 149 | */ 150 | public String getBaoxiuwenti() { 151 | return baoxiuwenti; 152 | } 153 | /** 154 | * 设置:报修日期 155 | */ 156 | public void setBaoxiuriqi(Date baoxiuriqi) { 157 | this.baoxiuriqi = baoxiuriqi; 158 | } 159 | /** 160 | * 获取:报修日期 161 | */ 162 | public Date getBaoxiuriqi() { 163 | return baoxiuriqi; 164 | } 165 | /** 166 | * 设置:用户名 167 | */ 168 | public void setYonghuming(String yonghuming) { 169 | this.yonghuming = yonghuming; 170 | } 171 | /** 172 | * 获取:用户名 173 | */ 174 | public String getYonghuming() { 175 | return yonghuming; 176 | } 177 | /** 178 | * 设置:业主姓名 179 | */ 180 | public void setYezhuxingming(String yezhuxingming) { 181 | this.yezhuxingming = yezhuxingming; 182 | } 183 | /** 184 | * 获取:业主姓名 185 | */ 186 | public String getYezhuxingming() { 187 | return yezhuxingming; 188 | } 189 | /** 190 | * 设置:处理状态 191 | */ 192 | public void setChulizhuangtai(String chulizhuangtai) { 193 | this.chulizhuangtai = chulizhuangtai; 194 | } 195 | /** 196 | * 获取:处理状态 197 | */ 198 | public String getChulizhuangtai() { 199 | return chulizhuangtai; 200 | } 201 | 202 | } 203 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/FangchanxinxiVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.FangchanxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 房产信息 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-25 16:19:37 20 | */ 21 | public class FangchanxinxiVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 房产名 27 | */ 28 | 29 | private String fangchanming; 30 | 31 | /** 32 | * 房屋类型 33 | */ 34 | 35 | private String fangwuleixing; 36 | 37 | /** 38 | * 单元号 39 | */ 40 | 41 | private String danyuanhao; 42 | 43 | /** 44 | * 楼栋 45 | */ 46 | 47 | private String loudong; 48 | 49 | /** 50 | * 售价 51 | */ 52 | 53 | private Float shoujia; 54 | 55 | /** 56 | * 建筑年份 57 | */ 58 | 59 | private String jianzhunianfen; 60 | 61 | /** 62 | * 风格 63 | */ 64 | 65 | private String fengge; 66 | 67 | /** 68 | * 房屋面积 69 | */ 70 | 71 | private String fangwumianji; 72 | 73 | /** 74 | * 房屋朝向 75 | */ 76 | 77 | private String fangwuchaoxiang; 78 | 79 | /** 80 | * 房屋地址 81 | */ 82 | 83 | private String fangwudizhi; 84 | 85 | /** 86 | * 房屋状态 87 | */ 88 | 89 | private String fangwuzhuangtai; 90 | 91 | 92 | /** 93 | * 设置:房产名 94 | */ 95 | 96 | public void setFangchanming(String fangchanming) { 97 | this.fangchanming = fangchanming; 98 | } 99 | 100 | /** 101 | * 获取:房产名 102 | */ 103 | public String getFangchanming() { 104 | return fangchanming; 105 | } 106 | 107 | 108 | /** 109 | * 设置:房屋类型 110 | */ 111 | 112 | public void setFangwuleixing(String fangwuleixing) { 113 | this.fangwuleixing = fangwuleixing; 114 | } 115 | 116 | /** 117 | * 获取:房屋类型 118 | */ 119 | public String getFangwuleixing() { 120 | return fangwuleixing; 121 | } 122 | 123 | 124 | /** 125 | * 设置:单元号 126 | */ 127 | 128 | public void setDanyuanhao(String danyuanhao) { 129 | this.danyuanhao = danyuanhao; 130 | } 131 | 132 | /** 133 | * 获取:单元号 134 | */ 135 | public String getDanyuanhao() { 136 | return danyuanhao; 137 | } 138 | 139 | 140 | /** 141 | * 设置:楼栋 142 | */ 143 | 144 | public void setLoudong(String loudong) { 145 | this.loudong = loudong; 146 | } 147 | 148 | /** 149 | * 获取:楼栋 150 | */ 151 | public String getLoudong() { 152 | return loudong; 153 | } 154 | 155 | 156 | /** 157 | * 设置:售价 158 | */ 159 | 160 | public void setShoujia(Float shoujia) { 161 | this.shoujia = shoujia; 162 | } 163 | 164 | /** 165 | * 获取:售价 166 | */ 167 | public Float getShoujia() { 168 | return shoujia; 169 | } 170 | 171 | 172 | /** 173 | * 设置:建筑年份 174 | */ 175 | 176 | public void setJianzhunianfen(String jianzhunianfen) { 177 | this.jianzhunianfen = jianzhunianfen; 178 | } 179 | 180 | /** 181 | * 获取:建筑年份 182 | */ 183 | public String getJianzhunianfen() { 184 | return jianzhunianfen; 185 | } 186 | 187 | 188 | /** 189 | * 设置:风格 190 | */ 191 | 192 | public void setFengge(String fengge) { 193 | this.fengge = fengge; 194 | } 195 | 196 | /** 197 | * 获取:风格 198 | */ 199 | public String getFengge() { 200 | return fengge; 201 | } 202 | 203 | 204 | /** 205 | * 设置:房屋面积 206 | */ 207 | 208 | public void setFangwumianji(String fangwumianji) { 209 | this.fangwumianji = fangwumianji; 210 | } 211 | 212 | /** 213 | * 获取:房屋面积 214 | */ 215 | public String getFangwumianji() { 216 | return fangwumianji; 217 | } 218 | 219 | 220 | /** 221 | * 设置:房屋朝向 222 | */ 223 | 224 | public void setFangwuchaoxiang(String fangwuchaoxiang) { 225 | this.fangwuchaoxiang = fangwuchaoxiang; 226 | } 227 | 228 | /** 229 | * 获取:房屋朝向 230 | */ 231 | public String getFangwuchaoxiang() { 232 | return fangwuchaoxiang; 233 | } 234 | 235 | 236 | /** 237 | * 设置:房屋地址 238 | */ 239 | 240 | public void setFangwudizhi(String fangwudizhi) { 241 | this.fangwudizhi = fangwudizhi; 242 | } 243 | 244 | /** 245 | * 获取:房屋地址 246 | */ 247 | public String getFangwudizhi() { 248 | return fangwudizhi; 249 | } 250 | 251 | 252 | /** 253 | * 设置:房屋状态 254 | */ 255 | 256 | public void setFangwuzhuangtai(String fangwuzhuangtai) { 257 | this.fangwuzhuangtai = fangwuzhuangtai; 258 | } 259 | 260 | /** 261 | * 获取:房屋状态 262 | */ 263 | public String getFangwuzhuangtai() { 264 | return fangwuzhuangtai; 265 | } 266 | 267 | } 268 | -------------------------------------------------------------------------------- /src/main/java/com/entity/WeixiuchuliEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 维修处理 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("weixiuchuli") 32 | public class WeixiuchuliEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public WeixiuchuliEntity() { 37 | 38 | } 39 | 40 | public WeixiuchuliEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 名称 56 | */ 57 | 58 | private String mingcheng; 59 | 60 | /** 61 | * 报修物品 62 | */ 63 | 64 | private String baoxiuwupin; 65 | 66 | /** 67 | * 用户名 68 | */ 69 | 70 | private String yonghuming; 71 | 72 | /** 73 | * 业主姓名 74 | */ 75 | 76 | private String yezhuxingming; 77 | 78 | /** 79 | * 处理结果 80 | */ 81 | 82 | private String chulijieguo; 83 | 84 | /** 85 | * 处理时间 86 | */ 87 | 88 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") 89 | @DateTimeFormat 90 | private Date chulishijian; 91 | 92 | /** 93 | * 工号 94 | */ 95 | 96 | private String gonghao; 97 | 98 | /** 99 | * 姓名 100 | */ 101 | 102 | private String xingming; 103 | 104 | 105 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 106 | @DateTimeFormat 107 | private Date addtime; 108 | 109 | public Date getAddtime() { 110 | return addtime; 111 | } 112 | public void setAddtime(Date addtime) { 113 | this.addtime = addtime; 114 | } 115 | 116 | public Long getId() { 117 | return id; 118 | } 119 | 120 | public void setId(Long id) { 121 | this.id = id; 122 | } 123 | /** 124 | * 设置:名称 125 | */ 126 | public void setMingcheng(String mingcheng) { 127 | this.mingcheng = mingcheng; 128 | } 129 | /** 130 | * 获取:名称 131 | */ 132 | public String getMingcheng() { 133 | return mingcheng; 134 | } 135 | /** 136 | * 设置:报修物品 137 | */ 138 | public void setBaoxiuwupin(String baoxiuwupin) { 139 | this.baoxiuwupin = baoxiuwupin; 140 | } 141 | /** 142 | * 获取:报修物品 143 | */ 144 | public String getBaoxiuwupin() { 145 | return baoxiuwupin; 146 | } 147 | /** 148 | * 设置:用户名 149 | */ 150 | public void setYonghuming(String yonghuming) { 151 | this.yonghuming = yonghuming; 152 | } 153 | /** 154 | * 获取:用户名 155 | */ 156 | public String getYonghuming() { 157 | return yonghuming; 158 | } 159 | /** 160 | * 设置:业主姓名 161 | */ 162 | public void setYezhuxingming(String yezhuxingming) { 163 | this.yezhuxingming = yezhuxingming; 164 | } 165 | /** 166 | * 获取:业主姓名 167 | */ 168 | public String getYezhuxingming() { 169 | return yezhuxingming; 170 | } 171 | /** 172 | * 设置:处理结果 173 | */ 174 | public void setChulijieguo(String chulijieguo) { 175 | this.chulijieguo = chulijieguo; 176 | } 177 | /** 178 | * 获取:处理结果 179 | */ 180 | public String getChulijieguo() { 181 | return chulijieguo; 182 | } 183 | /** 184 | * 设置:处理时间 185 | */ 186 | public void setChulishijian(Date chulishijian) { 187 | this.chulishijian = chulishijian; 188 | } 189 | /** 190 | * 获取:处理时间 191 | */ 192 | public Date getChulishijian() { 193 | return chulishijian; 194 | } 195 | /** 196 | * 设置:工号 197 | */ 198 | public void setGonghao(String gonghao) { 199 | this.gonghao = gonghao; 200 | } 201 | /** 202 | * 获取:工号 203 | */ 204 | public String getGonghao() { 205 | return gonghao; 206 | } 207 | /** 208 | * 设置:姓名 209 | */ 210 | public void setXingming(String xingming) { 211 | this.xingming = xingming; 212 | } 213 | /** 214 | * 获取:姓名 215 | */ 216 | public String getXingming() { 217 | return xingming; 218 | } 219 | 220 | } 221 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/FangchanxinxiModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.FangchanxinxiEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 房产信息 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-25 16:19:37 21 | */ 22 | public class FangchanxinxiModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 房产名 28 | */ 29 | 30 | private String fangchanming; 31 | 32 | /** 33 | * 房屋类型 34 | */ 35 | 36 | private String fangwuleixing; 37 | 38 | /** 39 | * 单元号 40 | */ 41 | 42 | private String danyuanhao; 43 | 44 | /** 45 | * 楼栋 46 | */ 47 | 48 | private String loudong; 49 | 50 | /** 51 | * 售价 52 | */ 53 | 54 | private Float shoujia; 55 | 56 | /** 57 | * 建筑年份 58 | */ 59 | 60 | private String jianzhunianfen; 61 | 62 | /** 63 | * 风格 64 | */ 65 | 66 | private String fengge; 67 | 68 | /** 69 | * 房屋面积 70 | */ 71 | 72 | private String fangwumianji; 73 | 74 | /** 75 | * 房屋朝向 76 | */ 77 | 78 | private String fangwuchaoxiang; 79 | 80 | /** 81 | * 房屋地址 82 | */ 83 | 84 | private String fangwudizhi; 85 | 86 | /** 87 | * 房屋状态 88 | */ 89 | 90 | private String fangwuzhuangtai; 91 | 92 | 93 | /** 94 | * 设置:房产名 95 | */ 96 | 97 | public void setFangchanming(String fangchanming) { 98 | this.fangchanming = fangchanming; 99 | } 100 | 101 | /** 102 | * 获取:房产名 103 | */ 104 | public String getFangchanming() { 105 | return fangchanming; 106 | } 107 | 108 | 109 | /** 110 | * 设置:房屋类型 111 | */ 112 | 113 | public void setFangwuleixing(String fangwuleixing) { 114 | this.fangwuleixing = fangwuleixing; 115 | } 116 | 117 | /** 118 | * 获取:房屋类型 119 | */ 120 | public String getFangwuleixing() { 121 | return fangwuleixing; 122 | } 123 | 124 | 125 | /** 126 | * 设置:单元号 127 | */ 128 | 129 | public void setDanyuanhao(String danyuanhao) { 130 | this.danyuanhao = danyuanhao; 131 | } 132 | 133 | /** 134 | * 获取:单元号 135 | */ 136 | public String getDanyuanhao() { 137 | return danyuanhao; 138 | } 139 | 140 | 141 | /** 142 | * 设置:楼栋 143 | */ 144 | 145 | public void setLoudong(String loudong) { 146 | this.loudong = loudong; 147 | } 148 | 149 | /** 150 | * 获取:楼栋 151 | */ 152 | public String getLoudong() { 153 | return loudong; 154 | } 155 | 156 | 157 | /** 158 | * 设置:售价 159 | */ 160 | 161 | public void setShoujia(Float shoujia) { 162 | this.shoujia = shoujia; 163 | } 164 | 165 | /** 166 | * 获取:售价 167 | */ 168 | public Float getShoujia() { 169 | return shoujia; 170 | } 171 | 172 | 173 | /** 174 | * 设置:建筑年份 175 | */ 176 | 177 | public void setJianzhunianfen(String jianzhunianfen) { 178 | this.jianzhunianfen = jianzhunianfen; 179 | } 180 | 181 | /** 182 | * 获取:建筑年份 183 | */ 184 | public String getJianzhunianfen() { 185 | return jianzhunianfen; 186 | } 187 | 188 | 189 | /** 190 | * 设置:风格 191 | */ 192 | 193 | public void setFengge(String fengge) { 194 | this.fengge = fengge; 195 | } 196 | 197 | /** 198 | * 获取:风格 199 | */ 200 | public String getFengge() { 201 | return fengge; 202 | } 203 | 204 | 205 | /** 206 | * 设置:房屋面积 207 | */ 208 | 209 | public void setFangwumianji(String fangwumianji) { 210 | this.fangwumianji = fangwumianji; 211 | } 212 | 213 | /** 214 | * 获取:房屋面积 215 | */ 216 | public String getFangwumianji() { 217 | return fangwumianji; 218 | } 219 | 220 | 221 | /** 222 | * 设置:房屋朝向 223 | */ 224 | 225 | public void setFangwuchaoxiang(String fangwuchaoxiang) { 226 | this.fangwuchaoxiang = fangwuchaoxiang; 227 | } 228 | 229 | /** 230 | * 获取:房屋朝向 231 | */ 232 | public String getFangwuchaoxiang() { 233 | return fangwuchaoxiang; 234 | } 235 | 236 | 237 | /** 238 | * 设置:房屋地址 239 | */ 240 | 241 | public void setFangwudizhi(String fangwudizhi) { 242 | this.fangwudizhi = fangwudizhi; 243 | } 244 | 245 | /** 246 | * 获取:房屋地址 247 | */ 248 | public String getFangwudizhi() { 249 | return fangwudizhi; 250 | } 251 | 252 | 253 | /** 254 | * 设置:房屋状态 255 | */ 256 | 257 | public void setFangwuzhuangtai(String fangwuzhuangtai) { 258 | this.fangwuzhuangtai = fangwuzhuangtai; 259 | } 260 | 261 | /** 262 | * 获取:房屋状态 263 | */ 264 | public String getFangwuzhuangtai() { 265 | return fangwuzhuangtai; 266 | } 267 | 268 | } 269 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TingchexinxiEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 停车信息 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-25 16:19:37 30 | */ 31 | @TableName("tingchexinxi") 32 | public class TingchexinxiEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public TingchexinxiEntity() { 37 | 38 | } 39 | 40 | public TingchexinxiEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 车位区号 56 | */ 57 | 58 | private String cheweiquhao; 59 | 60 | /** 61 | * 车位编号 62 | */ 63 | 64 | private String cheweibianhao; 65 | 66 | /** 67 | * 停车时间 68 | */ 69 | 70 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 71 | @DateTimeFormat 72 | private Date tingcheshijian; 73 | 74 | /** 75 | * 用户名 76 | */ 77 | 78 | private String yonghuming; 79 | 80 | /** 81 | * 业主姓名 82 | */ 83 | 84 | private String yezhuxingming; 85 | 86 | /** 87 | * 手机 88 | */ 89 | 90 | private String shouji; 91 | 92 | /** 93 | * 车牌图片 94 | */ 95 | 96 | private String chepaitupian; 97 | 98 | /** 99 | * 车牌号 100 | */ 101 | 102 | private String chepaihao; 103 | 104 | 105 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 106 | @DateTimeFormat 107 | private Date addtime; 108 | 109 | public Date getAddtime() { 110 | return addtime; 111 | } 112 | public void setAddtime(Date addtime) { 113 | this.addtime = addtime; 114 | } 115 | 116 | public Long getId() { 117 | return id; 118 | } 119 | 120 | public void setId(Long id) { 121 | this.id = id; 122 | } 123 | /** 124 | * 设置:车位区号 125 | */ 126 | public void setCheweiquhao(String cheweiquhao) { 127 | this.cheweiquhao = cheweiquhao; 128 | } 129 | /** 130 | * 获取:车位区号 131 | */ 132 | public String getCheweiquhao() { 133 | return cheweiquhao; 134 | } 135 | /** 136 | * 设置:车位编号 137 | */ 138 | public void setCheweibianhao(String cheweibianhao) { 139 | this.cheweibianhao = cheweibianhao; 140 | } 141 | /** 142 | * 获取:车位编号 143 | */ 144 | public String getCheweibianhao() { 145 | return cheweibianhao; 146 | } 147 | /** 148 | * 设置:停车时间 149 | */ 150 | public void setTingcheshijian(Date tingcheshijian) { 151 | this.tingcheshijian = tingcheshijian; 152 | } 153 | /** 154 | * 获取:停车时间 155 | */ 156 | public Date getTingcheshijian() { 157 | return tingcheshijian; 158 | } 159 | /** 160 | * 设置:用户名 161 | */ 162 | public void setYonghuming(String yonghuming) { 163 | this.yonghuming = yonghuming; 164 | } 165 | /** 166 | * 获取:用户名 167 | */ 168 | public String getYonghuming() { 169 | return yonghuming; 170 | } 171 | /** 172 | * 设置:业主姓名 173 | */ 174 | public void setYezhuxingming(String yezhuxingming) { 175 | this.yezhuxingming = yezhuxingming; 176 | } 177 | /** 178 | * 获取:业主姓名 179 | */ 180 | public String getYezhuxingming() { 181 | return yezhuxingming; 182 | } 183 | /** 184 | * 设置:手机 185 | */ 186 | public void setShouji(String shouji) { 187 | this.shouji = shouji; 188 | } 189 | /** 190 | * 获取:手机 191 | */ 192 | public String getShouji() { 193 | return shouji; 194 | } 195 | /** 196 | * 设置:车牌图片 197 | */ 198 | public void setChepaitupian(String chepaitupian) { 199 | this.chepaitupian = chepaitupian; 200 | } 201 | /** 202 | * 获取:车牌图片 203 | */ 204 | public String getChepaitupian() { 205 | return chepaitupian; 206 | } 207 | /** 208 | * 设置:车牌号 209 | */ 210 | public void setChepaihao(String chepaihao) { 211 | this.chepaihao = chepaihao; 212 | } 213 | /** 214 | * 获取:车牌号 215 | */ 216 | public String getChepaihao() { 217 | return chepaihao; 218 | } 219 | 220 | } 221 | --------------------------------------------------------------------------------