张延森 4 vuotta sitten
vanhempi
commit
49f41887a8
100 muutettua tiedostoa jossa 3008 lisäystä ja 43 poistoa
  1. 5
    5
      pom.xml
  2. 1
    1
      src/main/java/com/shigongli/SpringApplication.java
  3. 1
    1
      src/main/java/com/shigongli/common/BaseController.java
  4. 1
    1
      src/main/java/com/shigongli/common/EncryptUtils.java
  5. 1
    1
      src/main/java/com/shigongli/common/ExcelUtils.java
  6. 1
    1
      src/main/java/com/shigongli/common/JWTUtils.java
  7. 2
    2
      src/main/java/com/shigongli/common/OSSUtils.java
  8. 1
    1
      src/main/java/com/shigongli/common/ResponseBean.java
  9. 2
    2
      src/main/java/com/shigongli/common/SMSCaptcha.java
  10. 2
    2
      src/main/java/com/shigongli/common/SMSUtils.java
  11. 1
    1
      src/main/java/com/shigongli/common/StringUtils.java
  12. 2
    2
      src/main/java/com/shigongli/common/WxUtils.java
  13. 1
    1
      src/main/java/com/shigongli/config/AliyunConfig.java
  14. 2
    2
      src/main/java/com/shigongli/config/BaseConfig.java
  15. 1
    1
      src/main/java/com/shigongli/config/InterceptorConfig.java
  16. 1
    1
      src/main/java/com/shigongli/config/MybatisPlusConfig.java
  17. 1
    1
      src/main/java/com/shigongli/config/SwagggerConfig.java
  18. 1
    1
      src/main/java/com/shigongli/config/WeixinConfig.java
  19. 5
    3
      src/main/java/com/shigongli/controller/LoginController.java
  20. 119
    0
      src/main/java/com/shigongli/controller/SysUserController.java
  21. 119
    0
      src/main/java/com/shigongli/controller/TaHouseController.java
  22. 119
    0
      src/main/java/com/shigongli/controller/TaHouseOrderController.java
  23. 119
    0
      src/main/java/com/shigongli/controller/TaHousePersonController.java
  24. 119
    0
      src/main/java/com/shigongli/controller/TaHouseSettingController.java
  25. 119
    0
      src/main/java/com/shigongli/controller/TaHouseSurroundController.java
  26. 119
    0
      src/main/java/com/shigongli/controller/TaMateTagController.java
  27. 119
    0
      src/main/java/com/shigongli/controller/TaMateTagGroupController.java
  28. 119
    0
      src/main/java/com/shigongli/controller/TaMetaImageController.java
  29. 119
    0
      src/main/java/com/shigongli/controller/TaMetaImageTagController.java
  30. 119
    0
      src/main/java/com/shigongli/controller/TaPersonController.java
  31. 119
    0
      src/main/java/com/shigongli/controller/TaShopController.java
  32. 119
    0
      src/main/java/com/shigongli/controller/TaShopKeeperController.java
  33. 49
    0
      src/main/java/com/shigongli/entity/SysUser.java
  34. 70
    0
      src/main/java/com/shigongli/entity/TaHouse.java
  35. 46
    0
      src/main/java/com/shigongli/entity/TaHouseOrder.java
  36. 55
    0
      src/main/java/com/shigongli/entity/TaHousePerson.java
  37. 52
    0
      src/main/java/com/shigongli/entity/TaHouseSetting.java
  38. 49
    0
      src/main/java/com/shigongli/entity/TaHouseSurround.java
  39. 52
    0
      src/main/java/com/shigongli/entity/TaMateTag.java
  40. 49
    0
      src/main/java/com/shigongli/entity/TaMateTagGroup.java
  41. 46
    0
      src/main/java/com/shigongli/entity/TaMetaImage.java
  42. 39
    0
      src/main/java/com/shigongli/entity/TaMetaImageTag.java
  43. 55
    0
      src/main/java/com/shigongli/entity/TaPerson.java
  44. 46
    0
      src/main/java/com/shigongli/entity/TaShop.java
  45. 52
    0
      src/main/java/com/shigongli/entity/TaShopKeeper.java
  46. 2
    2
      src/main/java/com/shigongli/exception/GlobalExceptionHandler.java
  47. 4
    4
      src/main/java/com/shigongli/interceptor/PermissionInterceptor.java
  48. 18
    0
      src/main/java/com/shigongli/mapper/SysUserMapper.java
  49. 18
    0
      src/main/java/com/shigongli/mapper/TaHouseMapper.java
  50. 18
    0
      src/main/java/com/shigongli/mapper/TaHouseOrderMapper.java
  51. 18
    0
      src/main/java/com/shigongli/mapper/TaHousePersonMapper.java
  52. 18
    0
      src/main/java/com/shigongli/mapper/TaHouseSettingMapper.java
  53. 18
    0
      src/main/java/com/shigongli/mapper/TaHouseSurroundMapper.java
  54. 18
    0
      src/main/java/com/shigongli/mapper/TaMateTagGroupMapper.java
  55. 18
    0
      src/main/java/com/shigongli/mapper/TaMateTagMapper.java
  56. 18
    0
      src/main/java/com/shigongli/mapper/TaMetaImageMapper.java
  57. 18
    0
      src/main/java/com/shigongli/mapper/TaMetaImageTagMapper.java
  58. 18
    0
      src/main/java/com/shigongli/mapper/TaPersonMapper.java
  59. 18
    0
      src/main/java/com/shigongli/mapper/TaShopKeeperMapper.java
  60. 18
    0
      src/main/java/com/shigongli/mapper/TaShopMapper.java
  61. 16
    0
      src/main/java/com/shigongli/service/ISysUserService.java
  62. 16
    0
      src/main/java/com/shigongli/service/ITaHouseOrderService.java
  63. 16
    0
      src/main/java/com/shigongli/service/ITaHousePersonService.java
  64. 16
    0
      src/main/java/com/shigongli/service/ITaHouseService.java
  65. 16
    0
      src/main/java/com/shigongli/service/ITaHouseSettingService.java
  66. 16
    0
      src/main/java/com/shigongli/service/ITaHouseSurroundService.java
  67. 16
    0
      src/main/java/com/shigongli/service/ITaMateTagGroupService.java
  68. 16
    0
      src/main/java/com/shigongli/service/ITaMateTagService.java
  69. 16
    0
      src/main/java/com/shigongli/service/ITaMetaImageService.java
  70. 16
    0
      src/main/java/com/shigongli/service/ITaMetaImageTagService.java
  71. 16
    0
      src/main/java/com/shigongli/service/ITaPersonService.java
  72. 16
    0
      src/main/java/com/shigongli/service/ITaShopKeeperService.java
  73. 16
    0
      src/main/java/com/shigongli/service/ITaShopService.java
  74. 20
    0
      src/main/java/com/shigongli/service/impl/SysUserServiceImpl.java
  75. 20
    0
      src/main/java/com/shigongli/service/impl/TaHouseOrderServiceImpl.java
  76. 20
    0
      src/main/java/com/shigongli/service/impl/TaHousePersonServiceImpl.java
  77. 20
    0
      src/main/java/com/shigongli/service/impl/TaHouseServiceImpl.java
  78. 20
    0
      src/main/java/com/shigongli/service/impl/TaHouseSettingServiceImpl.java
  79. 20
    0
      src/main/java/com/shigongli/service/impl/TaHouseSurroundServiceImpl.java
  80. 20
    0
      src/main/java/com/shigongli/service/impl/TaMateTagGroupServiceImpl.java
  81. 20
    0
      src/main/java/com/shigongli/service/impl/TaMateTagServiceImpl.java
  82. 20
    0
      src/main/java/com/shigongli/service/impl/TaMetaImageServiceImpl.java
  83. 20
    0
      src/main/java/com/shigongli/service/impl/TaMetaImageTagServiceImpl.java
  84. 20
    0
      src/main/java/com/shigongli/service/impl/TaPersonServiceImpl.java
  85. 20
    0
      src/main/java/com/shigongli/service/impl/TaShopKeeperServiceImpl.java
  86. 20
    0
      src/main/java/com/shigongli/service/impl/TaShopServiceImpl.java
  87. 1
    1
      src/main/java/com/shigongli/vo/LoginParam.java
  88. 7
    3
      src/main/resources/application-dev.yml
  89. 3
    3
      src/main/resources/application-prod.yml
  90. 5
    0
      src/main/resources/mapper/SysUserMapper.xml
  91. 5
    0
      src/main/resources/mapper/TaHouseMapper.xml
  92. 5
    0
      src/main/resources/mapper/TaHouseOrderMapper.xml
  93. 5
    0
      src/main/resources/mapper/TaHousePersonMapper.xml
  94. 5
    0
      src/main/resources/mapper/TaHouseSettingMapper.xml
  95. 5
    0
      src/main/resources/mapper/TaHouseSurroundMapper.xml
  96. 5
    0
      src/main/resources/mapper/TaMateTagGroupMapper.xml
  97. 5
    0
      src/main/resources/mapper/TaMateTagMapper.xml
  98. 5
    0
      src/main/resources/mapper/TaMetaImageMapper.xml
  99. 5
    0
      src/main/resources/mapper/TaMetaImageTagMapper.xml
  100. 0
    0
      src/main/resources/mapper/TaPersonMapper.xml

