From 79b9086e0cbd5288355b549c5523604964e3462d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=95=E7=BA=AF?= <340251836@qq.com>
Date: Fri, 20 Mar 2020 12:23:13 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=B5=8B=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
test/src/test.java | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 test/src/test.java
diff --git a/test/src/test.java b/test/src/test.java
new file mode 100644
index 0000000..53ba7f6
--- /dev/null
+++ b/test/src/test.java
@@ -0,0 +1,2 @@
+public class test {
+}
--
Gitee
From 13cdb4bc62686311cecd7d563930238d5a82ac6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=95=E7=BA=AF?= <340251836@qq.com>
Date: Mon, 23 Mar 2020 17:47:28 +0800
Subject: [PATCH 2/2] =?UTF-8?q?[hc]=202020/03/23=20=E8=BF=9B=E5=BA=A6=20[?=
=?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=86=85=E5=AE=B9]=20=E5=95=86=E5=AE=B6=20?=
=?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=20+=20=E8=8F=9C=E5=8D=95?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=89=8D=E7=AB=AF=E9=83=A8=E5=88=86=20/=20?=
=?UTF-8?q?=E7=A0=94=E7=A9=B6=20JWT=20=E7=BB=93=E5=90=88=E7=BD=91=E5=85=B3?=
=?UTF-8?q?=20=E4=BF=9D=E5=AD=98=E7=99=BB=E5=BD=95=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E7=AD=96=E7=95=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
propertymanagement/.gitignore | 32 ++++
propertymanagement/pom.xml | 119 +++++++++++++++
.../PropertymanagementApplication.java | 15 ++
.../controller/UserController.java | 37 +++++
.../dao/AnnouncementMapper.java | 19 +++
.../dao/AreaInfoMapper.java | 17 +++
.../dao/EvaluateServiceMapper.java | 17 +++
.../dao/OwnerParkingApplyMapper.java | 17 +++
.../dao/ParkingInfoMapper.java | 17 +++
.../dao/ParkingRentRecordsMapper.java | 17 +++
.../dao/PpPayserviceMapper.java | 17 +++
.../dao/PropertyImgMapper.java | 17 +++
.../dao/PropertyManageMapper.java | 17 +++
.../dao/ServiceImgMapper.java | 17 +++
.../dao/ServiceOrderMapper.java | 17 +++
.../dao/StateServiceMapper.java | 17 +++
.../dao/StopServiceMapper.java | 17 +++
.../propertymanagement/pojo/Announcement.java | 45 ++++++
.../propertymanagement/pojo/AreaInfo.java | 43 ++++++
.../pojo/EvaluateService.java | 33 ++++
.../pojo/OwnerParkingApply.java | 75 +++++++++
.../propertymanagement/pojo/ParkingInfo.java | 95 ++++++++++++
.../pojo/ParkingRentRecords.java | 75 +++++++++
.../propertymanagement/pojo/PpPayservice.java | 93 ++++++++++++
.../pojo/PropertyImgManage.java | 33 ++++
.../pojo/PropertyManage.java | 95 ++++++++++++
.../propertymanagement/pojo/ServiceImg.java | 33 ++++
.../propertymanagement/pojo/ServiceOrder.java | 65 ++++++++
.../propertymanagement/pojo/StateService.java | 33 ++++
.../propertymanagement/pojo/StopService.java | 33 ++++
.../src/main/resources/application.yml | 24 +++
.../src/main/resources/generatorConfig.xml | 116 ++++++++++++++
.../resources/mapper/AnnouncementMapper.xml | 95 ++++++++++++
.../main/resources/mapper/AreaInfoMapper.xml | 82 ++++++++++
.../mapper/EvaluateServiceMapper.xml | 71 +++++++++
.../mapper/OwnerParkingApplyMapper.xml | 117 +++++++++++++++
.../resources/mapper/ParkingInfoMapper.xml | 142 ++++++++++++++++++
.../mapper/ParkingRentRecordsMapper.xml | 117 +++++++++++++++
.../resources/mapper/PpPayserviceMapper.xml | 141 +++++++++++++++++
.../resources/mapper/PropertyImgMapper.xml | 71 +++++++++
.../resources/mapper/PropertyManageMapper.xml | 141 +++++++++++++++++
.../resources/mapper/ServiceImgMapper.xml | 71 +++++++++
.../resources/mapper/ServiceOrderMapper.xml | 106 +++++++++++++
.../resources/mapper/StateServiceMapper.xml | 71 +++++++++
.../resources/mapper/StopServiceMapper.xml | 71 +++++++++
.../PropertymanagementApplicationTests.java | 13 ++
46 files changed, 2626 insertions(+)
create mode 100644 propertymanagement/.gitignore
create mode 100644 propertymanagement/pom.xml
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplication.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/controller/UserController.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AnnouncementMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AreaInfoMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/EvaluateServiceMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/OwnerParkingApplyMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingInfoMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingRentRecordsMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PpPayserviceMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyImgMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyManageMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceImgMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceOrderMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StateServiceMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StopServiceMapper.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/Announcement.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/AreaInfo.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/EvaluateService.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/OwnerParkingApply.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingInfo.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingRentRecords.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PpPayservice.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyImgManage.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyManage.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceImg.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceOrder.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StateService.java
create mode 100644 propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StopService.java
create mode 100644 propertymanagement/src/main/resources/application.yml
create mode 100644 propertymanagement/src/main/resources/generatorConfig.xml
create mode 100644 propertymanagement/src/main/resources/mapper/AnnouncementMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/AreaInfoMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/EvaluateServiceMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/OwnerParkingApplyMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/ParkingInfoMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/ParkingRentRecordsMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/PpPayserviceMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/PropertyImgMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/PropertyManageMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/ServiceImgMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/ServiceOrderMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/StateServiceMapper.xml
create mode 100644 propertymanagement/src/main/resources/mapper/StopServiceMapper.xml
create mode 100644 propertymanagement/src/test/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplicationTests.java
diff --git a/propertymanagement/.gitignore b/propertymanagement/.gitignore
new file mode 100644
index 0000000..77e3d03
--- /dev/null
+++ b/propertymanagement/.gitignore
@@ -0,0 +1,32 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**
+!**/src/test/**
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+
+### VS Code ###
+.vscode/
+.mvn/*
\ No newline at end of file
diff --git a/propertymanagement/pom.xml b/propertymanagement/pom.xml
new file mode 100644
index 0000000..a5892b1
--- /dev/null
+++ b/propertymanagement/pom.xml
@@ -0,0 +1,119 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.2.5.RELEASE
+
+
+ com.team7.happycommunity
+ propertymanagement
+ 01
+ propertymanagement
+ Demo project for Spring Boot
+
+
+ 1.8
+ Hoxton.SR3
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-amqp
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.2
+
+
+ org.springframework.cloud
+ spring-cloud-starter-netflix-eureka-client
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ runtime
+ true
+
+
+ mysql
+ mysql-connector-java
+ runtime
+
+
+ org.projectlombok
+ lombok
+ true
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
+
+
+ org.springframework.amqp
+ spring-rabbit-test
+ test
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.7
+
+ ${basedir}/src/main/resources/generatorConfig.xml
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.47
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplication.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplication.java
new file mode 100644
index 0000000..8750e8d
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplication.java
@@ -0,0 +1,15 @@
+package com.team7.happycommunity.propertymanagement;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
+
+@SpringBootApplication
+@EnableEurekaClient
+public class PropertymanagementApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(PropertymanagementApplication.class, args);
+ }
+
+}
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/controller/UserController.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/controller/UserController.java
new file mode 100644
index 0000000..5d8269a
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/controller/UserController.java
@@ -0,0 +1,37 @@
+package com.team7.happycommunity.propertymanagement.controller;
+
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
+
+@Controller
+@RequestMapping("/user")
+public class UserController {
+
+ @GetMapping("/test")
+ @ResponseBody
+ public String test(HttpServletRequest hr,String username){
+ HttpSession s = hr.getSession();
+ s.setAttribute("username",username);
+ System.out.println(username);
+// Cookie c = new Cookie("user",username);
+// hp.addCookie(c);
+ return "测试成功!";
+ }
+
+ @GetMapping("/test2")
+ @ResponseBody
+ public String test(HttpServletRequest hr){
+ HttpSession hs = hr.getSession();
+ System.out.println(hs.getAttribute("username"));
+ String username = (String) hs.getAttribute("username");
+
+ return username == null? "未登录":username;
+ }
+}
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AnnouncementMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AnnouncementMapper.java
new file mode 100644
index 0000000..b6fb175
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AnnouncementMapper.java
@@ -0,0 +1,19 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.Announcement;
+
+public interface AnnouncementMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(Announcement record);
+
+ int insertSelective(Announcement record);
+
+ Announcement selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(Announcement record);
+
+ int updateByPrimaryKeyWithBLOBs(Announcement record);
+
+ int updateByPrimaryKey(Announcement record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AreaInfoMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AreaInfoMapper.java
new file mode 100644
index 0000000..218a8a6
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/AreaInfoMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.AreaInfo;
+
+public interface AreaInfoMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(AreaInfo record);
+
+ int insertSelective(AreaInfo record);
+
+ AreaInfo selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(AreaInfo record);
+
+ int updateByPrimaryKey(AreaInfo record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/EvaluateServiceMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/EvaluateServiceMapper.java
new file mode 100644
index 0000000..9b7a8cb
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/EvaluateServiceMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.EvaluateService;
+
+public interface EvaluateServiceMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(EvaluateService record);
+
+ int insertSelective(EvaluateService record);
+
+ EvaluateService selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(EvaluateService record);
+
+ int updateByPrimaryKey(EvaluateService record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/OwnerParkingApplyMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/OwnerParkingApplyMapper.java
new file mode 100644
index 0000000..31e2ec3
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/OwnerParkingApplyMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.OwnerParkingApply;
+
+public interface OwnerParkingApplyMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(OwnerParkingApply record);
+
+ int insertSelective(OwnerParkingApply record);
+
+ OwnerParkingApply selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(OwnerParkingApply record);
+
+ int updateByPrimaryKey(OwnerParkingApply record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingInfoMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingInfoMapper.java
new file mode 100644
index 0000000..f83c603
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingInfoMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.ParkingInfo;
+
+public interface ParkingInfoMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ParkingInfo record);
+
+ int insertSelective(ParkingInfo record);
+
+ ParkingInfo selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ParkingInfo record);
+
+ int updateByPrimaryKey(ParkingInfo record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingRentRecordsMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingRentRecordsMapper.java
new file mode 100644
index 0000000..cbca87f
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ParkingRentRecordsMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.ParkingRentRecords;
+
+public interface ParkingRentRecordsMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ParkingRentRecords record);
+
+ int insertSelective(ParkingRentRecords record);
+
+ ParkingRentRecords selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ParkingRentRecords record);
+
+ int updateByPrimaryKey(ParkingRentRecords record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PpPayserviceMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PpPayserviceMapper.java
new file mode 100644
index 0000000..a569cc1
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PpPayserviceMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.PpPayservice;
+
+public interface PpPayserviceMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(PpPayservice record);
+
+ int insertSelective(PpPayservice record);
+
+ PpPayservice selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(PpPayservice record);
+
+ int updateByPrimaryKey(PpPayservice record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyImgMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyImgMapper.java
new file mode 100644
index 0000000..ebf4106
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyImgMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.PropertyImgManage;
+
+public interface PropertyImgMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(PropertyImgManage record);
+
+ int insertSelective(PropertyImgManage record);
+
+ PropertyImgManage selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(PropertyImgManage record);
+
+ int updateByPrimaryKey(PropertyImgManage record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyManageMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyManageMapper.java
new file mode 100644
index 0000000..1839e11
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/PropertyManageMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.PropertyManage;
+
+public interface PropertyManageMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(PropertyManage record);
+
+ int insertSelective(PropertyManage record);
+
+ PropertyManage selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(PropertyManage record);
+
+ int updateByPrimaryKey(PropertyManage record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceImgMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceImgMapper.java
new file mode 100644
index 0000000..c2fecf7
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceImgMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.ServiceImg;
+
+public interface ServiceImgMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ServiceImg record);
+
+ int insertSelective(ServiceImg record);
+
+ ServiceImg selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ServiceImg record);
+
+ int updateByPrimaryKey(ServiceImg record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceOrderMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceOrderMapper.java
new file mode 100644
index 0000000..742585c
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/ServiceOrderMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.ServiceOrder;
+
+public interface ServiceOrderMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(ServiceOrder record);
+
+ int insertSelective(ServiceOrder record);
+
+ ServiceOrder selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(ServiceOrder record);
+
+ int updateByPrimaryKey(ServiceOrder record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StateServiceMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StateServiceMapper.java
new file mode 100644
index 0000000..8c2e019
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StateServiceMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.StateService;
+
+public interface StateServiceMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(StateService record);
+
+ int insertSelective(StateService record);
+
+ StateService selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(StateService record);
+
+ int updateByPrimaryKey(StateService record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StopServiceMapper.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StopServiceMapper.java
new file mode 100644
index 0000000..bad2c2f
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/dao/StopServiceMapper.java
@@ -0,0 +1,17 @@
+package com.team7.happycommunity.propertymanagement.dao;
+
+import com.team7.happycommunity.propertymanagement.pojo.StopService;
+
+public interface StopServiceMapper {
+ int deleteByPrimaryKey(Integer id);
+
+ int insert(StopService record);
+
+ int insertSelective(StopService record);
+
+ StopService selectByPrimaryKey(Integer id);
+
+ int updateByPrimaryKeySelective(StopService record);
+
+ int updateByPrimaryKey(StopService record);
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/Announcement.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/Announcement.java
new file mode 100644
index 0000000..bf82226
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/Announcement.java
@@ -0,0 +1,45 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class Announcement {
+ private Integer id;
+
+ private Integer areaId;
+
+ private Date createTime;
+
+ private String context;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getAreaId() {
+ return areaId;
+ }
+
+ public void setAreaId(Integer areaId) {
+ this.areaId = areaId;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getContext() {
+ return context;
+ }
+
+ public void setContext(String context) {
+ this.context = context;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/AreaInfo.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/AreaInfo.java
new file mode 100644
index 0000000..9066fe6
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/AreaInfo.java
@@ -0,0 +1,43 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class AreaInfo {
+ private Integer id;
+
+ private String areaName;
+
+ private String areaAddress;
+
+ private String detail1;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getAreaName() {
+ return areaName;
+ }
+
+ public void setAreaName(String areaName) {
+ this.areaName = areaName;
+ }
+
+ public String getAreaAddress() {
+ return areaAddress;
+ }
+
+ public void setAreaAddress(String areaAddress) {
+ this.areaAddress = areaAddress;
+ }
+
+ public String getDetail1() {
+ return detail1;
+ }
+
+ public void setDetail1(String detail1) {
+ this.detail1 = detail1;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/EvaluateService.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/EvaluateService.java
new file mode 100644
index 0000000..2d6a480
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/EvaluateService.java
@@ -0,0 +1,33 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class EvaluateService {
+ private Integer id;
+
+ private Integer serviceid2;
+
+ private String evalute;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getServiceid2() {
+ return serviceid2;
+ }
+
+ public void setServiceid2(Integer serviceid2) {
+ this.serviceid2 = serviceid2;
+ }
+
+ public String getEvalute() {
+ return evalute;
+ }
+
+ public void setEvalute(String evalute) {
+ this.evalute = evalute;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/OwnerParkingApply.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/OwnerParkingApply.java
new file mode 100644
index 0000000..c3d50a5
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/OwnerParkingApply.java
@@ -0,0 +1,75 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class OwnerParkingApply {
+ private Integer id;
+
+ private Integer ownerId;
+
+ private String parkingCode;
+
+ private String parkingInfo;
+
+ private Date beginTime;
+
+ private Date endTime;
+
+ private Integer communityId;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getOwnerId() {
+ return ownerId;
+ }
+
+ public void setOwnerId(Integer ownerId) {
+ this.ownerId = ownerId;
+ }
+
+ public String getParkingCode() {
+ return parkingCode;
+ }
+
+ public void setParkingCode(String parkingCode) {
+ this.parkingCode = parkingCode;
+ }
+
+ public String getParkingInfo() {
+ return parkingInfo;
+ }
+
+ public void setParkingInfo(String parkingInfo) {
+ this.parkingInfo = parkingInfo;
+ }
+
+ public Date getBeginTime() {
+ return beginTime;
+ }
+
+ public void setBeginTime(Date beginTime) {
+ this.beginTime = beginTime;
+ }
+
+ public Date getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(Date endTime) {
+ this.endTime = endTime;
+ }
+
+ public Integer getCommunityId() {
+ return communityId;
+ }
+
+ public void setCommunityId(Integer communityId) {
+ this.communityId = communityId;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingInfo.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingInfo.java
new file mode 100644
index 0000000..51e9c88
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingInfo.java
@@ -0,0 +1,95 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class ParkingInfo {
+ private Integer id;
+
+ private Date beginTime;
+
+ private Date endTime;
+
+ private String parkingNumber;
+
+ private String parkingInfos;
+
+ private Integer costPerDay;
+
+ private Integer communityId;
+
+ private Integer ownerId;
+
+ private Integer type;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Date getBeginTime() {
+ return beginTime;
+ }
+
+ public void setBeginTime(Date beginTime) {
+ this.beginTime = beginTime;
+ }
+
+ public Date getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(Date endTime) {
+ this.endTime = endTime;
+ }
+
+ public String getParkingNumber() {
+ return parkingNumber;
+ }
+
+ public void setParkingNumber(String parkingNumber) {
+ this.parkingNumber = parkingNumber;
+ }
+
+ public String getParkingInfos() {
+ return parkingInfos;
+ }
+
+ public void setParkingInfos(String parkingInfos) {
+ this.parkingInfos = parkingInfos;
+ }
+
+ public Integer getCostPerDay() {
+ return costPerDay;
+ }
+
+ public void setCostPerDay(Integer costPerDay) {
+ this.costPerDay = costPerDay;
+ }
+
+ public Integer getCommunityId() {
+ return communityId;
+ }
+
+ public void setCommunityId(Integer communityId) {
+ this.communityId = communityId;
+ }
+
+ public Integer getOwnerId() {
+ return ownerId;
+ }
+
+ public void setOwnerId(Integer ownerId) {
+ this.ownerId = ownerId;
+ }
+
+ public Integer getType() {
+ return type;
+ }
+
+ public void setType(Integer type) {
+ this.type = type;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingRentRecords.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingRentRecords.java
new file mode 100644
index 0000000..fe55519
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ParkingRentRecords.java
@@ -0,0 +1,75 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class ParkingRentRecords {
+ private Integer id;
+
+ private String carid;
+
+ private Date beginTime;
+
+ private Date endTime;
+
+ private Integer parkingInfoId;
+
+ private Integer orderId;
+
+ private Integer userId;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getCarid() {
+ return carid;
+ }
+
+ public void setCarid(String carid) {
+ this.carid = carid;
+ }
+
+ public Date getBeginTime() {
+ return beginTime;
+ }
+
+ public void setBeginTime(Date beginTime) {
+ this.beginTime = beginTime;
+ }
+
+ public Date getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(Date endTime) {
+ this.endTime = endTime;
+ }
+
+ public Integer getParkingInfoId() {
+ return parkingInfoId;
+ }
+
+ public void setParkingInfoId(Integer parkingInfoId) {
+ this.parkingInfoId = parkingInfoId;
+ }
+
+ public Integer getOrderId() {
+ return orderId;
+ }
+
+ public void setOrderId(Integer orderId) {
+ this.orderId = orderId;
+ }
+
+ public Integer getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Integer userId) {
+ this.userId = userId;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PpPayservice.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PpPayservice.java
new file mode 100644
index 0000000..91a2403
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PpPayservice.java
@@ -0,0 +1,93 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class PpPayservice {
+ private Integer id;
+
+ private Integer propertyid;
+
+ private Integer shopid;
+
+ private String payname;
+
+ private String payprice;
+
+ private String paytime;
+
+ private Integer status;
+
+ private String icon;
+
+ private Integer serviceType;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getPropertyid() {
+ return propertyid;
+ }
+
+ public void setPropertyid(Integer propertyid) {
+ this.propertyid = propertyid;
+ }
+
+ public Integer getShopid() {
+ return shopid;
+ }
+
+ public void setShopid(Integer shopid) {
+ this.shopid = shopid;
+ }
+
+ public String getPayname() {
+ return payname;
+ }
+
+ public void setPayname(String payname) {
+ this.payname = payname;
+ }
+
+ public String getPayprice() {
+ return payprice;
+ }
+
+ public void setPayprice(String payprice) {
+ this.payprice = payprice;
+ }
+
+ public String getPaytime() {
+ return paytime;
+ }
+
+ public void setPaytime(String paytime) {
+ this.paytime = paytime;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public Integer getServiceType() {
+ return serviceType;
+ }
+
+ public void setServiceType(Integer serviceType) {
+ this.serviceType = serviceType;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyImgManage.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyImgManage.java
new file mode 100644
index 0000000..44573f1
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyImgManage.java
@@ -0,0 +1,33 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class PropertyImgManage {
+ private Integer id;
+
+ private Integer propertyId;
+
+ private String picUrl;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getPropertyId() {
+ return propertyId;
+ }
+
+ public void setPropertyId(Integer propertyId) {
+ this.propertyId = propertyId;
+ }
+
+ public String getPicUrl() {
+ return picUrl;
+ }
+
+ public void setPicUrl(String picUrl) {
+ this.picUrl = picUrl;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyManage.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyManage.java
new file mode 100644
index 0000000..aa425d6
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/PropertyManage.java
@@ -0,0 +1,95 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class PropertyManage {
+ private Integer id;
+
+ private Integer villageId;
+
+ private String username;
+
+ private String password;
+
+ private String saltValue;
+
+ private String phone;
+
+ private Integer status;
+
+ private Date createTime;
+
+ private Date passTime;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getVillageId() {
+ return villageId;
+ }
+
+ public void setVillageId(Integer villageId) {
+ this.villageId = villageId;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public String getSaltValue() {
+ return saltValue;
+ }
+
+ public void setSaltValue(String saltValue) {
+ this.saltValue = saltValue;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getPassTime() {
+ return passTime;
+ }
+
+ public void setPassTime(Date passTime) {
+ this.passTime = passTime;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceImg.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceImg.java
new file mode 100644
index 0000000..85e0a4d
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceImg.java
@@ -0,0 +1,33 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class ServiceImg {
+ private Integer id;
+
+ private Integer serviceid;
+
+ private String img;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getServiceid() {
+ return serviceid;
+ }
+
+ public void setServiceid(Integer serviceid) {
+ this.serviceid = serviceid;
+ }
+
+ public String getImg() {
+ return img;
+ }
+
+ public void setImg(String img) {
+ this.img = img;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceOrder.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceOrder.java
new file mode 100644
index 0000000..231ee9f
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/ServiceOrder.java
@@ -0,0 +1,65 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+import java.util.Date;
+
+public class ServiceOrder {
+ private Integer id;
+
+ private Integer serviceid2;
+
+ private Integer userid;
+
+ private String orderPrice;
+
+ private Date starttime;
+
+ private Date endtime;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getServiceid2() {
+ return serviceid2;
+ }
+
+ public void setServiceid2(Integer serviceid2) {
+ this.serviceid2 = serviceid2;
+ }
+
+ public Integer getUserid() {
+ return userid;
+ }
+
+ public void setUserid(Integer userid) {
+ this.userid = userid;
+ }
+
+ public String getOrderPrice() {
+ return orderPrice;
+ }
+
+ public void setOrderPrice(String orderPrice) {
+ this.orderPrice = orderPrice;
+ }
+
+ public Date getStarttime() {
+ return starttime;
+ }
+
+ public void setStarttime(Date starttime) {
+ this.starttime = starttime;
+ }
+
+ public Date getEndtime() {
+ return endtime;
+ }
+
+ public void setEndtime(Date endtime) {
+ this.endtime = endtime;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StateService.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StateService.java
new file mode 100644
index 0000000..6adec9c
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StateService.java
@@ -0,0 +1,33 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class StateService {
+ private Integer id;
+
+ private Integer serviceid2;
+
+ private String statecontext;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getServiceid2() {
+ return serviceid2;
+ }
+
+ public void setServiceid2(Integer serviceid2) {
+ this.serviceid2 = serviceid2;
+ }
+
+ public String getStatecontext() {
+ return statecontext;
+ }
+
+ public void setStatecontext(String statecontext) {
+ this.statecontext = statecontext;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StopService.java b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StopService.java
new file mode 100644
index 0000000..3099358
--- /dev/null
+++ b/propertymanagement/src/main/java/com/team7/happycommunity/propertymanagement/pojo/StopService.java
@@ -0,0 +1,33 @@
+package com.team7.happycommunity.propertymanagement.pojo;
+
+public class StopService {
+ private Integer id;
+
+ private Integer serviceid2;
+
+ private String reason;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Integer getServiceid2() {
+ return serviceid2;
+ }
+
+ public void setServiceid2(Integer serviceid2) {
+ this.serviceid2 = serviceid2;
+ }
+
+ public String getReason() {
+ return reason;
+ }
+
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+}
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/application.yml b/propertymanagement/src/main/resources/application.yml
new file mode 100644
index 0000000..cb979ed
--- /dev/null
+++ b/propertymanagement/src/main/resources/application.yml
@@ -0,0 +1,24 @@
+spring:
+ application:
+ name: propertymanagement
+ thymeleaf:
+ cache: false
+ datasource:
+ username: develop
+ password: 20200322
+ url: jdbc:mysql://106.12.148.100:3307/happycommunity?serverTimezone=GMT%2B8
+ mvc:
+ date-format: yyyy-MM-dd
+ jackson:
+ date-format: yyyy-MM-dd
+ time-zone: GMT+8
+mybatis:
+ configuration:
+ map-underscore-to-camel-case: true
+ mapper-locations: classpath:mapper/*.xml
+server:
+ port: 8084
+eureka:
+ client:
+ service-url:
+ defaultZone: http://106.12.148.100:8081/registor-0.1/eureka
diff --git a/propertymanagement/src/main/resources/generatorConfig.xml b/propertymanagement/src/main/resources/generatorConfig.xml
new file mode 100644
index 0000000..6c01ea1
--- /dev/null
+++ b/propertymanagement/src/main/resources/generatorConfig.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/AnnouncementMapper.xml b/propertymanagement/src/main/resources/mapper/AnnouncementMapper.xml
new file mode 100644
index 0000000..109481c
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/AnnouncementMapper.xml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ id, area_id, create_time
+
+
+ context
+
+
+
+ delete from announcement
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into announcement (id, area_id, create_time,
+ context)
+ values (#{id,jdbcType=INTEGER}, #{areaId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
+ #{context,jdbcType=LONGVARCHAR})
+
+
+ insert into announcement
+
+
+ id,
+
+
+ area_id,
+
+
+ create_time,
+
+
+ context,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{areaId,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{context,jdbcType=LONGVARCHAR},
+
+
+
+
+ update announcement
+
+
+ area_id = #{areaId,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ context = #{context,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update announcement
+ set area_id = #{areaId,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ context = #{context,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update announcement
+ set area_id = #{areaId,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/AreaInfoMapper.xml b/propertymanagement/src/main/resources/mapper/AreaInfoMapper.xml
new file mode 100644
index 0000000..66390a7
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/AreaInfoMapper.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+ id, area_name, area_address, detail1
+
+
+
+ delete from areainfo
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into areainfo (id, area_name, area_address,
+ detail1)
+ values (#{id,jdbcType=INTEGER}, #{areaName,jdbcType=VARCHAR}, #{areaAddress,jdbcType=VARCHAR},
+ #{detail1,jdbcType=VARCHAR})
+
+
+ insert into areainfo
+
+
+ id,
+
+
+ area_name,
+
+
+ area_address,
+
+
+ detail1,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{areaName,jdbcType=VARCHAR},
+
+
+ #{areaAddress,jdbcType=VARCHAR},
+
+
+ #{detail1,jdbcType=VARCHAR},
+
+
+
+
+ update areainfo
+
+
+ area_name = #{areaName,jdbcType=VARCHAR},
+
+
+ area_address = #{areaAddress,jdbcType=VARCHAR},
+
+
+ detail1 = #{detail1,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update areainfo
+ set area_name = #{areaName,jdbcType=VARCHAR},
+ area_address = #{areaAddress,jdbcType=VARCHAR},
+ detail1 = #{detail1,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/EvaluateServiceMapper.xml b/propertymanagement/src/main/resources/mapper/EvaluateServiceMapper.xml
new file mode 100644
index 0000000..1ccc350
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/EvaluateServiceMapper.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ id, serviceid2, evalute
+
+
+
+ delete from evaluate_service
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into evaluate_service (id, serviceid2, evalute
+ )
+ values (#{id,jdbcType=INTEGER}, #{serviceid2,jdbcType=INTEGER}, #{evalute,jdbcType=VARCHAR}
+ )
+
+
+ insert into evaluate_service
+
+
+ id,
+
+
+ serviceid2,
+
+
+ evalute,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{serviceid2,jdbcType=INTEGER},
+
+
+ #{evalute,jdbcType=VARCHAR},
+
+
+
+
+ update evaluate_service
+
+
+ serviceid2 = #{serviceid2,jdbcType=INTEGER},
+
+
+ evalute = #{evalute,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update evaluate_service
+ set serviceid2 = #{serviceid2,jdbcType=INTEGER},
+ evalute = #{evalute,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/OwnerParkingApplyMapper.xml b/propertymanagement/src/main/resources/mapper/OwnerParkingApplyMapper.xml
new file mode 100644
index 0000000..e612db7
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/OwnerParkingApplyMapper.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, owner_id, parking_code, parking_info, begin_time, end_time, community_id
+
+
+
+ delete from owner_parking_apply
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into owner_parking_apply (id, owner_id, parking_code,
+ parking_info, begin_time, end_time,
+ community_id)
+ values (#{id,jdbcType=INTEGER}, #{ownerId,jdbcType=INTEGER}, #{parkingCode,jdbcType=VARCHAR},
+ #{parkingInfo,jdbcType=VARCHAR}, #{beginTime,jdbcType=DATE}, #{endTime,jdbcType=DATE},
+ #{communityId,jdbcType=INTEGER})
+
+
+ insert into owner_parking_apply
+
+
+ id,
+
+
+ owner_id,
+
+
+ parking_code,
+
+
+ parking_info,
+
+
+ begin_time,
+
+
+ end_time,
+
+
+ community_id,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{ownerId,jdbcType=INTEGER},
+
+
+ #{parkingCode,jdbcType=VARCHAR},
+
+
+ #{parkingInfo,jdbcType=VARCHAR},
+
+
+ #{beginTime,jdbcType=DATE},
+
+
+ #{endTime,jdbcType=DATE},
+
+
+ #{communityId,jdbcType=INTEGER},
+
+
+
+
+ update owner_parking_apply
+
+
+ owner_id = #{ownerId,jdbcType=INTEGER},
+
+
+ parking_code = #{parkingCode,jdbcType=VARCHAR},
+
+
+ parking_info = #{parkingInfo,jdbcType=VARCHAR},
+
+
+ begin_time = #{beginTime,jdbcType=DATE},
+
+
+ end_time = #{endTime,jdbcType=DATE},
+
+
+ community_id = #{communityId,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update owner_parking_apply
+ set owner_id = #{ownerId,jdbcType=INTEGER},
+ parking_code = #{parkingCode,jdbcType=VARCHAR},
+ parking_info = #{parkingInfo,jdbcType=VARCHAR},
+ begin_time = #{beginTime,jdbcType=DATE},
+ end_time = #{endTime,jdbcType=DATE},
+ community_id = #{communityId,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/ParkingInfoMapper.xml b/propertymanagement/src/main/resources/mapper/ParkingInfoMapper.xml
new file mode 100644
index 0000000..4ec14c2
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/ParkingInfoMapper.xml
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, begin_time, end_time, parking_number, parking_infos, cost_per_day, community_id,
+ owner_id, type
+
+
+
+ delete from parking_info
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into parking_info (id, begin_time, end_time,
+ parking_number, parking_infos, cost_per_day,
+ community_id, owner_id, type
+ )
+ values (#{id,jdbcType=INTEGER}, #{beginTime,jdbcType=DATE}, #{endTime,jdbcType=DATE},
+ #{parkingNumber,jdbcType=VARCHAR}, #{parkingInfos,jdbcType=VARCHAR}, #{costPerDay,jdbcType=INTEGER},
+ #{communityId,jdbcType=INTEGER}, #{ownerId,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}
+ )
+
+
+ insert into parking_info
+
+
+ id,
+
+
+ begin_time,
+
+
+ end_time,
+
+
+ parking_number,
+
+
+ parking_infos,
+
+
+ cost_per_day,
+
+
+ community_id,
+
+
+ owner_id,
+
+
+ type,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{beginTime,jdbcType=DATE},
+
+
+ #{endTime,jdbcType=DATE},
+
+
+ #{parkingNumber,jdbcType=VARCHAR},
+
+
+ #{parkingInfos,jdbcType=VARCHAR},
+
+
+ #{costPerDay,jdbcType=INTEGER},
+
+
+ #{communityId,jdbcType=INTEGER},
+
+
+ #{ownerId,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+ update parking_info
+
+
+ begin_time = #{beginTime,jdbcType=DATE},
+
+
+ end_time = #{endTime,jdbcType=DATE},
+
+
+ parking_number = #{parkingNumber,jdbcType=VARCHAR},
+
+
+ parking_infos = #{parkingInfos,jdbcType=VARCHAR},
+
+
+ cost_per_day = #{costPerDay,jdbcType=INTEGER},
+
+
+ community_id = #{communityId,jdbcType=INTEGER},
+
+
+ owner_id = #{ownerId,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update parking_info
+ set begin_time = #{beginTime,jdbcType=DATE},
+ end_time = #{endTime,jdbcType=DATE},
+ parking_number = #{parkingNumber,jdbcType=VARCHAR},
+ parking_infos = #{parkingInfos,jdbcType=VARCHAR},
+ cost_per_day = #{costPerDay,jdbcType=INTEGER},
+ community_id = #{communityId,jdbcType=INTEGER},
+ owner_id = #{ownerId,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/ParkingRentRecordsMapper.xml b/propertymanagement/src/main/resources/mapper/ParkingRentRecordsMapper.xml
new file mode 100644
index 0000000..050611d
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/ParkingRentRecordsMapper.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, carid, begin_time, end_time, parking_info_id, order_id, user_id
+
+
+
+ delete from parking_rent_records
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into parking_rent_records (id, carid, begin_time,
+ end_time, parking_info_id, order_id,
+ user_id)
+ values (#{id,jdbcType=INTEGER}, #{carid,jdbcType=VARCHAR}, #{beginTime,jdbcType=DATE},
+ #{endTime,jdbcType=DATE}, #{parkingInfoId,jdbcType=INTEGER}, #{orderId,jdbcType=INTEGER},
+ #{userId,jdbcType=INTEGER})
+
+
+ insert into parking_rent_records
+
+
+ id,
+
+
+ carid,
+
+
+ begin_time,
+
+
+ end_time,
+
+
+ parking_info_id,
+
+
+ order_id,
+
+
+ user_id,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{carid,jdbcType=VARCHAR},
+
+
+ #{beginTime,jdbcType=DATE},
+
+
+ #{endTime,jdbcType=DATE},
+
+
+ #{parkingInfoId,jdbcType=INTEGER},
+
+
+ #{orderId,jdbcType=INTEGER},
+
+
+ #{userId,jdbcType=INTEGER},
+
+
+
+
+ update parking_rent_records
+
+
+ carid = #{carid,jdbcType=VARCHAR},
+
+
+ begin_time = #{beginTime,jdbcType=DATE},
+
+
+ end_time = #{endTime,jdbcType=DATE},
+
+
+ parking_info_id = #{parkingInfoId,jdbcType=INTEGER},
+
+
+ order_id = #{orderId,jdbcType=INTEGER},
+
+
+ user_id = #{userId,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update parking_rent_records
+ set carid = #{carid,jdbcType=VARCHAR},
+ begin_time = #{beginTime,jdbcType=DATE},
+ end_time = #{endTime,jdbcType=DATE},
+ parking_info_id = #{parkingInfoId,jdbcType=INTEGER},
+ order_id = #{orderId,jdbcType=INTEGER},
+ user_id = #{userId,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/PpPayserviceMapper.xml b/propertymanagement/src/main/resources/mapper/PpPayserviceMapper.xml
new file mode 100644
index 0000000..6daac47
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/PpPayserviceMapper.xml
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, propertyid, shopid, payname, payprice, paytime, status, icon, service_type
+
+
+
+ delete from pp_payservice
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into pp_payservice (id, propertyid, shopid,
+ payname, payprice, paytime,
+ status, icon, service_type
+ )
+ values (#{id,jdbcType=INTEGER}, #{propertyid,jdbcType=INTEGER}, #{shopid,jdbcType=INTEGER},
+ #{payname,jdbcType=VARCHAR}, #{payprice,jdbcType=VARCHAR}, #{paytime,jdbcType=VARCHAR},
+ #{status,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{serviceType,jdbcType=INTEGER}
+ )
+
+
+ insert into pp_payservice
+
+
+ id,
+
+
+ propertyid,
+
+
+ shopid,
+
+
+ payname,
+
+
+ payprice,
+
+
+ paytime,
+
+
+ status,
+
+
+ icon,
+
+
+ service_type,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{propertyid,jdbcType=INTEGER},
+
+
+ #{shopid,jdbcType=INTEGER},
+
+
+ #{payname,jdbcType=VARCHAR},
+
+
+ #{payprice,jdbcType=VARCHAR},
+
+
+ #{paytime,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{serviceType,jdbcType=INTEGER},
+
+
+
+
+ update pp_payservice
+
+
+ propertyid = #{propertyid,jdbcType=INTEGER},
+
+
+ shopid = #{shopid,jdbcType=INTEGER},
+
+
+ payname = #{payname,jdbcType=VARCHAR},
+
+
+ payprice = #{payprice,jdbcType=VARCHAR},
+
+
+ paytime = #{paytime,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ service_type = #{serviceType,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update pp_payservice
+ set propertyid = #{propertyid,jdbcType=INTEGER},
+ shopid = #{shopid,jdbcType=INTEGER},
+ payname = #{payname,jdbcType=VARCHAR},
+ payprice = #{payprice,jdbcType=VARCHAR},
+ paytime = #{paytime,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ service_type = #{serviceType,jdbcType=INTEGER}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/PropertyImgMapper.xml b/propertymanagement/src/main/resources/mapper/PropertyImgMapper.xml
new file mode 100644
index 0000000..cda9129
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/PropertyImgMapper.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ id, property_id, pic_url
+
+
+
+ delete from property_img
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into property_img (id, property_id, pic_url
+ )
+ values (#{id,jdbcType=INTEGER}, #{propertyId,jdbcType=INTEGER}, #{picUrl,jdbcType=VARCHAR}
+ )
+
+
+ insert into property_img
+
+
+ id,
+
+
+ property_id,
+
+
+ pic_url,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{propertyId,jdbcType=INTEGER},
+
+
+ #{picUrl,jdbcType=VARCHAR},
+
+
+
+
+ update property_img
+
+
+ property_id = #{propertyId,jdbcType=INTEGER},
+
+
+ pic_url = #{picUrl,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update property_img
+ set property_id = #{propertyId,jdbcType=INTEGER},
+ pic_url = #{picUrl,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/PropertyManageMapper.xml b/propertymanagement/src/main/resources/mapper/PropertyManageMapper.xml
new file mode 100644
index 0000000..e62ac82
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/PropertyManageMapper.xml
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, village_id, username, password, salt_value, phone, status, create_time, pass_time
+
+
+
+ delete from property_manage
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into property_manage (id, village_id, username,
+ password, salt_value, phone,
+ status, create_time, pass_time
+ )
+ values (#{id,jdbcType=INTEGER}, #{villageId,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR},
+ #{password,jdbcType=VARCHAR}, #{saltValue,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
+ #{status,jdbcType=INTEGER}, #{createTime,jdbcType=DATE}, #{passTime,jdbcType=DATE}
+ )
+
+
+ insert into property_manage
+
+
+ id,
+
+
+ village_id,
+
+
+ username,
+
+
+ password,
+
+
+ salt_value,
+
+
+ phone,
+
+
+ status,
+
+
+ create_time,
+
+
+ pass_time,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{villageId,jdbcType=INTEGER},
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{saltValue,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=DATE},
+
+
+ #{passTime,jdbcType=DATE},
+
+
+
+
+ update property_manage
+
+
+ village_id = #{villageId,jdbcType=INTEGER},
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ password = #{password,jdbcType=VARCHAR},
+
+
+ salt_value = #{saltValue,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=DATE},
+
+
+ pass_time = #{passTime,jdbcType=DATE},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update property_manage
+ set village_id = #{villageId,jdbcType=INTEGER},
+ username = #{username,jdbcType=VARCHAR},
+ password = #{password,jdbcType=VARCHAR},
+ salt_value = #{saltValue,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=DATE},
+ pass_time = #{passTime,jdbcType=DATE}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/ServiceImgMapper.xml b/propertymanagement/src/main/resources/mapper/ServiceImgMapper.xml
new file mode 100644
index 0000000..58452e6
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/ServiceImgMapper.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ id, serviceid, img
+
+
+
+ delete from service_img
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into service_img (id, serviceid, img
+ )
+ values (#{id,jdbcType=INTEGER}, #{serviceid,jdbcType=INTEGER}, #{img,jdbcType=VARCHAR}
+ )
+
+
+ insert into service_img
+
+
+ id,
+
+
+ serviceid,
+
+
+ img,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{serviceid,jdbcType=INTEGER},
+
+
+ #{img,jdbcType=VARCHAR},
+
+
+
+
+ update service_img
+
+
+ serviceid = #{serviceid,jdbcType=INTEGER},
+
+
+ img = #{img,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update service_img
+ set serviceid = #{serviceid,jdbcType=INTEGER},
+ img = #{img,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/ServiceOrderMapper.xml b/propertymanagement/src/main/resources/mapper/ServiceOrderMapper.xml
new file mode 100644
index 0000000..b7ea4d5
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/ServiceOrderMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ id, serviceid2, userid, order_price, starttime, endtime
+
+
+
+ delete from service_order
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into service_order (id, serviceid2, userid,
+ order_price, starttime, endtime
+ )
+ values (#{id,jdbcType=INTEGER}, #{serviceid2,jdbcType=INTEGER}, #{userid,jdbcType=INTEGER},
+ #{orderPrice,jdbcType=VARCHAR}, #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}
+ )
+
+
+ insert into service_order
+
+
+ id,
+
+
+ serviceid2,
+
+
+ userid,
+
+
+ order_price,
+
+
+ starttime,
+
+
+ endtime,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{serviceid2,jdbcType=INTEGER},
+
+
+ #{userid,jdbcType=INTEGER},
+
+
+ #{orderPrice,jdbcType=VARCHAR},
+
+
+ #{starttime,jdbcType=TIMESTAMP},
+
+
+ #{endtime,jdbcType=TIMESTAMP},
+
+
+
+
+ update service_order
+
+
+ serviceid2 = #{serviceid2,jdbcType=INTEGER},
+
+
+ userid = #{userid,jdbcType=INTEGER},
+
+
+ order_price = #{orderPrice,jdbcType=VARCHAR},
+
+
+ starttime = #{starttime,jdbcType=TIMESTAMP},
+
+
+ endtime = #{endtime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update service_order
+ set serviceid2 = #{serviceid2,jdbcType=INTEGER},
+ userid = #{userid,jdbcType=INTEGER},
+ order_price = #{orderPrice,jdbcType=VARCHAR},
+ starttime = #{starttime,jdbcType=TIMESTAMP},
+ endtime = #{endtime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/StateServiceMapper.xml b/propertymanagement/src/main/resources/mapper/StateServiceMapper.xml
new file mode 100644
index 0000000..3f289bb
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/StateServiceMapper.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ id, serviceid2, statecontext
+
+
+
+ delete from state_service
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into state_service (id, serviceid2, statecontext
+ )
+ values (#{id,jdbcType=INTEGER}, #{serviceid2,jdbcType=INTEGER}, #{statecontext,jdbcType=VARCHAR}
+ )
+
+
+ insert into state_service
+
+
+ id,
+
+
+ serviceid2,
+
+
+ statecontext,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{serviceid2,jdbcType=INTEGER},
+
+
+ #{statecontext,jdbcType=VARCHAR},
+
+
+
+
+ update state_service
+
+
+ serviceid2 = #{serviceid2,jdbcType=INTEGER},
+
+
+ statecontext = #{statecontext,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update state_service
+ set serviceid2 = #{serviceid2,jdbcType=INTEGER},
+ statecontext = #{statecontext,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/main/resources/mapper/StopServiceMapper.xml b/propertymanagement/src/main/resources/mapper/StopServiceMapper.xml
new file mode 100644
index 0000000..22fe1aa
--- /dev/null
+++ b/propertymanagement/src/main/resources/mapper/StopServiceMapper.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+ id, serviceid2, reason
+
+
+
+ delete from stop_service
+ where id = #{id,jdbcType=INTEGER}
+
+
+ insert into stop_service (id, serviceid2, reason
+ )
+ values (#{id,jdbcType=INTEGER}, #{serviceid2,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR}
+ )
+
+
+ insert into stop_service
+
+
+ id,
+
+
+ serviceid2,
+
+
+ reason,
+
+
+
+
+ #{id,jdbcType=INTEGER},
+
+
+ #{serviceid2,jdbcType=INTEGER},
+
+
+ #{reason,jdbcType=VARCHAR},
+
+
+
+
+ update stop_service
+
+
+ serviceid2 = #{serviceid2,jdbcType=INTEGER},
+
+
+ reason = #{reason,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update stop_service
+ set serviceid2 = #{serviceid2,jdbcType=INTEGER},
+ reason = #{reason,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
\ No newline at end of file
diff --git a/propertymanagement/src/test/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplicationTests.java b/propertymanagement/src/test/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplicationTests.java
new file mode 100644
index 0000000..42e2bc9
--- /dev/null
+++ b/propertymanagement/src/test/java/com/team7/happycommunity/propertymanagement/PropertymanagementApplicationTests.java
@@ -0,0 +1,13 @@
+package com.team7.happycommunity.propertymanagement;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class PropertymanagementApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
--
Gitee