LIDEXI 5 лет назад
Родитель
Сommit
abaebcd2fe
100 измененных файлов с 6195 добавлено и 21 удалено
  1. 4 1
      blade-biz-common/src/main/java/org/springblade/common/constant/ServicesName.java
  2. 0 6
      blade-service-api/estate-api/pom.xml
  3. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/AccessRecordDTO.java
  4. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ArticleDTO.java
  5. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarDTO.java
  6. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarEnterRecordDTO.java
  7. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarOutRecordDTO.java
  8. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/GuestDTO.java
  9. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ParkingLotDTO.java
  10. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ParkingSpaceDTO.java
  11. 34 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/RepairDTO.java
  12. 127 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/AccessRecord.java
  13. 67 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Article.java
  14. 137 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Car.java
  15. 118 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/CarEnterRecord.java
  16. 133 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/CarOutRecord.java
  17. 177 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Guest.java
  18. 143 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/ParkingLot.java
  19. 83 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/ParkingSpace.java
  20. 138 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Repair.java
  21. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/AccessRecordClientFallback.java
  22. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ArticleClientFallback.java
  23. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarClientFallback.java
  24. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarEnterRecordClientFallback.java
  25. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarOutRecordClientFallback.java
  26. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/GuestClientFallback.java
  27. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IAccessRecordClient.java
  28. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IArticleClient.java
  29. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarClient.java
  30. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarEnterRecordClient.java
  31. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarOutRecordClient.java
  32. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IGuestClient.java
  33. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IParkingLotClient.java
  34. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IParkingSpaceClient.java
  35. 63 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IRepairClient.java
  36. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ParkingLotClientFallback.java
  37. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ParkingSpaceClientFallback.java
  38. 62 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/RepairClientFallback.java
  39. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/AccessRecordVO.java
  40. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ArticleVO.java
  41. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarEnterRecordVO.java
  42. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarOutRecordVO.java
  43. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarVO.java
  44. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/GuestVO.java
  45. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ParkingLotVO.java
  46. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ParkingSpaceVO.java
  47. 36 0
      blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/RepairVO.java
  48. 0 2
      blade-service-api/pom.xml
  49. 2 12
      blade-service/estate/pom.xml
  50. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/AccessRecordController.java
  51. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/ArticleController.java
  52. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/CarController.java
  53. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/CarEnterRecordController.java
  54. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/CarOutRecordController.java
  55. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/GuestController.java
  56. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/ParkingLotController.java
  57. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/ParkingSpaceController.java
  58. 129 0
      blade-service/estate/src/main/java/org/springblade/estate/controller/RepairController.java
  59. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/AccessRecordClient.java
  60. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/ArticleClient.java
  61. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/CarClient.java
  62. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/CarEnterRecordClient.java
  63. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/CarOutRecordClient.java
  64. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/GuestClient.java
  65. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/ParkingLotClient.java
  66. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/ParkingSpaceClient.java
  67. 90 0
      blade-service/estate/src/main/java/org/springblade/estate/feign/RepairClient.java
  68. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/AccessRecordMapper.java
  69. 39 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/AccessRecordMapper.xml
  70. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ArticleMapper.java
  71. 27 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ArticleMapper.xml
  72. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarEnterRecordMapper.java
  73. 37 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarEnterRecordMapper.xml
  74. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarMapper.java
  75. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarMapper.xml
  76. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarOutRecordMapper.java
  77. 40 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/CarOutRecordMapper.xml
  78. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/GuestMapper.java
  79. 49 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/GuestMapper.xml
  80. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingLotMapper.java
  81. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingLotMapper.xml
  82. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingSpaceMapper.java
  83. 31 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingSpaceMapper.xml
  84. 42 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/RepairMapper.java
  85. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/mapper/RepairMapper.xml
  86. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IAccessRecordService.java
  87. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IArticleService.java
  88. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/ICarEnterRecordService.java
  89. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/ICarOutRecordService.java
  90. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/ICarService.java
  91. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IGuestService.java
  92. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IParkingLotService.java
  93. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IParkingSpaceService.java
  94. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/IRepairService.java
  95. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/AccessRecordServiceImpl.java
  96. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/ArticleServiceImpl.java
  97. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarEnterRecordServiceImpl.java
  98. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarOutRecordServiceImpl.java
  99. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarServiceImpl.java
  100. 41 0
      blade-service/estate/src/main/java/org/springblade/estate/service/impl/GuestServiceImpl.java

+ 4 - 1
blade-biz-common/src/main/java/org/springblade/common/constant/ServicesName.java