+ 5
- 5
pom.xml Näytä tiedosto

@@ -8,11 +8,11 @@
8 8
 		<version>2.3.2.RELEASE</version>
9 9
 		<relativePath/> <!-- lookup parent from repository -->
10 10
 	</parent>
11
-	<groupId>com.yunzhi</groupId>
12
-	<artifactId>serivce-template</artifactId>
13
-	<version>0.0.1-SNAPSHOT</version>
14
-	<name>demo</name>
15
-	<description>Demo project for Spring Boot</description>
11
+	<groupId>com.shigongli</groupId>
12
+	<artifactId>serivce</artifactId>
13
+	<version>0.0.1</version>
14
+	<name>shigongli</name>
15
+	<description>ShiGongli Service</description>
16 16
 
17 17
 	<properties>
18 18
 		<java.version>1.8</java.version>

src/main/java/com/yunzhi/demo/SpringApplication.java → src/main/java/com/shigongli/SpringApplication.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo;
1
+package com.shigongli;
2 2
 
3 3
 import org.springframework.boot.autoconfigure.SpringBootApplication;
4 4
 import org.springframework.scheduling.annotation.EnableAsync;

src/main/java/com/yunzhi/demo/common/BaseController.java → src/main/java/com/shigongli/common/BaseController.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 public class BaseController {
4 4
 }

src/main/java/com/yunzhi/demo/common/EncryptUtils.java → src/main/java/com/shigongli/common/EncryptUtils.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import org.springframework.util.DigestUtils;
4 4
 

src/main/java/com/yunzhi/demo/common/ExcelUtils.java → src/main/java/com/shigongli/common/ExcelUtils.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import com.alibaba.excel.EasyExcel;
4 4
 

src/main/java/com/yunzhi/demo/common/JWTUtils.java → src/main/java/com/shigongli/common/JWTUtils.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import io.jsonwebtoken.Claims;
4 4
 import io.jsonwebtoken.Jws;

src/main/java/com/yunzhi/demo/common/OSSUtils.java → src/main/java/com/shigongli/common/OSSUtils.java Näytä tiedosto

@@ -1,7 +1,7 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import com.aliyun.oss.OSSClient;
4
-import com.yunzhi.demo.config.AliyunConfig;
4
+import com.shigongli.config.AliyunConfig;
5 5
 import org.springframework.beans.factory.annotation.Autowired;
6 6
 import org.springframework.stereotype.Component;
7 7
 import org.springframework.web.multipart.MultipartFile;

src/main/java/com/yunzhi/demo/common/ResponseBean.java → src/main/java/com/shigongli/common/ResponseBean.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import java.io.Serializable;
4 4
 

src/main/java/com/yunzhi/demo/common/SMSCaptcha.java → src/main/java/com/shigongli/common/SMSCaptcha.java Näytä tiedosto

@@ -1,6 +1,6 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3
-import com.yunzhi.demo.config.AliyunConfig;
3
+import com.shigongli.config.AliyunConfig;
4 4
 import lombok.Data;
5 5
 import lombok.experimental.Accessors;
6 6
 import lombok.extern.slf4j.Slf4j;

src/main/java/com/yunzhi/demo/common/SMSUtils.java → src/main/java/com/shigongli/common/SMSUtils.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import com.aliyuncs.CommonRequest;
4 4
 import com.aliyuncs.CommonResponse;
@@ -6,7 +6,7 @@ import com.aliyuncs.DefaultAcsClient;
6 6
 import com.aliyuncs.IAcsClient;
7 7
 import com.aliyuncs.http.MethodType;
8 8
 import com.aliyuncs.profile.DefaultProfile;
9
-import com.yunzhi.demo.config.AliyunConfig;
9
+import com.shigongli.config.AliyunConfig;
10 10
 import lombok.Data;
11 11
 import lombok.experimental.Accessors;
12 12
 import lombok.extern.slf4j.Slf4j;

src/main/java/com/yunzhi/demo/common/StringUtils.java → src/main/java/com/shigongli/common/StringUtils.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import java.io.UnsupportedEncodingException;
4 4
 import java.net.URLEncoder;

src/main/java/com/yunzhi/demo/common/WxUtils.java → src/main/java/com/shigongli/common/WxUtils.java Näytä tiedosto

@@ -1,9 +1,9 @@
1
-package com.yunzhi.demo.common;
1
+package com.shigongli.common;
2 2
 
3 3
 import cn.binarywang.wx.miniapp.api.WxMaService;
4 4
 import cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl;
5 5
 import cn.binarywang.wx.miniapp.config.impl.WxMaDefaultConfigImpl;
6
-import com.yunzhi.demo.config.WeixinConfig;
6
+import com.shigongli.config.WeixinConfig;
7 7
 import org.springframework.beans.factory.annotation.Autowired;
8 8
 import org.springframework.stereotype.Component;
9 9
 

src/main/java/com/yunzhi/demo/config/AliyunConfig.java → src/main/java/com/shigongli/config/AliyunConfig.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3 3
 import lombok.Data;
4 4
 import org.springframework.boot.context.properties.ConfigurationProperties;

src/main/java/com/yunzhi/demo/config/BaseConfig.java → src/main/java/com/shigongli/config/BaseConfig.java Näytä tiedosto

@@ -1,6 +1,6 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3
-import com.yunzhi.demo.interceptor.PermissionInterceptor;
3
+import com.shigongli.interceptor.PermissionInterceptor;
4 4
 import lombok.Data;
5 5
 import org.springframework.beans.factory.annotation.Autowired;
6 6
 import org.springframework.context.annotation.Configuration;

src/main/java/com/yunzhi/demo/config/InterceptorConfig.java → src/main/java/com/shigongli/config/InterceptorConfig.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3 3
 import lombok.Data;