@@ -3,7 +3,7 @@ package org.springblade.common.constant;
 public interface ServicesName  {
 
 	//物业服务
-	String ESTATE_SERVICE = "estate";
+	String ESTATE_SERVICE = "cyzh-estate";
 
 	//社区服务(园区)
 	String COMMUNITY_SERVICE = "cyzh-community";
@@ -20,4 +20,7 @@ public interface ServicesName  {
 	//智慧党建服务
 	String PARTY_SERVICE = "cyzh-smart-party";
 
+	//企业服务
+	String ENTERPRISE_SERVICE = "cyzh-enterprise";
+
 }

+ 0 - 6
blade-service-api/estate-api/pom.xml

@@ -10,12 +10,6 @@
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>estate-api</artifactId>
-    <dependencies>
-        <dependency>
-            <groupId>org.springblade</groupId>
-            <artifactId>blade-biz-common</artifactId>
-        </dependency>
-    </dependencies>
 
 
 </project>

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/AccessRecordDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.AccessRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class AccessRecordDTO extends AccessRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ArticleDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.Article;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ArticleDTO extends Article {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.Car;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 车辆信息数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class CarDTO extends Car {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarEnterRecordDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class CarEnterRecordDTO extends CarEnterRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/CarOutRecordDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.CarOutRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class CarOutRecordDTO extends CarOutRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/GuestDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.Guest;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class GuestDTO extends Guest {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ParkingLotDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.ParkingLot;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ParkingLotDTO extends ParkingLot {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/ParkingSpaceDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.ParkingSpace;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 车位信息数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ParkingSpaceDTO extends ParkingSpace {
+	private static final long serialVersionUID = 1L;
+
+}

+ 34 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/dto/RepairDTO.java

@@ -0,0 +1,34 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.dto;
+
+import org.springblade.estate.entity.Repair;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 报事工单数据传输对象实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class RepairDTO extends Repair {
+	private static final long serialVersionUID = 1L;
+
+}

+ 127 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/AccessRecord.java

@@ -0,0 +1,127 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_access_record")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "AccessRecord对象", description = "AccessRecord对象")
+public class AccessRecord extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 用户id
+	*/
+		@ApiModelProperty(value = "用户id")
+		private Long userId;
+	/**
+	* 用户姓名
+	*/
+		@ApiModelProperty(value = "用户姓名")
+		private String userName;
+	/**
+	* 社区id
+	*/
+		@ApiModelProperty(value = "社区id")
+		private Long agencyId;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 企业id
+	*/
+		@ApiModelProperty(value = "企业id")
+		private Long enterpriseId;
+	/**
+	* 人脸
+	*/
+		@ApiModelProperty(value = "人脸")
+		private String faceUrl;
+	/**
+	* 设备唯一标识
+	*/
+		@ApiModelProperty(value = "设备唯一标识")
+		private String deviceId;
+	/**
+	* 开门时间
+	*/
+		@ApiModelProperty(value = "开门时间")
+		private String openTime;
+	/**
+	* 开门方式{1->人脸,2->远程}
+	*/
+		@ApiModelProperty(value = "开门方式{1->人脸,2->远程}")
+		private String openType;
+	/**
+	* 体温
+	*/
+		@ApiModelProperty(value = "体温")
+		private String temperature;
+	/**
+	* 小区名字
+	*/
+		@ApiModelProperty(value = "小区名字")
+		private String residentialName;
+	/**
+	* 企业名称
+	*/
+		@ApiModelProperty(value = "企业名称")
+		private String enterpriseName;
+	/**
+	* 机构类型
+	*/
+		@ApiModelProperty(value = "机构类型")
+		private Integer agencyType;
+	/**
+	* 设备位置
+	*/
+		@ApiModelProperty(value = "设备位置")
+		private String deviceAddress;
+	/**
+	* 机构名称
+	*/
+		@ApiModelProperty(value = "机构名称")
+		private String agencyName;
+	/**
+	* 设备mac码
+	*/
+		@ApiModelProperty(value = "设备mac码")
+		private String deviceMac;
+	/**
+	* 机构路径
+	*/
+		@ApiModelProperty(value = "机构路径")
+		private String orgPosition;
+
+
+}

+ 67 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Article.java

@@ -0,0 +1,67 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_article")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "Article对象", description = "Article对象")
+public class Article extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 动态内容
+	*/
+		@ApiModelProperty(value = "动态内容")
+		private String content;
+	/**
+	* 园区id
+	*/
+		@ApiModelProperty(value = "园区id")
+		private Long agencyId;
+	/**
+	* 阅读数量
+	*/
+		@ApiModelProperty(value = "阅读数量")
+		private Integer reader;
+	/**
+	* 文章标题
+	*/
+		@ApiModelProperty(value = "文章标题")
+		private String title;
+	/**
+	* 图片
+	*/
+		@ApiModelProperty(value = "图片")
+		private String image;
+
+
+}

+ 137 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Car.java

@@ -0,0 +1,137 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 车辆信息实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_car")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "Car对象", description = "车辆信息")
+public class Car extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 车牌号
+	*/
+		@ApiModelProperty(value = "车牌号")
+		private String number;
+	/**
+	* 车辆类型
+	*/
+		@ApiModelProperty(value = "车辆类型")
+		private Integer type;
+	/**
+	* 车辆性质(货运、客运、营运、非运营,出租)
+	*/
+		@ApiModelProperty(value = "车辆性质(货运、客运、营运、非运营,出租)")
+		private Integer properties;
+	/**
+	* 车辆型号
+	*/
+		@ApiModelProperty(value = "车辆型号")
+		private String model;
+	/**
+	* 燃油类别
+	*/
+		@ApiModelProperty(value = "燃油类别")
+		private String fuelCategory;
+	/**
+	* 车身颜色
+	*/
+		@ApiModelProperty(value = "车身颜色")
+		private String color;
+	/**
+	* 车主姓名
+	*/
+		@ApiModelProperty(value = "车主姓名")
+		private String personName;
+	/**
+	* 车主电话
+	*/
+		@ApiModelProperty(value = "车主电话")
+		private String personPhone;
+	/**
+	* 社区ID
+	*/
+		@ApiModelProperty(value = "社区ID")
+		private Long agencyId;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 车辆照片
+	*/
+		@ApiModelProperty(value = "车辆照片")
+		private String carImg;
+	/**
+	* 企业id
+	*/
+		@ApiModelProperty(value = "企业id")
+		private Long enterpriseId;
+	/**
+	* 机构路径
+	*/
+		@ApiModelProperty(value = "机构路径")
+		private String orgPosition;
+	/**
+	* 车主id:若为社区租户则为住户id,若为园区租户则为员工id
+	*/
+		@ApiModelProperty(value = "车主id:若为社区租户则为住户id,若为园区租户则为员工id")
+		private Long personId;
+	/**
+	* 所属停车场id
+	*/
+		@ApiModelProperty(value = "所属停车场id")
+		private Long parkingLotId;
+	/**
+	* 行驶证正面图片地址
+	*/
+		@ApiModelProperty(value = "行驶证正面图片地址")
+		private String vehicleDrivingLicense1;
+	/**
+	* 审核状态:-1 审核不通过  0-待审核 1-审核通过
+	*/
+		@ApiModelProperty(value = "审核状态:-1 审核不通过  0-待审核 1-审核通过")
+		private Integer auditStatus;
+	/**
+	* 审核意见
+	*/
+		@ApiModelProperty(value = "审核意见")
+		private String auditOpinion;
+	/**
+	* 行驶证背面图片地址
+	*/
+		@ApiModelProperty(value = "行驶证背面图片地址")
+		private String vehicleDrivingLicense2;
+
+
+}

+ 118 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/CarEnterRecord.java

@@ -0,0 +1,118 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import java.time.LocalDateTime;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_car_enter_record")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "CarEnterRecord对象", description = "CarEnterRecord对象")
+public class CarEnterRecord extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 索引ID
+	*/
+		@ApiModelProperty(value = "索引ID")
+		private String indexId;
+	/**
+	* 	车场唯一编号
+	*/
+		@ApiModelProperty(value = "	车场唯一编号")
+		private String parkKey;
+	/**
+	* 车牌号码
+	*/
+		@ApiModelProperty(value = "车牌号码")
+		private String carNo;
+	/**
+	* 订单号
+	*/
+		@ApiModelProperty(value = "订单号")
+		private String orderNo;
+	/**
+	* 车辆类型
+	*/
+		@ApiModelProperty(value = "车辆类型")
+		private String carTypeNo;
+	/**
+	* 入场时间	
+	*/
+		@ApiModelProperty(value = "入场时间	")
+		private LocalDateTime enterTime;
+	/**
+	* 入口车道名称	
+	*/
+		@ApiModelProperty(value = "入口车道名称	")
+		private String enterGateName;
+	/**
+	* 入口操作员	
+	*/
+		@ApiModelProperty(value = "入口操作员	")
+		private String enterOperatorName;
+	/**
+	* 车辆状态(0-未锁 1-锁定)
+	*/
+		@ApiModelProperty(value = "车辆状态(0-未锁 1-锁定)")
+		private String lockCar;
+	/**
+	* 入场图片	
+	*/
+		@ApiModelProperty(value = "入场图片	")
+		private String enterImgPath;
+	/**
+	* 预约车位订单号
+	*/
+		@ApiModelProperty(value = "预约车位订单号")
+		private String reserveOrderNo;
+	/**
+	* 社区id
+	*/
+		@ApiModelProperty(value = "社区id")
+		private Long agencyId;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 企业id
+	*/
+		@ApiModelProperty(value = "企业id")
+		private Long enterpriseId;
+	/**
+	* 路径
+	*/
+		@ApiModelProperty(value = "路径")
+		private String orgPosition;
+
+
+}

+ 133 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/CarOutRecord.java

@@ -0,0 +1,133 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import java.time.LocalDateTime;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_car_out_record")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "CarOutRecord对象", description = "CarOutRecord对象")
+public class CarOutRecord extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 索引ID
+	*/
+		@ApiModelProperty(value = "索引ID")
+		private String indexId;
+	/**
+	* 车场唯一编号
+	*/
+		@ApiModelProperty(value = "车场唯一编号")
+		private String parkKey;
+	/**
+	* 车牌号码
+	*/
+		@ApiModelProperty(value = "车牌号码")
+		private String carNo;
+	/**
+	* 订单号
+	*/
+		@ApiModelProperty(value = "订单号")
+		private String orderNo;
+	/**
+	* 车辆类型
+	*/
+		@ApiModelProperty(value = "车辆类型")
+		private String carTypeNo;
+	/**
+	* 入场时间(V1.1版本返回字段)
+	*/
+		@ApiModelProperty(value = "入场时间(V1.1版本返回字段)")
+		private LocalDateTime enterTime;
+	/**
+	* 入口车道名称(V1.1版本返回字段)
+	*/
+		@ApiModelProperty(value = "入口车道名称(V1.1版本返回字段)")
+		private String enterGateName;
+	/**
+	* 出场时间	
+	*/
+		@ApiModelProperty(value = "出场时间	")
+		private LocalDateTime outTime;
+	/**
+	* 出口车道名称	
+	*/
+		@ApiModelProperty(value = "出口车道名称	")
+		private String outGateName;
+	/**
+	* 出口操作员	
+	*/
+		@ApiModelProperty(value = "出口操作员	")
+		private String outOperatorName;
+	/**
+	* 车辆状态(0-未锁 1-锁定)
+	*/
+		@ApiModelProperty(value = "车辆状态(0-未锁 1-锁定)")
+		private String lockCar;
+	/**
+	* 出场图片	
+	*/
+		@ApiModelProperty(value = "出场图片	")
+		private String outImgPath;
+	/**
+	* 订单总金额(单位元)
+	*/
+		@ApiModelProperty(value = "订单总金额(单位元)")
+		private String totalAmount;
+	/**
+	* 免费放行原因
+	*/
+		@ApiModelProperty(value = "免费放行原因")
+		private String freeReason;
+	/**
+	* 社区id
+	*/
+		@ApiModelProperty(value = "社区id")
+		private Long agencyId;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 企业id
+	*/
+		@ApiModelProperty(value = "企业id")
+		private Long enterpriseId;
+	/**
+	* 路径
+	*/
+		@ApiModelProperty(value = "路径")
+		private String orgPosition;
+
+
+}

+ 177 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Guest.java

@@ -0,0 +1,177 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_guest")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "Guest对象", description = "Guest对象")
+public class Guest extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 访客名称
+	*/
+		@ApiModelProperty(value = "访客名称")
+		private String guestName;
+	/**
+	* 手机号
+	*/
+		@ApiModelProperty(value = "手机号")
+		private String guestTel;
+	/**
+	* 性别  0-未定义  1-男 2-女
+	*/
+		@ApiModelProperty(value = "性别  0-未定义  1-男 2-女")
+		private Integer guestSex;
+	/**
+	* 访问缘由
+	*/
+		@ApiModelProperty(value = "访问缘由")
+		private String guestReason;
+	/**
+	* 所属社区id
+	*/
+		@ApiModelProperty(value = "所属社区id")
+		private Long agencyId;
+	/**
+	* 所属社区名称
+	*/
+		@ApiModelProperty(value = "所属社区名称")
+		private String agencyName;
+	/**
+	* 所属小区id
+	*/
+		@ApiModelProperty(value = "所属小区id")
+		private Long residentialId;
+	/**
+	* 小区名称
+	*/
+		@ApiModelProperty(value = "小区名称")
+		private String residentialName;
+	/**
+	* 楼栋id
+	*/
+		@ApiModelProperty(value = "楼栋id")
+		private Long buildingId;
+	/**
+	* 楼栋名称
+	*/
+		@ApiModelProperty(value = "楼栋名称")
+		private String buildingName;
+	/**
+	* 所属单元id
+	*/
+		@ApiModelProperty(value = "所属单元id")
+		private Long unitId;
+	/**
+	* 单元名称
+	*/
+		@ApiModelProperty(value = "单元名称")
+		private String unitName;
+	/**
+	* 楼层id
+	*/
+		@ApiModelProperty(value = "楼层id")
+		private Long floorId;
+	/**
+	* 楼层名称
+	*/
+		@ApiModelProperty(value = "楼层名称")
+		private String floorName;
+	/**
+	* 所属房间id
+	*/
+		@ApiModelProperty(value = "所属房间id")
+		private Long roomId;
+	/**
+	* 所属房间名称
+	*/
+		@ApiModelProperty(value = "所属房间名称")
+		private String roomName;
+	/**
+	* 要访问的住户姓名
+	*/
+		@ApiModelProperty(value = "要访问的住户姓名")
+		private String userName;
+	/**
+	* 访问的住户的id
+	*/
+		@ApiModelProperty(value = "访问的住户的id")
+		private Long userId;
+	/**
+	* 企业id
+	*/
+		@ApiModelProperty(value = "企业id")
+		private Long enterpriseId;
+	/**
+	* 企业名称
+	*/
+		@ApiModelProperty(value = "企业名称")
+		private String enterpriseName;
+	/**
+	* 存储位置(通过该字段快速查询,所有的子节点)
+	*/
+		@ApiModelProperty(value = "存储位置(通过该字段快速查询,所有的子节点)")
+		private String orgPosition;
+	/**
+	* 审核状态:0-待审核 1-审核通过 2-审核不通过
+	*/
+		@ApiModelProperty(value = "审核状态:0-待审核 1-审核通过 2-审核不通过")
+		private Integer checkState;
+	/**
+	* 脸部照片url(没有域名)
+	*/
+		@ApiModelProperty(value = "脸部照片url(没有域名)")
+		private String imageUri;
+	/**
+	* openId
+	*/
+		@ApiModelProperty(value = "openId")
+		private String openId;
+	/**
+	* 访问时间
+	*/
+		@ApiModelProperty(value = "访问时间")
+		private String interviewTime;
+	/**
+	* 身份证
+	*/
+		@ApiModelProperty(value = "身份证")
+		private String guestIdcard;
+	/**
+	* 审核意见
+	*/
+		@ApiModelProperty(value = "审核意见")
+		private String opinion;
+
+
+}

+ 143 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/ParkingLot.java

@@ -0,0 +1,143 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_parking_lot")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "ParkingLot对象", description = "ParkingLot对象")
+public class ParkingLot extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 索引ID
+	*/
+		@ApiModelProperty(value = "索引ID")
+		private String indexId;
+	/**
+	* 车场唯一编号
+	*/
+		@ApiModelProperty(value = "车场唯一编号")
+		private String parkKey;
+	/**
+	* 所属社区
+	*/
+		@ApiModelProperty(value = "所属社区")
+		private Long agencyId;
+	/**
+	* 所属小区
+	*/
+		@ApiModelProperty(value = "所属小区")
+		private Long residentialId;
+	/**
+	* 停车场名称
+	*/
+		@ApiModelProperty(value = "停车场名称")
+		private String parkName;
+	/**
+	* 车场纬度
+	*/
+		@ApiModelProperty(value = "车场纬度")
+		private String parkLatitude;
+	/**
+	* 车场经度
+	*/
+		@ApiModelProperty(value = "车场经度")
+		private String parkLongitude;
+	/**
+	* 车场地址
+	*/
+		@ApiModelProperty(value = "车场地址")
+		private String parkAdd;
+	/**
+	* 车场联系方式
+	*/
+		@ApiModelProperty(value = "车场联系方式")
+		private String parkTel;
+	/**
+	* 车场联系人
+	*/
+		@ApiModelProperty(value = "车场联系人")
+		private String parkLinkman;
+	/**
+	* 免费分钟数	
+	*/
+		@ApiModelProperty(value = "免费分钟数	")
+		private String parkFreeTime;
+	/**
+	* 免费超时分钟数	
+	*/
+		@ApiModelProperty(value = "免费超时分钟数	")
+		private String parkFreeTimeout;
+	/**
+	* 车场收费说明	
+	*/
+		@ApiModelProperty(value = "车场收费说明	")
+		private String chargesDesc;
+	/**
+	* 停车场是否启用预定功能
+	*/
+		@ApiModelProperty(value = "停车场是否启用预定功能")
+		private String reserveStatus;
+	/**
+	* 注册时间	
+	*/
+		@ApiModelProperty(value = "注册时间	")
+		private LocalDate regTime;
+	/**
+	* 停车场有效期止日	
+	*/
+		@ApiModelProperty(value = "停车场有效期止日	")
+		private String validTime;
+	/**
+	* 停车场可容纳的车位总数
+	*/
+		@ApiModelProperty(value = "停车场可容纳的车位总数")
+		private String spaceTotal;
+	/**
+	* 车牌地区简称	
+	*/
+		@ApiModelProperty(value = "车牌地区简称	")
+		private String cityShortName;
+	/**
+	* 空余车位
+	*/
+		@ApiModelProperty(value = "空余车位")
+		private String remainSpace;
+	/**
+	* 机构路径
+	*/
+		@ApiModelProperty(value = "机构路径")
+		private String orgPosition;
+
+
+}

+ 83 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/ParkingSpace.java

@@ -0,0 +1,83 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 车位信息实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_parking_space")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "ParkingSpace对象", description = "车位信息")
+public class ParkingSpace extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 车位类型(微型,小型,中型,大型)跟车辆类型对应
+	*/
+		@ApiModelProperty(value = "车位类型(微型,小型,中型,大型)跟车辆类型对应")
+		private Integer type;
+	/**
+	* 占用车辆
+	*/
+		@ApiModelProperty(value = "占用车辆")
+		private Long carId;
+	/**
+	* 是否收费
+	*/
+		@ApiModelProperty(value = "是否收费")
+		private Integer isFree;
+	/**
+	* 是否室内
+	*/
+		@ApiModelProperty(value = "是否室内")
+		private Integer isIndoor;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 车位编号
+	*/
+		@ApiModelProperty(value = "车位编号")
+		private String number;
+	/**
+	* 机构路径
+	*/
+		@ApiModelProperty(value = "机构路径")
+		private String orgPosition;
+	private Long parkinglotId;
+	/**
+	* 是否占用: 1-已占用 0-未占用
+	*/
+		@ApiModelProperty(value = "是否占用: 1-已占用 0-未占用")
+		private Integer isUsed;
+
+
+}

+ 138 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/entity/Repair.java

@@ -0,0 +1,138 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import java.time.LocalDateTime;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 报事工单实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@TableName("estate_repair")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "Repair对象", description = "报事工单")
+public class Repair extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 工单编号
+	*/
+		@ApiModelProperty(value = "工单编号")
+		private String jobNo;
+	/**
+	* 上报人
+	*/
+		@ApiModelProperty(value = "上报人")
+		private String reportor;
+	/**
+	* 上报人电话
+	*/
+		@ApiModelProperty(value = "上报人电话")
+		private String reportPhone;
+	/**
+	* 上报时间
+	*/
+		@ApiModelProperty(value = "上报时间")
+		private LocalDateTime reportTime;
+	/**
+	* 处理人
+	*/
+		@ApiModelProperty(value = "处理人")
+		private String handler;
+	/**
+	* 处理人电话
+	*/
+		@ApiModelProperty(value = "处理人电话")
+		private String handlerPhone;
+	/**
+	* 工单状态
+	*/
+		@ApiModelProperty(value = "工单状态")
+		private Integer jobStatus;
+	/**
+	* 小区id
+	*/
+		@ApiModelProperty(value = "小区id")
+		private Long residentialId;
+	/**
+	* 机构路径
+	*/
+		@ApiModelProperty(value = "机构路径")
+		private String orgPosition;
+	/**
+	* 报修位置
+	*/
+		@ApiModelProperty(value = "报修位置")
+		private String reportPosition;
+	/**
+	* 预约开始时间
+	*/
+		@ApiModelProperty(value = "预约开始时间")
+		private LocalDateTime beginTime;
+	/**
+	* 预约结束时间
+	*/
+		@ApiModelProperty(value = "预约结束时间")
+		private LocalDateTime endTime;
+	/**
+	* 0-未评价  1-已评价
+	*/
+		@ApiModelProperty(value = "0-未评价  1-已评价")
+		private Integer estimateStatus;
+	/**
+	* 用户对处理结果的评论
+	*/
+		@ApiModelProperty(value = "用户对处理结果的评论")
+		private String comment;
+	/**
+	* 处理时间
+	*/
+		@ApiModelProperty(value = "处理时间")
+		private LocalDateTime handleTime;
+	/**
+	* 小区名称
+	*/
+		@ApiModelProperty(value = "小区名称")
+		private String residentialName;
+	/**
+	* 物业系统id
+	*/
+		@ApiModelProperty(value = "物业系统id")
+		private Long oldId;
+	/**
+	* 图片-多张图片用“,”切割
+	*/
+		@ApiModelProperty(value = "图片-多张图片用“,”切割")
+		private String pic;
+	/**
+	* 报修详情
+	*/
+		@ApiModelProperty(value = "报修详情")
+		private String reportDetail;
+
+
+}

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/AccessRecordClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class AccessRecordClientFallback implements IAccessRecordClient {
+            /**
+         * 详情
+         */
+        @Override
+        public AccessRecordVO detail(AccessRecord accessRecord) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<AccessRecordVO> list(AccessRecord accessRecord) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( AccessRecord accessRecord) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( AccessRecord accessRecord) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( AccessRecord accessRecord) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ArticleClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class ArticleClientFallback implements IArticleClient {
+            /**
+         * 详情
+         */
+        @Override
+        public ArticleVO detail(Article article) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<ArticleVO> list(Article article) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( Article article) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( Article article) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( Article article) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class CarClientFallback implements ICarClient {
+            /**
+         * 详情
+         */
+        @Override
+        public CarVO detail(Car car) {
+            return null;
+        }
+
+        /**
+         * 查询 车辆信息
+         */
+        @Override
+        public List<CarVO> list(Car car) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 车辆信息
+         */
+        @Override
+        public boolean save( Car car) {
+            return false;
+        }
+
+        /**
+         * 修改 车辆信息
+         */
+        @Override
+        public boolean update( Car car) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 车辆信息
+         */
+        @Override
+        public boolean submit( Car car) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 车辆信息
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarEnterRecordClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class CarEnterRecordClientFallback implements ICarEnterRecordClient {
+            /**
+         * 详情
+         */
+        @Override
+        public CarEnterRecordVO detail(CarEnterRecord carEnterRecord) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<CarEnterRecordVO> list(CarEnterRecord carEnterRecord) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( CarEnterRecord carEnterRecord) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( CarEnterRecord carEnterRecord) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( CarEnterRecord carEnterRecord) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/CarOutRecordClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class CarOutRecordClientFallback implements ICarOutRecordClient {
+            /**
+         * 详情
+         */
+        @Override
+        public CarOutRecordVO detail(CarOutRecord carOutRecord) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<CarOutRecordVO> list(CarOutRecord carOutRecord) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( CarOutRecord carOutRecord) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( CarOutRecord carOutRecord) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( CarOutRecord carOutRecord) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/GuestClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class GuestClientFallback implements IGuestClient {
+            /**
+         * 详情
+         */
+        @Override
+        public GuestVO detail(Guest guest) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<GuestVO> list(Guest guest) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( Guest guest) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( Guest guest) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( Guest guest) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IAccessRecordClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/accessrecord")
+public interface IAccessRecordClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    AccessRecordVO detail(AccessRecord accessRecord);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<AccessRecordVO> list(AccessRecord accessRecord);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody AccessRecord accessRecord);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody AccessRecord accessRecord);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody AccessRecord accessRecord);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IArticleClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/article")
+public interface IArticleClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    ArticleVO detail(Article article);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<ArticleVO> list(Article article);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody Article article);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody Article article);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody Article article);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ * 车辆信息 Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/car")
+public interface ICarClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    CarVO detail(Car car);
+
+	/**
+	 * 查询 车辆信息
+	 */
+	@GetMapping("/list")
+    List<CarVO> list(Car car);
+
+
+
+	/**
+	 * 新增 车辆信息
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody Car car);
+
+	/**
+	 * 修改 车辆信息
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody Car car);
+
+	/**
+	 * 新增或修改 车辆信息
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody Car car);
+
+	
+	/**
+	 * 删除 车辆信息
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarEnterRecordClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/carenterrecord")
+public interface ICarEnterRecordClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    CarEnterRecordVO detail(CarEnterRecord carEnterRecord);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<CarEnterRecordVO> list(CarEnterRecord carEnterRecord);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody CarEnterRecord carEnterRecord);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody CarEnterRecord carEnterRecord);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody CarEnterRecord carEnterRecord);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ICarOutRecordClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/caroutrecord")
+public interface ICarOutRecordClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    CarOutRecordVO detail(CarOutRecord carOutRecord);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<CarOutRecordVO> list(CarOutRecord carOutRecord);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody CarOutRecord carOutRecord);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody CarOutRecord carOutRecord);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody CarOutRecord carOutRecord);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IGuestClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/guest")
+public interface IGuestClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    GuestVO detail(Guest guest);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<GuestVO> list(Guest guest);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody Guest guest);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody Guest guest);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody Guest guest);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IParkingLotClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ *  Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/parkinglot")
+public interface IParkingLotClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    ParkingLotVO detail(ParkingLot parkingLot);
+
+	/**
+	 * 查询 
+	 */
+	@GetMapping("/list")
+    List<ParkingLotVO> list(ParkingLot parkingLot);
+
+
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody ParkingLot parkingLot);
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody ParkingLot parkingLot);
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody ParkingLot parkingLot);
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IParkingSpaceClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ * 车位信息 Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/parkingspace")
+public interface IParkingSpaceClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    ParkingSpaceVO detail(ParkingSpace parkingSpace);
+
+	/**
+	 * 查询 车位信息
+	 */
+	@GetMapping("/list")
+    List<ParkingSpaceVO> list(ParkingSpace parkingSpace);
+
+
+
+	/**
+	 * 新增 车位信息
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody ParkingSpace parkingSpace);
+
+	/**
+	 * 修改 车位信息
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody ParkingSpace parkingSpace);
+
+	/**
+	 * 新增或修改 车位信息
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody ParkingSpace parkingSpace);
+
+	
+	/**
+	 * 删除 车位信息
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 63 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/IRepairClient.java

@@ -0,0 +1,63 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import javax.validation.Valid;
+import java.util.List;
+
+/**
+ * 报事工单 Feign
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+@FeignClient(value = "cyzh-estate",path = "/feign/repair")
+public interface IRepairClient  {
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+    RepairVO detail(Repair repair);
+
+	/**
+	 * 查询 报事工单
+	 */
+	@GetMapping("/list")
+    List<RepairVO> list(Repair repair);
+
+
+
+	/**
+	 * 新增 报事工单
+	 */
+	@PostMapping("/save")
+	boolean save(@Valid @RequestBody Repair repair);
+
+	/**
+	 * 修改 报事工单
+	 */
+	@PostMapping("/update")
+    boolean update(@Valid @RequestBody Repair repair);
+
+	/**
+	 * 新增或修改 报事工单
+	 */
+	@PostMapping("/submit")
+    boolean submit(@Valid @RequestBody Repair repair);
+
+	
+	/**
+	 * 删除 报事工单
+	 */
+	@PostMapping("/remove")
+    boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids);
+
+	
+}

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ParkingLotClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class ParkingLotClientFallback implements IParkingLotClient {
+            /**
+         * 详情
+         */
+        @Override
+        public ParkingLotVO detail(ParkingLot parkingLot) {
+            return null;
+        }
+
+        /**
+         * 查询 
+         */
+        @Override
+        public List<ParkingLotVO> list(ParkingLot parkingLot) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 
+         */
+        @Override
+        public boolean save( ParkingLot parkingLot) {
+            return false;
+        }
+
+        /**
+         * 修改 
+         */
+        @Override
+        public boolean update( ParkingLot parkingLot) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 
+         */
+        @Override
+        public boolean submit( ParkingLot parkingLot) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/ParkingSpaceClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class ParkingSpaceClientFallback implements IParkingSpaceClient {
+            /**
+         * 详情
+         */
+        @Override
+        public ParkingSpaceVO detail(ParkingSpace parkingSpace) {
+            return null;
+        }
+
+        /**
+         * 查询 车位信息
+         */
+        @Override
+        public List<ParkingSpaceVO> list(ParkingSpace parkingSpace) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 车位信息
+         */
+        @Override
+        public boolean save( ParkingSpace parkingSpace) {
+            return false;
+        }
+
+        /**
+         * 修改 车位信息
+         */
+        @Override
+        public boolean update( ParkingSpace parkingSpace) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 车位信息
+         */
+        @Override
+        public boolean submit( ParkingSpace parkingSpace) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 车位信息
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 62 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/feign/RepairClientFallback.java

@@ -0,0 +1,62 @@
+package org.springblade.estate.feign;
+
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import org.springframework.stereotype.Component;
+import javax.validation.Valid;
+import java.util.List;
+
+@Component
+public class RepairClientFallback implements IRepairClient {
+            /**
+         * 详情
+         */
+        @Override
+        public RepairVO detail(Repair repair) {
+            return null;
+        }
+
+        /**
+         * 查询 报事工单
+         */
+        @Override
+        public List<RepairVO> list(Repair repair) {
+            return null;
+        }
+
+    
+
+        /**
+         * 新增 报事工单
+         */
+        @Override
+        public boolean save( Repair repair) {
+            return false;
+        }
+
+        /**
+         * 修改 报事工单
+         */
+        @Override
+        public boolean update( Repair repair) {
+            return false;
+        }
+
+        /**
+         * 新增或修改 报事工单
+         */
+        @Override
+        public boolean submit( Repair repair) {
+            return false;
+        }
+
+    
+        /**
+         * 删除 报事工单
+         */
+        @Override
+        public boolean remove( String ids) {
+            return false;
+        }
+
+    }

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/AccessRecordVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.AccessRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "AccessRecordVO对象", description = "AccessRecordVO对象")
+public class AccessRecordVO extends AccessRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ArticleVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.Article;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "ArticleVO对象", description = "ArticleVO对象")
+public class ArticleVO extends Article {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarEnterRecordVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "CarEnterRecordVO对象", description = "CarEnterRecordVO对象")
+public class CarEnterRecordVO extends CarEnterRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarOutRecordVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.CarOutRecord;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "CarOutRecordVO对象", description = "CarOutRecordVO对象")
+public class CarOutRecordVO extends CarOutRecord {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/CarVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.Car;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 车辆信息视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "CarVO对象", description = "车辆信息")
+public class CarVO extends Car {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/GuestVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.Guest;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "GuestVO对象", description = "GuestVO对象")
+public class GuestVO extends Guest {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ParkingLotVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.ParkingLot;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "ParkingLotVO对象", description = "ParkingLotVO对象")
+public class ParkingLotVO extends ParkingLot {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/ParkingSpaceVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.ParkingSpace;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 车位信息视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "ParkingSpaceVO对象", description = "车位信息")
+public class ParkingSpaceVO extends ParkingSpace {
+	private static final long serialVersionUID = 1L;
+
+}