4 4
 import org.springframework.boot.context.properties.ConfigurationProperties;

src/main/java/com/yunzhi/demo/config/MybatisPlusConfig.java → src/main/java/com/shigongli/config/MybatisPlusConfig.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3 3
 import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
4 4
 import org.springframework.context.annotation.Bean;

src/main/java/com/yunzhi/demo/config/SwagggerConfig.java → src/main/java/com/shigongli/config/SwagggerConfig.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3 3
 import io.swagger.annotations.Api;
4 4
 import org.springframework.context.annotation.Bean;

src/main/java/com/yunzhi/demo/config/WeixinConfig.java → src/main/java/com/shigongli/config/WeixinConfig.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.config;
1
+package com.shigongli.config;
2 2
 
3 3
 import lombok.Data;
4 4
 import org.springframework.boot.context.properties.ConfigurationProperties;

src/main/java/com/yunzhi/demo/controller/LoginController.java → src/main/java/com/shigongli/controller/LoginController.java Näytä tiedosto

@@ -1,10 +1,12 @@
1
-package com.yunzhi.demo.controller;
1
+package com.shigongli.controller;
2 2
 
3
-import com.yunzhi.demo.common.*;
3
+import com.shigongli.common.BaseController;
4
+import com.shigongli.common.EncryptUtils;
5
+import com.shigongli.common.ResponseBean;
4 6
 //import com.yunzhi.niucai.entity.SysUser;
5 7
 //import com.yunzhi.niucai.service.ISysUserService;
6 8
 //import org.springframework.beans.factory.annotation.Autowired;
7
-import com.yunzhi.demo.vo.LoginParam;
9
+import com.shigongli.vo.LoginParam;
8 10
 import io.swagger.annotations.Api;
9 11
 import io.swagger.annotations.ApiOperation;
10 12
 import io.swagger.annotations.ApiParam;

+ 119
- 0
src/main/java/com/shigongli/controller/SysUserController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ISysUserService;
20
+import com.shigongli.entity.SysUser;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 系统用户 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "系统用户")
33
+@RestController
34
+@RequestMapping("/")
35
+public class SysUserController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(SysUserController.class);
38
+
39
+    @Autowired
40
+    public ISysUserService iSysUserService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/sysUser",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean sysUserList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<SysUser> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<SysUser> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<SysUser> result = iSysUserService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param sysUser 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/sysUser",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean sysUserAdd(@ApiParam("保存内容") @RequestBody SysUser sysUser) throws Exception{
70
+
71
+        if (iSysUserService.save(sysUser)){
72
+            return ResponseBean.success(sysUser);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/sysUser/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean sysUserDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iSysUserService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param sysUser 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/sysUser/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean sysUserUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody SysUser sysUser) throws Exception{
102
+
103
+        if (iSysUserService.updateById(sysUser)){
104
+            return ResponseBean.success(iSysUserService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/sysUser/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean sysUserGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iSysUserService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaHouseController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaHouseService;
20
+import com.shigongli.entity.TaHouse;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 房源 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "房源")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaHouseController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaHouseController.class);
38
+
39
+    @Autowired
40
+    public ITaHouseService iTaHouseService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taHouse",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taHouseList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaHouse> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaHouse> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaHouse> result = iTaHouseService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taHouse 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taHouse",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taHouseAdd(@ApiParam("保存内容") @RequestBody TaHouse taHouse) throws Exception{
70
+
71
+        if (iTaHouseService.save(taHouse)){
72
+            return ResponseBean.success(taHouse);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taHouse/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taHouseDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaHouseService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taHouse 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taHouse/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taHouseUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaHouse taHouse) throws Exception{
102
+
103
+        if (iTaHouseService.updateById(taHouse)){
104
+            return ResponseBean.success(iTaHouseService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taHouse/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taHouseGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaHouseService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaHouseOrderController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaHouseOrderService;
20
+import com.shigongli.entity.TaHouseOrder;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 房源订单 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "房源订单")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaHouseOrderController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaHouseOrderController.class);
38
+
39
+    @Autowired
40
+    public ITaHouseOrderService iTaHouseOrderService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taHouseOrder",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taHouseOrderList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaHouseOrder> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaHouseOrder> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaHouseOrder> result = iTaHouseOrderService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taHouseOrder 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taHouseOrder",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taHouseOrderAdd(@ApiParam("保存内容") @RequestBody TaHouseOrder taHouseOrder) throws Exception{
70
+
71
+        if (iTaHouseOrderService.save(taHouseOrder)){
72
+            return ResponseBean.success(taHouseOrder);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taHouseOrder/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taHouseOrderDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaHouseOrderService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taHouseOrder 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taHouseOrder/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taHouseOrderUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaHouseOrder taHouseOrder) throws Exception{
102
+
103
+        if (iTaHouseOrderService.updateById(taHouseOrder)){
104
+            return ResponseBean.success(iTaHouseOrderService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taHouseOrder/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taHouseOrderGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaHouseOrderService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaHousePersonController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaHousePersonService;
20
+import com.shigongli.entity.TaHousePerson;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 住房人 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "住房人")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaHousePersonController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaHousePersonController.class);
38
+
39
+    @Autowired
40
+    public ITaHousePersonService iTaHousePersonService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taHousePerson",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taHousePersonList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaHousePerson> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaHousePerson> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaHousePerson> result = iTaHousePersonService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taHousePerson 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taHousePerson",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taHousePersonAdd(@ApiParam("保存内容") @RequestBody TaHousePerson taHousePerson) throws Exception{
70
+
71
+        if (iTaHousePersonService.save(taHousePerson)){
72
+            return ResponseBean.success(taHousePerson);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taHousePerson/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taHousePersonDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaHousePersonService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taHousePerson 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taHousePerson/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taHousePersonUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaHousePerson taHousePerson) throws Exception{
102
+
103
+        if (iTaHousePersonService.updateById(taHousePerson)){
104
+            return ResponseBean.success(iTaHousePersonService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taHousePerson/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taHousePersonGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaHousePersonService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaHouseSettingController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaHouseSettingService;
20
+import com.shigongli.entity.TaHouseSetting;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 房源入住设置 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "房源入住设置")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaHouseSettingController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaHouseSettingController.class);
38
+
39
+    @Autowired
40
+    public ITaHouseSettingService iTaHouseSettingService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taHouseSetting",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taHouseSettingList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaHouseSetting> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaHouseSetting> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaHouseSetting> result = iTaHouseSettingService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taHouseSetting 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taHouseSetting",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taHouseSettingAdd(@ApiParam("保存内容") @RequestBody TaHouseSetting taHouseSetting) throws Exception{
70
+
71
+        if (iTaHouseSettingService.save(taHouseSetting)){
72
+            return ResponseBean.success(taHouseSetting);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taHouseSetting/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taHouseSettingDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaHouseSettingService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taHouseSetting 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taHouseSetting/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taHouseSettingUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaHouseSetting taHouseSetting) throws Exception{
102
+
103
+        if (iTaHouseSettingService.updateById(taHouseSetting)){
104
+            return ResponseBean.success(iTaHouseSettingService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taHouseSetting/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taHouseSettingGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaHouseSettingService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaHouseSurroundController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaHouseSurroundService;
20
+import com.shigongli.entity.TaHouseSurround;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 房源周边 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "房源周边")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaHouseSurroundController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaHouseSurroundController.class);
38
+
39
+    @Autowired
40
+    public ITaHouseSurroundService iTaHouseSurroundService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taHouseSurround",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taHouseSurroundList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaHouseSurround> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaHouseSurround> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaHouseSurround> result = iTaHouseSurroundService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taHouseSurround 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taHouseSurround",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taHouseSurroundAdd(@ApiParam("保存内容") @RequestBody TaHouseSurround taHouseSurround) throws Exception{
70
+
71
+        if (iTaHouseSurroundService.save(taHouseSurround)){
72
+            return ResponseBean.success(taHouseSurround);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taHouseSurround/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taHouseSurroundDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaHouseSurroundService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taHouseSurround 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taHouseSurround/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taHouseSurroundUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaHouseSurround taHouseSurround) throws Exception{
102
+
103
+        if (iTaHouseSurroundService.updateById(taHouseSurround)){
104
+            return ResponseBean.success(iTaHouseSurroundService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taHouseSurround/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taHouseSurroundGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaHouseSurroundService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaMateTagController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaMateTagService;
20
+import com.shigongli.entity.TaMateTag;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 素材标签 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "素材标签")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaMateTagController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaMateTagController.class);
38
+
39
+    @Autowired
40
+    public ITaMateTagService iTaMateTagService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taMateTag",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taMateTagList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaMateTag> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaMateTag> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaMateTag> result = iTaMateTagService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taMateTag 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taMateTag",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taMateTagAdd(@ApiParam("保存内容") @RequestBody TaMateTag taMateTag) throws Exception{
70
+
71
+        if (iTaMateTagService.save(taMateTag)){
72
+            return ResponseBean.success(taMateTag);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taMateTag/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taMateTagDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaMateTagService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taMateTag 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taMateTag/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taMateTagUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaMateTag taMateTag) throws Exception{
102
+
103
+        if (iTaMateTagService.updateById(taMateTag)){
104
+            return ResponseBean.success(iTaMateTagService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taMateTag/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taMateTagGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaMateTagService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaMateTagGroupController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaMateTagGroupService;
20
+import com.shigongli.entity.TaMateTagGroup;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 素材标签组 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "素材标签组")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaMateTagGroupController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaMateTagGroupController.class);
38
+
39
+    @Autowired
40
+    public ITaMateTagGroupService iTaMateTagGroupService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taMateTagGroup",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taMateTagGroupList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaMateTagGroup> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaMateTagGroup> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaMateTagGroup> result = iTaMateTagGroupService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taMateTagGroup 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taMateTagGroup",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taMateTagGroupAdd(@ApiParam("保存内容") @RequestBody TaMateTagGroup taMateTagGroup) throws Exception{
70
+
71
+        if (iTaMateTagGroupService.save(taMateTagGroup)){
72
+            return ResponseBean.success(taMateTagGroup);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taMateTagGroup/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taMateTagGroupDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaMateTagGroupService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taMateTagGroup 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taMateTagGroup/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taMateTagGroupUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaMateTagGroup taMateTagGroup) throws Exception{
102
+
103
+        if (iTaMateTagGroupService.updateById(taMateTagGroup)){
104
+            return ResponseBean.success(iTaMateTagGroupService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taMateTagGroup/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taMateTagGroupGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaMateTagGroupService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaMetaImageController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaMetaImageService;
20
+import com.shigongli.entity.TaMetaImage;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 图片素材 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "图片素材")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaMetaImageController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaMetaImageController.class);
38
+
39
+    @Autowired
40
+    public ITaMetaImageService iTaMetaImageService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taMetaImage",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taMetaImageList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaMetaImage> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaMetaImage> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaMetaImage> result = iTaMetaImageService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taMetaImage 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taMetaImage",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taMetaImageAdd(@ApiParam("保存内容") @RequestBody TaMetaImage taMetaImage) throws Exception{
70
+
71
+        if (iTaMetaImageService.save(taMetaImage)){
72
+            return ResponseBean.success(taMetaImage);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taMetaImage/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taMetaImageDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaMetaImageService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taMetaImage 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taMetaImage/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taMetaImageUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaMetaImage taMetaImage) throws Exception{
102
+
103
+        if (iTaMetaImageService.updateById(taMetaImage)){
104
+            return ResponseBean.success(iTaMetaImageService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taMetaImage/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taMetaImageGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaMetaImageService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaMetaImageTagController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaMetaImageTagService;
20
+import com.shigongli.entity.TaMetaImageTag;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 图片标签 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "图片标签")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaMetaImageTagController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaMetaImageTagController.class);
38
+
39
+    @Autowired
40
+    public ITaMetaImageTagService iTaMetaImageTagService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taMetaImageTag",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taMetaImageTagList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaMetaImageTag> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaMetaImageTag> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaMetaImageTag> result = iTaMetaImageTagService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taMetaImageTag 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taMetaImageTag",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taMetaImageTagAdd(@ApiParam("保存内容") @RequestBody TaMetaImageTag taMetaImageTag) throws Exception{
70
+
71
+        if (iTaMetaImageTagService.save(taMetaImageTag)){
72
+            return ResponseBean.success(taMetaImageTag);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taMetaImageTag/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taMetaImageTagDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaMetaImageTagService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taMetaImageTag 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taMetaImageTag/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taMetaImageTagUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaMetaImageTag taMetaImageTag) throws Exception{
102
+
103
+        if (iTaMetaImageTagService.updateById(taMetaImageTag)){
104
+            return ResponseBean.success(iTaMetaImageTagService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taMetaImageTag/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taMetaImageTagGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaMetaImageTagService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaPersonController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaPersonService;
20
+import com.shigongli.entity.TaPerson;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 人员表 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "人员表")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaPersonController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaPersonController.class);
38
+
39
+    @Autowired
40
+    public ITaPersonService iTaPersonService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taPerson",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taPersonList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaPerson> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaPerson> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaPerson> result = iTaPersonService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taPerson 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taPerson",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taPersonAdd(@ApiParam("保存内容") @RequestBody TaPerson taPerson) throws Exception{
70
+
71
+        if (iTaPersonService.save(taPerson)){
72
+            return ResponseBean.success(taPerson);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taPerson/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taPersonDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaPersonService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taPerson 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taPerson/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taPersonUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaPerson taPerson) throws Exception{
102
+
103
+        if (iTaPersonService.updateById(taPerson)){
104
+            return ResponseBean.success(iTaPersonService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taPerson/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taPersonGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaPersonService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaShopController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaShopService;
20
+import com.shigongli.entity.TaShop;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 民宿店 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "民宿店")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaShopController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaShopController.class);
38
+
39
+    @Autowired
40
+    public ITaShopService iTaShopService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taShop",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taShopList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaShop> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaShop> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaShop> result = iTaShopService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taShop 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taShop",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taShopAdd(@ApiParam("保存内容") @RequestBody TaShop taShop) throws Exception{
70
+
71
+        if (iTaShopService.save(taShop)){
72
+            return ResponseBean.success(taShop);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taShop/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taShopDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaShopService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taShop 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taShop/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taShopUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaShop taShop) throws Exception{
102
+
103
+        if (iTaShopService.updateById(taShop)){
104
+            return ResponseBean.success(iTaShopService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taShop/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taShopGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaShopService.getById(id));
118
+    }
119
+}

+ 119
- 0
src/main/java/com/shigongli/controller/TaShopKeeperController.java Näytä tiedosto

@@ -0,0 +1,119 @@
1
+package com.shigongli.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.shigongli.common.BaseController;
7
+import com.shigongli.common.ResponseBean;
8
+import io.swagger.annotations.Api;
9
+import io.swagger.annotations.ApiOperation;
10
+import io.swagger.annotations.ApiParam;
11
+import org.slf4j.Logger;
12
+import org.slf4j.LoggerFactory;
13
+import org.springframework.beans.factory.annotation.Autowired;
14
+import org.springframework.web.bind.annotation.PathVariable;
15
+import org.springframework.web.bind.annotation.RequestBody;
16
+import org.springframework.web.bind.annotation.RequestMapping;
17
+import org.springframework.web.bind.annotation.RequestMethod;
18
+import org.springframework.web.bind.annotation.RequestParam;
19
+import com.shigongli.service.ITaShopKeeperService;
20
+import com.shigongli.entity.TaShopKeeper;
21
+import org.springframework.web.bind.annotation.RestController;
22
+
23
+/**
24
+ * <p>
25
+    * 店主 前端控制器
26
+    * </p>
27
+ *
28
+ * @author yansen
29
+ * @since 2020-12-11
30
+ */
31
+
32
+@Api(tags = "店主")
33
+@RestController
34
+@RequestMapping("/")
35
+public class TaShopKeeperController extends BaseController {
36
+
37
+    private final Logger logger = LoggerFactory.getLogger(TaShopKeeperController.class);
38
+
39
+    @Autowired
40
+    public ITaShopKeeperService iTaShopKeeperService;
41
+
42
+
43
+    /**
44
+     * 分页查询列表
45
+     * @param pageNum
46
+     * @param pageSize
47
+     * @return
48
+     */
49
+    @RequestMapping(value="/taShopKeeper",method= RequestMethod.GET)
50
+    @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
51
+    public ResponseBean taShopKeeperList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
52
+									 @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
53
+
54
+		    IPage<TaShopKeeper> pg = new Page<>(pageNum, pageSize);
55
+            QueryWrapper<TaShopKeeper> queryWrapper = new QueryWrapper<>();
56
+            queryWrapper.orderByDesc("create_date");
57
+
58
+            IPage<TaShopKeeper> result = iTaShopKeeperService.page(pg, queryWrapper);
59
+            return ResponseBean.success(result);
60
+    }
61
+
62
+    /**
63
+     * 保存对象
64
+     * @param taShopKeeper 实体对象
65
+     * @return
66
+     */
67
+    @RequestMapping(value="/taShopKeeper",method= RequestMethod.POST)
68
+    @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
69
+    public ResponseBean taShopKeeperAdd(@ApiParam("保存内容") @RequestBody TaShopKeeper taShopKeeper) throws Exception{
70
+
71
+        if (iTaShopKeeperService.save(taShopKeeper)){
72
+            return ResponseBean.success(taShopKeeper);
73
+        }else {
74
+            return ResponseBean.error("保存失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
75
+        }
76
+    }
77
+
78
+    /**
79
+     * 根据id删除对象
80
+     * @param id  实体ID
81
+     */
82
+    @RequestMapping(value="/taShopKeeper/{id}", method= RequestMethod.DELETE)
83
+    @ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
84
+    public ResponseBean taShopKeeperDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
85
+        if(iTaShopKeeperService.removeById(id)){
86
+            return ResponseBean.success("success");
87
+        }else {
88
+            return ResponseBean.error("删除失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
89
+        }
90
+    }
91
+
92
+    /**
93
+     * 修改对象
94
+     * @param id  实体ID
95
+     * @param taShopKeeper 实体对象
96
+     * @return
97
+     */
98
+    @RequestMapping(value="/taShopKeeper/{id}",method= RequestMethod.PUT)
99
+    @ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
100
+    public ResponseBean taShopKeeperUpdate(@ApiParam("对象ID") @PathVariable Integer id,
101
+                                        @ApiParam("更新内容") @RequestBody TaShopKeeper taShopKeeper) throws Exception{
102
+
103
+        if (iTaShopKeeperService.updateById(taShopKeeper)){
104
+            return ResponseBean.success(iTaShopKeeperService.getById(id));
105
+        }else {
106
+            return ResponseBean.error("修改失败, 请重试", ResponseBean.ERROR_UNAVAILABLE);
107
+        }
108
+    }
109
+
110
+    /**
111
+     * 根据id查询对象
112
+     * @param id  实体ID
113
+     */
114
+    @RequestMapping(value="/taShopKeeper/{id}",method= RequestMethod.GET)
115
+    @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
116
+    public ResponseBean taShopKeeperGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
117
+        return ResponseBean.success(iTaShopKeeperService.getById(id));
118
+    }
119
+}

+ 49
- 0
src/main/java/com/shigongli/entity/SysUser.java Näytä tiedosto

@@ -0,0 +1,49 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 系统用户
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="SysUser对象", description="系统用户")
25
+public class SysUser implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "系统ID")
30
+    @TableId(value = "user_id", type = IdType.INPUT)
31
+    private String userId;
32
+
33
+    @ApiModelProperty(value = "用户名")
34
+    private String name;
35
+
36
+    @ApiModelProperty(value = "手机号")
37
+    private String phone;
38
+
39
+    @ApiModelProperty(value = "openid")
40
+    private String openid;
41
+
42
+    @ApiModelProperty(value = "状态")
43
+    private Integer status;
44
+
45
+    @ApiModelProperty(value = "创建时间")
46
+    private LocalDateTime createDate;
47
+
48
+
49
+}

+ 70
- 0
src/main/java/com/shigongli/entity/TaHouse.java Näytä tiedosto

@@ -0,0 +1,70 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 房源
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaHouse对象", description="房源")
25
+public class TaHouse implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "房源ID")
30
+    @TableId(value = "house_id", type = IdType.INPUT)
31
+    private String houseId;
32
+
33
+    @ApiModelProperty(value = "所属民宿")
34
+    private String shopId;
35
+
36
+    @ApiModelProperty(value = "标题")
37
+    private String title;
38
+
39
+    @ApiModelProperty(value = "详细地址")
40
+    private String address;
41
+
42
+    @ApiModelProperty(value = "经纬度 lng,lat")
43
+    private String lngLat;
44
+
45
+    @ApiModelProperty(value = "停车场")
46
+    private String parking;
47
+
48
+    @ApiModelProperty(value = "停车场位置 lng,lat")
49
+    private String parkLngLat;
50
+
51
+    @ApiModelProperty(value = "wifi名称")
52
+    private String wifiName;
53
+
54
+    @ApiModelProperty(value = "wifi密码")
55
+    private String wifiPassword;
56
+
57
+    @ApiModelProperty(value = "其他")
58
+    private String desc;
59
+
60
+    @ApiModelProperty(value = "排序")
61
+    private Integer sortNo;
62
+
63
+    @ApiModelProperty(value = "状态")
64
+    private Integer status;
65
+
66
+    @ApiModelProperty(value = "创建时间")
67
+    private LocalDateTime createDate;
68
+
69
+
70
+}

+ 46
- 0
src/main/java/com/shigongli/entity/TaHouseOrder.java Näytä tiedosto

@@ -0,0 +1,46 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 房源订单
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaHouseOrder对象", description="房源订单")
25
+public class TaHouseOrder implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "房源ID")
30
+    @TableId(value = "order_id", type = IdType.INPUT)
31
+    private String orderId;
32
+
33
+    @ApiModelProperty(value = "对应设置")
34
+    private String settingId;
35
+
36
+    @ApiModelProperty(value = "签单认")
37
+    private String personId;
38
+
39
+    @ApiModelProperty(value = "状态")
40
+    private Integer status;
41
+
42
+    @ApiModelProperty(value = "创建时间")
43
+    private LocalDateTime createDate;
44
+
45
+
46
+}

+ 55
- 0
src/main/java/com/shigongli/entity/TaHousePerson.java Näytä tiedosto

@@ -0,0 +1,55 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import java.time.LocalDateTime;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 住房人
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaHousePerson对象", description="住房人")
25
+public class TaHousePerson implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "序号")
30
+    @TableId(value = "serial_no", type = IdType.AUTO)
31
+    private Integer serialNo;
32
+
33
+    @ApiModelProperty(value = "房源")
34
+    private String houseId;
35
+
36
+    @ApiModelProperty(value = "订单")
37
+    private String orderId;
38
+
39
+    @ApiModelProperty(value = "人员ID")
40
+    private String personId;
41
+
42
+    @ApiModelProperty(value = "姓名")
43
+    private String name;
44
+
45
+    @ApiModelProperty(value = "手机号")
46
+    private String phone;
47
+
48
+    @ApiModelProperty(value = "状态")
49
+    private Integer status;
50
+
51
+    @ApiModelProperty(value = "创建时间")
52
+    private LocalDateTime createDate;
53
+
54
+
55
+}

+ 52
- 0
src/main/java/com/shigongli/entity/TaHouseSetting.java Näytä tiedosto

@@ -0,0 +1,52 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 房源入住设置
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaHouseSetting对象", description="房源入住设置")
25
+public class TaHouseSetting implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "设置ID")
30
+    @TableId(value = "setting_id", type = IdType.INPUT)
31
+    private String settingId;
32
+
33
+    @ApiModelProperty(value = "房源")
34
+    private String houseId;
35
+
36
+    @ApiModelProperty(value = "入住人数")
37
+    private Integer personNum;
38
+
39
+    @ApiModelProperty(value = "入住开始时间 yyyy-mm-dd")
40
+    private String startDate;
41
+
42
+    @ApiModelProperty(value = "入住结束时间 yyyy-mm-dd")
43
+    private String endDate;
44
+
45
+    @ApiModelProperty(value = "状态 2说明不生效")
46
+    private Integer status;
47
+
48
+    @ApiModelProperty(value = "创建时间")
49
+    private LocalDateTime createDate;
50
+
51
+
52
+}

+ 49
- 0
src/main/java/com/shigongli/entity/TaHouseSurround.java Näytä tiedosto

@@ -0,0 +1,49 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 房源周边
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaHouseSurround对象", description="房源周边")
25
+public class TaHouseSurround implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "周边ID")
30
+    @TableId(value = "surround_id", type = IdType.INPUT)
31
+    private String surroundId;
32
+
33
+    @ApiModelProperty(value = "关联房源")
34
+    private String houseId;
35
+
36
+    @ApiModelProperty(value = "关联图片素材")
37
+    private String imageId;
38
+
39
+    @ApiModelProperty(value = "排序")
40
+    private Integer sortNo;
41
+
42
+    @ApiModelProperty(value = "状态")
43
+    private Integer status;
44
+
45
+    @ApiModelProperty(value = "创建时间")
46
+    private LocalDateTime createDate;
47
+
48
+
49
+}

+ 52
- 0
src/main/java/com/shigongli/entity/TaMateTag.java Näytä tiedosto

@@ -0,0 +1,52 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 素材标签
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaMateTag对象", description="素材标签")
25
+public class TaMateTag implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "ID")
30
+    @TableId(value = "tag_id", type = IdType.INPUT)
31
+    private String tagId;
32
+
33
+    @ApiModelProperty(value = "标签")
34
+    private String name;
35
+
36
+    @ApiModelProperty(value = "排序")
37
+    private Integer sortNo;
38
+
39
+    @ApiModelProperty(value = "所属组")
40
+    private String groupId;
41
+
42
+    @ApiModelProperty(value = "状态")
43
+    private Integer status;
44
+
45
+    @ApiModelProperty(value = "创建时间")
46
+    private LocalDateTime createDate;
47
+
48
+    @ApiModelProperty(value = "创建人")
49
+    private String userId;
50
+
51
+
52
+}

+ 49
- 0
src/main/java/com/shigongli/entity/TaMateTagGroup.java Näytä tiedosto

@@ -0,0 +1,49 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 素材标签组
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaMateTagGroup对象", description="素材标签组")
25
+public class TaMateTagGroup implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "ID")
30
+    @TableId(value = "group_id", type = IdType.INPUT)
31
+    private String groupId;
32
+
33
+    @ApiModelProperty(value = "标签组")
34
+    private String name;
35
+
36
+    @ApiModelProperty(value = "排序")
37
+    private Integer sortNo;
38
+
39
+    @ApiModelProperty(value = "状态")
40
+    private Integer status;
41
+
42
+    @ApiModelProperty(value = "创建时间")
43
+    private LocalDateTime createDate;
44
+
45
+    @ApiModelProperty(value = "创建人")
46
+    private String userId;
47
+
48
+
49
+}

+ 46
- 0
src/main/java/com/shigongli/entity/TaMetaImage.java Näytä tiedosto

@@ -0,0 +1,46 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 图片素材
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaMetaImage对象", description="图片素材")
25
+public class TaMetaImage implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "图片id")
30
+    @TableId(value = "image_id", type = IdType.INPUT)
31
+    private String imageId;
32
+
33
+    @ApiModelProperty(value = "图片地址")
34
+    private String image;
35
+
36
+    @ApiModelProperty(value = "状态")
37
+    private Integer status;
38
+
39
+    @ApiModelProperty(value = "创建时间")
40
+    private LocalDateTime createDate;
41
+
42
+    @ApiModelProperty(value = "上传人")
43
+    private String userId;
44
+
45
+
46
+}

+ 39
- 0
src/main/java/com/shigongli/entity/TaMetaImageTag.java Näytä tiedosto

@@ -0,0 +1,39 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import java.io.Serializable;
6
+import io.swagger.annotations.ApiModel;
7
+import io.swagger.annotations.ApiModelProperty;
8
+import lombok.Data;
9
+import lombok.EqualsAndHashCode;
10
+import lombok.experimental.Accessors;
11
+
12
+/**
13
+ * <p>
14
+ * 图片标签
15
+ * </p>
16
+ *
17
+ * @author yansen
18
+ * @since 2020-12-11
19
+ */
20
+@Data
21
+@EqualsAndHashCode(callSuper = false)
22
+@Accessors(chain = true)
23
+@ApiModel(value="TaMetaImageTag对象", description="图片标签")
24
+public class TaMetaImageTag implements Serializable {
25
+
26
+    private static final long serialVersionUID = 1L;
27
+
28
+    @ApiModelProperty(value = "序号")
29
+    @TableId(value = "serial_no", type = IdType.AUTO)
30
+    private Integer serialNo;
31
+
32
+    @ApiModelProperty(value = "图片ID")
33
+    private String imageId;
34
+
35
+    @ApiModelProperty(value = "标签ID")
36
+    private String tagId;
37
+
38
+
39
+}

+ 55
- 0
src/main/java/com/shigongli/entity/TaPerson.java Näytä tiedosto

@@ -0,0 +1,55 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 人员表
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaPerson对象", description="人员表")
25
+public class TaPerson implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "人员ID")
30
+    @TableId(value = "person_id", type = IdType.INPUT)
31
+    private String personId;
32
+
33
+    @ApiModelProperty(value = "手机")
34
+    private String phone;
35
+
36
+    @ApiModelProperty(value = "名称")
37
+    private String realName;
38
+
39
+    @ApiModelProperty(value = "昵称")
40
+    private String nickName;
41
+
42
+    @ApiModelProperty(value = "头像")
43
+    private String avatar;
44
+
45
+    @ApiModelProperty(value = "openid")
46
+    private String openid;
47
+
48
+    @ApiModelProperty(value = "状态")
49
+    private Integer status;
50
+
51
+    @ApiModelProperty(value = "创建时间")
52
+    private LocalDateTime createDate;
53
+
54
+
55
+}

+ 46
- 0
src/main/java/com/shigongli/entity/TaShop.java Näytä tiedosto

@@ -0,0 +1,46 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 民宿店
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaShop对象", description="民宿店")
25
+public class TaShop implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "店铺ID")
30
+    @TableId(value = "shop_id", type = IdType.INPUT)
31
+    private String shopId;
32
+
33
+    @ApiModelProperty(value = "店铺名称")
34
+    private String name;
35
+
36
+    @ApiModelProperty(value = "店铺logo")
37
+    private String logo;
38
+
39
+    @ApiModelProperty(value = "状态")
40
+    private Integer status;
41
+
42
+    @ApiModelProperty(value = "创建时间")
43
+    private LocalDateTime createDate;
44
+
45
+
46
+}

+ 52
- 0
src/main/java/com/shigongli/entity/TaShopKeeper.java Näytä tiedosto

@@ -0,0 +1,52 @@
1
+package com.shigongli.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import java.time.LocalDateTime;
5
+import com.baomidou.mybatisplus.annotation.TableId;
6
+import java.io.Serializable;
7
+import io.swagger.annotations.ApiModel;
8
+import io.swagger.annotations.ApiModelProperty;
9
+import lombok.Data;
10
+import lombok.EqualsAndHashCode;
11
+import lombok.experimental.Accessors;
12
+
13
+/**
14
+ * <p>
15
+ * 店主
16
+ * </p>
17
+ *
18
+ * @author yansen
19
+ * @since 2020-12-11
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@ApiModel(value="TaShopKeeper对象", description="店主")
25
+public class TaShopKeeper implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    @ApiModelProperty(value = "店主ID")
30
+    @TableId(value = "keeper_id", type = IdType.INPUT)
31
+    private String keeperId;
32
+
33
+    @ApiModelProperty(value = "店主名称")
34
+    private String name;
35
+
36
+    @ApiModelProperty(value = "手机号")
37
+    private String phone;
38
+
39
+    @ApiModelProperty(value = "关联店铺")
40
+    private String shopId;
41
+
42
+    @ApiModelProperty(value = "关联人员")
43
+    private String personId;
44
+
45
+    @ApiModelProperty(value = "状态")
46
+    private Integer status;
47
+
48
+    @ApiModelProperty(value = "创建时间")
49
+    private LocalDateTime createDate;
50
+
51
+
52
+}

src/main/java/com/yunzhi/demo/exception/GlobalExceptionHandler.java → src/main/java/com/shigongli/exception/GlobalExceptionHandler.java Näytä tiedosto

@@ -1,6 +1,6 @@
1
-package com.yunzhi.demo.exception;
1
+package com.shigongli.exception;
2 2
 
3
-import com.yunzhi.demo.common.ResponseBean;
3
+import com.shigongli.common.ResponseBean;
4 4
 import lombok.extern.slf4j.Slf4j;
5 5
 import org.springframework.web.bind.annotation.ExceptionHandler;
6 6
 import org.springframework.web.bind.annotation.ResponseBody;

src/main/java/com/yunzhi/demo/interceptor/PermissionInterceptor.java → src/main/java/com/shigongli/interceptor/PermissionInterceptor.java Näytä tiedosto

@@ -1,9 +1,9 @@
1
-package com.yunzhi.demo.interceptor;
1
+package com.shigongli.interceptor;
2 2
 
3 3
 import com.alibaba.fastjson.JSONObject;
4
-import com.yunzhi.demo.common.JWTUtils;
5
-import com.yunzhi.demo.common.ResponseBean;
6
-import com.yunzhi.demo.common.StringUtils;
4
+import com.shigongli.common.JWTUtils;
5
+import com.shigongli.common.ResponseBean;
6
+import com.shigongli.common.StringUtils;
7 7
 import lombok.extern.slf4j.Slf4j;
8 8
 import org.springframework.stereotype.Component;
9 9
 import org.springframework.web.servlet.HandlerInterceptor;

+ 18
- 0
src/main/java/com/shigongli/mapper/SysUserMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.SysUser;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 系统用户 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface SysUserMapper extends BaseMapper<SysUser> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaHouseMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaHouse;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 房源 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaHouseMapper extends BaseMapper<TaHouse> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaHouseOrderMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaHouseOrder;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 房源订单 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaHouseOrderMapper extends BaseMapper<TaHouseOrder> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaHousePersonMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaHousePerson;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 住房人 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaHousePersonMapper extends BaseMapper<TaHousePerson> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaHouseSettingMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaHouseSetting;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 房源入住设置 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaHouseSettingMapper extends BaseMapper<TaHouseSetting> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaHouseSurroundMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaHouseSurround;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 房源周边 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaHouseSurroundMapper extends BaseMapper<TaHouseSurround> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaMateTagGroupMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaMateTagGroup;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 素材标签组 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaMateTagGroupMapper extends BaseMapper<TaMateTagGroup> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaMateTagMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaMateTag;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 素材标签 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaMateTagMapper extends BaseMapper<TaMateTag> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaMetaImageMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaMetaImage;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 图片素材 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaMetaImageMapper extends BaseMapper<TaMetaImage> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaMetaImageTagMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaMetaImageTag;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 图片标签 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaMetaImageTagMapper extends BaseMapper<TaMetaImageTag> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaPersonMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaPerson;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 人员表 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaPersonMapper extends BaseMapper<TaPerson> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaShopKeeperMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaShopKeeper;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 店主 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaShopKeeperMapper extends BaseMapper<TaShopKeeper> {
17
+
18
+}

+ 18
- 0
src/main/java/com/shigongli/mapper/TaShopMapper.java Näytä tiedosto

@@ -0,0 +1,18 @@
1
+package com.shigongli.mapper;
2
+
3
+import com.shigongli.entity.TaShop;
4
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 民宿店 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author yansen
13
+ * @since 2020-12-11
14
+ */
15
+@Mapper
16
+public interface TaShopMapper extends BaseMapper<TaShop> {
17
+
18
+}

+ 16
- 0
src/main/java/com/shigongli/service/ISysUserService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.SysUser;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 系统用户 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ISysUserService extends IService<SysUser> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaHouseOrderService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaHouseOrder;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 房源订单 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaHouseOrderService extends IService<TaHouseOrder> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaHousePersonService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaHousePerson;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 住房人 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaHousePersonService extends IService<TaHousePerson> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaHouseService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaHouse;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 房源 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaHouseService extends IService<TaHouse> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaHouseSettingService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaHouseSetting;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 房源入住设置 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaHouseSettingService extends IService<TaHouseSetting> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaHouseSurroundService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaHouseSurround;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 房源周边 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaHouseSurroundService extends IService<TaHouseSurround> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaMateTagGroupService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaMateTagGroup;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 素材标签组 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaMateTagGroupService extends IService<TaMateTagGroup> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaMateTagService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaMateTag;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 素材标签 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaMateTagService extends IService<TaMateTag> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaMetaImageService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaMetaImage;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 图片素材 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaMetaImageService extends IService<TaMetaImage> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaMetaImageTagService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaMetaImageTag;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 图片标签 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaMetaImageTagService extends IService<TaMetaImageTag> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaPersonService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaPerson;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 人员表 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaPersonService extends IService<TaPerson> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaShopKeeperService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaShopKeeper;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 店主 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaShopKeeperService extends IService<TaShopKeeper> {
15
+
16
+}

+ 16
- 0
src/main/java/com/shigongli/service/ITaShopService.java Näytä tiedosto

@@ -0,0 +1,16 @@
1
+package com.shigongli.service;
2
+
3
+import com.shigongli.entity.TaShop;
4
+import com.baomidou.mybatisplus.extension.service.IService;
5
+
6
+/**
7
+ * <p>
8
+ * 民宿店 服务类
9
+ * </p>
10
+ *
11
+ * @author yansen
12
+ * @since 2020-12-11
13
+ */
14
+public interface ITaShopService extends IService<TaShop> {
15
+
16
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/SysUserServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.SysUser;
4
+import com.shigongli.mapper.SysUserMapper;
5
+import com.shigongli.service.ISysUserService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 系统用户 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaHouseOrderServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaHouseOrder;
4
+import com.shigongli.mapper.TaHouseOrderMapper;
5
+import com.shigongli.service.ITaHouseOrderService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 房源订单 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaHouseOrderServiceImpl extends ServiceImpl<TaHouseOrderMapper, TaHouseOrder> implements ITaHouseOrderService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaHousePersonServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaHousePerson;
4
+import com.shigongli.mapper.TaHousePersonMapper;
5
+import com.shigongli.service.ITaHousePersonService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 住房人 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaHousePersonServiceImpl extends ServiceImpl<TaHousePersonMapper, TaHousePerson> implements ITaHousePersonService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaHouseServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaHouse;
4
+import com.shigongli.mapper.TaHouseMapper;
5
+import com.shigongli.service.ITaHouseService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 房源 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaHouseServiceImpl extends ServiceImpl<TaHouseMapper, TaHouse> implements ITaHouseService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaHouseSettingServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaHouseSetting;
4
+import com.shigongli.mapper.TaHouseSettingMapper;
5
+import com.shigongli.service.ITaHouseSettingService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 房源入住设置 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaHouseSettingServiceImpl extends ServiceImpl<TaHouseSettingMapper, TaHouseSetting> implements ITaHouseSettingService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaHouseSurroundServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaHouseSurround;
4
+import com.shigongli.mapper.TaHouseSurroundMapper;
5
+import com.shigongli.service.ITaHouseSurroundService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 房源周边 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaHouseSurroundServiceImpl extends ServiceImpl<TaHouseSurroundMapper, TaHouseSurround> implements ITaHouseSurroundService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaMateTagGroupServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaMateTagGroup;
4
+import com.shigongli.mapper.TaMateTagGroupMapper;
5
+import com.shigongli.service.ITaMateTagGroupService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 素材标签组 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaMateTagGroupServiceImpl extends ServiceImpl<TaMateTagGroupMapper, TaMateTagGroup> implements ITaMateTagGroupService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaMateTagServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaMateTag;
4
+import com.shigongli.mapper.TaMateTagMapper;
5
+import com.shigongli.service.ITaMateTagService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 素材标签 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaMateTagServiceImpl extends ServiceImpl<TaMateTagMapper, TaMateTag> implements ITaMateTagService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaMetaImageServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaMetaImage;
4
+import com.shigongli.mapper.TaMetaImageMapper;
5
+import com.shigongli.service.ITaMetaImageService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 图片素材 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaMetaImageServiceImpl extends ServiceImpl<TaMetaImageMapper, TaMetaImage> implements ITaMetaImageService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaMetaImageTagServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaMetaImageTag;
4
+import com.shigongli.mapper.TaMetaImageTagMapper;
5
+import com.shigongli.service.ITaMetaImageTagService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 图片标签 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaMetaImageTagServiceImpl extends ServiceImpl<TaMetaImageTagMapper, TaMetaImageTag> implements ITaMetaImageTagService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaPersonServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaPerson;
4
+import com.shigongli.mapper.TaPersonMapper;
5
+import com.shigongli.service.ITaPersonService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 人员表 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> implements ITaPersonService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaShopKeeperServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaShopKeeper;
4
+import com.shigongli.mapper.TaShopKeeperMapper;
5
+import com.shigongli.service.ITaShopKeeperService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 店主 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaShopKeeperServiceImpl extends ServiceImpl<TaShopKeeperMapper, TaShopKeeper> implements ITaShopKeeperService {
19
+
20
+}

+ 20
- 0
src/main/java/com/shigongli/service/impl/TaShopServiceImpl.java Näytä tiedosto

@@ -0,0 +1,20 @@
1
+package com.shigongli.service.impl;
2
+
3
+import com.shigongli.entity.TaShop;
4
+import com.shigongli.mapper.TaShopMapper;
5
+import com.shigongli.service.ITaShopService;
6
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 民宿店 服务实现类
12
+ * </p>
13
+ *
14
+ * @author yansen
15
+ * @since 2020-12-11
16
+ */
17
+@Service
18
+public class TaShopServiceImpl extends ServiceImpl<TaShopMapper, TaShop> implements ITaShopService {
19
+
20
+}

src/main/java/com/yunzhi/demo/vo/LoginParam.java → src/main/java/com/shigongli/vo/LoginParam.java Näytä tiedosto

@@ -1,4 +1,4 @@
1
-package com.yunzhi.demo.vo;
1
+package com.shigongli.vo;
2 2
 
3 3
 import io.swagger.annotations.ApiModel;
4 4
 import io.swagger.annotations.ApiModelProperty;

+ 7
- 3
src/main/resources/application-dev.yml Näytä tiedosto

@@ -1,3 +1,7 @@
1
+###
2
+server:
3
+  port: 7080
4
+
1 5
 ###
2 6
 spring:
3 7
   servlet:
@@ -5,9 +9,9 @@ spring:
5 9
       max-file-size: 10MB
6 10
       max-request-size: 50MB
7 11
   datasource:
8
-    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/niucai?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
9
-    username: niucai
10
-    password: 1qaz#EDC
12
+    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/shigongli?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
13
+    username: shigongli
14
+    password: shigongli@123
11 15
 
12 16
 ###
13 17
 logging:

+ 3
- 3
src/main/resources/application-prod.yml Näytä tiedosto

@@ -5,6 +5,6 @@ spring:
5 5
       max-file-size: 10MB
6 6
       max-request-size: 50MB
7 7
   datasource:
8
-    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/niucai?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
9
-    username: niucai
10
-    password: 1qaz#EDC
8
+    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/shigongli?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
9
+    username: shigongli
10
+    password: shigongli@123

+ 5
- 0
src/main/resources/mapper/SysUserMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.SysUserMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaHouseMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaHouseMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaHouseOrderMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaHouseOrderMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaHousePersonMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaHousePersonMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaHouseSettingMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaHouseSettingMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaHouseSurroundMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaHouseSurroundMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaMateTagGroupMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaMateTagGroupMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaMateTagMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaMateTagMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaMetaImageMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaMetaImageMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/TaMetaImageTagMapper.xml Näytä tiedosto

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.shigongli.mapper.TaMetaImageTagMapper">
4
+
5
+</mapper>

+ 0
- 0
src/main/resources/mapper/TaPersonMapper.xml Näytä tiedosto


Some files were not shown because too many files changed in this diff