+ 36 - 0
blade-service-api/estate-api/src/main/java/org/springblade/estate/vo/RepairVO.java

@@ -0,0 +1,36 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.vo;
+
+import org.springblade.estate.entity.Repair;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+
+/**
+ * 报事工单视图实体类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "RepairVO对象", description = "报事工单")
+public class RepairVO extends Repair {
+	private static final long serialVersionUID = 1L;
+
+}

+ 0 - 2
blade-service-api/pom.xml

@@ -17,9 +17,7 @@
     <description>BladeX 微服务API集合</description>
 
     <modules>
-        <module>estate-api</module>
         <module>community-api</module>
-
         <module>grid-api</module>
         <module>system-expand-api</module>
         <module>enterprise-api</module>

+ 2 - 12
blade-service/estate/pom.xml

@@ -20,10 +20,7 @@
             <groupId>org.springblade</groupId>
             <artifactId>blade-starter-swagger</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.springblade</groupId>
-            <artifactId>blade-starter-oss-all</artifactId>
-        </dependency>
+
         <dependency>
             <groupId>com.baomidou</groupId>
             <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
@@ -38,12 +35,6 @@
             <artifactId>blade-core-auto</artifactId>
             <scope>provided</scope>
         </dependency>
-<!--        <dependency>-->
-<!--            <groupId>com.github.xiaoymin</groupId>-->
-<!--            <artifactId>knife4j-annotations</artifactId>-->
-<!--            <version>2.7.2.RELEASE</version>-->
-<!--            <scope>compile</scope>-->
-<!--        </dependency>-->
         <dependency>
             <groupId>com.github.xiaoymin</groupId>
             <artifactId>knife4j-annotations</artifactId>
@@ -52,8 +43,7 @@
         <dependency>
             <groupId>org.springblade</groupId>
             <artifactId>estate-api</artifactId>
-            <version>2.7.2.RELEASE</version>
-            <scope>compile</scope>
+            <version>${bladex.project.version}</version>
         </dependency>
     </dependencies>
 

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/AccessRecordController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springblade.estate.wrapper.AccessRecordWrapper;
+import org.springblade.estate.service.IAccessRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/accessrecord")
+@Api(value = "", tags = "接口")
+public class AccessRecordController extends BladeController {
+
+	private final IAccessRecordService accessRecordService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入accessRecord")
+	public R<AccessRecordVO> detail(AccessRecord accessRecord) {
+		AccessRecord detail = accessRecordService.getOne(Condition.getQueryWrapper(accessRecord));
+		return R.data(AccessRecordWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入accessRecord")
+	public R<IPage<AccessRecordVO>> list(AccessRecord accessRecord, Query query) {
+		IPage<AccessRecord> pages = accessRecordService.page(Condition.getPage(query), Condition.getQueryWrapper(accessRecord));
+		return R.data(AccessRecordWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入accessRecord")
+	public R<IPage<AccessRecordVO>> page(AccessRecordVO accessRecord, Query query) {
+		IPage<AccessRecordVO> pages = accessRecordService.selectAccessRecordPage(Condition.getPage(query), accessRecord);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入accessRecord")
+	public R save(@Valid @RequestBody AccessRecord accessRecord) {
+		return R.status(accessRecordService.save(accessRecord));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入accessRecord")
+	public R update(@Valid @RequestBody AccessRecord accessRecord) {
+		return R.status(accessRecordService.updateById(accessRecord));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入accessRecord")
+	public R submit(@Valid @RequestBody AccessRecord accessRecord) {
+		return R.status(accessRecordService.saveOrUpdate(accessRecord));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(accessRecordService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/ArticleController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springblade.estate.wrapper.ArticleWrapper;
+import org.springblade.estate.service.IArticleService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/article")
+@Api(value = "", tags = "接口")
+public class ArticleController extends BladeController {
+
+	private final IArticleService articleService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入article")
+	public R<ArticleVO> detail(Article article) {
+		Article detail = articleService.getOne(Condition.getQueryWrapper(article));
+		return R.data(ArticleWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入article")
+	public R<IPage<ArticleVO>> list(Article article, Query query) {
+		IPage<Article> pages = articleService.page(Condition.getPage(query), Condition.getQueryWrapper(article));
+		return R.data(ArticleWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入article")
+	public R<IPage<ArticleVO>> page(ArticleVO article, Query query) {
+		IPage<ArticleVO> pages = articleService.selectArticlePage(Condition.getPage(query), article);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入article")
+	public R save(@Valid @RequestBody Article article) {
+		return R.status(articleService.save(article));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入article")
+	public R update(@Valid @RequestBody Article article) {
+		return R.status(articleService.updateById(article));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入article")
+	public R submit(@Valid @RequestBody Article article) {
+		return R.status(articleService.saveOrUpdate(article));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(articleService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/CarController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springblade.estate.wrapper.CarWrapper;
+import org.springblade.estate.service.ICarService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 车辆信息 控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/car")
+@Api(value = "车辆信息", tags = "车辆信息接口")
+public class CarController extends BladeController {
+
+	private final ICarService carService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入car")
+	public R<CarVO> detail(Car car) {
+		Car detail = carService.getOne(Condition.getQueryWrapper(car));
+		return R.data(CarWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 车辆信息
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入car")
+	public R<IPage<CarVO>> list(Car car, Query query) {
+		IPage<Car> pages = carService.page(Condition.getPage(query), Condition.getQueryWrapper(car));
+		return R.data(CarWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 车辆信息
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入car")
+	public R<IPage<CarVO>> page(CarVO car, Query query) {
+		IPage<CarVO> pages = carService.selectCarPage(Condition.getPage(query), car);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 车辆信息
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入car")
+	public R save(@Valid @RequestBody Car car) {
+		return R.status(carService.save(car));
+	}
+
+	/**
+	 * 修改 车辆信息
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入car")
+	public R update(@Valid @RequestBody Car car) {
+		return R.status(carService.updateById(car));
+	}
+
+	/**
+	 * 新增或修改 车辆信息
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入car")
+	public R submit(@Valid @RequestBody Car car) {
+		return R.status(carService.saveOrUpdate(car));
+	}
+
+	
+	/**
+	 * 删除 车辆信息
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(carService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/CarEnterRecordController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springblade.estate.wrapper.CarEnterRecordWrapper;
+import org.springblade.estate.service.ICarEnterRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/carenterrecord")
+@Api(value = "", tags = "接口")
+public class CarEnterRecordController extends BladeController {
+
+	private final ICarEnterRecordService carEnterRecordService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入carEnterRecord")
+	public R<CarEnterRecordVO> detail(CarEnterRecord carEnterRecord) {
+		CarEnterRecord detail = carEnterRecordService.getOne(Condition.getQueryWrapper(carEnterRecord));
+		return R.data(CarEnterRecordWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入carEnterRecord")
+	public R<IPage<CarEnterRecordVO>> list(CarEnterRecord carEnterRecord, Query query) {
+		IPage<CarEnterRecord> pages = carEnterRecordService.page(Condition.getPage(query), Condition.getQueryWrapper(carEnterRecord));
+		return R.data(CarEnterRecordWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入carEnterRecord")
+	public R<IPage<CarEnterRecordVO>> page(CarEnterRecordVO carEnterRecord, Query query) {
+		IPage<CarEnterRecordVO> pages = carEnterRecordService.selectCarEnterRecordPage(Condition.getPage(query), carEnterRecord);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入carEnterRecord")
+	public R save(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+		return R.status(carEnterRecordService.save(carEnterRecord));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入carEnterRecord")
+	public R update(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+		return R.status(carEnterRecordService.updateById(carEnterRecord));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入carEnterRecord")
+	public R submit(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+		return R.status(carEnterRecordService.saveOrUpdate(carEnterRecord));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(carEnterRecordService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/CarOutRecordController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springblade.estate.wrapper.CarOutRecordWrapper;
+import org.springblade.estate.service.ICarOutRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/caroutrecord")
+@Api(value = "", tags = "接口")
+public class CarOutRecordController extends BladeController {
+
+	private final ICarOutRecordService carOutRecordService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入carOutRecord")
+	public R<CarOutRecordVO> detail(CarOutRecord carOutRecord) {
+		CarOutRecord detail = carOutRecordService.getOne(Condition.getQueryWrapper(carOutRecord));
+		return R.data(CarOutRecordWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入carOutRecord")
+	public R<IPage<CarOutRecordVO>> list(CarOutRecord carOutRecord, Query query) {
+		IPage<CarOutRecord> pages = carOutRecordService.page(Condition.getPage(query), Condition.getQueryWrapper(carOutRecord));
+		return R.data(CarOutRecordWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入carOutRecord")
+	public R<IPage<CarOutRecordVO>> page(CarOutRecordVO carOutRecord, Query query) {
+		IPage<CarOutRecordVO> pages = carOutRecordService.selectCarOutRecordPage(Condition.getPage(query), carOutRecord);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入carOutRecord")
+	public R save(@Valid @RequestBody CarOutRecord carOutRecord) {
+		return R.status(carOutRecordService.save(carOutRecord));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入carOutRecord")
+	public R update(@Valid @RequestBody CarOutRecord carOutRecord) {
+		return R.status(carOutRecordService.updateById(carOutRecord));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入carOutRecord")
+	public R submit(@Valid @RequestBody CarOutRecord carOutRecord) {
+		return R.status(carOutRecordService.saveOrUpdate(carOutRecord));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(carOutRecordService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/GuestController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springblade.estate.wrapper.GuestWrapper;
+import org.springblade.estate.service.IGuestService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/guest")
+@Api(value = "", tags = "接口")
+public class GuestController extends BladeController {
+
+	private final IGuestService guestService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入guest")
+	public R<GuestVO> detail(Guest guest) {
+		Guest detail = guestService.getOne(Condition.getQueryWrapper(guest));
+		return R.data(GuestWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入guest")
+	public R<IPage<GuestVO>> list(Guest guest, Query query) {
+		IPage<Guest> pages = guestService.page(Condition.getPage(query), Condition.getQueryWrapper(guest));
+		return R.data(GuestWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入guest")
+	public R<IPage<GuestVO>> page(GuestVO guest, Query query) {
+		IPage<GuestVO> pages = guestService.selectGuestPage(Condition.getPage(query), guest);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入guest")
+	public R save(@Valid @RequestBody Guest guest) {
+		return R.status(guestService.save(guest));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入guest")
+	public R update(@Valid @RequestBody Guest guest) {
+		return R.status(guestService.updateById(guest));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入guest")
+	public R submit(@Valid @RequestBody Guest guest) {
+		return R.status(guestService.saveOrUpdate(guest));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(guestService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/ParkingLotController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import org.springblade.estate.wrapper.ParkingLotWrapper;
+import org.springblade.estate.service.IParkingLotService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ *  控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/parkinglot")
+@Api(value = "", tags = "接口")
+public class ParkingLotController extends BladeController {
+
+	private final IParkingLotService parkingLotService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入parkingLot")
+	public R<ParkingLotVO> detail(ParkingLot parkingLot) {
+		ParkingLot detail = parkingLotService.getOne(Condition.getQueryWrapper(parkingLot));
+		return R.data(ParkingLotWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入parkingLot")
+	public R<IPage<ParkingLotVO>> list(ParkingLot parkingLot, Query query) {
+		IPage<ParkingLot> pages = parkingLotService.page(Condition.getPage(query), Condition.getQueryWrapper(parkingLot));
+		return R.data(ParkingLotWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入parkingLot")
+	public R<IPage<ParkingLotVO>> page(ParkingLotVO parkingLot, Query query) {
+		IPage<ParkingLotVO> pages = parkingLotService.selectParkingLotPage(Condition.getPage(query), parkingLot);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入parkingLot")
+	public R save(@Valid @RequestBody ParkingLot parkingLot) {
+		return R.status(parkingLotService.save(parkingLot));
+	}
+
+	/**
+	 * 修改 
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入parkingLot")
+	public R update(@Valid @RequestBody ParkingLot parkingLot) {
+		return R.status(parkingLotService.updateById(parkingLot));
+	}
+
+	/**
+	 * 新增或修改 
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入parkingLot")
+	public R submit(@Valid @RequestBody ParkingLot parkingLot) {
+		return R.status(parkingLotService.saveOrUpdate(parkingLot));
+	}
+
+	
+	/**
+	 * 删除 
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(parkingLotService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/ParkingSpaceController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import org.springblade.estate.wrapper.ParkingSpaceWrapper;
+import org.springblade.estate.service.IParkingSpaceService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 车位信息 控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/parkingspace")
+@Api(value = "车位信息", tags = "车位信息接口")
+public class ParkingSpaceController extends BladeController {
+
+	private final IParkingSpaceService parkingSpaceService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入parkingSpace")
+	public R<ParkingSpaceVO> detail(ParkingSpace parkingSpace) {
+		ParkingSpace detail = parkingSpaceService.getOne(Condition.getQueryWrapper(parkingSpace));
+		return R.data(ParkingSpaceWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 车位信息
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入parkingSpace")
+	public R<IPage<ParkingSpaceVO>> list(ParkingSpace parkingSpace, Query query) {
+		IPage<ParkingSpace> pages = parkingSpaceService.page(Condition.getPage(query), Condition.getQueryWrapper(parkingSpace));
+		return R.data(ParkingSpaceWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 车位信息
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入parkingSpace")
+	public R<IPage<ParkingSpaceVO>> page(ParkingSpaceVO parkingSpace, Query query) {
+		IPage<ParkingSpaceVO> pages = parkingSpaceService.selectParkingSpacePage(Condition.getPage(query), parkingSpace);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 车位信息
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入parkingSpace")
+	public R save(@Valid @RequestBody ParkingSpace parkingSpace) {
+		return R.status(parkingSpaceService.save(parkingSpace));
+	}
+
+	/**
+	 * 修改 车位信息
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入parkingSpace")
+	public R update(@Valid @RequestBody ParkingSpace parkingSpace) {
+		return R.status(parkingSpaceService.updateById(parkingSpace));
+	}
+
+	/**
+	 * 新增或修改 车位信息
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入parkingSpace")
+	public R submit(@Valid @RequestBody ParkingSpace parkingSpace) {
+		return R.status(parkingSpaceService.saveOrUpdate(parkingSpace));
+	}
+
+	
+	/**
+	 * 删除 车位信息
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(parkingSpaceService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 129 - 0
blade-service/estate/src/main/java/org/springblade/estate/controller/RepairController.java

@@ -0,0 +1,129 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import org.springblade.estate.wrapper.RepairWrapper;
+import org.springblade.estate.service.IRepairService;
+import org.springblade.core.boot.ctrl.BladeController;
+
+/**
+ * 报事工单 控制器
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@RestController
+@AllArgsConstructor
+@RequestMapping("/repair")
+@Api(value = "报事工单", tags = "报事工单接口")
+public class RepairController extends BladeController {
+
+	private final IRepairService repairService;
+
+	/**
+	 * 详情
+	 */
+	@GetMapping("/detail")
+	@ApiOperationSupport(order = 1)
+	@ApiOperation(value = "详情", notes = "传入repair")
+	public R<RepairVO> detail(Repair repair) {
+		Repair detail = repairService.getOne(Condition.getQueryWrapper(repair));
+		return R.data(RepairWrapper.build().entityVO(detail));
+	}
+
+	/**
+	 * 分页 报事工单
+	 */
+	@GetMapping("/list")
+	@ApiOperationSupport(order = 2)
+	@ApiOperation(value = "分页", notes = "传入repair")
+	public R<IPage<RepairVO>> list(Repair repair, Query query) {
+		IPage<Repair> pages = repairService.page(Condition.getPage(query), Condition.getQueryWrapper(repair));
+		return R.data(RepairWrapper.build().pageVO(pages));
+	}
+
+
+	/**
+	 * 自定义分页 报事工单
+	 */
+	@GetMapping("/page")
+	@ApiOperationSupport(order = 3)
+	@ApiOperation(value = "分页", notes = "传入repair")
+	public R<IPage<RepairVO>> page(RepairVO repair, Query query) {
+		IPage<RepairVO> pages = repairService.selectRepairPage(Condition.getPage(query), repair);
+		return R.data(pages);
+	}
+
+	/**
+	 * 新增 报事工单
+	 */
+	@PostMapping("/save")
+	@ApiOperationSupport(order = 4)
+	@ApiOperation(value = "新增", notes = "传入repair")
+	public R save(@Valid @RequestBody Repair repair) {
+		return R.status(repairService.save(repair));
+	}
+
+	/**
+	 * 修改 报事工单
+	 */
+	@PostMapping("/update")
+	@ApiOperationSupport(order = 5)
+	@ApiOperation(value = "修改", notes = "传入repair")
+	public R update(@Valid @RequestBody Repair repair) {
+		return R.status(repairService.updateById(repair));
+	}
+
+	/**
+	 * 新增或修改 报事工单
+	 */
+	@PostMapping("/submit")
+	@ApiOperationSupport(order = 6)
+	@ApiOperation(value = "新增或修改", notes = "传入repair")
+	public R submit(@Valid @RequestBody Repair repair) {
+		return R.status(repairService.saveOrUpdate(repair));
+	}
+
+	
+	/**
+	 * 删除 报事工单
+	 */
+	@PostMapping("/remove")
+	@ApiOperationSupport(order = 7)
+	@ApiOperation(value = "逻辑删除", notes = "传入ids")
+	public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+		return R.status(repairService.deleteLogic(Func.toLongList(ids)));
+	}
+
+	
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/AccessRecordClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springblade.estate.wrapper.AccessRecordWrapper;
+import org.springblade.estate.service.IAccessRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/accessrecord")
+
+public class AccessRecordClient implements IAccessRecordClient {
+
+    private final IAccessRecordService accessRecordService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public AccessRecordVO detail(AccessRecord accessRecord) {
+        AccessRecord detail = accessRecordService.getOne(Condition.getQueryWrapper(accessRecord));
+        return AccessRecordWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<AccessRecordVO> list(AccessRecord accessRecord) {
+        return AccessRecordWrapper.build().listVO(accessRecordService.list(Condition.getQueryWrapper(accessRecord)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody AccessRecord accessRecord) {
+        return accessRecordService.save(accessRecord);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody AccessRecord accessRecord) {
+        return accessRecordService.updateById(accessRecord);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody AccessRecord accessRecord) {
+        return accessRecordService.saveOrUpdate(accessRecord);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return accessRecordService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/ArticleClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springblade.estate.wrapper.ArticleWrapper;
+import org.springblade.estate.service.IArticleService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/article")
+
+public class ArticleClient implements IArticleClient {
+
+    private final IArticleService articleService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public ArticleVO detail(Article article) {
+        Article detail = articleService.getOne(Condition.getQueryWrapper(article));
+        return ArticleWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<ArticleVO> list(Article article) {
+        return ArticleWrapper.build().listVO(articleService.list(Condition.getQueryWrapper(article)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody Article article) {
+        return articleService.save(article);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody Article article) {
+        return articleService.updateById(article);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody Article article) {
+        return articleService.saveOrUpdate(article);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return articleService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/CarClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springblade.estate.wrapper.CarWrapper;
+import org.springblade.estate.service.ICarService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ * 车辆信息 client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/car")
+
+public class CarClient implements ICarClient {
+
+    private final ICarService carService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public CarVO detail(Car car) {
+        Car detail = carService.getOne(Condition.getQueryWrapper(car));
+        return CarWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 车辆信息
+     */
+    @Override
+    @GetMapping("/list")
+    public List<CarVO> list(Car car) {
+        return CarWrapper.build().listVO(carService.list(Condition.getQueryWrapper(car)));
+        }
+
+    
+
+    /**
+     * 新增 车辆信息
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody Car car) {
+        return carService.save(car);
+        }
+
+    /**
+     * 修改 车辆信息
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody Car car) {
+        return carService.updateById(car);
+        }
+
+    /**
+     * 新增或修改 车辆信息
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody Car car) {
+        return carService.saveOrUpdate(car);
+        }
+
+    
+    /**
+     * 删除 车辆信息
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return carService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/CarEnterRecordClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springblade.estate.wrapper.CarEnterRecordWrapper;
+import org.springblade.estate.service.ICarEnterRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/carenterrecord")
+
+public class CarEnterRecordClient implements ICarEnterRecordClient {
+
+    private final ICarEnterRecordService carEnterRecordService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public CarEnterRecordVO detail(CarEnterRecord carEnterRecord) {
+        CarEnterRecord detail = carEnterRecordService.getOne(Condition.getQueryWrapper(carEnterRecord));
+        return CarEnterRecordWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<CarEnterRecordVO> list(CarEnterRecord carEnterRecord) {
+        return CarEnterRecordWrapper.build().listVO(carEnterRecordService.list(Condition.getQueryWrapper(carEnterRecord)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+        return carEnterRecordService.save(carEnterRecord);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+        return carEnterRecordService.updateById(carEnterRecord);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody CarEnterRecord carEnterRecord) {
+        return carEnterRecordService.saveOrUpdate(carEnterRecord);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return carEnterRecordService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/CarOutRecordClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springblade.estate.wrapper.CarOutRecordWrapper;
+import org.springblade.estate.service.ICarOutRecordService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/caroutrecord")
+
+public class CarOutRecordClient implements ICarOutRecordClient {
+
+    private final ICarOutRecordService carOutRecordService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public CarOutRecordVO detail(CarOutRecord carOutRecord) {
+        CarOutRecord detail = carOutRecordService.getOne(Condition.getQueryWrapper(carOutRecord));
+        return CarOutRecordWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<CarOutRecordVO> list(CarOutRecord carOutRecord) {
+        return CarOutRecordWrapper.build().listVO(carOutRecordService.list(Condition.getQueryWrapper(carOutRecord)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody CarOutRecord carOutRecord) {
+        return carOutRecordService.save(carOutRecord);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody CarOutRecord carOutRecord) {
+        return carOutRecordService.updateById(carOutRecord);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody CarOutRecord carOutRecord) {
+        return carOutRecordService.saveOrUpdate(carOutRecord);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return carOutRecordService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/GuestClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springblade.estate.wrapper.GuestWrapper;
+import org.springblade.estate.service.IGuestService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/guest")
+
+public class GuestClient implements IGuestClient {
+
+    private final IGuestService guestService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public GuestVO detail(Guest guest) {
+        Guest detail = guestService.getOne(Condition.getQueryWrapper(guest));
+        return GuestWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<GuestVO> list(Guest guest) {
+        return GuestWrapper.build().listVO(guestService.list(Condition.getQueryWrapper(guest)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody Guest guest) {
+        return guestService.save(guest);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody Guest guest) {
+        return guestService.updateById(guest);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody Guest guest) {
+        return guestService.saveOrUpdate(guest);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return guestService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/ParkingLotClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import org.springblade.estate.wrapper.ParkingLotWrapper;
+import org.springblade.estate.service.IParkingLotService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ *  client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/parkinglot")
+
+public class ParkingLotClient implements IParkingLotClient {
+
+    private final IParkingLotService parkingLotService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public ParkingLotVO detail(ParkingLot parkingLot) {
+        ParkingLot detail = parkingLotService.getOne(Condition.getQueryWrapper(parkingLot));
+        return ParkingLotWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 
+     */
+    @Override
+    @GetMapping("/list")
+    public List<ParkingLotVO> list(ParkingLot parkingLot) {
+        return ParkingLotWrapper.build().listVO(parkingLotService.list(Condition.getQueryWrapper(parkingLot)));
+        }
+
+    
+
+    /**
+     * 新增 
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody ParkingLot parkingLot) {
+        return parkingLotService.save(parkingLot);
+        }
+
+    /**
+     * 修改 
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody ParkingLot parkingLot) {
+        return parkingLotService.updateById(parkingLot);
+        }
+
+    /**
+     * 新增或修改 
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody ParkingLot parkingLot) {
+        return parkingLotService.saveOrUpdate(parkingLot);
+        }
+
+    
+    /**
+     * 删除 
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return parkingLotService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/ParkingSpaceClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import org.springblade.estate.wrapper.ParkingSpaceWrapper;
+import org.springblade.estate.service.IParkingSpaceService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ * 车位信息 client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/parkingspace")
+
+public class ParkingSpaceClient implements IParkingSpaceClient {
+
+    private final IParkingSpaceService parkingSpaceService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public ParkingSpaceVO detail(ParkingSpace parkingSpace) {
+        ParkingSpace detail = parkingSpaceService.getOne(Condition.getQueryWrapper(parkingSpace));
+        return ParkingSpaceWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 车位信息
+     */
+    @Override
+    @GetMapping("/list")
+    public List<ParkingSpaceVO> list(ParkingSpace parkingSpace) {
+        return ParkingSpaceWrapper.build().listVO(parkingSpaceService.list(Condition.getQueryWrapper(parkingSpace)));
+        }
+
+    
+
+    /**
+     * 新增 车位信息
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody ParkingSpace parkingSpace) {
+        return parkingSpaceService.save(parkingSpace);
+        }
+
+    /**
+     * 修改 车位信息
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody ParkingSpace parkingSpace) {
+        return parkingSpaceService.updateById(parkingSpace);
+        }
+
+    /**
+     * 新增或修改 车位信息
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody ParkingSpace parkingSpace) {
+        return parkingSpaceService.saveOrUpdate(parkingSpace);
+        }
+
+    
+    /**
+     * 删除 车位信息
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return parkingSpaceService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 90 - 0
blade-service/estate/src/main/java/org/springblade/estate/feign/RepairClient.java

@@ -0,0 +1,90 @@
+package org.springblade.estate.feign;
+
+import io.swagger.annotations.ApiParam;
+import lombok.AllArgsConstructor;
+import javax.validation.Valid;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.tool.utils.Func;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import org.springblade.estate.wrapper.RepairWrapper;
+import org.springblade.estate.service.IRepairService;
+import org.springblade.core.boot.ctrl.BladeController;
+import java.util.List;
+/**
+ * 报事工单 client
+ *
+ * @author lianghanqiang
+ * @since 2021-03-30
+ */
+
+@AllArgsConstructor
+@RestController
+@RequestMapping("/feign/repair")
+
+public class RepairClient implements IRepairClient {
+
+    private final IRepairService repairService;
+
+        /**
+     * 详情
+     */
+    @Override
+    @GetMapping("/detail")
+    public RepairVO detail(Repair repair) {
+        Repair detail = repairService.getOne(Condition.getQueryWrapper(repair));
+        return RepairWrapper.build().entityVO(detail);
+        }
+
+    /**
+     * 查询 报事工单
+     */
+    @Override
+    @GetMapping("/list")
+    public List<RepairVO> list(Repair repair) {
+        return RepairWrapper.build().listVO(repairService.list(Condition.getQueryWrapper(repair)));
+        }
+
+    
+
+    /**
+     * 新增 报事工单
+     */
+    @Override
+    @PostMapping("/save")
+    public boolean save(@Valid @RequestBody Repair repair) {
+        return repairService.save(repair);
+        }
+
+    /**
+     * 修改 报事工单
+     */
+    @Override
+    @PostMapping("/update")
+    public boolean update(@Valid @RequestBody Repair repair) {
+        return repairService.updateById(repair);
+        }
+
+    /**
+     * 新增或修改 报事工单
+     */
+    @Override
+    @PostMapping("/submit")
+    public boolean submit(@Valid @RequestBody Repair repair) {
+        return repairService.saveOrUpdate(repair);
+        }
+
+    
+    /**
+     * 删除 报事工单
+     */
+    @Override
+    @PostMapping("/remove")
+    public boolean remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
+        return repairService.deleteLogic(Func.toLongList(ids));
+        }
+
+    
+}

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/AccessRecordMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface AccessRecordMapper extends BaseMapper<AccessRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param accessRecord
+	 * @return
+	 */
+	List<AccessRecordVO> selectAccessRecordPage(IPage page, AccessRecordVO accessRecord);
+
+}

+ 39 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/AccessRecordMapper.xml

@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.AccessRecordMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="accessRecordResultMap" type="org.springblade.estate.entity.AccessRecord">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="user_id" property="userId"/>
+        <result column="user_name" property="userName"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="enterprise_id" property="enterpriseId"/>
+        <result column="face_url" property="faceUrl"/>
+        <result column="device_id" property="deviceId"/>
+        <result column="open_time" property="openTime"/>
+        <result column="open_type" property="openType"/>
+        <result column="temperature" property="temperature"/>
+        <result column="residential_name" property="residentialName"/>
+        <result column="enterprise_name" property="enterpriseName"/>
+        <result column="agency_type" property="agencyType"/>
+        <result column="device_address" property="deviceAddress"/>
+        <result column="agency_name" property="agencyName"/>
+        <result column="device_mac" property="deviceMac"/>
+        <result column="org_position" property="orgPosition"/>
+    </resultMap>
+
+
+    <select id="selectAccessRecordPage" resultMap="accessRecordResultMap">
+        select * from estate_access_record where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ArticleMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ArticleMapper extends BaseMapper<Article> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param article
+	 * @return
+	 */
+	List<ArticleVO> selectArticlePage(IPage page, ArticleVO article);
+
+}

+ 27 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ArticleMapper.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.ArticleMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="articleResultMap" type="org.springblade.estate.entity.Article">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="content" property="content"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="reader" property="reader"/>
+        <result column="title" property="title"/>
+        <result column="image" property="image"/>
+    </resultMap>
+
+
+    <select id="selectArticlePage" resultMap="articleResultMap">
+        select * from estate_article where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarEnterRecordMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface CarEnterRecordMapper extends BaseMapper<CarEnterRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param carEnterRecord
+	 * @return
+	 */
+	List<CarEnterRecordVO> selectCarEnterRecordPage(IPage page, CarEnterRecordVO carEnterRecord);
+
+}

+ 37 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarEnterRecordMapper.xml

@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.CarEnterRecordMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="carEnterRecordResultMap" type="org.springblade.estate.entity.CarEnterRecord">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="index_id" property="indexId"/>
+        <result column="park_key" property="parkKey"/>
+        <result column="car_no" property="carNo"/>
+        <result column="order_no" property="orderNo"/>
+        <result column="car_type_no" property="carTypeNo"/>
+        <result column="enter_time" property="enterTime"/>
+        <result column="enter_gate_name" property="enterGateName"/>
+        <result column="enter_operator_name" property="enterOperatorName"/>
+        <result column="lock_car" property="lockCar"/>
+        <result column="enter_img_path" property="enterImgPath"/>
+        <result column="reserve_order_no" property="reserveOrderNo"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="enterprise_id" property="enterpriseId"/>
+        <result column="org_position" property="orgPosition"/>
+    </resultMap>
+
+
+    <select id="selectCarEnterRecordPage" resultMap="carEnterRecordResultMap">
+        select * from estate_car_enter_record where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 车辆信息 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface CarMapper extends BaseMapper<Car> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param car
+	 * @return
+	 */
+	List<CarVO> selectCarPage(IPage page, CarVO car);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarMapper.xml

@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.CarMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="carResultMap" type="org.springblade.estate.entity.Car">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="number" property="number"/>
+        <result column="type" property="type"/>
+        <result column="properties" property="properties"/>
+        <result column="model" property="model"/>
+        <result column="fuel_category" property="fuelCategory"/>
+        <result column="color" property="color"/>
+        <result column="person_name" property="personName"/>
+        <result column="person_phone" property="personPhone"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="car_img" property="carImg"/>
+        <result column="enterprise_id" property="enterpriseId"/>
+        <result column="org_position" property="orgPosition"/>
+        <result column="person_id" property="personId"/>
+        <result column="parking_lot_id" property="parkingLotId"/>
+        <result column="vehicle_driving_license1" property="vehicleDrivingLicense1"/>
+        <result column="audit_status" property="auditStatus"/>
+        <result column="audit_opinion" property="auditOpinion"/>
+        <result column="vehicle_driving_license2" property="vehicleDrivingLicense2"/>
+    </resultMap>
+
+
+    <select id="selectCarPage" resultMap="carResultMap">
+        select * from estate_car where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarOutRecordMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface CarOutRecordMapper extends BaseMapper<CarOutRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param carOutRecord
+	 * @return
+	 */
+	List<CarOutRecordVO> selectCarOutRecordPage(IPage page, CarOutRecordVO carOutRecord);
+
+}

+ 40 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/CarOutRecordMapper.xml

@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.CarOutRecordMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="carOutRecordResultMap" type="org.springblade.estate.entity.CarOutRecord">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="index_id" property="indexId"/>
+        <result column="park_key" property="parkKey"/>
+        <result column="car_no" property="carNo"/>
+        <result column="order_no" property="orderNo"/>
+        <result column="car_type_no" property="carTypeNo"/>
+        <result column="enter_time" property="enterTime"/>
+        <result column="enter_gate_name" property="enterGateName"/>
+        <result column="out_time" property="outTime"/>
+        <result column="out_gate_name" property="outGateName"/>
+        <result column="out_operator_name" property="outOperatorName"/>
+        <result column="lock_car" property="lockCar"/>
+        <result column="out_img_path" property="outImgPath"/>
+        <result column="total_amount" property="totalAmount"/>
+        <result column="free_reason" property="freeReason"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="enterprise_id" property="enterpriseId"/>
+        <result column="org_position" property="orgPosition"/>
+    </resultMap>
+
+
+    <select id="selectCarOutRecordPage" resultMap="carOutRecordResultMap">
+        select * from estate_car_out_record where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/GuestMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface GuestMapper extends BaseMapper<Guest> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param guest
+	 * @return
+	 */
+	List<GuestVO> selectGuestPage(IPage page, GuestVO guest);
+
+}

+ 49 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/GuestMapper.xml

@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.GuestMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="guestResultMap" type="org.springblade.estate.entity.Guest">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="guest_name" property="guestName"/>
+        <result column="guest_tel" property="guestTel"/>
+        <result column="guest_sex" property="guestSex"/>
+        <result column="guest_reason" property="guestReason"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="agency_name" property="agencyName"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="residential_name" property="residentialName"/>
+        <result column="building_id" property="buildingId"/>
+        <result column="building_name" property="buildingName"/>
+        <result column="unit_id" property="unitId"/>
+        <result column="unit_name" property="unitName"/>
+        <result column="floor_id" property="floorId"/>
+        <result column="floor_name" property="floorName"/>
+        <result column="room_id" property="roomId"/>
+        <result column="room_name" property="roomName"/>
+        <result column="user_name" property="userName"/>
+        <result column="user_id" property="userId"/>
+        <result column="enterprise_id" property="enterpriseId"/>
+        <result column="enterprise_name" property="enterpriseName"/>
+        <result column="org_position" property="orgPosition"/>
+        <result column="check_state" property="checkState"/>
+        <result column="image_uri" property="imageUri"/>
+        <result column="open_id" property="openId"/>
+        <result column="interview_time" property="interviewTime"/>
+        <result column="guest_idcard" property="guestIdcard"/>
+        <result column="opinion" property="opinion"/>
+    </resultMap>
+
+
+    <select id="selectGuestPage" resultMap="guestResultMap">
+        select * from estate_guest where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingLotMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ *  Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ParkingLotMapper extends BaseMapper<ParkingLot> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param parkingLot
+	 * @return
+	 */
+	List<ParkingLotVO> selectParkingLotPage(IPage page, ParkingLotVO parkingLot);
+
+}

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingLotMapper.xml

@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.ParkingLotMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="parkingLotResultMap" type="org.springblade.estate.entity.ParkingLot">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="index_id" property="indexId"/>
+        <result column="park_key" property="parkKey"/>
+        <result column="agency_id" property="agencyId"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="park_name" property="parkName"/>
+        <result column="park_latitude" property="parkLatitude"/>
+        <result column="park_longitude" property="parkLongitude"/>
+        <result column="park_add" property="parkAdd"/>
+        <result column="park_tel" property="parkTel"/>
+        <result column="park_linkman" property="parkLinkman"/>
+        <result column="park_free_time" property="parkFreeTime"/>
+        <result column="park_free_timeout" property="parkFreeTimeout"/>
+        <result column="charges_desc" property="chargesDesc"/>
+        <result column="reserve_status" property="reserveStatus"/>
+        <result column="reg_time" property="regTime"/>
+        <result column="valid_time" property="validTime"/>
+        <result column="space_total" property="spaceTotal"/>
+        <result column="city_short_name" property="cityShortName"/>
+        <result column="remain_space" property="remainSpace"/>
+        <result column="org_position" property="orgPosition"/>
+    </resultMap>
+
+
+    <select id="selectParkingLotPage" resultMap="parkingLotResultMap">
+        select * from estate_parking_lot where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingSpaceMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 车位信息 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ParkingSpaceMapper extends BaseMapper<ParkingSpace> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param parkingSpace
+	 * @return
+	 */
+	List<ParkingSpaceVO> selectParkingSpacePage(IPage page, ParkingSpaceVO parkingSpace);
+
+}

+ 31 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/ParkingSpaceMapper.xml

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.ParkingSpaceMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="parkingSpaceResultMap" type="org.springblade.estate.entity.ParkingSpace">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="type" property="type"/>
+        <result column="car_id" property="carId"/>
+        <result column="is_free" property="isFree"/>
+        <result column="is_indoor" property="isIndoor"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="number" property="number"/>
+        <result column="org_position" property="orgPosition"/>
+        <result column="parkinglot_id" property="parkinglotId"/>
+        <result column="is_used" property="isUsed"/>
+    </resultMap>
+
+
+    <select id="selectParkingSpacePage" resultMap="parkingSpaceResultMap">
+        select * from estate_parking_space where is_deleted = 0
+    </select>
+
+</mapper>

+ 42 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/RepairMapper.java

@@ -0,0 +1,42 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.mapper;
+
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import java.util.List;
+
+/**
+ * 报事工单 Mapper 接口
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface RepairMapper extends BaseMapper<Repair> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param repair
+	 * @return
+	 */
+	List<RepairVO> selectRepairPage(IPage page, RepairVO repair);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/mapper/RepairMapper.xml

@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.estate.mapper.RepairMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="repairResultMap" type="org.springblade.estate.entity.Repair">
+        <result column="id" property="id"/>
+        <result column="create_user" property="createUser"/>
+        <result column="create_dept" property="createDept"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_user" property="updateUser"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="status" property="status"/>
+        <result column="is_deleted" property="isDeleted"/>
+        <result column="job_no" property="jobNo"/>
+        <result column="reportor" property="reportor"/>
+        <result column="report_phone" property="reportPhone"/>
+        <result column="report_time" property="reportTime"/>
+        <result column="handler" property="handler"/>
+        <result column="handler_phone" property="handlerPhone"/>
+        <result column="job_status" property="jobStatus"/>
+        <result column="residential_id" property="residentialId"/>
+        <result column="org_position" property="orgPosition"/>
+        <result column="report_position" property="reportPosition"/>
+        <result column="begin_time" property="beginTime"/>
+        <result column="end_time" property="endTime"/>
+        <result column="estimate_status" property="estimateStatus"/>
+        <result column="comment" property="comment"/>
+        <result column="handle_time" property="handleTime"/>
+        <result column="residential_name" property="residentialName"/>
+        <result column="old_id" property="oldId"/>
+        <result column="pic" property="pic"/>
+        <result column="report_detail" property="reportDetail"/>
+    </resultMap>
+
+
+    <select id="selectRepairPage" resultMap="repairResultMap">
+        select * from estate_repair where is_deleted = 0
+    </select>
+
+</mapper>

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IAccessRecordService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IAccessRecordService extends BaseService<AccessRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param accessRecord
+	 * @return
+	 */
+	IPage<AccessRecordVO> selectAccessRecordPage(IPage<AccessRecordVO> page, AccessRecordVO accessRecord);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IArticleService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IArticleService extends BaseService<Article> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param article
+	 * @return
+	 */
+	IPage<ArticleVO> selectArticlePage(IPage<ArticleVO> page, ArticleVO article);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/ICarEnterRecordService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ICarEnterRecordService extends BaseService<CarEnterRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param carEnterRecord
+	 * @return
+	 */
+	IPage<CarEnterRecordVO> selectCarEnterRecordPage(IPage<CarEnterRecordVO> page, CarEnterRecordVO carEnterRecord);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/ICarOutRecordService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ICarOutRecordService extends BaseService<CarOutRecord> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param carOutRecord
+	 * @return
+	 */
+	IPage<CarOutRecordVO> selectCarOutRecordPage(IPage<CarOutRecordVO> page, CarOutRecordVO carOutRecord);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/ICarService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 车辆信息 服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface ICarService extends BaseService<Car> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param car
+	 * @return
+	 */
+	IPage<CarVO> selectCarPage(IPage<CarVO> page, CarVO car);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IGuestService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IGuestService extends BaseService<Guest> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param guest
+	 * @return
+	 */
+	IPage<GuestVO> selectGuestPage(IPage<GuestVO> page, GuestVO guest);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IParkingLotService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.ParkingLot;
+import org.springblade.estate.vo.ParkingLotVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IParkingLotService extends BaseService<ParkingLot> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param parkingLot
+	 * @return
+	 */
+	IPage<ParkingLotVO> selectParkingLotPage(IPage<ParkingLotVO> page, ParkingLotVO parkingLot);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IParkingSpaceService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.ParkingSpace;
+import org.springblade.estate.vo.ParkingSpaceVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 车位信息 服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IParkingSpaceService extends BaseService<ParkingSpace> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param parkingSpace
+	 * @return
+	 */
+	IPage<ParkingSpaceVO> selectParkingSpacePage(IPage<ParkingSpaceVO> page, ParkingSpaceVO parkingSpace);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/IRepairService.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service;
+
+import org.springblade.estate.entity.Repair;
+import org.springblade.estate.vo.RepairVO;
+import org.springblade.core.mp.base.BaseService;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 报事工单 服务类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+public interface IRepairService extends BaseService<Repair> {
+
+	/**
+	 * 自定义分页
+	 *
+	 * @param page
+	 * @param repair
+	 * @return
+	 */
+	IPage<RepairVO> selectRepairPage(IPage<RepairVO> page, RepairVO repair);
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/AccessRecordServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.AccessRecord;
+import org.springblade.estate.vo.AccessRecordVO;
+import org.springblade.estate.mapper.AccessRecordMapper;
+import org.springblade.estate.service.IAccessRecordService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class AccessRecordServiceImpl extends BaseServiceImpl<AccessRecordMapper, AccessRecord> implements IAccessRecordService {
+
+	@Override
+	public IPage<AccessRecordVO> selectAccessRecordPage(IPage<AccessRecordVO> page, AccessRecordVO accessRecord) {
+		return page.setRecords(baseMapper.selectAccessRecordPage(page, accessRecord));
+	}
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/ArticleServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.Article;
+import org.springblade.estate.vo.ArticleVO;
+import org.springblade.estate.mapper.ArticleMapper;
+import org.springblade.estate.service.IArticleService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class ArticleServiceImpl extends BaseServiceImpl<ArticleMapper, Article> implements IArticleService {
+
+	@Override
+	public IPage<ArticleVO> selectArticlePage(IPage<ArticleVO> page, ArticleVO article) {
+		return page.setRecords(baseMapper.selectArticlePage(page, article));
+	}
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarEnterRecordServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.CarEnterRecord;
+import org.springblade.estate.vo.CarEnterRecordVO;
+import org.springblade.estate.mapper.CarEnterRecordMapper;
+import org.springblade.estate.service.ICarEnterRecordService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class CarEnterRecordServiceImpl extends BaseServiceImpl<CarEnterRecordMapper, CarEnterRecord> implements ICarEnterRecordService {
+
+	@Override
+	public IPage<CarEnterRecordVO> selectCarEnterRecordPage(IPage<CarEnterRecordVO> page, CarEnterRecordVO carEnterRecord) {
+		return page.setRecords(baseMapper.selectCarEnterRecordPage(page, carEnterRecord));
+	}
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarOutRecordServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.CarOutRecord;
+import org.springblade.estate.vo.CarOutRecordVO;
+import org.springblade.estate.mapper.CarOutRecordMapper;
+import org.springblade.estate.service.ICarOutRecordService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class CarOutRecordServiceImpl extends BaseServiceImpl<CarOutRecordMapper, CarOutRecord> implements ICarOutRecordService {
+
+	@Override
+	public IPage<CarOutRecordVO> selectCarOutRecordPage(IPage<CarOutRecordVO> page, CarOutRecordVO carOutRecord) {
+		return page.setRecords(baseMapper.selectCarOutRecordPage(page, carOutRecord));
+	}
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/CarServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.Car;
+import org.springblade.estate.vo.CarVO;
+import org.springblade.estate.mapper.CarMapper;
+import org.springblade.estate.service.ICarService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ * 车辆信息 服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class CarServiceImpl extends BaseServiceImpl<CarMapper, Car> implements ICarService {
+
+	@Override
+	public IPage<CarVO> selectCarPage(IPage<CarVO> page, CarVO car) {
+		return page.setRecords(baseMapper.selectCarPage(page, car));
+	}
+
+}

+ 41 - 0
blade-service/estate/src/main/java/org/springblade/estate/service/impl/GuestServiceImpl.java

@@ -0,0 +1,41 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.estate.service.impl;
+
+import org.springblade.estate.entity.Guest;
+import org.springblade.estate.vo.GuestVO;
+import org.springblade.estate.mapper.GuestMapper;
+import org.springblade.estate.service.IGuestService;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springframework.stereotype.Service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+
+/**
+ *  服务实现类
+ *
+ * @author BladeX
+ * @since 2021-03-30
+ */
+@Service
+public class GuestServiceImpl extends BaseServiceImpl<GuestMapper, Guest> implements IGuestService {
+
+	@Override
+	public IPage<GuestVO> selectGuestPage(IPage<GuestVO> page, GuestVO guest) {
+		return page.setRecords(baseMapper.selectGuestPage(page, guest));
+	}
+
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов