Quellcode durchsuchen

自定义模板

傅行帆 vor 6 Jahren
Ursprung
Commit
6c8c5d9c11
58 geänderte Dateien mit 376 neuen und 4485 gelöschten Zeilen
  1. 103
    0
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/common/model/ResponseBean.java
  2. 0
    21
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/controller/UserController.java
  3. 0
    87
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/entity/User.java
  4. 0
    16
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/mapper/UserMapper.java
  5. 0
    16
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/service/IUserService.java
  6. 0
    20
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/service/impl/UserServiceImpl.java
  7. 3
    3
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/MybatiesPlus.java
  8. 139
    0
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/MybatiesPlusMAX.java
  9. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/dao/TpMessageMapper.java
  10. 0
    175
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/model/TpMessage.java
  11. 0
    175
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/model/TpMessage.java.1
  12. 0
    32
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/controller/TestController.java
  13. 0
    19
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/MqMessageMapper.java
  14. 0
    11
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/ScUserMapper.java
  15. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysMenuMapper.java
  16. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysMsgMapper.java
  17. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysNationMapper.java
  18. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysOrgMapper.java
  19. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TaSysMenuImgMapper.java
  20. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TaSysMenuMapper.java
  21. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillInvoiceMapper.java
  22. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillMapper.java
  23. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillStatementMapper.java
  24. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpSysMenuMapper.java
  25. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpUserCommunityMapper.java
  26. 0
    17
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpUserMapper.java
  27. 0
    285
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/MqMessage.java
  28. 0
    37
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/ScUser.java
  29. 0
    93
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysMenu.java
  30. 0
    105
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysMsg.java
  31. 0
    105
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysNation.java
  32. 0
    95
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysOrg.java
  33. 0
    83
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TaSysMenu.java
  34. 0
    33
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TaSysMenuImg.java
  35. 0
    145
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBill.java
  36. 0
    155
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBillInvoice.java
  37. 0
    95
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBillStatement.java
  38. 0
    93
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpSysMenu.java
  39. 0
    135
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpUser.java
  40. 0
    33
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpUserCommunity.java
  41. 0
    9
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/service/ScUserServiceI.java
  42. 0
    25
      SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/service/impl/ScUserServiceImpl.java
  43. 0
    402
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/MqMessageMapper.xml
  44. 0
    16
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/ScUserMapper.xml
  45. 0
    141
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysMenuMapper.xml
  46. 0
    153
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysMsgMapper.xml
  47. 0
    153
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysNationMapper.xml
  48. 0
    142
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysOrgMapper.xml
  49. 0
    71
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TaSysMenuImgMapper.xml
  50. 0
    128
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TaSysMenuMapper.xml
  51. 0
    213
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillInvoiceMapper.xml
  52. 0
    199
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillMapper.xml
  53. 0
    142
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillStatementMapper.xml
  54. 0
    139
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpSysMenuMapper.xml
  55. 0
    71
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpUserCommunityMapper.xml
  56. 0
    188
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpUserMapper.xml
  57. 0
    5
      SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/tp/UserMapper.xml
  58. 131
    0
      SmartCommunity/mybatisGeneratorCode/src/main/resources/templatesPlus/controller.java.ftl

+ 103
- 0
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/common/model/ResponseBean.java Datei anzeigen

@@ -0,0 +1,103 @@
1
+package com.community.huiju.common.model;
2
+
3
+import java.io.Serializable;
4
+
5
+/**
6
+ * 接口统一状态返回BEAN.
7
+ */
8
+public class ResponseBean<T> implements Serializable {
9
+
10
+    private static final long serialVersionUID = 3593827217136880822L;
11
+
12
+    public static final String CODE_SUCCESS =  "0";
13
+    public static final String CODE_FAIL =  "1";
14
+
15
+    private String code = "0";
16
+
17
+    private String message = "成功";
18
+
19
+    private T data;
20
+
21
+    private String url;
22
+
23
+    public ResponseBean() {
24
+    }
25
+
26
+    public void addDefaultError() {
27
+        this.code = "1";
28
+        this.message = "失败";
29
+    }
30
+
31
+    public void addError(String message) {
32
+        this.code = "1";
33
+        this.message = message;
34
+    }
35
+
36
+    public void addError(String message, String url) {
37
+        this.code = "1";
38
+        this.message = message;
39
+        this.url = url;
40
+    }
41
+
42
+    public void addError(String message, T data, String url) {
43
+        this.code = "1";
44
+        this.message = message;
45
+        this.url = url;
46
+        this.data = data;
47
+    }
48
+
49
+    public void addSuccess(String message) {
50
+        this.code = "0";
51
+        this.message = message;
52
+    }
53
+
54
+    public void addSuccess(String code, T data) {
55
+        this.code = code;
56
+        this.message = "成功";
57
+        this.data = data;
58
+    }
59
+
60
+    public void addSuccess(String code, String message, T data) {
61
+        this.code = code;
62
+        this.message = message;
63
+        this.data = data;
64
+    }
65
+
66
+    public void addSuccess(String message, T data, String url) {
67
+        this.code = "0";
68
+        this.message = message;
69
+        this.data = data;
70
+        this.url = url;
71
+    }
72
+
73
+    public void addSuccess(T data) {
74
+        this.code = "0";
75
+        this.message = "成功";
76
+        this.data = data;
77
+    }
78
+
79
+    public T getData() {
80
+        return this.data;
81
+    }
82
+
83
+    public String getCode() {
84
+        return this.code;
85
+    }
86
+
87
+    public String getMessage() {
88
+        return this.message;
89
+    }
90
+
91
+    @Override
92
+    public String toString() {
93
+        return "ResponseBaseBean [code=" + this.code + ", message=" + this.message + ", data=" + this.data + ", url=" + url + "]";
94
+    }
95
+
96
+    public String getUrl() {
97
+        return url;
98
+    }
99
+
100
+    public void setUrl(String url) {
101
+        this.url = url;
102
+    }
103
+}

+ 0
- 21
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/controller/UserController.java Datei anzeigen

@@ -1,21 +0,0 @@
1
-package com.community.huiju.tp.controller;
2
-
3
-
4
-import org.springframework.web.bind.annotation.RequestMapping;
5
-
6
-import org.springframework.web.bind.annotation.RestController;
7
-import com.community.huiju.common.base.BaseController;
8
-
9
-/**
10
- * <p>
11
- * 物业web端用户表 前端控制器
12
- * </p>
13
- *
14
- * @author jobob
15
- * @since 2018-12-18
16
- */
17
-@RestController
18
-@RequestMapping("/tp/user")
19
-public class UserController extends BaseController {
20
-
21
-}

+ 0
- 87
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/entity/User.java Datei anzeigen

@@ -1,87 +0,0 @@
1
-package com.community.huiju.tp.entity;
2
-
3
-import com.baomidou.mybatisplus.annotation.TableName;
4
-import java.time.LocalDateTime;
5
-import java.io.Serializable;
6
-import lombok.Data;
7
-import lombok.EqualsAndHashCode;
8
-import lombok.experimental.Accessors;
9
-
10
-/**
11
- * <p>
12
- * 物业web端用户表
13
- * </p>
14
- *
15
- * @author jobob
16
- * @since 2018-12-18
17
- */
18
-@Data
19
-@EqualsAndHashCode(callSuper = false)
20
-@Accessors(chain = true)
21
-@TableName("tp_user")
22
-public class User implements Serializable {
23
-
24
-    private static final long serialVersionUID = 1L;
25
-
26
-    /**
27
-     * 小区id
28
-     */
29
-    private Integer communityId;
30
-
31
-    /**
32
-     * 用户姓名
33
-     */
34
-    private String userName;
35
-
36
-    /**
37
-     * 登录账号就是手机号确保唯一
38
-     */
39
-    private String loginName;
40
-
41
-    /**
42
-     * 登录密码
43
-     */
44
-    private String loginPassword;
45
-
46
-    /**
47
-     * 1 有效 0 无效(逻辑删除)
48
-     */
49
-    private String status;
50
-
51
-    /**
52
-     * 备注
53
-     */
54
-    private String remark;
55
-
56
-    /**
57
-     * 邮箱
58
-     */
59
-    private String email;
60
-
61
-    /**
62
-     * 头像
63
-     */
64
-    private String headPortrait;
65
-
66
-    /**
67
-     * 创建人
68
-     */
69
-    private Integer createUser;
70
-
71
-    /**
72
-     * 创建时间
73
-     */
74
-    private LocalDateTime createDate;
75
-
76
-    /**
77
-     * 更新人
78
-     */
79
-    private Integer updateUser;
80
-
81
-    /**
82
-     * 更新时间
83
-     */
84
-    private LocalDateTime updateDate;
85
-
86
-
87
-}

+ 0
- 16
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/mapper/UserMapper.java Datei anzeigen

@@ -1,16 +0,0 @@
1
-package com.community.huiju.tp.mapper;
2
-
3
-import com.community.huiju.tp.entity.User;
4
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5
-
6
-/**
7
- * <p>
8
- * 物业web端用户表 Mapper 接口
9
- * </p>
10
- *
11
- * @author jobob
12
- * @since 2018-12-18
13
- */
14
-public interface UserMapper extends BaseMapper<User> {
15
-
16
-}

+ 0
- 16
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/service/IUserService.java Datei anzeigen

@@ -1,16 +0,0 @@
1
-package com.community.huiju.tp.service;
2
-
3
-import com.community.huiju.tp.entity.User;
4
-import com.baomidou.mybatisplus.extension.service.IService;
5
-
6
-/**
7
- * <p>
8
- * 物业web端用户表 服务类
9
- * </p>
10
- *
11
- * @author jobob
12
- * @since 2018-12-18
13
- */
14
-public interface IUserService extends IService<User> {
15
-
16
-}

+ 0
- 20
SmartCommunity/mybatisGeneratorCode/src/main/java/com/community/huiju/tp/service/impl/UserServiceImpl.java Datei anzeigen

@@ -1,20 +0,0 @@
1
-package com.community.huiju.tp.service.impl;
2
-
3
-import com.community.huiju.tp.entity.User;
4
-import com.community.huiju.tp.mapper.UserMapper;
5
-import com.community.huiju.tp.service.IUserService;
6
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
7
-import org.springframework.stereotype.Service;
8
-
9
-/**
10
- * <p>
11
- * 物业web端用户表 服务实现类
12
- * </p>
13
- *
14
- * @author jobob
15
- * @since 2018-12-18
16
- */
17
-@Service
18
-public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
19
-
20
-}

+ 3
- 3
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/MybatiesPlus.java Datei anzeigen

@@ -57,7 +57,7 @@ public class MybatiesPlus {
57 57
 			
58 58
 			// 数据源配置
59 59
 			DataSourceConfig dsc = new DataSourceConfig();
60
-			dsc.setUrl("jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/smart_community_dev?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true");
60
+			dsc.setUrl("jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/smart_community2.0?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true");
61 61
 			// dsc.setSchemaName("public");
62 62
 			dsc.setDriverName("com.mysql.jdbc.Driver");
63 63
 			dsc.setUsername("root");
@@ -81,7 +81,7 @@ public class MybatiesPlus {
81 81
 			// 如果模板引擎是 freemarker
82 82
 			String templatePath = "/templates/mapper.xml.ftl";
83 83
 			// 如果模板引擎是 velocity
84
-			// String templatePath = "/templates/mapper.xml.vm";
84
+			// String templatePath = "/templatesPlus/mapper.xml.vm";
85 85
 			
86 86
 			// 自定义输出配置
87 87
 			List<FileOutConfig> focList = new ArrayList<>();
@@ -104,7 +104,7 @@ public class MybatiesPlus {
104 104
 			// 配置自定义输出模板
105 105
 			// templateConfig.setEntity();
106 106
 			// templateConfig.setService();
107
-			// templateConfig.setController();
107
+			 templateConfig.setController("templatesPlus/controller.java");
108 108
 			
109 109
 			templateConfig.setXml(null);
110 110
 			mpg.setTemplate(templateConfig);

+ 139
- 0
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/MybatiesPlusMAX.java Datei anzeigen

@@ -0,0 +1,139 @@
1
+package com.example.demo;
2
+
3
+import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;
4
+import com.baomidou.mybatisplus.core.toolkit.StringPool;
5
+import com.baomidou.mybatisplus.generator.AutoGenerator;
6
+import com.baomidou.mybatisplus.generator.InjectionConfig;
7
+import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
8
+import com.baomidou.mybatisplus.generator.config.FileOutConfig;
9
+import com.baomidou.mybatisplus.generator.config.GlobalConfig;
10
+import com.baomidou.mybatisplus.generator.config.PackageConfig;
11
+import com.baomidou.mybatisplus.generator.config.StrategyConfig;
12
+import com.baomidou.mybatisplus.generator.config.TemplateConfig;
13
+import com.baomidou.mybatisplus.generator.config.po.TableInfo;
14
+import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
15
+import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
16
+import org.springframework.util.StringUtils;
17
+
18
+import java.sql.Connection;
19
+import java.sql.DatabaseMetaData;
20
+import java.sql.DriverManager;
21
+import java.sql.ResultSet;
22
+import java.sql.SQLException;
23
+import java.util.ArrayList;
24
+import java.util.List;
25
+import java.util.Scanner;
26
+
27
+/**
28
+ * @author FXF
29
+ * @date 2018-12-18
30
+ */
31
+public class MybatiesPlusMAX {
32
+	
33
+		private static String mysqlUrl = "jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/smart_community2.0?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true";
34
+	
35
+		private static String mysqlUserNmae = "root";
36
+		
37
+		private static String mysqlPassword = "DQ@0lW##kBb2+-jPZC1s$Ma0h5$9W((q";
38
+		public static void main(String[] args) {
39
+			try {
40
+				Connection con = DriverManager.getConnection(mysqlUrl,mysqlUserNmae,mysqlPassword);
41
+				DatabaseMetaData meta = con.getMetaData();
42
+				ResultSet rs = meta.getTables(null, null, null,
43
+						new String[] { "TABLE" });
44
+				while (rs.next()) {
45
+					System.out.println("开始生产表名:" + rs.getString(3) + "的文件");
46
+					AutoGeneratorFile(rs.getString(3));
47
+				}
48
+				con.close();
49
+			} catch (Exception e) {
50
+				e.printStackTrace();
51
+			}
52
+		}
53
+	
54
+	private static void AutoGeneratorFile(String tableName) {
55
+		
56
+		// 代码生成器
57
+		AutoGenerator mpg = new AutoGenerator();
58
+		
59
+		// 全局配置
60
+		GlobalConfig gc = new GlobalConfig();
61
+		String projectPath = System.getProperty("user.dir");
62
+		gc.setOutputDir(projectPath + "/src/main/java");
63
+		gc.setAuthor("jobob");
64
+		gc.setOpen(false);
65
+		mpg.setGlobalConfig(gc);
66
+		
67
+		// 数据源配置
68
+		DataSourceConfig dsc = new DataSourceConfig();
69
+		dsc.setUrl(mysqlUrl);
70
+		// dsc.setSchemaName("public");
71
+		dsc.setDriverName("com.mysql.jdbc.Driver");
72
+		dsc.setUsername(mysqlUserNmae);
73
+		dsc.setPassword(mysqlPassword);
74
+		mpg.setDataSource(dsc);
75
+		
76
+		// 包配置
77
+		PackageConfig pc = new PackageConfig();
78
+		pc.setModuleName("fxf");
79
+		pc.setParent("com.community.huiju");
80
+		mpg.setPackageInfo(pc);
81
+		
82
+		// 自定义配置
83
+		InjectionConfig cfg = new InjectionConfig() {
84
+			@Override
85
+			public void initMap() {
86
+				// to do nothing
87
+			}
88
+		};
89
+		
90
+		// 如果模板引擎是 freemarker
91
+		String templatePath = "/templates/mapper.xml.ftl";
92
+		// 如果模板引擎是 velocity
93
+		// String templatePath = "/templatesPlus/mapper.xml.vm";
94
+		
95
+		// 自定义输出配置
96
+		List<FileOutConfig> focList = new ArrayList<>();
97
+		// 自定义配置会被优先输出
98
+		focList.add(new FileOutConfig(templatePath) {
99
+			@Override
100
+			public String outputFile(TableInfo tableInfo) {
101
+				// 自定义输出文件名
102
+				return projectPath + "/src/main/resources/mapper/" + pc.getModuleName()
103
+						+ "/" + tableInfo.getEntityName() + "Mapper" + StringPool.DOT_XML;
104
+			}
105
+		});
106
+		
107
+		cfg.setFileOutConfigList(focList);
108
+		mpg.setCfg(cfg);
109
+		
110
+		// 配置模板
111
+		TemplateConfig templateConfig = new TemplateConfig();
112
+		
113
+		// 配置自定义输出模板
114
+		// templateConfig.setEntity();
115
+		// templateConfig.setService();
116
+		templateConfig.setController("templatesPlus/controller.java");
117
+		
118
+		templateConfig.setXml(null);
119
+		mpg.setTemplate(templateConfig);
120
+		
121
+		// 策略配置
122
+		StrategyConfig strategy = new StrategyConfig();
123
+		strategy.setNaming(NamingStrategy.underline_to_camel);
124
+		strategy.setColumnNaming(NamingStrategy.underline_to_camel);
125
+		//strategy.setSuperEntityClass("com.baomidou.ant.common.BaseEntity");
126
+		strategy.setEntityLombokModel(true);
127
+		strategy.setRestControllerStyle(true);
128
+		strategy.setSuperControllerClass("com.community.huiju.common.base.BaseController");
129
+		//表名
130
+		strategy.setInclude(tableName);
131
+		strategy.setSuperEntityColumns("id");
132
+		strategy.setControllerMappingHyphenStyle(true);
133
+		strategy.setTablePrefix(pc.getModuleName() + "_");
134
+		mpg.setStrategy(strategy);
135
+		mpg.setTemplateEngine(new FreemarkerTemplateEngine());
136
+		mpg.execute();
137
+	}
138
+	
139
+}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/dao/TpMessageMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package com.community.huiju.dao;
2
-
3
-import com.community.huiju.model.TpMessage;
4
-
5
-public interface TpMessageMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpMessage record);
9
-
10
-    int insertSelective(TpMessage record);
11
-
12
-    TpMessage selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpMessage record);
15
-
16
-    int updateByPrimaryKey(TpMessage record);
17
-}

+ 0
- 175
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/model/TpMessage.java Datei anzeigen

@@ -1,175 +0,0 @@
1
-package com.community.huiju.model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpMessage {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private String messageType;
11
-
12
-    private String adviceType;
13
-
14
-    private String modelType;
15
-
16
-    private Integer uuid;
17
-
18
-    private String uuidType;
19
-
20
-    private String source;
21
-
22
-    private String messageContent;
23
-
24
-    private String status;
25
-
26
-    private String result;
27
-
28
-    private String meaasgeTypeId;
29
-
30
-    private String readStatus;
31
-
32
-    private Integer createUser;
33
-
34
-    private Date createDate;
35
-
36
-    private Integer updateUser;
37
-
38
-    private Date updateDate;
39
-
40
-    public Integer getId() {
41
-        return id;
42
-    }
43
-
44
-    public void setId(Integer id) {
45
-        this.id = id;
46
-    }
47
-
48
-    public Integer getCommunityId() {
49
-        return communityId;
50
-    }
51
-
52
-    public void setCommunityId(Integer communityId) {
53
-        this.communityId = communityId;
54
-    }
55
-
56
-    public String getMessageType() {
57
-        return messageType;
58
-    }
59
-
60
-    public void setMessageType(String messageType) {
61
-        this.messageType = messageType == null ? null : messageType.trim();
62
-    }
63
-
64
-    public String getAdviceType() {
65
-        return adviceType;
66
-    }
67
-
68
-    public void setAdviceType(String adviceType) {
69
-        this.adviceType = adviceType == null ? null : adviceType.trim();
70
-    }
71
-
72
-    public String getModelType() {
73
-        return modelType;
74
-    }
75
-
76
-    public void setModelType(String modelType) {
77
-        this.modelType = modelType == null ? null : modelType.trim();
78
-    }
79
-
80
-    public Integer getUuid() {
81
-        return uuid;
82
-    }
83
-
84
-    public void setUuid(Integer uuid) {
85
-        this.uuid = uuid;
86
-    }
87
-
88
-    public String getUuidType() {
89
-        return uuidType;
90
-    }
91
-
92
-    public void setUuidType(String uuidType) {
93
-        this.uuidType = uuidType == null ? null : uuidType.trim();
94
-    }
95
-
96
-    public String getSource() {
97
-        return source;
98
-    }
99
-
100
-    public void setSource(String source) {
101
-        this.source = source == null ? null : source.trim();
102
-    }
103
-
104
-    public String getMessageContent() {
105
-        return messageContent;
106
-    }
107
-
108
-    public void setMessageContent(String messageContent) {
109
-        this.messageContent = messageContent == null ? null : messageContent.trim();
110
-    }
111
-
112
-    public String getStatus() {
113
-        return status;
114
-    }
115
-
116
-    public void setStatus(String status) {
117
-        this.status = status == null ? null : status.trim();
118
-    }
119
-
120
-    public String getResult() {
121
-        return result;
122
-    }
123
-
124
-    public void setResult(String result) {
125
-        this.result = result == null ? null : result.trim();
126
-    }
127
-
128
-    public String getMeaasgeTypeId() {
129
-        return meaasgeTypeId;
130
-    }
131
-
132
-    public void setMeaasgeTypeId(String meaasgeTypeId) {
133
-        this.meaasgeTypeId = meaasgeTypeId == null ? null : meaasgeTypeId.trim();
134
-    }
135
-
136
-    public String getReadStatus() {
137
-        return readStatus;
138
-    }
139
-
140
-    public void setReadStatus(String readStatus) {
141
-        this.readStatus = readStatus == null ? null : readStatus.trim();
142
-    }
143
-
144
-    public Integer getCreateUser() {
145
-        return createUser;
146
-    }
147
-
148
-    public void setCreateUser(Integer createUser) {
149
-        this.createUser = createUser;
150
-    }
151
-
152
-    public Date getCreateDate() {
153
-        return createDate;
154
-    }
155
-
156
-    public void setCreateDate(Date createDate) {
157
-        this.createDate = createDate;
158
-    }
159
-
160
-    public Integer getUpdateUser() {
161
-        return updateUser;
162
-    }
163
-
164
-    public void setUpdateUser(Integer updateUser) {
165
-        this.updateUser = updateUser;
166
-    }
167
-
168
-    public Date getUpdateDate() {
169
-        return updateDate;
170
-    }
171
-
172
-    public void setUpdateDate(Date updateDate) {
173
-        this.updateDate = updateDate;
174
-    }
175
-}

+ 0
- 175
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/com/community/huiju/model/TpMessage.java.1 Datei anzeigen

@@ -1,175 +0,0 @@
1
-package com.community.huiju.model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpMessage {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private String messageType;
11
-
12
-    private String adviceType;
13
-
14
-    private String modelType;
15
-
16
-    private Integer uuid;
17
-
18
-    private String uuidType;
19
-
20
-    private String source;
21
-
22
-    private String messageContent;
23
-
24
-    private String status;
25
-
26
-    private String result;
27
-
28
-    private String meaasgeTypeId;
29
-
30
-    private String readStatus;
31
-
32
-    private Integer createUser;
33
-
34
-    private Date createDate;
35
-
36
-    private Integer updateUser;
37
-
38
-    private Date updateDate;
39
-
40
-    public Integer getId() {
41
-        return id;
42
-    }
43
-
44
-    public void setId(Integer id) {
45
-        this.id = id;
46
-    }
47
-
48
-    public Integer getCommunityId() {
49
-        return communityId;
50
-    }
51
-
52
-    public void setCommunityId(Integer communityId) {
53
-        this.communityId = communityId;
54
-    }
55
-
56
-    public String getMessageType() {
57
-        return messageType;
58
-    }
59
-
60
-    public void setMessageType(String messageType) {
61
-        this.messageType = messageType == null ? null : messageType.trim();
62
-    }
63
-
64
-    public String getAdviceType() {
65
-        return adviceType;
66
-    }
67
-
68
-    public void setAdviceType(String adviceType) {
69
-        this.adviceType = adviceType == null ? null : adviceType.trim();
70
-    }
71
-
72
-    public String getModelType() {
73
-        return modelType;
74
-    }
75
-
76
-    public void setModelType(String modelType) {
77
-        this.modelType = modelType == null ? null : modelType.trim();
78
-    }
79
-
80
-    public Integer getUuid() {
81
-        return uuid;
82
-    }
83
-
84
-    public void setUuid(Integer uuid) {
85
-        this.uuid = uuid;
86
-    }
87
-
88
-    public String getUuidType() {
89
-        return uuidType;
90
-    }
91
-
92
-    public void setUuidType(String uuidType) {
93
-        this.uuidType = uuidType == null ? null : uuidType.trim();
94
-    }
95
-
96
-    public String getSource() {
97
-        return source;
98
-    }
99
-
100
-    public void setSource(String source) {
101
-        this.source = source == null ? null : source.trim();
102
-    }
103
-
104
-    public String getMessageContent() {
105
-        return messageContent;
106
-    }
107
-
108
-    public void setMessageContent(String messageContent) {
109
-        this.messageContent = messageContent == null ? null : messageContent.trim();
110
-    }
111
-
112
-    public String getStatus() {
113
-        return status;
114
-    }
115
-
116
-    public void setStatus(String status) {
117
-        this.status = status == null ? null : status.trim();
118
-    }
119
-
120
-    public String getResult() {
121
-        return result;
122
-    }
123
-
124
-    public void setResult(String result) {
125
-        this.result = result == null ? null : result.trim();
126
-    }
127
-
128
-    public String getMeaasgeTypeId() {
129
-        return meaasgeTypeId;
130
-    }
131
-
132
-    public void setMeaasgeTypeId(String meaasgeTypeId) {
133
-        this.meaasgeTypeId = meaasgeTypeId == null ? null : meaasgeTypeId.trim();
134
-    }
135
-
136
-    public String getReadStatus() {
137
-        return readStatus;
138
-    }
139
-
140
-    public void setReadStatus(String readStatus) {
141
-        this.readStatus = readStatus == null ? null : readStatus.trim();
142
-    }
143
-
144
-    public Integer getCreateUser() {
145
-        return createUser;
146
-    }
147
-
148
-    public void setCreateUser(Integer createUser) {
149
-        this.createUser = createUser;
150
-    }
151
-
152
-    public Date getCreateDate() {
153
-        return createDate;
154
-    }
155
-
156
-    public void setCreateDate(Date createDate) {
157
-        this.createDate = createDate;
158
-    }
159
-
160
-    public Integer getUpdateUser() {
161
-        return updateUser;
162
-    }
163
-
164
-    public void setUpdateUser(Integer updateUser) {
165
-        this.updateUser = updateUser;
166
-    }
167
-
168
-    public Date getUpdateDate() {
169
-        return updateDate;
170
-    }
171
-
172
-    public void setUpdateDate(Date updateDate) {
173
-        this.updateDate = updateDate;
174
-    }
175
-}

+ 0
- 32
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/controller/TestController.java Datei anzeigen

@@ -1,32 +0,0 @@
1
-package com.example.demo.controller;
2
-
3
-import com.example.demo.model.ScUser;
4
-import com.example.demo.service.ScUserServiceI;
5
-import org.springframework.beans.factory.annotation.Autowired;
6
-import org.springframework.beans.factory.annotation.Value;
7
-import org.springframework.web.bind.annotation.RequestMapping;
8
-import org.springframework.web.bind.annotation.ResponseBody;
9
-import org.springframework.web.bind.annotation.RestController;
10
-
11
-import java.util.List;
12
-
13
-/**
14
- * @author FXF
15
- * @date 2018-09-11
16
- */
17
-@RestController
18
-public class TestController {
19
-    
20
-    @Autowired
21
-    private ScUserServiceI scUserService;
22
-    
23
-    /**
24
-     * 获取所有的用户信息
25
-     * @return
26
-     */
27
-    @RequestMapping("/user")
28
-    @ResponseBody
29
-    public List<ScUser> getUser(){
30
-        return scUserService.getUser();
31
-    }
32
-}

+ 0
- 19
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/MqMessageMapper.java Datei anzeigen

@@ -1,19 +0,0 @@
1
-package dao;
2
-
3
-import model.MqMessage;
4
-
5
-public interface MqMessageMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(MqMessage record);
9
-
10
-    int insertSelective(MqMessage record);
11
-
12
-    MqMessage selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(MqMessage record);
15
-
16
-    int updateByPrimaryKeyWithBLOBs(MqMessage record);
17
-
18
-    int updateByPrimaryKey(MqMessage record);
19
-}

+ 0
- 11
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/ScUserMapper.java Datei anzeigen

@@ -1,11 +0,0 @@
1
-package com.example.demo.dao;
2
-
3
-import com.example.demo.model.ScUser;
4
-import org.apache.ibatis.annotations.Mapper;
5
-
6
-import java.util.List;
7
-
8
-@Mapper
9
-public interface ScUserMapper {
10
-	List<ScUser> find();
11
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysMenuMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.SysMenu;
4
-
5
-public interface SysMenuMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(SysMenu record);
9
-
10
-    int insertSelective(SysMenu record);
11
-
12
-    SysMenu selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(SysMenu record);
15
-
16
-    int updateByPrimaryKey(SysMenu record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysMsgMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.SysMsg;
4
-
5
-public interface SysMsgMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(SysMsg record);
9
-
10
-    int insertSelective(SysMsg record);
11
-
12
-    SysMsg selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(SysMsg record);
15
-
16
-    int updateByPrimaryKey(SysMsg record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysNationMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.SysNation;
4
-
5
-public interface SysNationMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(SysNation record);
9
-
10
-    int insertSelective(SysNation record);
11
-
12
-    SysNation selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(SysNation record);
15
-
16
-    int updateByPrimaryKey(SysNation record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/SysOrgMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.SysOrg;
4
-
5
-public interface SysOrgMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(SysOrg record);
9
-
10
-    int insertSelective(SysOrg record);
11
-
12
-    SysOrg selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(SysOrg record);
15
-
16
-    int updateByPrimaryKey(SysOrg record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TaSysMenuImgMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TaSysMenuImg;
4
-
5
-public interface TaSysMenuImgMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TaSysMenuImg record);
9
-
10
-    int insertSelective(TaSysMenuImg record);
11
-
12
-    TaSysMenuImg selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TaSysMenuImg record);
15
-
16
-    int updateByPrimaryKey(TaSysMenuImg record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TaSysMenuMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TaSysMenu;
4
-
5
-public interface TaSysMenuMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TaSysMenu record);
9
-
10
-    int insertSelective(TaSysMenu record);
11
-
12
-    TaSysMenu selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TaSysMenu record);
15
-
16
-    int updateByPrimaryKey(TaSysMenu record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillInvoiceMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpBillInvoice;
4
-
5
-public interface TpBillInvoiceMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpBillInvoice record);
9
-
10
-    int insertSelective(TpBillInvoice record);
11
-
12
-    TpBillInvoice selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpBillInvoice record);
15
-
16
-    int updateByPrimaryKey(TpBillInvoice record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpBill;
4
-
5
-public interface TpBillMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpBill record);
9
-
10
-    int insertSelective(TpBill record);
11
-
12
-    TpBill selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpBill record);
15
-
16
-    int updateByPrimaryKey(TpBill record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpBillStatementMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpBillStatement;
4
-
5
-public interface TpBillStatementMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpBillStatement record);
9
-
10
-    int insertSelective(TpBillStatement record);
11
-
12
-    TpBillStatement selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpBillStatement record);
15
-
16
-    int updateByPrimaryKey(TpBillStatement record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpSysMenuMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpSysMenu;
4
-
5
-public interface TpSysMenuMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpSysMenu record);
9
-
10
-    int insertSelective(TpSysMenu record);
11
-
12
-    TpSysMenu selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpSysMenu record);
15
-
16
-    int updateByPrimaryKey(TpSysMenu record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpUserCommunityMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpUserCommunity;
4
-
5
-public interface TpUserCommunityMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpUserCommunity record);
9
-
10
-    int insertSelective(TpUserCommunity record);
11
-
12
-    TpUserCommunity selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpUserCommunity record);
15
-
16
-    int updateByPrimaryKey(TpUserCommunity record);
17
-}

+ 0
- 17
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/dao/TpUserMapper.java Datei anzeigen

@@ -1,17 +0,0 @@
1
-package dao;
2
-
3
-import model.TpUser;
4
-
5
-public interface TpUserMapper {
6
-    int deleteByPrimaryKey(Integer id);
7
-
8
-    int insert(TpUser record);
9
-
10
-    int insertSelective(TpUser record);
11
-
12
-    TpUser selectByPrimaryKey(Integer id);
13
-
14
-    int updateByPrimaryKeySelective(TpUser record);
15
-
16
-    int updateByPrimaryKey(TpUser record);
17
-}

+ 0
- 285
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/MqMessage.java Datei anzeigen

@@ -1,285 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class MqMessage {
6
-    private Integer id;
7
-
8
-    private Integer eventState;
9
-
10
-    private Integer eventLevel;
11
-
12
-    private String unitIdx;
13
-
14
-    private Integer eventType;
15
-
16
-    private String eventTypeName;
17
-
18
-    private Integer subSysType;
19
-
20
-    private String eventName;
21
-
22
-    private Date startTime;
23
-
24
-    private Date stopTime;
25
-
26
-    private String sourceIdx;
27
-
28
-    private String sourceType;
29
-
30
-    private String sourceName;
31
-
32
-    private String regionIdx;
33
-
34
-    private Integer eventCode;
35
-
36
-    private Integer deviceId;
37
-
38
-    private Integer deviceType;
39
-
40
-    private String deviceName;
41
-
42
-    private String eventCard;
43
-
44
-    private Integer personId;
45
-
46
-    private String personName;
47
-
48
-    private Integer deptId;
49
-
50
-    private String deptName;
51
-
52
-    private String deptCode;
53
-
54
-    private Integer inOut;
55
-
56
-    private Integer cardStatus;
57
-
58
-    private String picUrl;
59
-
60
-    private String extTxt;
61
-
62
-    public Integer getId() {
63
-        return id;
64
-    }
65
-
66
-    public void setId(Integer id) {
67
-        this.id = id;
68
-    }
69
-
70
-    public Integer getEventState() {
71
-        return eventState;
72
-    }
73
-
74
-    public void setEventState(Integer eventState) {
75
-        this.eventState = eventState;
76
-    }
77
-
78
-    public Integer getEventLevel() {
79
-        return eventLevel;
80
-    }
81
-
82
-    public void setEventLevel(Integer eventLevel) {
83
-        this.eventLevel = eventLevel;
84
-    }
85
-
86
-    public String getUnitIdx() {
87
-        return unitIdx;
88
-    }
89
-
90
-    public void setUnitIdx(String unitIdx) {
91
-        this.unitIdx = unitIdx == null ? null : unitIdx.trim();
92
-    }
93
-
94
-    public Integer getEventType() {
95
-        return eventType;
96
-    }
97
-
98
-    public void setEventType(Integer eventType) {
99
-        this.eventType = eventType;
100
-    }
101
-
102
-    public String getEventTypeName() {
103
-        return eventTypeName;
104
-    }
105
-
106
-    public void setEventTypeName(String eventTypeName) {
107
-        this.eventTypeName = eventTypeName == null ? null : eventTypeName.trim();
108
-    }
109
-
110
-    public Integer getSubSysType() {
111
-        return subSysType;
112
-    }
113
-
114
-    public void setSubSysType(Integer subSysType) {
115
-        this.subSysType = subSysType;
116
-    }
117
-
118
-    public String getEventName() {
119
-        return eventName;
120
-    }
121
-
122
-    public void setEventName(String eventName) {
123
-        this.eventName = eventName == null ? null : eventName.trim();
124
-    }
125
-
126
-    public Date getStartTime() {
127
-        return startTime;
128
-    }
129
-
130
-    public void setStartTime(Date startTime) {
131
-        this.startTime = startTime;
132
-    }
133
-
134
-    public Date getStopTime() {
135
-        return stopTime;
136
-    }
137
-
138
-    public void setStopTime(Date stopTime) {
139
-        this.stopTime = stopTime;
140
-    }
141
-
142
-    public String getSourceIdx() {
143
-        return sourceIdx;
144
-    }
145
-
146
-    public void setSourceIdx(String sourceIdx) {
147
-        this.sourceIdx = sourceIdx == null ? null : sourceIdx.trim();
148
-    }
149
-
150
-    public String getSourceType() {
151
-        return sourceType;
152
-    }
153
-
154
-    public void setSourceType(String sourceType) {
155
-        this.sourceType = sourceType == null ? null : sourceType.trim();
156
-    }
157
-
158
-    public String getSourceName() {
159
-        return sourceName;
160
-    }
161
-
162
-    public void setSourceName(String sourceName) {
163
-        this.sourceName = sourceName == null ? null : sourceName.trim();
164
-    }
165
-
166
-    public String getRegionIdx() {
167
-        return regionIdx;
168
-    }
169
-
170
-    public void setRegionIdx(String regionIdx) {
171
-        this.regionIdx = regionIdx == null ? null : regionIdx.trim();
172
-    }
173
-
174
-    public Integer getEventCode() {
175
-        return eventCode;
176
-    }
177
-
178
-    public void setEventCode(Integer eventCode) {
179
-        this.eventCode = eventCode;
180
-    }
181
-
182
-    public Integer getDeviceId() {
183
-        return deviceId;
184
-    }
185
-
186
-    public void setDeviceId(Integer deviceId) {
187
-        this.deviceId = deviceId;
188
-    }
189
-
190
-    public Integer getDeviceType() {
191
-        return deviceType;
192
-    }
193
-
194
-    public void setDeviceType(Integer deviceType) {
195
-        this.deviceType = deviceType;
196
-    }
197
-
198
-    public String getDeviceName() {
199
-        return deviceName;
200
-    }
201
-
202
-    public void setDeviceName(String deviceName) {
203
-        this.deviceName = deviceName == null ? null : deviceName.trim();
204
-    }
205
-
206
-    public String getEventCard() {
207
-        return eventCard;
208
-    }
209
-
210
-    public void setEventCard(String eventCard) {
211
-        this.eventCard = eventCard == null ? null : eventCard.trim();
212
-    }
213
-
214
-    public Integer getPersonId() {
215
-        return personId;
216
-    }
217
-
218
-    public void setPersonId(Integer personId) {
219
-        this.personId = personId;
220
-    }
221
-
222
-    public String getPersonName() {
223
-        return personName;
224
-    }
225
-
226
-    public void setPersonName(String personName) {
227
-        this.personName = personName == null ? null : personName.trim();
228
-    }
229
-
230
-    public Integer getDeptId() {
231
-        return deptId;
232
-    }
233
-
234
-    public void setDeptId(Integer deptId) {
235
-        this.deptId = deptId;
236
-    }
237
-
238
-    public String getDeptName() {
239
-        return deptName;
240
-    }
241
-
242
-    public void setDeptName(String deptName) {
243
-        this.deptName = deptName == null ? null : deptName.trim();
244
-    }
245
-
246
-    public String getDeptCode() {
247
-        return deptCode;
248
-    }
249
-
250
-    public void setDeptCode(String deptCode) {
251
-        this.deptCode = deptCode == null ? null : deptCode.trim();
252
-    }
253
-
254
-    public Integer getInOut() {
255
-        return inOut;
256
-    }
257
-
258
-    public void setInOut(Integer inOut) {
259
-        this.inOut = inOut;
260
-    }
261
-
262
-    public Integer getCardStatus() {
263
-        return cardStatus;
264
-    }
265
-
266
-    public void setCardStatus(Integer cardStatus) {
267
-        this.cardStatus = cardStatus;
268
-    }
269
-
270
-    public String getPicUrl() {
271
-        return picUrl;
272
-    }
273
-
274
-    public void setPicUrl(String picUrl) {
275
-        this.picUrl = picUrl == null ? null : picUrl.trim();
276
-    }
277
-
278
-    public String getExtTxt() {
279
-        return extTxt;
280
-    }
281
-
282
-    public void setExtTxt(String extTxt) {
283
-        this.extTxt = extTxt == null ? null : extTxt.trim();
284
-    }
285
-}

+ 0
- 37
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/ScUser.java Datei anzeigen

@@ -1,37 +0,0 @@
1
-package com.example.demo.model;
2
-
3
-/**
4
- * @author FXF
5
- * @date 2018-09-19
6
- */
7
-public class ScUser {
8
-	private Integer id;
9
-	
10
-	private String userName;
11
-	
12
-	private String userPassword;
13
-	
14
-	public Integer getId() {
15
-		return id;
16
-	}
17
-	
18
-	public void setId(Integer id) {
19
-		this.id = id;
20
-	}
21
-	
22
-	public String getUserName() {
23
-		return userName;
24
-	}
25
-	
26
-	public void setUserName(String userName) {
27
-		this.userName = userName;
28
-	}
29
-	
30
-	public String getUserPassword() {
31
-		return userPassword;
32
-	}
33
-	
34
-	public void setUserPassword(String userPassword) {
35
-		this.userPassword = userPassword;
36
-	}
37
-}

+ 0
- 93
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysMenu.java Datei anzeigen

@@ -1,93 +0,0 @@
1
-package model;
2
-
3
-public class SysMenu {
4
-    private Integer id;
5
-
6
-    private String menuName;
7
-
8
-    private String menuUrl;
9
-
10
-    private String menuIcon;
11
-
12
-    private Integer parentId;
13
-
14
-    private Integer sort;
15
-
16
-    private String permission;
17
-
18
-    private String menuType;
19
-
20
-    private String status;
21
-
22
-    public Integer getId() {
23
-        return id;
24
-    }
25
-
26
-    public void setId(Integer id) {
27
-        this.id = id;
28
-    }
29
-
30
-    public String getMenuName() {
31
-        return menuName;
32
-    }
33
-
34
-    public void setMenuName(String menuName) {
35
-        this.menuName = menuName == null ? null : menuName.trim();
36
-    }
37
-
38
-    public String getMenuUrl() {
39
-        return menuUrl;
40
-    }
41
-
42
-    public void setMenuUrl(String menuUrl) {
43
-        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
44
-    }
45
-
46
-    public String getMenuIcon() {
47
-        return menuIcon;
48
-    }
49
-
50
-    public void setMenuIcon(String menuIcon) {
51
-        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
52
-    }
53
-
54
-    public Integer getParentId() {
55
-        return parentId;
56
-    }
57
-
58
-    public void setParentId(Integer parentId) {
59
-        this.parentId = parentId;
60
-    }
61
-
62
-    public Integer getSort() {
63
-        return sort;
64
-    }
65
-
66
-    public void setSort(Integer sort) {
67
-        this.sort = sort;
68
-    }
69
-
70
-    public String getPermission() {
71
-        return permission;
72
-    }
73
-
74
-    public void setPermission(String permission) {
75
-        this.permission = permission == null ? null : permission.trim();
76
-    }
77
-
78
-    public String getMenuType() {
79
-        return menuType;
80
-    }
81
-
82
-    public void setMenuType(String menuType) {
83
-        this.menuType = menuType == null ? null : menuType.trim();
84
-    }
85
-
86
-    public String getStatus() {
87
-        return status;
88
-    }
89
-
90
-    public void setStatus(String status) {
91
-        this.status = status == null ? null : status.trim();
92
-    }
93
-}

+ 0
- 105
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysMsg.java Datei anzeigen

@@ -1,105 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class SysMsg {
6
-    private Integer id;
7
-
8
-    private Integer userId;
9
-
10
-    private Integer targetId;
11
-
12
-    private String msgMode;
13
-
14
-    private String msgType;
15
-
16
-    private String closeType;
17
-
18
-    private String msgContent;
19
-
20
-    private Date createTime;
21
-
22
-    private Integer statue;
23
-
24
-    private String declarationIdStr;
25
-
26
-    public Integer getId() {
27
-        return id;
28
-    }
29
-
30
-    public void setId(Integer id) {
31
-        this.id = id;
32
-    }
33
-
34
-    public Integer getUserId() {
35
-        return userId;
36
-    }
37
-
38
-    public void setUserId(Integer userId) {
39
-        this.userId = userId;
40
-    }
41
-
42
-    public Integer getTargetId() {
43
-        return targetId;
44
-    }
45
-
46
-    public void setTargetId(Integer targetId) {
47
-        this.targetId = targetId;
48
-    }
49
-
50
-    public String getMsgMode() {
51
-        return msgMode;
52
-    }
53
-
54
-    public void setMsgMode(String msgMode) {
55
-        this.msgMode = msgMode == null ? null : msgMode.trim();
56
-    }
57
-
58
-    public String getMsgType() {
59
-        return msgType;
60
-    }
61
-
62
-    public void setMsgType(String msgType) {
63
-        this.msgType = msgType == null ? null : msgType.trim();
64
-    }
65
-
66
-    public String getCloseType() {
67
-        return closeType;
68
-    }
69
-
70
-    public void setCloseType(String closeType) {
71
-        this.closeType = closeType == null ? null : closeType.trim();
72
-    }
73
-
74
-    public String getMsgContent() {
75
-        return msgContent;
76
-    }
77
-
78
-    public void setMsgContent(String msgContent) {
79
-        this.msgContent = msgContent == null ? null : msgContent.trim();
80
-    }
81
-
82
-    public Date getCreateTime() {
83
-        return createTime;
84
-    }
85
-
86
-    public void setCreateTime(Date createTime) {
87
-        this.createTime = createTime;
88
-    }
89
-
90
-    public Integer getStatue() {
91
-        return statue;
92
-    }
93
-
94
-    public void setStatue(Integer statue) {
95
-        this.statue = statue;
96
-    }
97
-
98
-    public String getDeclarationIdStr() {
99
-        return declarationIdStr;
100
-    }
101
-
102
-    public void setDeclarationIdStr(String declarationIdStr) {
103
-        this.declarationIdStr = declarationIdStr == null ? null : declarationIdStr.trim();
104
-    }
105
-}

+ 0
- 105
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysNation.java Datei anzeigen

@@ -1,105 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class SysNation {
6
-    private Integer id;
7
-
8
-    private String code;
9
-
10
-    private String province;
11
-
12
-    private String city;
13
-
14
-    private Integer parentId;
15
-
16
-    private Date createTime;
17
-
18
-    private String district;
19
-
20
-    private Date lastUpdateTime;
21
-
22
-    private Integer operator;
23
-
24
-    private String operatorIp;
25
-
26
-    public Integer getId() {
27
-        return id;
28
-    }
29
-
30
-    public void setId(Integer id) {
31
-        this.id = id;
32
-    }
33
-
34
-    public String getCode() {
35
-        return code;
36
-    }
37
-
38
-    public void setCode(String code) {
39
-        this.code = code == null ? null : code.trim();
40
-    }
41
-
42
-    public String getProvince() {
43
-        return province;
44
-    }
45
-
46
-    public void setProvince(String province) {
47
-        this.province = province == null ? null : province.trim();
48
-    }
49
-
50
-    public String getCity() {
51
-        return city;
52
-    }
53
-
54
-    public void setCity(String city) {
55
-        this.city = city == null ? null : city.trim();
56
-    }
57
-
58
-    public Integer getParentId() {
59
-        return parentId;
60
-    }
61
-
62
-    public void setParentId(Integer parentId) {
63
-        this.parentId = parentId;
64
-    }
65
-
66
-    public Date getCreateTime() {
67
-        return createTime;
68
-    }
69
-
70
-    public void setCreateTime(Date createTime) {
71
-        this.createTime = createTime;
72
-    }
73
-
74
-    public String getDistrict() {
75
-        return district;
76
-    }
77
-
78
-    public void setDistrict(String district) {
79
-        this.district = district == null ? null : district.trim();
80
-    }
81
-
82
-    public Date getLastUpdateTime() {
83
-        return lastUpdateTime;
84
-    }
85
-
86
-    public void setLastUpdateTime(Date lastUpdateTime) {
87
-        this.lastUpdateTime = lastUpdateTime;
88
-    }
89
-
90
-    public Integer getOperator() {
91
-        return operator;
92
-    }
93
-
94
-    public void setOperator(Integer operator) {
95
-        this.operator = operator;
96
-    }
97
-
98
-    public String getOperatorIp() {
99
-        return operatorIp;
100
-    }
101
-
102
-    public void setOperatorIp(String operatorIp) {
103
-        this.operatorIp = operatorIp == null ? null : operatorIp.trim();
104
-    }
105
-}

+ 0
- 95
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/SysOrg.java Datei anzeigen

@@ -1,95 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class SysOrg {
6
-    private Integer id;
7
-
8
-    private String orgCode;
9
-
10
-    private String orgName;
11
-
12
-    private String description;
13
-
14
-    private Integer parentId;
15
-
16
-    private String createUser;
17
-
18
-    private Date createDate;
19
-
20
-    private String updateUser;
21
-
22
-    private Date updateDate;
23
-
24
-    public Integer getId() {
25
-        return id;
26
-    }
27
-
28
-    public void setId(Integer id) {
29
-        this.id = id;
30
-    }
31
-
32
-    public String getOrgCode() {
33
-        return orgCode;
34
-    }
35
-
36
-    public void setOrgCode(String orgCode) {
37
-        this.orgCode = orgCode == null ? null : orgCode.trim();
38
-    }
39
-
40
-    public String getOrgName() {
41
-        return orgName;
42
-    }
43
-
44
-    public void setOrgName(String orgName) {
45
-        this.orgName = orgName == null ? null : orgName.trim();
46
-    }
47
-
48
-    public String getDescription() {
49
-        return description;
50
-    }
51
-
52
-    public void setDescription(String description) {
53
-        this.description = description == null ? null : description.trim();
54
-    }
55
-
56
-    public Integer getParentId() {
57
-        return parentId;
58
-    }
59
-
60
-    public void setParentId(Integer parentId) {
61
-        this.parentId = parentId;
62
-    }
63
-
64
-    public String getCreateUser() {
65
-        return createUser;
66
-    }
67
-
68
-    public void setCreateUser(String createUser) {
69
-        this.createUser = createUser == null ? null : createUser.trim();
70
-    }
71
-
72
-    public Date getCreateDate() {
73
-        return createDate;
74
-    }
75
-
76
-    public void setCreateDate(Date createDate) {
77
-        this.createDate = createDate;
78
-    }
79
-
80
-    public String getUpdateUser() {
81
-        return updateUser;
82
-    }
83
-
84
-    public void setUpdateUser(String updateUser) {
85
-        this.updateUser = updateUser == null ? null : updateUser.trim();
86
-    }
87
-
88
-    public Date getUpdateDate() {
89
-        return updateDate;
90
-    }
91
-
92
-    public void setUpdateDate(Date updateDate) {
93
-        this.updateDate = updateDate;
94
-    }
95
-}

+ 0
- 83
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TaSysMenu.java Datei anzeigen

@@ -1,83 +0,0 @@
1
-package model;
2
-
3
-public class TaSysMenu {
4
-    private Integer id;
5
-
6
-    private Integer communityId;
7
-
8
-    private String menuName;
9
-
10
-    private String menuUrl;
11
-
12
-    private Integer parentId;
13
-
14
-    private Integer sort;
15
-
16
-    private String menuType;
17
-
18
-    private String status;
19
-
20
-    public Integer getId() {
21
-        return id;
22
-    }
23
-
24
-    public void setId(Integer id) {
25
-        this.id = id;
26
-    }
27
-
28
-    public Integer getCommunityId() {
29
-        return communityId;
30
-    }
31
-
32
-    public void setCommunityId(Integer communityId) {
33
-        this.communityId = communityId;
34
-    }
35
-
36
-    public String getMenuName() {
37
-        return menuName;
38
-    }
39
-
40
-    public void setMenuName(String menuName) {
41
-        this.menuName = menuName == null ? null : menuName.trim();
42
-    }
43
-
44
-    public String getMenuUrl() {
45
-        return menuUrl;
46
-    }
47
-
48
-    public void setMenuUrl(String menuUrl) {
49
-        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
50
-    }
51
-
52
-    public Integer getParentId() {
53
-        return parentId;
54
-    }
55
-
56
-    public void setParentId(Integer parentId) {
57
-        this.parentId = parentId;
58
-    }
59
-
60
-    public Integer getSort() {
61
-        return sort;
62
-    }
63
-
64
-    public void setSort(Integer sort) {
65
-        this.sort = sort;
66
-    }
67
-
68
-    public String getMenuType() {
69
-        return menuType;
70
-    }
71
-
72
-    public void setMenuType(String menuType) {
73
-        this.menuType = menuType == null ? null : menuType.trim();
74
-    }
75
-
76
-    public String getStatus() {
77
-        return status;
78
-    }
79
-
80
-    public void setStatus(String status) {
81
-        this.status = status == null ? null : status.trim();
82
-    }
83
-}

+ 0
- 33
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TaSysMenuImg.java Datei anzeigen

@@ -1,33 +0,0 @@
1
-package model;
2
-
3
-public class TaSysMenuImg {
4
-    private Integer id;
5
-
6
-    private Integer taMenuId;
7
-
8
-    private String menuIconImg;
9
-
10
-    public Integer getId() {
11
-        return id;
12
-    }
13
-
14
-    public void setId(Integer id) {
15
-        this.id = id;
16
-    }
17
-
18
-    public Integer getTaMenuId() {
19
-        return taMenuId;
20
-    }
21
-
22
-    public void setTaMenuId(Integer taMenuId) {
23
-        this.taMenuId = taMenuId;
24
-    }
25
-
26
-    public String getMenuIconImg() {
27
-        return menuIconImg;
28
-    }
29
-
30
-    public void setMenuIconImg(String menuIconImg) {
31
-        this.menuIconImg = menuIconImg == null ? null : menuIconImg.trim();
32
-    }
33
-}

+ 0
- 145
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBill.java Datei anzeigen

@@ -1,145 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpBill {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private String billName;
11
-
12
-    private String billExplain;
13
-
14
-    private String payPrice;
15
-
16
-    private Integer payTotalNum;
17
-
18
-    private Integer payedNum;
19
-
20
-    private Integer unpayedNum;
21
-
22
-    private String billStatus;
23
-
24
-    private Date endDate;
25
-
26
-    private Integer createUser;
27
-
28
-    private Date createDate;
29
-
30
-    private Integer updateUser;
31
-
32
-    private Date updateDate;
33
-
34
-    public Integer getId() {
35
-        return id;
36
-    }
37
-
38
-    public void setId(Integer id) {
39
-        this.id = id;
40
-    }
41
-
42
-    public Integer getCommunityId() {
43
-        return communityId;
44
-    }
45
-
46
-    public void setCommunityId(Integer communityId) {
47
-        this.communityId = communityId;
48
-    }
49
-
50
-    public String getBillName() {
51
-        return billName;
52
-    }
53
-
54
-    public void setBillName(String billName) {
55
-        this.billName = billName == null ? null : billName.trim();
56
-    }
57
-
58
-    public String getBillExplain() {
59
-        return billExplain;
60
-    }
61
-
62
-    public void setBillExplain(String billExplain) {
63
-        this.billExplain = billExplain == null ? null : billExplain.trim();
64
-    }
65
-
66
-    public String getPayPrice() {
67
-        return payPrice;
68
-    }
69
-
70
-    public void setPayPrice(String payPrice) {
71
-        this.payPrice = payPrice == null ? null : payPrice.trim();
72
-    }
73
-
74
-    public Integer getPayTotalNum() {
75
-        return payTotalNum;
76
-    }
77
-
78
-    public void setPayTotalNum(Integer payTotalNum) {
79
-        this.payTotalNum = payTotalNum;
80
-    }
81
-
82
-    public Integer getPayedNum() {
83
-        return payedNum;
84
-    }
85
-
86
-    public void setPayedNum(Integer payedNum) {
87
-        this.payedNum = payedNum;
88
-    }
89
-
90
-    public Integer getUnpayedNum() {
91
-        return unpayedNum;
92
-    }
93
-
94
-    public void setUnpayedNum(Integer unpayedNum) {
95
-        this.unpayedNum = unpayedNum;
96
-    }
97
-
98
-    public String getBillStatus() {
99
-        return billStatus;
100
-    }
101
-
102
-    public void setBillStatus(String billStatus) {
103
-        this.billStatus = billStatus == null ? null : billStatus.trim();
104
-    }
105
-
106
-    public Date getEndDate() {
107
-        return endDate;
108
-    }
109
-
110
-    public void setEndDate(Date endDate) {
111
-        this.endDate = endDate;
112
-    }
113
-
114
-    public Integer getCreateUser() {
115
-        return createUser;
116
-    }
117
-
118
-    public void setCreateUser(Integer createUser) {
119
-        this.createUser = createUser;
120
-    }
121
-
122
-    public Date getCreateDate() {
123
-        return createDate;
124
-    }
125
-
126
-    public void setCreateDate(Date createDate) {
127
-        this.createDate = createDate;
128
-    }
129
-
130
-    public Integer getUpdateUser() {
131
-        return updateUser;
132
-    }
133
-
134
-    public void setUpdateUser(Integer updateUser) {
135
-        this.updateUser = updateUser;
136
-    }
137
-
138
-    public Date getUpdateDate() {
139
-        return updateDate;
140
-    }
141
-
142
-    public void setUpdateDate(Date updateDate) {
143
-        this.updateDate = updateDate;
144
-    }
145
-}

+ 0
- 155
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBillInvoice.java Datei anzeigen

@@ -1,155 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpBillInvoice {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private Integer billId;
11
-
12
-    private Integer buildingOwnerInfoId;
13
-
14
-    private Integer taUserId;
15
-
16
-    private String billInvoiceExplain;
17
-
18
-    private Integer payPrice;
19
-
20
-    private Integer billStatementId;
21
-
22
-    private String billStatus;
23
-
24
-    private String payName;
25
-
26
-    private Date payDate;
27
-
28
-    private Integer createUser;
29
-
30
-    private Date createDate;
31
-
32
-    private Integer updateUser;
33
-
34
-    private Date updateDate;
35
-
36
-    public Integer getId() {
37
-        return id;
38
-    }
39
-
40
-    public void setId(Integer id) {
41
-        this.id = id;
42
-    }
43
-
44
-    public Integer getCommunityId() {
45
-        return communityId;
46
-    }
47
-
48
-    public void setCommunityId(Integer communityId) {
49
-        this.communityId = communityId;
50
-    }
51
-
52
-    public Integer getBillId() {
53
-        return billId;
54
-    }
55
-
56
-    public void setBillId(Integer billId) {
57
-        this.billId = billId;
58
-    }
59
-
60
-    public Integer getBuildingOwnerInfoId() {
61
-        return buildingOwnerInfoId;
62
-    }
63
-
64
-    public void setBuildingOwnerInfoId(Integer buildingOwnerInfoId) {
65
-        this.buildingOwnerInfoId = buildingOwnerInfoId;
66
-    }
67
-
68
-    public Integer getTaUserId() {
69
-        return taUserId;
70
-    }
71
-
72
-    public void setTaUserId(Integer taUserId) {
73
-        this.taUserId = taUserId;
74
-    }
75
-
76
-    public String getBillInvoiceExplain() {
77
-        return billInvoiceExplain;
78
-    }
79
-
80
-    public void setBillInvoiceExplain(String billInvoiceExplain) {
81
-        this.billInvoiceExplain = billInvoiceExplain == null ? null : billInvoiceExplain.trim();
82
-    }
83
-
84
-    public Integer getPayPrice() {
85
-        return payPrice;
86
-    }
87
-
88
-    public void setPayPrice(Integer payPrice) {
89
-        this.payPrice = payPrice;
90
-    }
91
-
92
-    public Integer getBillStatementId() {
93
-        return billStatementId;
94
-    }
95
-
96
-    public void setBillStatementId(Integer billStatementId) {
97
-        this.billStatementId = billStatementId;
98
-    }
99
-
100
-    public String getBillStatus() {
101
-        return billStatus;
102
-    }
103
-
104
-    public void setBillStatus(String billStatus) {
105
-        this.billStatus = billStatus == null ? null : billStatus.trim();
106
-    }
107
-
108
-    public String getPayName() {
109
-        return payName;
110
-    }
111
-
112
-    public void setPayName(String payName) {
113
-        this.payName = payName == null ? null : payName.trim();
114
-    }
115
-
116
-    public Date getPayDate() {
117
-        return payDate;
118
-    }
119
-
120
-    public void setPayDate(Date payDate) {
121
-        this.payDate = payDate;
122
-    }
123
-
124
-    public Integer getCreateUser() {
125
-        return createUser;
126
-    }
127
-
128
-    public void setCreateUser(Integer createUser) {
129
-        this.createUser = createUser;
130
-    }
131
-
132
-    public Date getCreateDate() {
133
-        return createDate;
134
-    }
135
-
136
-    public void setCreateDate(Date createDate) {
137
-        this.createDate = createDate;
138
-    }
139
-
140
-    public Integer getUpdateUser() {
141
-        return updateUser;
142
-    }
143
-
144
-    public void setUpdateUser(Integer updateUser) {
145
-        this.updateUser = updateUser;
146
-    }
147
-
148
-    public Date getUpdateDate() {
149
-        return updateDate;
150
-    }
151
-
152
-    public void setUpdateDate(Date updateDate) {
153
-        this.updateDate = updateDate;
154
-    }
155
-}

+ 0
- 95
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpBillStatement.java Datei anzeigen

@@ -1,95 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpBillStatement {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private Integer billInvoiceId;
11
-
12
-    private Integer taUserId;
13
-
14
-    private Integer payPrice;
15
-
16
-    private String payName;
17
-
18
-    private String payRemark;
19
-
20
-    private String payType;
21
-
22
-    private Date createTime;
23
-
24
-    public Integer getId() {
25
-        return id;
26
-    }
27
-
28
-    public void setId(Integer id) {
29
-        this.id = id;
30
-    }
31
-
32
-    public Integer getCommunityId() {
33
-        return communityId;
34
-    }
35
-
36
-    public void setCommunityId(Integer communityId) {
37
-        this.communityId = communityId;
38
-    }
39
-
40
-    public Integer getBillInvoiceId() {
41
-        return billInvoiceId;
42
-    }
43
-
44
-    public void setBillInvoiceId(Integer billInvoiceId) {
45
-        this.billInvoiceId = billInvoiceId;
46
-    }
47
-
48
-    public Integer getTaUserId() {
49
-        return taUserId;
50
-    }
51
-
52
-    public void setTaUserId(Integer taUserId) {
53
-        this.taUserId = taUserId;
54
-    }
55
-
56
-    public Integer getPayPrice() {
57
-        return payPrice;
58
-    }
59
-
60
-    public void setPayPrice(Integer payPrice) {
61
-        this.payPrice = payPrice;
62
-    }
63
-
64
-    public String getPayName() {
65
-        return payName;
66
-    }
67
-
68
-    public void setPayName(String payName) {
69
-        this.payName = payName == null ? null : payName.trim();
70
-    }
71
-
72
-    public String getPayRemark() {
73
-        return payRemark;
74
-    }
75
-
76
-    public void setPayRemark(String payRemark) {
77
-        this.payRemark = payRemark == null ? null : payRemark.trim();
78
-    }
79
-
80
-    public String getPayType() {
81
-        return payType;
82
-    }
83
-
84
-    public void setPayType(String payType) {
85
-        this.payType = payType == null ? null : payType.trim();
86
-    }
87
-
88
-    public Date getCreateTime() {
89
-        return createTime;
90
-    }
91
-
92
-    public void setCreateTime(Date createTime) {
93
-        this.createTime = createTime;
94
-    }
95
-}

+ 0
- 93
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpSysMenu.java Datei anzeigen

@@ -1,93 +0,0 @@
1
-package model;
2
-
3
-public class TpSysMenu {
4
-    private Integer id;
5
-
6
-    private Integer communityId;
7
-
8
-    private String menuName;
9
-
10
-    private String menuUrl;
11
-
12
-    private String menuIcon;
13
-
14
-    private Integer parentId;
15
-
16
-    private Integer sort;
17
-
18
-    private String menuType;
19
-
20
-    private String status;
21
-
22
-    public Integer getId() {
23
-        return id;
24
-    }
25
-
26
-    public void setId(Integer id) {
27
-        this.id = id;
28
-    }
29
-
30
-    public Integer getCommunityId() {
31
-        return communityId;
32
-    }
33
-
34
-    public void setCommunityId(Integer communityId) {
35
-        this.communityId = communityId;
36
-    }
37
-
38
-    public String getMenuName() {
39
-        return menuName;
40
-    }
41
-
42
-    public void setMenuName(String menuName) {
43
-        this.menuName = menuName == null ? null : menuName.trim();
44
-    }
45
-
46
-    public String getMenuUrl() {
47
-        return menuUrl;
48
-    }
49
-
50
-    public void setMenuUrl(String menuUrl) {
51
-        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
52
-    }
53
-
54
-    public String getMenuIcon() {
55
-        return menuIcon;
56
-    }
57
-
58
-    public void setMenuIcon(String menuIcon) {
59
-        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
60
-    }
61
-
62
-    public Integer getParentId() {
63
-        return parentId;
64
-    }
65
-
66
-    public void setParentId(Integer parentId) {
67
-        this.parentId = parentId;
68
-    }
69
-
70
-    public Integer getSort() {
71
-        return sort;
72
-    }
73
-
74
-    public void setSort(Integer sort) {
75
-        this.sort = sort;
76
-    }
77
-
78
-    public String getMenuType() {
79
-        return menuType;
80
-    }
81
-
82
-    public void setMenuType(String menuType) {
83
-        this.menuType = menuType == null ? null : menuType.trim();
84
-    }
85
-
86
-    public String getStatus() {
87
-        return status;
88
-    }
89
-
90
-    public void setStatus(String status) {
91
-        this.status = status == null ? null : status.trim();
92
-    }
93
-}

+ 0
- 135
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpUser.java Datei anzeigen

@@ -1,135 +0,0 @@
1
-package model;
2
-
3
-import java.util.Date;
4
-
5
-public class TpUser {
6
-    private Integer id;
7
-
8
-    private Integer communityId;
9
-
10
-    private String userName;
11
-
12
-    private String loginName;
13
-
14
-    private String loginPassword;
15
-
16
-    private String status;
17
-
18
-    private String remark;
19
-
20
-    private String email;
21
-
22
-    private String headPortrait;
23
-
24
-    private Integer createUser;
25
-
26
-    private Date createDate;
27
-
28
-    private Integer updateUser;
29
-
30
-    private Date updateDate;
31
-
32
-    public Integer getId() {
33
-        return id;
34
-    }
35
-
36
-    public void setId(Integer id) {
37
-        this.id = id;
38
-    }
39
-
40
-    public Integer getCommunityId() {
41
-        return communityId;
42
-    }
43
-
44
-    public void setCommunityId(Integer communityId) {
45
-        this.communityId = communityId;
46
-    }
47
-
48
-    public String getUserName() {
49
-        return userName;
50
-    }
51
-
52
-    public void setUserName(String userName) {
53
-        this.userName = userName == null ? null : userName.trim();
54
-    }
55
-
56
-    public String getLoginName() {
57
-        return loginName;
58
-    }
59
-
60
-    public void setLoginName(String loginName) {
61
-        this.loginName = loginName == null ? null : loginName.trim();
62
-    }
63
-
64
-    public String getLoginPassword() {
65
-        return loginPassword;
66
-    }
67
-
68
-    public void setLoginPassword(String loginPassword) {
69
-        this.loginPassword = loginPassword == null ? null : loginPassword.trim();
70
-    }
71
-
72
-    public String getStatus() {
73
-        return status;
74
-    }
75
-
76
-    public void setStatus(String status) {
77
-        this.status = status == null ? null : status.trim();
78
-    }
79
-
80
-    public String getRemark() {
81
-        return remark;
82
-    }
83
-
84
-    public void setRemark(String remark) {
85
-        this.remark = remark == null ? null : remark.trim();
86
-    }
87
-
88
-    public String getEmail() {
89
-        return email;
90
-    }
91
-
92
-    public void setEmail(String email) {
93
-        this.email = email == null ? null : email.trim();
94
-    }
95
-
96
-    public String getHeadPortrait() {
97
-        return headPortrait;
98
-    }
99
-
100
-    public void setHeadPortrait(String headPortrait) {
101
-        this.headPortrait = headPortrait == null ? null : headPortrait.trim();
102
-    }
103
-
104
-    public Integer getCreateUser() {
105
-        return createUser;
106
-    }
107
-
108
-    public void setCreateUser(Integer createUser) {
109
-        this.createUser = createUser;
110
-    }
111
-
112
-    public Date getCreateDate() {
113
-        return createDate;
114
-    }
115
-
116
-    public void setCreateDate(Date createDate) {
117
-        this.createDate = createDate;
118
-    }
119
-
120
-    public Integer getUpdateUser() {
121
-        return updateUser;
122
-    }
123
-
124
-    public void setUpdateUser(Integer updateUser) {
125
-        this.updateUser = updateUser;
126
-    }
127
-
128
-    public Date getUpdateDate() {
129
-        return updateDate;
130
-    }
131
-
132
-    public void setUpdateDate(Date updateDate) {
133
-        this.updateDate = updateDate;
134
-    }
135
-}

+ 0
- 33
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/model/TpUserCommunity.java Datei anzeigen

@@ -1,33 +0,0 @@
1
-package model;
2
-
3
-public class TpUserCommunity {
4
-    private Integer id;
5
-
6
-    private Integer communityId;
7
-
8
-    private Integer tpUserId;
9
-
10
-    public Integer getId() {
11
-        return id;
12
-    }
13
-
14
-    public void setId(Integer id) {
15
-        this.id = id;
16
-    }
17
-
18
-    public Integer getCommunityId() {
19
-        return communityId;
20
-    }
21
-
22
-    public void setCommunityId(Integer communityId) {
23
-        this.communityId = communityId;
24
-    }
25
-
26
-    public Integer getTpUserId() {
27
-        return tpUserId;
28
-    }
29
-
30
-    public void setTpUserId(Integer tpUserId) {
31
-        this.tpUserId = tpUserId;
32
-    }
33
-}

+ 0
- 9
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/service/ScUserServiceI.java Datei anzeigen

@@ -1,9 +0,0 @@
1
-package com.example.demo.service;
2
-
3
-import com.example.demo.model.ScUser;
4
-
5
-import java.util.List;
6
-
7
-public interface ScUserServiceI {
8
-	List<ScUser> getUser();
9
-}

+ 0
- 25
SmartCommunity/mybatisGeneratorCode/src/main/java/com/example/demo/service/impl/ScUserServiceImpl.java Datei anzeigen

@@ -1,25 +0,0 @@
1
-package com.example.demo.service.impl;
2
-
3
-import com.example.demo.dao.ScUserMapper;
4
-import com.example.demo.model.ScUser;
5
-import com.example.demo.service.ScUserServiceI;
6
-import org.springframework.beans.factory.annotation.Autowired;
7
-import org.springframework.stereotype.Service;
8
-
9
-import java.util.List;
10
-
11
-/**
12
- * @author FXF
13
- * @date 2018-09-19
14
- */
15
-@Service("scUserService")
16
-public class ScUserServiceImpl implements ScUserServiceI {
17
-	
18
-	@Autowired
19
-	private ScUserMapper scUserMapper;
20
-	
21
-	@Override
22
-	public List<ScUser> getUser() {
23
-		return scUserMapper.find();
24
-	}
25
-}

+ 0
- 402
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/MqMessageMapper.xml Datei anzeigen

@@ -1,402 +0,0 @@
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="dao.MqMessageMapper" >
4
-  <resultMap id="BaseResultMap" type="model.MqMessage" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="event_state" property="eventState" jdbcType="INTEGER" />
7
-    <result column="event_level" property="eventLevel" jdbcType="INTEGER" />
8
-    <result column="unit_idx" property="unitIdx" jdbcType="VARCHAR" />
9
-    <result column="event_type" property="eventType" jdbcType="INTEGER" />
10
-    <result column="event_type_name" property="eventTypeName" jdbcType="VARCHAR" />
11
-    <result column="sub_sys_type" property="subSysType" jdbcType="INTEGER" />
12
-    <result column="event_name" property="eventName" jdbcType="VARCHAR" />
13
-    <result column="start_time" property="startTime" jdbcType="TIMESTAMP" />
14
-    <result column="stop_time" property="stopTime" jdbcType="TIMESTAMP" />
15
-    <result column="source_idx" property="sourceIdx" jdbcType="CHAR" />
16
-    <result column="source_type" property="sourceType" jdbcType="VARCHAR" />
17
-    <result column="source_name" property="sourceName" jdbcType="VARCHAR" />
18
-    <result column="region_idx" property="regionIdx" jdbcType="VARCHAR" />
19
-    <result column="event_code" property="eventCode" jdbcType="INTEGER" />
20
-    <result column="device_id" property="deviceId" jdbcType="INTEGER" />
21
-    <result column="device_type" property="deviceType" jdbcType="INTEGER" />
22
-    <result column="device_name" property="deviceName" jdbcType="VARCHAR" />
23
-    <result column="event_card" property="eventCard" jdbcType="VARCHAR" />
24
-    <result column="person_id" property="personId" jdbcType="INTEGER" />
25
-    <result column="person_name" property="personName" jdbcType="VARCHAR" />
26
-    <result column="dept_id" property="deptId" jdbcType="INTEGER" />
27
-    <result column="dept_name" property="deptName" jdbcType="VARCHAR" />
28
-    <result column="dept_code" property="deptCode" jdbcType="VARCHAR" />
29
-    <result column="in_out" property="inOut" jdbcType="INTEGER" />
30
-    <result column="card_status" property="cardStatus" jdbcType="INTEGER" />
31
-    <result column="pic_url" property="picUrl" jdbcType="VARCHAR" />
32
-  </resultMap>
33
-  <resultMap id="ResultMapWithBLOBs" type="model.MqMessage" extends="BaseResultMap" >
34
-    <result column="ext_txt" property="extTxt" jdbcType="LONGVARCHAR" />
35
-  </resultMap>
36
-  <sql id="Base_Column_List" >
37
-    id, event_state, event_level, unit_idx, event_type, event_type_name, sub_sys_type, 
38
-    event_name, start_time, stop_time, source_idx, source_type, source_name, region_idx, 
39
-    event_code, device_id, device_type, device_name, event_card, person_id, person_name, 
40
-    dept_id, dept_name, dept_code, in_out, card_status, pic_url
41
-  </sql>
42
-  <sql id="Blob_Column_List" >
43
-    ext_txt
44
-  </sql>
45
-  <select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
46
-    select 
47
-    <include refid="Base_Column_List" />
48
-    ,
49
-    <include refid="Blob_Column_List" />
50
-    from mq_message
51
-    where id = #{id,jdbcType=INTEGER}
52
-  </select>
53
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
54
-    delete from mq_message
55
-    where id = #{id,jdbcType=INTEGER}
56
-  </delete>
57
-  <insert id="insert" parameterType="model.MqMessage" >
58
-    insert into mq_message (id, event_state, event_level, 
59
-      unit_idx, event_type, event_type_name, 
60
-      sub_sys_type, event_name, start_time, 
61
-      stop_time, source_idx, source_type, 
62
-      source_name, region_idx, event_code, 
63
-      device_id, device_type, device_name, 
64
-      event_card, person_id, person_name, 
65
-      dept_id, dept_name, dept_code, 
66
-      in_out, card_status, pic_url, 
67
-      ext_txt)
68
-    values (#{id,jdbcType=INTEGER}, #{eventState,jdbcType=INTEGER}, #{eventLevel,jdbcType=INTEGER}, 
69
-      #{unitIdx,jdbcType=VARCHAR}, #{eventType,jdbcType=INTEGER}, #{eventTypeName,jdbcType=VARCHAR}, 
70
-      #{subSysType,jdbcType=INTEGER}, #{eventName,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, 
71
-      #{stopTime,jdbcType=TIMESTAMP}, #{sourceIdx,jdbcType=CHAR}, #{sourceType,jdbcType=VARCHAR}, 
72
-      #{sourceName,jdbcType=VARCHAR}, #{regionIdx,jdbcType=VARCHAR}, #{eventCode,jdbcType=INTEGER}, 
73
-      #{deviceId,jdbcType=INTEGER}, #{deviceType,jdbcType=INTEGER}, #{deviceName,jdbcType=VARCHAR}, 
74
-      #{eventCard,jdbcType=VARCHAR}, #{personId,jdbcType=INTEGER}, #{personName,jdbcType=VARCHAR}, 
75
-      #{deptId,jdbcType=INTEGER}, #{deptName,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, 
76
-      #{inOut,jdbcType=INTEGER}, #{cardStatus,jdbcType=INTEGER}, #{picUrl,jdbcType=VARCHAR}, 
77
-      #{extTxt,jdbcType=LONGVARCHAR})
78
-  </insert>
79
-  <insert id="insertSelective" parameterType="model.MqMessage" >
80
-    insert into mq_message
81
-    <trim prefix="(" suffix=")" suffixOverrides="," >
82
-      <if test="id != null" >
83
-        id,
84
-      </if>
85
-      <if test="eventState != null" >
86
-        event_state,
87
-      </if>
88
-      <if test="eventLevel != null" >
89
-        event_level,
90
-      </if>
91
-      <if test="unitIdx != null" >
92
-        unit_idx,
93
-      </if>
94
-      <if test="eventType != null" >
95
-        event_type,
96
-      </if>
97
-      <if test="eventTypeName != null" >
98
-        event_type_name,
99
-      </if>
100
-      <if test="subSysType != null" >
101
-        sub_sys_type,
102
-      </if>
103
-      <if test="eventName != null" >
104
-        event_name,
105
-      </if>
106
-      <if test="startTime != null" >
107
-        start_time,
108
-      </if>
109
-      <if test="stopTime != null" >
110
-        stop_time,
111
-      </if>
112
-      <if test="sourceIdx != null" >
113
-        source_idx,
114
-      </if>
115
-      <if test="sourceType != null" >
116
-        source_type,
117
-      </if>
118
-      <if test="sourceName != null" >
119
-        source_name,
120
-      </if>
121
-      <if test="regionIdx != null" >
122
-        region_idx,
123
-      </if>
124
-      <if test="eventCode != null" >
125
-        event_code,
126
-      </if>
127
-      <if test="deviceId != null" >
128
-        device_id,
129
-      </if>
130
-      <if test="deviceType != null" >
131
-        device_type,
132
-      </if>
133
-      <if test="deviceName != null" >
134
-        device_name,
135
-      </if>
136
-      <if test="eventCard != null" >
137
-        event_card,
138
-      </if>
139
-      <if test="personId != null" >
140
-        person_id,
141
-      </if>
142
-      <if test="personName != null" >
143
-        person_name,
144
-      </if>
145
-      <if test="deptId != null" >
146
-        dept_id,
147
-      </if>
148
-      <if test="deptName != null" >
149
-        dept_name,
150
-      </if>
151
-      <if test="deptCode != null" >
152
-        dept_code,
153
-      </if>
154
-      <if test="inOut != null" >
155
-        in_out,
156
-      </if>
157
-      <if test="cardStatus != null" >
158
-        card_status,
159
-      </if>
160
-      <if test="picUrl != null" >
161
-        pic_url,
162
-      </if>
163
-      <if test="extTxt != null" >
164
-        ext_txt,
165
-      </if>
166
-    </trim>
167
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
168
-      <if test="id != null" >
169
-        #{id,jdbcType=INTEGER},
170
-      </if>
171
-      <if test="eventState != null" >
172
-        #{eventState,jdbcType=INTEGER},
173
-      </if>
174
-      <if test="eventLevel != null" >
175
-        #{eventLevel,jdbcType=INTEGER},
176
-      </if>
177
-      <if test="unitIdx != null" >
178
-        #{unitIdx,jdbcType=VARCHAR},
179
-      </if>
180
-      <if test="eventType != null" >
181
-        #{eventType,jdbcType=INTEGER},
182
-      </if>
183
-      <if test="eventTypeName != null" >
184
-        #{eventTypeName,jdbcType=VARCHAR},
185
-      </if>
186
-      <if test="subSysType != null" >
187
-        #{subSysType,jdbcType=INTEGER},
188
-      </if>
189
-      <if test="eventName != null" >
190
-        #{eventName,jdbcType=VARCHAR},
191
-      </if>
192
-      <if test="startTime != null" >
193
-        #{startTime,jdbcType=TIMESTAMP},
194
-      </if>
195
-      <if test="stopTime != null" >
196
-        #{stopTime,jdbcType=TIMESTAMP},
197
-      </if>
198
-      <if test="sourceIdx != null" >
199
-        #{sourceIdx,jdbcType=CHAR},
200
-      </if>
201
-      <if test="sourceType != null" >
202
-        #{sourceType,jdbcType=VARCHAR},
203
-      </if>
204
-      <if test="sourceName != null" >
205
-        #{sourceName,jdbcType=VARCHAR},
206
-      </if>
207
-      <if test="regionIdx != null" >
208
-        #{regionIdx,jdbcType=VARCHAR},
209
-      </if>
210
-      <if test="eventCode != null" >
211
-        #{eventCode,jdbcType=INTEGER},
212
-      </if>
213
-      <if test="deviceId != null" >
214
-        #{deviceId,jdbcType=INTEGER},
215
-      </if>
216
-      <if test="deviceType != null" >
217
-        #{deviceType,jdbcType=INTEGER},
218
-      </if>
219
-      <if test="deviceName != null" >
220
-        #{deviceName,jdbcType=VARCHAR},
221
-      </if>
222
-      <if test="eventCard != null" >
223
-        #{eventCard,jdbcType=VARCHAR},
224
-      </if>
225
-      <if test="personId != null" >
226
-        #{personId,jdbcType=INTEGER},
227
-      </if>
228
-      <if test="personName != null" >
229
-        #{personName,jdbcType=VARCHAR},
230
-      </if>
231
-      <if test="deptId != null" >
232
-        #{deptId,jdbcType=INTEGER},
233
-      </if>
234
-      <if test="deptName != null" >
235
-        #{deptName,jdbcType=VARCHAR},
236
-      </if>
237
-      <if test="deptCode != null" >
238
-        #{deptCode,jdbcType=VARCHAR},
239
-      </if>
240
-      <if test="inOut != null" >
241
-        #{inOut,jdbcType=INTEGER},
242
-      </if>
243
-      <if test="cardStatus != null" >
244
-        #{cardStatus,jdbcType=INTEGER},
245
-      </if>
246
-      <if test="picUrl != null" >
247
-        #{picUrl,jdbcType=VARCHAR},
248
-      </if>
249
-      <if test="extTxt != null" >
250
-        #{extTxt,jdbcType=LONGVARCHAR},
251
-      </if>
252
-    </trim>
253
-  </insert>
254
-  <update id="updateByPrimaryKeySelective" parameterType="model.MqMessage" >
255
-    update mq_message
256
-    <set >
257
-      <if test="eventState != null" >
258
-        event_state = #{eventState,jdbcType=INTEGER},
259
-      </if>
260
-      <if test="eventLevel != null" >
261
-        event_level = #{eventLevel,jdbcType=INTEGER},
262
-      </if>
263
-      <if test="unitIdx != null" >
264
-        unit_idx = #{unitIdx,jdbcType=VARCHAR},
265
-      </if>
266
-      <if test="eventType != null" >
267
-        event_type = #{eventType,jdbcType=INTEGER},
268
-      </if>
269
-      <if test="eventTypeName != null" >
270
-        event_type_name = #{eventTypeName,jdbcType=VARCHAR},
271
-      </if>
272
-      <if test="subSysType != null" >
273
-        sub_sys_type = #{subSysType,jdbcType=INTEGER},
274
-      </if>
275
-      <if test="eventName != null" >
276
-        event_name = #{eventName,jdbcType=VARCHAR},
277
-      </if>
278
-      <if test="startTime != null" >
279
-        start_time = #{startTime,jdbcType=TIMESTAMP},
280
-      </if>
281
-      <if test="stopTime != null" >
282
-        stop_time = #{stopTime,jdbcType=TIMESTAMP},
283
-      </if>
284
-      <if test="sourceIdx != null" >
285
-        source_idx = #{sourceIdx,jdbcType=CHAR},
286
-      </if>
287
-      <if test="sourceType != null" >
288
-        source_type = #{sourceType,jdbcType=VARCHAR},
289
-      </if>
290
-      <if test="sourceName != null" >
291
-        source_name = #{sourceName,jdbcType=VARCHAR},
292
-      </if>
293
-      <if test="regionIdx != null" >
294
-        region_idx = #{regionIdx,jdbcType=VARCHAR},
295
-      </if>
296
-      <if test="eventCode != null" >
297
-        event_code = #{eventCode,jdbcType=INTEGER},
298
-      </if>
299
-      <if test="deviceId != null" >
300
-        device_id = #{deviceId,jdbcType=INTEGER},
301
-      </if>
302
-      <if test="deviceType != null" >
303
-        device_type = #{deviceType,jdbcType=INTEGER},
304
-      </if>
305
-      <if test="deviceName != null" >
306
-        device_name = #{deviceName,jdbcType=VARCHAR},
307
-      </if>
308
-      <if test="eventCard != null" >
309
-        event_card = #{eventCard,jdbcType=VARCHAR},
310
-      </if>
311
-      <if test="personId != null" >
312
-        person_id = #{personId,jdbcType=INTEGER},
313
-      </if>
314
-      <if test="personName != null" >
315
-        person_name = #{personName,jdbcType=VARCHAR},
316
-      </if>
317
-      <if test="deptId != null" >
318
-        dept_id = #{deptId,jdbcType=INTEGER},
319
-      </if>
320
-      <if test="deptName != null" >
321
-        dept_name = #{deptName,jdbcType=VARCHAR},
322
-      </if>
323
-      <if test="deptCode != null" >
324
-        dept_code = #{deptCode,jdbcType=VARCHAR},
325
-      </if>
326
-      <if test="inOut != null" >
327
-        in_out = #{inOut,jdbcType=INTEGER},
328
-      </if>
329
-      <if test="cardStatus != null" >
330
-        card_status = #{cardStatus,jdbcType=INTEGER},
331
-      </if>
332
-      <if test="picUrl != null" >
333
-        pic_url = #{picUrl,jdbcType=VARCHAR},
334
-      </if>
335
-      <if test="extTxt != null" >
336
-        ext_txt = #{extTxt,jdbcType=LONGVARCHAR},
337
-      </if>
338
-    </set>
339
-    where id = #{id,jdbcType=INTEGER}
340
-  </update>
341
-  <update id="updateByPrimaryKeyWithBLOBs" parameterType="model.MqMessage" >
342
-    update mq_message
343
-    set event_state = #{eventState,jdbcType=INTEGER},
344
-      event_level = #{eventLevel,jdbcType=INTEGER},
345
-      unit_idx = #{unitIdx,jdbcType=VARCHAR},
346
-      event_type = #{eventType,jdbcType=INTEGER},
347
-      event_type_name = #{eventTypeName,jdbcType=VARCHAR},
348
-      sub_sys_type = #{subSysType,jdbcType=INTEGER},
349
-      event_name = #{eventName,jdbcType=VARCHAR},
350
-      start_time = #{startTime,jdbcType=TIMESTAMP},
351
-      stop_time = #{stopTime,jdbcType=TIMESTAMP},
352
-      source_idx = #{sourceIdx,jdbcType=CHAR},
353
-      source_type = #{sourceType,jdbcType=VARCHAR},
354
-      source_name = #{sourceName,jdbcType=VARCHAR},
355
-      region_idx = #{regionIdx,jdbcType=VARCHAR},
356
-      event_code = #{eventCode,jdbcType=INTEGER},
357
-      device_id = #{deviceId,jdbcType=INTEGER},
358
-      device_type = #{deviceType,jdbcType=INTEGER},
359
-      device_name = #{deviceName,jdbcType=VARCHAR},
360
-      event_card = #{eventCard,jdbcType=VARCHAR},
361
-      person_id = #{personId,jdbcType=INTEGER},
362
-      person_name = #{personName,jdbcType=VARCHAR},
363
-      dept_id = #{deptId,jdbcType=INTEGER},
364
-      dept_name = #{deptName,jdbcType=VARCHAR},
365
-      dept_code = #{deptCode,jdbcType=VARCHAR},
366
-      in_out = #{inOut,jdbcType=INTEGER},
367
-      card_status = #{cardStatus,jdbcType=INTEGER},
368
-      pic_url = #{picUrl,jdbcType=VARCHAR},
369
-      ext_txt = #{extTxt,jdbcType=LONGVARCHAR}
370
-    where id = #{id,jdbcType=INTEGER}
371
-  </update>
372
-  <update id="updateByPrimaryKey" parameterType="model.MqMessage" >
373
-    update mq_message
374
-    set event_state = #{eventState,jdbcType=INTEGER},
375
-      event_level = #{eventLevel,jdbcType=INTEGER},
376
-      unit_idx = #{unitIdx,jdbcType=VARCHAR},
377
-      event_type = #{eventType,jdbcType=INTEGER},
378
-      event_type_name = #{eventTypeName,jdbcType=VARCHAR},
379
-      sub_sys_type = #{subSysType,jdbcType=INTEGER},
380
-      event_name = #{eventName,jdbcType=VARCHAR},
381
-      start_time = #{startTime,jdbcType=TIMESTAMP},
382
-      stop_time = #{stopTime,jdbcType=TIMESTAMP},
383
-      source_idx = #{sourceIdx,jdbcType=CHAR},
384
-      source_type = #{sourceType,jdbcType=VARCHAR},
385
-      source_name = #{sourceName,jdbcType=VARCHAR},
386
-      region_idx = #{regionIdx,jdbcType=VARCHAR},
387
-      event_code = #{eventCode,jdbcType=INTEGER},
388
-      device_id = #{deviceId,jdbcType=INTEGER},
389
-      device_type = #{deviceType,jdbcType=INTEGER},
390
-      device_name = #{deviceName,jdbcType=VARCHAR},
391
-      event_card = #{eventCard,jdbcType=VARCHAR},
392
-      person_id = #{personId,jdbcType=INTEGER},
393
-      person_name = #{personName,jdbcType=VARCHAR},
394
-      dept_id = #{deptId,jdbcType=INTEGER},
395
-      dept_name = #{deptName,jdbcType=VARCHAR},
396
-      dept_code = #{deptCode,jdbcType=VARCHAR},
397
-      in_out = #{inOut,jdbcType=INTEGER},
398
-      card_status = #{cardStatus,jdbcType=INTEGER},
399
-      pic_url = #{picUrl,jdbcType=VARCHAR}
400
-    where id = #{id,jdbcType=INTEGER}
401
-  </update>
402
-</mapper>

+ 0
- 16
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/ScUserMapper.xml Datei anzeigen

@@ -1,16 +0,0 @@
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.example.demo.dao.ScUserMapper">
4
-
5
-    <parameterMap id="paramMap" type="com.example.demo.model.ScUser"></parameterMap>
6
-
7
-    <resultMap id="resultMap" type="com.example.demo.model.ScUser">
8
-        <id property="id" column="id"/>
9
-        <result property="userName" column="user_name"/>
10
-        <result property="userPassword" column="user_password"/>
11
-    </resultMap>
12
-
13
-    <select id="find" resultMap="resultMap">
14
-        select * from sc_user
15
-    </select>
16
-</mapper>

+ 0
- 141
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysMenuMapper.xml Datei anzeigen

@@ -1,141 +0,0 @@
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="dao.SysMenuMapper" >
4
-  <resultMap id="BaseResultMap" type="model.SysMenu" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="menu_name" property="menuName" jdbcType="VARCHAR" />
7
-    <result column="menu_url" property="menuUrl" jdbcType="VARCHAR" />
8
-    <result column="menu_icon" property="menuIcon" jdbcType="VARCHAR" />
9
-    <result column="parent_id" property="parentId" jdbcType="INTEGER" />
10
-    <result column="sort" property="sort" jdbcType="INTEGER" />
11
-    <result column="permission" property="permission" jdbcType="VARCHAR" />
12
-    <result column="menu_type" property="menuType" jdbcType="CHAR" />
13
-    <result column="status" property="status" jdbcType="CHAR" />
14
-  </resultMap>
15
-  <sql id="Base_Column_List" >
16
-    id, menu_name, menu_url, menu_icon, parent_id, sort, permission, menu_type, status
17
-  </sql>
18
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
19
-    select 
20
-    <include refid="Base_Column_List" />
21
-    from sys_menu
22
-    where id = #{id,jdbcType=INTEGER}
23
-  </select>
24
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
25
-    delete from sys_menu
26
-    where id = #{id,jdbcType=INTEGER}
27
-  </delete>
28
-  <insert id="insert" parameterType="model.SysMenu" >
29
-    insert into sys_menu (id, menu_name, menu_url, 
30
-      menu_icon, parent_id, sort, 
31
-      permission, menu_type, status
32
-      )
33
-    values (#{id,jdbcType=INTEGER}, #{menuName,jdbcType=VARCHAR}, #{menuUrl,jdbcType=VARCHAR}, 
34
-      #{menuIcon,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, 
35
-      #{permission,jdbcType=VARCHAR}, #{menuType,jdbcType=CHAR}, #{status,jdbcType=CHAR}
36
-      )
37
-  </insert>
38
-  <insert id="insertSelective" parameterType="model.SysMenu" >
39
-    insert into sys_menu
40
-    <trim prefix="(" suffix=")" suffixOverrides="," >
41
-      <if test="id != null" >
42
-        id,
43
-      </if>
44
-      <if test="menuName != null" >
45
-        menu_name,
46
-      </if>
47
-      <if test="menuUrl != null" >
48
-        menu_url,
49
-      </if>
50
-      <if test="menuIcon != null" >
51
-        menu_icon,
52
-      </if>
53
-      <if test="parentId != null" >
54
-        parent_id,
55
-      </if>
56
-      <if test="sort != null" >
57
-        sort,
58
-      </if>
59
-      <if test="permission != null" >
60
-        permission,
61
-      </if>
62
-      <if test="menuType != null" >
63
-        menu_type,
64
-      </if>
65
-      <if test="status != null" >
66
-        status,
67
-      </if>
68
-    </trim>
69
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
70
-      <if test="id != null" >
71
-        #{id,jdbcType=INTEGER},
72
-      </if>
73
-      <if test="menuName != null" >
74
-        #{menuName,jdbcType=VARCHAR},
75
-      </if>
76
-      <if test="menuUrl != null" >
77
-        #{menuUrl,jdbcType=VARCHAR},
78
-      </if>
79
-      <if test="menuIcon != null" >
80
-        #{menuIcon,jdbcType=VARCHAR},
81
-      </if>
82
-      <if test="parentId != null" >
83
-        #{parentId,jdbcType=INTEGER},
84
-      </if>
85
-      <if test="sort != null" >
86
-        #{sort,jdbcType=INTEGER},
87
-      </if>
88
-      <if test="permission != null" >
89
-        #{permission,jdbcType=VARCHAR},
90
-      </if>
91
-      <if test="menuType != null" >
92
-        #{menuType,jdbcType=CHAR},
93
-      </if>
94
-      <if test="status != null" >
95
-        #{status,jdbcType=CHAR},
96
-      </if>
97
-    </trim>
98
-  </insert>
99
-  <update id="updateByPrimaryKeySelective" parameterType="model.SysMenu" >
100
-    update sys_menu
101
-    <set >
102
-      <if test="menuName != null" >
103
-        menu_name = #{menuName,jdbcType=VARCHAR},
104
-      </if>
105
-      <if test="menuUrl != null" >
106
-        menu_url = #{menuUrl,jdbcType=VARCHAR},
107
-      </if>
108
-      <if test="menuIcon != null" >
109
-        menu_icon = #{menuIcon,jdbcType=VARCHAR},
110
-      </if>
111
-      <if test="parentId != null" >
112
-        parent_id = #{parentId,jdbcType=INTEGER},
113
-      </if>
114
-      <if test="sort != null" >
115
-        sort = #{sort,jdbcType=INTEGER},
116
-      </if>
117
-      <if test="permission != null" >
118
-        permission = #{permission,jdbcType=VARCHAR},
119
-      </if>
120
-      <if test="menuType != null" >
121
-        menu_type = #{menuType,jdbcType=CHAR},
122
-      </if>
123
-      <if test="status != null" >
124
-        status = #{status,jdbcType=CHAR},
125
-      </if>
126
-    </set>
127
-    where id = #{id,jdbcType=INTEGER}
128
-  </update>
129
-  <update id="updateByPrimaryKey" parameterType="model.SysMenu" >
130
-    update sys_menu
131
-    set menu_name = #{menuName,jdbcType=VARCHAR},
132
-      menu_url = #{menuUrl,jdbcType=VARCHAR},
133
-      menu_icon = #{menuIcon,jdbcType=VARCHAR},
134
-      parent_id = #{parentId,jdbcType=INTEGER},
135
-      sort = #{sort,jdbcType=INTEGER},
136
-      permission = #{permission,jdbcType=VARCHAR},
137
-      menu_type = #{menuType,jdbcType=CHAR},
138
-      status = #{status,jdbcType=CHAR}
139
-    where id = #{id,jdbcType=INTEGER}
140
-  </update>
141
-</mapper>

+ 0
- 153
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysMsgMapper.xml Datei anzeigen

@@ -1,153 +0,0 @@
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="dao.SysMsgMapper" >
4
-  <resultMap id="BaseResultMap" type="model.SysMsg" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="user_id" property="userId" jdbcType="INTEGER" />
7
-    <result column="target_id" property="targetId" jdbcType="INTEGER" />
8
-    <result column="msg_mode" property="msgMode" jdbcType="VARCHAR" />
9
-    <result column="msg_type" property="msgType" jdbcType="VARCHAR" />
10
-    <result column="close_type" property="closeType" jdbcType="VARCHAR" />
11
-    <result column="msg_content" property="msgContent" jdbcType="VARCHAR" />
12
-    <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
13
-    <result column="statue" property="statue" jdbcType="INTEGER" />
14
-    <result column="declaration_id_str" property="declarationIdStr" jdbcType="VARCHAR" />
15
-  </resultMap>
16
-  <sql id="Base_Column_List" >
17
-    id, user_id, target_id, msg_mode, msg_type, close_type, msg_content, create_time, 
18
-    statue, declaration_id_str
19
-  </sql>
20
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
21
-    select 
22
-    <include refid="Base_Column_List" />
23
-    from sys_msg
24
-    where id = #{id,jdbcType=INTEGER}
25
-  </select>
26
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
27
-    delete from sys_msg
28
-    where id = #{id,jdbcType=INTEGER}
29
-  </delete>
30
-  <insert id="insert" parameterType="model.SysMsg" >
31
-    insert into sys_msg (id, user_id, target_id, 
32
-      msg_mode, msg_type, close_type, 
33
-      msg_content, create_time, statue, 
34
-      declaration_id_str)
35
-    values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{targetId,jdbcType=INTEGER}, 
36
-      #{msgMode,jdbcType=VARCHAR}, #{msgType,jdbcType=VARCHAR}, #{closeType,jdbcType=VARCHAR}, 
37
-      #{msgContent,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{statue,jdbcType=INTEGER}, 
38
-      #{declarationIdStr,jdbcType=VARCHAR})
39
-  </insert>
40
-  <insert id="insertSelective" parameterType="model.SysMsg" >
41
-    insert into sys_msg
42
-    <trim prefix="(" suffix=")" suffixOverrides="," >
43
-      <if test="id != null" >
44
-        id,
45
-      </if>
46
-      <if test="userId != null" >
47
-        user_id,
48
-      </if>
49
-      <if test="targetId != null" >
50
-        target_id,
51
-      </if>
52
-      <if test="msgMode != null" >
53
-        msg_mode,
54
-      </if>
55
-      <if test="msgType != null" >
56
-        msg_type,
57
-      </if>
58
-      <if test="closeType != null" >
59
-        close_type,
60
-      </if>
61
-      <if test="msgContent != null" >
62
-        msg_content,
63
-      </if>
64
-      <if test="createTime != null" >
65
-        create_time,
66
-      </if>
67
-      <if test="statue != null" >
68
-        statue,
69
-      </if>
70
-      <if test="declarationIdStr != null" >
71
-        declaration_id_str,
72
-      </if>
73
-    </trim>
74
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
75
-      <if test="id != null" >
76
-        #{id,jdbcType=INTEGER},
77
-      </if>
78
-      <if test="userId != null" >
79
-        #{userId,jdbcType=INTEGER},
80
-      </if>
81
-      <if test="targetId != null" >
82
-        #{targetId,jdbcType=INTEGER},
83
-      </if>
84
-      <if test="msgMode != null" >
85
-        #{msgMode,jdbcType=VARCHAR},
86
-      </if>
87
-      <if test="msgType != null" >
88
-        #{msgType,jdbcType=VARCHAR},
89
-      </if>
90
-      <if test="closeType != null" >
91
-        #{closeType,jdbcType=VARCHAR},
92
-      </if>
93
-      <if test="msgContent != null" >
94
-        #{msgContent,jdbcType=VARCHAR},
95
-      </if>
96
-      <if test="createTime != null" >
97
-        #{createTime,jdbcType=TIMESTAMP},
98
-      </if>
99
-      <if test="statue != null" >
100
-        #{statue,jdbcType=INTEGER},
101
-      </if>
102
-      <if test="declarationIdStr != null" >
103
-        #{declarationIdStr,jdbcType=VARCHAR},
104
-      </if>
105
-    </trim>
106
-  </insert>
107
-  <update id="updateByPrimaryKeySelective" parameterType="model.SysMsg" >
108
-    update sys_msg
109
-    <set >
110
-      <if test="userId != null" >
111
-        user_id = #{userId,jdbcType=INTEGER},
112
-      </if>
113
-      <if test="targetId != null" >
114
-        target_id = #{targetId,jdbcType=INTEGER},
115
-      </if>
116
-      <if test="msgMode != null" >
117
-        msg_mode = #{msgMode,jdbcType=VARCHAR},
118
-      </if>
119
-      <if test="msgType != null" >
120
-        msg_type = #{msgType,jdbcType=VARCHAR},
121
-      </if>
122
-      <if test="closeType != null" >
123
-        close_type = #{closeType,jdbcType=VARCHAR},
124
-      </if>
125
-      <if test="msgContent != null" >
126
-        msg_content = #{msgContent,jdbcType=VARCHAR},
127
-      </if>
128
-      <if test="createTime != null" >
129
-        create_time = #{createTime,jdbcType=TIMESTAMP},
130
-      </if>
131
-      <if test="statue != null" >
132
-        statue = #{statue,jdbcType=INTEGER},
133
-      </if>
134
-      <if test="declarationIdStr != null" >
135
-        declaration_id_str = #{declarationIdStr,jdbcType=VARCHAR},
136
-      </if>
137
-    </set>
138
-    where id = #{id,jdbcType=INTEGER}
139
-  </update>
140
-  <update id="updateByPrimaryKey" parameterType="model.SysMsg" >
141
-    update sys_msg
142
-    set user_id = #{userId,jdbcType=INTEGER},
143
-      target_id = #{targetId,jdbcType=INTEGER},
144
-      msg_mode = #{msgMode,jdbcType=VARCHAR},
145
-      msg_type = #{msgType,jdbcType=VARCHAR},
146
-      close_type = #{closeType,jdbcType=VARCHAR},
147
-      msg_content = #{msgContent,jdbcType=VARCHAR},
148
-      create_time = #{createTime,jdbcType=TIMESTAMP},
149
-      statue = #{statue,jdbcType=INTEGER},
150
-      declaration_id_str = #{declarationIdStr,jdbcType=VARCHAR}
151
-    where id = #{id,jdbcType=INTEGER}
152
-  </update>
153
-</mapper>

+ 0
- 153
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysNationMapper.xml Datei anzeigen

@@ -1,153 +0,0 @@
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="dao.SysNationMapper" >
4
-  <resultMap id="BaseResultMap" type="model.SysNation" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="code" property="code" jdbcType="VARCHAR" />
7
-    <result column="province" property="province" jdbcType="VARCHAR" />
8
-    <result column="city" property="city" jdbcType="VARCHAR" />
9
-    <result column="parent_id" property="parentId" jdbcType="INTEGER" />
10
-    <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
11
-    <result column="district" property="district" jdbcType="VARCHAR" />
12
-    <result column="last_update_time" property="lastUpdateTime" jdbcType="TIMESTAMP" />
13
-    <result column="operator" property="operator" jdbcType="INTEGER" />
14
-    <result column="operator_ip" property="operatorIp" jdbcType="VARCHAR" />
15
-  </resultMap>
16
-  <sql id="Base_Column_List" >
17
-    id, code, province, city, parent_id, create_time, district, last_update_time, operator, 
18
-    operator_ip
19
-  </sql>
20
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
21
-    select 
22
-    <include refid="Base_Column_List" />
23
-    from sys_nation
24
-    where id = #{id,jdbcType=INTEGER}
25
-  </select>
26
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
27
-    delete from sys_nation
28
-    where id = #{id,jdbcType=INTEGER}
29
-  </delete>
30
-  <insert id="insert" parameterType="model.SysNation" >
31
-    insert into sys_nation (id, code, province, 
32
-      city, parent_id, create_time, 
33
-      district, last_update_time, operator, 
34
-      operator_ip)
35
-    values (#{id,jdbcType=INTEGER}, #{code,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, 
36
-      #{city,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, 
37
-      #{district,jdbcType=VARCHAR}, #{lastUpdateTime,jdbcType=TIMESTAMP}, #{operator,jdbcType=INTEGER}, 
38
-      #{operatorIp,jdbcType=VARCHAR})
39
-  </insert>
40
-  <insert id="insertSelective" parameterType="model.SysNation" >
41
-    insert into sys_nation
42
-    <trim prefix="(" suffix=")" suffixOverrides="," >
43
-      <if test="id != null" >
44
-        id,
45
-      </if>
46
-      <if test="code != null" >
47
-        code,
48
-      </if>
49
-      <if test="province != null" >
50
-        province,
51
-      </if>
52
-      <if test="city != null" >
53
-        city,
54
-      </if>
55
-      <if test="parentId != null" >
56
-        parent_id,
57
-      </if>
58
-      <if test="createTime != null" >
59
-        create_time,
60
-      </if>
61
-      <if test="district != null" >
62
-        district,
63
-      </if>
64
-      <if test="lastUpdateTime != null" >
65
-        last_update_time,
66
-      </if>
67
-      <if test="operator != null" >
68
-        operator,
69
-      </if>
70
-      <if test="operatorIp != null" >
71
-        operator_ip,
72
-      </if>
73
-    </trim>
74
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
75
-      <if test="id != null" >
76
-        #{id,jdbcType=INTEGER},
77
-      </if>
78
-      <if test="code != null" >
79
-        #{code,jdbcType=VARCHAR},
80
-      </if>
81
-      <if test="province != null" >
82
-        #{province,jdbcType=VARCHAR},
83
-      </if>
84
-      <if test="city != null" >
85
-        #{city,jdbcType=VARCHAR},
86
-      </if>
87
-      <if test="parentId != null" >
88
-        #{parentId,jdbcType=INTEGER},
89
-      </if>
90
-      <if test="createTime != null" >
91
-        #{createTime,jdbcType=TIMESTAMP},
92
-      </if>
93
-      <if test="district != null" >
94
-        #{district,jdbcType=VARCHAR},
95
-      </if>
96
-      <if test="lastUpdateTime != null" >
97
-        #{lastUpdateTime,jdbcType=TIMESTAMP},
98
-      </if>
99
-      <if test="operator != null" >
100
-        #{operator,jdbcType=INTEGER},
101
-      </if>
102
-      <if test="operatorIp != null" >
103
-        #{operatorIp,jdbcType=VARCHAR},
104
-      </if>
105
-    </trim>
106
-  </insert>
107
-  <update id="updateByPrimaryKeySelective" parameterType="model.SysNation" >
108
-    update sys_nation
109
-    <set >
110
-      <if test="code != null" >
111
-        code = #{code,jdbcType=VARCHAR},
112
-      </if>
113
-      <if test="province != null" >
114
-        province = #{province,jdbcType=VARCHAR},
115
-      </if>
116
-      <if test="city != null" >
117
-        city = #{city,jdbcType=VARCHAR},
118
-      </if>
119
-      <if test="parentId != null" >
120
-        parent_id = #{parentId,jdbcType=INTEGER},
121
-      </if>
122
-      <if test="createTime != null" >
123
-        create_time = #{createTime,jdbcType=TIMESTAMP},
124
-      </if>
125
-      <if test="district != null" >
126
-        district = #{district,jdbcType=VARCHAR},
127
-      </if>
128
-      <if test="lastUpdateTime != null" >
129
-        last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
130
-      </if>
131
-      <if test="operator != null" >
132
-        operator = #{operator,jdbcType=INTEGER},
133
-      </if>
134
-      <if test="operatorIp != null" >
135
-        operator_ip = #{operatorIp,jdbcType=VARCHAR},
136
-      </if>
137
-    </set>
138
-    where id = #{id,jdbcType=INTEGER}
139
-  </update>
140
-  <update id="updateByPrimaryKey" parameterType="model.SysNation" >
141
-    update sys_nation
142
-    set code = #{code,jdbcType=VARCHAR},
143
-      province = #{province,jdbcType=VARCHAR},
144
-      city = #{city,jdbcType=VARCHAR},
145
-      parent_id = #{parentId,jdbcType=INTEGER},
146
-      create_time = #{createTime,jdbcType=TIMESTAMP},
147
-      district = #{district,jdbcType=VARCHAR},
148
-      last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP},
149
-      operator = #{operator,jdbcType=INTEGER},
150
-      operator_ip = #{operatorIp,jdbcType=VARCHAR}
151
-    where id = #{id,jdbcType=INTEGER}
152
-  </update>
153
-</mapper>

+ 0
- 142
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/SysOrgMapper.xml Datei anzeigen

@@ -1,142 +0,0 @@
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="dao.SysOrgMapper" >
4
-  <resultMap id="BaseResultMap" type="model.SysOrg" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="org_code" property="orgCode" jdbcType="VARCHAR" />
7
-    <result column="org_name" property="orgName" jdbcType="VARCHAR" />
8
-    <result column="description" property="description" jdbcType="VARCHAR" />
9
-    <result column="parent_id" property="parentId" jdbcType="INTEGER" />
10
-    <result column="create_user" property="createUser" jdbcType="VARCHAR" />
11
-    <result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
12
-    <result column="update_user" property="updateUser" jdbcType="VARCHAR" />
13
-    <result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
14
-  </resultMap>
15
-  <sql id="Base_Column_List" >
16
-    id, org_code, org_name, description, parent_id, create_user, create_date, update_user, 
17
-    update_date
18
-  </sql>
19
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
20
-    select 
21
-    <include refid="Base_Column_List" />
22
-    from sys_org
23
-    where id = #{id,jdbcType=INTEGER}
24
-  </select>
25
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
26
-    delete from sys_org
27
-    where id = #{id,jdbcType=INTEGER}
28
-  </delete>
29
-  <insert id="insert" parameterType="model.SysOrg" >
30
-    insert into sys_org (id, org_code, org_name, 
31
-      description, parent_id, create_user, 
32
-      create_date, update_user, update_date
33
-      )
34
-    values (#{id,jdbcType=INTEGER}, #{orgCode,jdbcType=VARCHAR}, #{orgName,jdbcType=VARCHAR}, 
35
-      #{description,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER}, #{createUser,jdbcType=VARCHAR}, 
36
-      #{createDate,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP}
37
-      )
38
-  </insert>
39
-  <insert id="insertSelective" parameterType="model.SysOrg" >
40
-    insert into sys_org
41
-    <trim prefix="(" suffix=")" suffixOverrides="," >
42
-      <if test="id != null" >
43
-        id,
44
-      </if>
45
-      <if test="orgCode != null" >
46
-        org_code,
47
-      </if>
48
-      <if test="orgName != null" >
49
-        org_name,
50
-      </if>
51
-      <if test="description != null" >
52
-        description,
53
-      </if>
54
-      <if test="parentId != null" >
55
-        parent_id,
56
-      </if>
57
-      <if test="createUser != null" >
58
-        create_user,
59
-      </if>
60
-      <if test="createDate != null" >
61
-        create_date,
62
-      </if>
63
-      <if test="updateUser != null" >
64
-        update_user,
65
-      </if>
66
-      <if test="updateDate != null" >
67
-        update_date,
68
-      </if>
69
-    </trim>
70
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
71
-      <if test="id != null" >
72
-        #{id,jdbcType=INTEGER},
73
-      </if>
74
-      <if test="orgCode != null" >
75
-        #{orgCode,jdbcType=VARCHAR},
76
-      </if>
77
-      <if test="orgName != null" >
78
-        #{orgName,jdbcType=VARCHAR},
79
-      </if>
80
-      <if test="description != null" >
81
-        #{description,jdbcType=VARCHAR},
82
-      </if>
83
-      <if test="parentId != null" >
84
-        #{parentId,jdbcType=INTEGER},
85
-      </if>
86
-      <if test="createUser != null" >
87
-        #{createUser,jdbcType=VARCHAR},
88
-      </if>
89
-      <if test="createDate != null" >
90
-        #{createDate,jdbcType=TIMESTAMP},
91
-      </if>
92
-      <if test="updateUser != null" >
93
-        #{updateUser,jdbcType=VARCHAR},
94
-      </if>
95
-      <if test="updateDate != null" >
96
-        #{updateDate,jdbcType=TIMESTAMP},
97
-      </if>
98
-    </trim>
99
-  </insert>
100
-  <update id="updateByPrimaryKeySelective" parameterType="model.SysOrg" >
101
-    update sys_org
102
-    <set >
103
-      <if test="orgCode != null" >
104
-        org_code = #{orgCode,jdbcType=VARCHAR},
105
-      </if>
106
-      <if test="orgName != null" >
107
-        org_name = #{orgName,jdbcType=VARCHAR},
108
-      </if>
109
-      <if test="description != null" >
110
-        description = #{description,jdbcType=VARCHAR},
111
-      </if>
112
-      <if test="parentId != null" >
113
-        parent_id = #{parentId,jdbcType=INTEGER},
114
-      </if>
115
-      <if test="createUser != null" >
116
-        create_user = #{createUser,jdbcType=VARCHAR},
117
-      </if>
118
-      <if test="createDate != null" >
119
-        create_date = #{createDate,jdbcType=TIMESTAMP},
120
-      </if>
121
-      <if test="updateUser != null" >
122
-        update_user = #{updateUser,jdbcType=VARCHAR},
123
-      </if>
124
-      <if test="updateDate != null" >
125
-        update_date = #{updateDate,jdbcType=TIMESTAMP},
126
-      </if>
127
-    </set>
128
-    where id = #{id,jdbcType=INTEGER}
129
-  </update>
130
-  <update id="updateByPrimaryKey" parameterType="model.SysOrg" >
131
-    update sys_org
132
-    set org_code = #{orgCode,jdbcType=VARCHAR},
133
-      org_name = #{orgName,jdbcType=VARCHAR},
134
-      description = #{description,jdbcType=VARCHAR},
135
-      parent_id = #{parentId,jdbcType=INTEGER},
136
-      create_user = #{createUser,jdbcType=VARCHAR},
137
-      create_date = #{createDate,jdbcType=TIMESTAMP},
138
-      update_user = #{updateUser,jdbcType=VARCHAR},
139
-      update_date = #{updateDate,jdbcType=TIMESTAMP}
140
-    where id = #{id,jdbcType=INTEGER}
141
-  </update>
142
-</mapper>

+ 0
- 71
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TaSysMenuImgMapper.xml Datei anzeigen

@@ -1,71 +0,0 @@
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="dao.TaSysMenuImgMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TaSysMenuImg" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="ta_menu_id" property="taMenuId" jdbcType="INTEGER" />
7
-    <result column="menu_icon_img" property="menuIconImg" jdbcType="VARCHAR" />
8
-  </resultMap>
9
-  <sql id="Base_Column_List" >
10
-    id, ta_menu_id, menu_icon_img
11
-  </sql>
12
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
13
-    select 
14
-    <include refid="Base_Column_List" />
15
-    from ta_sys_menu_img
16
-    where id = #{id,jdbcType=INTEGER}
17
-  </select>
18
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
19
-    delete from ta_sys_menu_img
20
-    where id = #{id,jdbcType=INTEGER}
21
-  </delete>
22
-  <insert id="insert" parameterType="model.TaSysMenuImg" >
23
-    insert into ta_sys_menu_img (id, ta_menu_id, menu_icon_img
24
-      )
25
-    values (#{id,jdbcType=INTEGER}, #{taMenuId,jdbcType=INTEGER}, #{menuIconImg,jdbcType=VARCHAR}
26
-      )
27
-  </insert>
28
-  <insert id="insertSelective" parameterType="model.TaSysMenuImg" >
29
-    insert into ta_sys_menu_img
30
-    <trim prefix="(" suffix=")" suffixOverrides="," >
31
-      <if test="id != null" >
32
-        id,
33
-      </if>
34
-      <if test="taMenuId != null" >
35
-        ta_menu_id,
36
-      </if>
37
-      <if test="menuIconImg != null" >
38
-        menu_icon_img,
39
-      </if>
40
-    </trim>
41
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
42
-      <if test="id != null" >
43
-        #{id,jdbcType=INTEGER},
44
-      </if>
45
-      <if test="taMenuId != null" >
46
-        #{taMenuId,jdbcType=INTEGER},
47
-      </if>
48
-      <if test="menuIconImg != null" >
49
-        #{menuIconImg,jdbcType=VARCHAR},
50
-      </if>
51
-    </trim>
52
-  </insert>
53
-  <update id="updateByPrimaryKeySelective" parameterType="model.TaSysMenuImg" >
54
-    update ta_sys_menu_img
55
-    <set >
56
-      <if test="taMenuId != null" >
57
-        ta_menu_id = #{taMenuId,jdbcType=INTEGER},
58
-      </if>
59
-      <if test="menuIconImg != null" >
60
-        menu_icon_img = #{menuIconImg,jdbcType=VARCHAR},
61
-      </if>
62
-    </set>
63
-    where id = #{id,jdbcType=INTEGER}
64
-  </update>
65
-  <update id="updateByPrimaryKey" parameterType="model.TaSysMenuImg" >
66
-    update ta_sys_menu_img
67
-    set ta_menu_id = #{taMenuId,jdbcType=INTEGER},
68
-      menu_icon_img = #{menuIconImg,jdbcType=VARCHAR}
69
-    where id = #{id,jdbcType=INTEGER}
70
-  </update>
71
-</mapper>

+ 0
- 128
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TaSysMenuMapper.xml Datei anzeigen

@@ -1,128 +0,0 @@
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="dao.TaSysMenuMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TaSysMenu" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="menu_name" property="menuName" jdbcType="VARCHAR" />
8
-    <result column="menu_url" property="menuUrl" jdbcType="VARCHAR" />
9
-    <result column="parent_id" property="parentId" jdbcType="INTEGER" />
10
-    <result column="sort" property="sort" jdbcType="INTEGER" />
11
-    <result column="menu_type" property="menuType" jdbcType="CHAR" />
12
-    <result column="status" property="status" jdbcType="CHAR" />
13
-  </resultMap>
14
-  <sql id="Base_Column_List" >
15
-    id, community_id, menu_name, menu_url, parent_id, sort, menu_type, status
16
-  </sql>
17
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
18
-    select 
19
-    <include refid="Base_Column_List" />
20
-    from ta_sys_menu
21
-    where id = #{id,jdbcType=INTEGER}
22
-  </select>
23
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
24
-    delete from ta_sys_menu
25
-    where id = #{id,jdbcType=INTEGER}
26
-  </delete>
27
-  <insert id="insert" parameterType="model.TaSysMenu" >
28
-    insert into ta_sys_menu (id, community_id, menu_name, 
29
-      menu_url, parent_id, sort, 
30
-      menu_type, status)
31
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{menuName,jdbcType=VARCHAR}, 
32
-      #{menuUrl,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, 
33
-      #{menuType,jdbcType=CHAR}, #{status,jdbcType=CHAR})
34
-  </insert>
35
-  <insert id="insertSelective" parameterType="model.TaSysMenu" >
36
-    insert into ta_sys_menu
37
-    <trim prefix="(" suffix=")" suffixOverrides="," >
38
-      <if test="id != null" >
39
-        id,
40
-      </if>
41
-      <if test="communityId != null" >
42
-        community_id,
43
-      </if>
44
-      <if test="menuName != null" >
45
-        menu_name,
46
-      </if>
47
-      <if test="menuUrl != null" >
48
-        menu_url,
49
-      </if>
50
-      <if test="parentId != null" >
51
-        parent_id,
52
-      </if>
53
-      <if test="sort != null" >
54
-        sort,
55
-      </if>
56
-      <if test="menuType != null" >
57
-        menu_type,
58
-      </if>
59
-      <if test="status != null" >
60
-        status,
61
-      </if>
62
-    </trim>
63
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
64
-      <if test="id != null" >
65
-        #{id,jdbcType=INTEGER},
66
-      </if>
67
-      <if test="communityId != null" >
68
-        #{communityId,jdbcType=INTEGER},
69
-      </if>
70
-      <if test="menuName != null" >
71
-        #{menuName,jdbcType=VARCHAR},
72
-      </if>
73
-      <if test="menuUrl != null" >
74
-        #{menuUrl,jdbcType=VARCHAR},
75
-      </if>
76
-      <if test="parentId != null" >
77
-        #{parentId,jdbcType=INTEGER},
78
-      </if>
79
-      <if test="sort != null" >
80
-        #{sort,jdbcType=INTEGER},
81
-      </if>
82
-      <if test="menuType != null" >
83
-        #{menuType,jdbcType=CHAR},
84
-      </if>
85
-      <if test="status != null" >
86
-        #{status,jdbcType=CHAR},
87
-      </if>
88
-    </trim>
89
-  </insert>
90
-  <update id="updateByPrimaryKeySelective" parameterType="model.TaSysMenu" >
91
-    update ta_sys_menu
92
-    <set >
93
-      <if test="communityId != null" >
94
-        community_id = #{communityId,jdbcType=INTEGER},
95
-      </if>
96
-      <if test="menuName != null" >
97
-        menu_name = #{menuName,jdbcType=VARCHAR},
98
-      </if>
99
-      <if test="menuUrl != null" >
100
-        menu_url = #{menuUrl,jdbcType=VARCHAR},
101
-      </if>
102
-      <if test="parentId != null" >
103
-        parent_id = #{parentId,jdbcType=INTEGER},
104
-      </if>
105
-      <if test="sort != null" >
106
-        sort = #{sort,jdbcType=INTEGER},
107
-      </if>
108
-      <if test="menuType != null" >
109
-        menu_type = #{menuType,jdbcType=CHAR},
110
-      </if>
111
-      <if test="status != null" >
112
-        status = #{status,jdbcType=CHAR},
113
-      </if>
114
-    </set>
115
-    where id = #{id,jdbcType=INTEGER}
116
-  </update>
117
-  <update id="updateByPrimaryKey" parameterType="model.TaSysMenu" >
118
-    update ta_sys_menu
119
-    set community_id = #{communityId,jdbcType=INTEGER},
120
-      menu_name = #{menuName,jdbcType=VARCHAR},
121
-      menu_url = #{menuUrl,jdbcType=VARCHAR},
122
-      parent_id = #{parentId,jdbcType=INTEGER},
123
-      sort = #{sort,jdbcType=INTEGER},
124
-      menu_type = #{menuType,jdbcType=CHAR},
125
-      status = #{status,jdbcType=CHAR}
126
-    where id = #{id,jdbcType=INTEGER}
127
-  </update>
128
-</mapper>

+ 0
- 213
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillInvoiceMapper.xml Datei anzeigen

@@ -1,213 +0,0 @@
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="dao.TpBillInvoiceMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpBillInvoice" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="bill_id" property="billId" jdbcType="INTEGER" />
8
-    <result column="building_owner_info_id" property="buildingOwnerInfoId" jdbcType="INTEGER" />
9
-    <result column="ta_user_id" property="taUserId" jdbcType="INTEGER" />
10
-    <result column="bill_invoice_explain" property="billInvoiceExplain" jdbcType="VARCHAR" />
11
-    <result column="pay_price" property="payPrice" jdbcType="INTEGER" />
12
-    <result column="bill_statement_id" property="billStatementId" jdbcType="INTEGER" />
13
-    <result column="bill_status" property="billStatus" jdbcType="CHAR" />
14
-    <result column="pay_name" property="payName" jdbcType="VARCHAR" />
15
-    <result column="pay_date" property="payDate" jdbcType="TIMESTAMP" />
16
-    <result column="create_user" property="createUser" jdbcType="INTEGER" />
17
-    <result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
18
-    <result column="update_user" property="updateUser" jdbcType="INTEGER" />
19
-    <result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
20
-  </resultMap>
21
-  <sql id="Base_Column_List" >
22
-    id, community_id, bill_id, building_owner_info_id, ta_user_id, bill_invoice_explain, 
23
-    pay_price, bill_statement_id, bill_status, pay_name, pay_date, create_user, create_date, 
24
-    update_user, update_date
25
-  </sql>
26
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
27
-    select 
28
-    <include refid="Base_Column_List" />
29
-    from tp_bill_invoice
30
-    where id = #{id,jdbcType=INTEGER}
31
-  </select>
32
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
33
-    delete from tp_bill_invoice
34
-    where id = #{id,jdbcType=INTEGER}
35
-  </delete>
36
-  <insert id="insert" parameterType="model.TpBillInvoice" >
37
-    insert into tp_bill_invoice (id, community_id, bill_id, 
38
-      building_owner_info_id, ta_user_id, bill_invoice_explain, 
39
-      pay_price, bill_statement_id, bill_status, 
40
-      pay_name, pay_date, create_user, 
41
-      create_date, update_user, update_date
42
-      )
43
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{billId,jdbcType=INTEGER}, 
44
-      #{buildingOwnerInfoId,jdbcType=INTEGER}, #{taUserId,jdbcType=INTEGER}, #{billInvoiceExplain,jdbcType=VARCHAR}, 
45
-      #{payPrice,jdbcType=INTEGER}, #{billStatementId,jdbcType=INTEGER}, #{billStatus,jdbcType=CHAR}, 
46
-      #{payName,jdbcType=VARCHAR}, #{payDate,jdbcType=TIMESTAMP}, #{createUser,jdbcType=INTEGER}, 
47
-      #{createDate,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP}
48
-      )
49
-  </insert>
50
-  <insert id="insertSelective" parameterType="model.TpBillInvoice" >
51
-    insert into tp_bill_invoice
52
-    <trim prefix="(" suffix=")" suffixOverrides="," >
53
-      <if test="id != null" >
54
-        id,
55
-      </if>
56
-      <if test="communityId != null" >
57
-        community_id,
58
-      </if>
59
-      <if test="billId != null" >
60
-        bill_id,
61
-      </if>
62
-      <if test="buildingOwnerInfoId != null" >
63
-        building_owner_info_id,
64
-      </if>
65
-      <if test="taUserId != null" >
66
-        ta_user_id,
67
-      </if>
68
-      <if test="billInvoiceExplain != null" >
69
-        bill_invoice_explain,
70
-      </if>
71
-      <if test="payPrice != null" >
72
-        pay_price,
73
-      </if>
74
-      <if test="billStatementId != null" >
75
-        bill_statement_id,
76
-      </if>
77
-      <if test="billStatus != null" >
78
-        bill_status,
79
-      </if>
80
-      <if test="payName != null" >
81
-        pay_name,
82
-      </if>
83
-      <if test="payDate != null" >
84
-        pay_date,
85
-      </if>
86
-      <if test="createUser != null" >
87
-        create_user,
88
-      </if>
89
-      <if test="createDate != null" >
90
-        create_date,
91
-      </if>
92
-      <if test="updateUser != null" >
93
-        update_user,
94
-      </if>
95
-      <if test="updateDate != null" >
96
-        update_date,
97
-      </if>
98
-    </trim>
99
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
100
-      <if test="id != null" >
101
-        #{id,jdbcType=INTEGER},
102
-      </if>
103
-      <if test="communityId != null" >
104
-        #{communityId,jdbcType=INTEGER},
105
-      </if>
106
-      <if test="billId != null" >
107
-        #{billId,jdbcType=INTEGER},
108
-      </if>
109
-      <if test="buildingOwnerInfoId != null" >
110
-        #{buildingOwnerInfoId,jdbcType=INTEGER},
111
-      </if>
112
-      <if test="taUserId != null" >
113
-        #{taUserId,jdbcType=INTEGER},
114
-      </if>
115
-      <if test="billInvoiceExplain != null" >
116
-        #{billInvoiceExplain,jdbcType=VARCHAR},
117
-      </if>
118
-      <if test="payPrice != null" >
119
-        #{payPrice,jdbcType=INTEGER},
120
-      </if>
121
-      <if test="billStatementId != null" >
122
-        #{billStatementId,jdbcType=INTEGER},
123
-      </if>
124
-      <if test="billStatus != null" >
125
-        #{billStatus,jdbcType=CHAR},
126
-      </if>
127
-      <if test="payName != null" >
128
-        #{payName,jdbcType=VARCHAR},
129
-      </if>
130
-      <if test="payDate != null" >
131
-        #{payDate,jdbcType=TIMESTAMP},
132
-      </if>
133
-      <if test="createUser != null" >
134
-        #{createUser,jdbcType=INTEGER},
135
-      </if>
136
-      <if test="createDate != null" >
137
-        #{createDate,jdbcType=TIMESTAMP},
138
-      </if>
139
-      <if test="updateUser != null" >
140
-        #{updateUser,jdbcType=INTEGER},
141
-      </if>
142
-      <if test="updateDate != null" >
143
-        #{updateDate,jdbcType=TIMESTAMP},
144
-      </if>
145
-    </trim>
146
-  </insert>
147
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpBillInvoice" >
148
-    update tp_bill_invoice
149
-    <set >
150
-      <if test="communityId != null" >
151
-        community_id = #{communityId,jdbcType=INTEGER},
152
-      </if>
153
-      <if test="billId != null" >
154
-        bill_id = #{billId,jdbcType=INTEGER},
155
-      </if>
156
-      <if test="buildingOwnerInfoId != null" >
157
-        building_owner_info_id = #{buildingOwnerInfoId,jdbcType=INTEGER},
158
-      </if>
159
-      <if test="taUserId != null" >
160
-        ta_user_id = #{taUserId,jdbcType=INTEGER},
161
-      </if>
162
-      <if test="billInvoiceExplain != null" >
163
-        bill_invoice_explain = #{billInvoiceExplain,jdbcType=VARCHAR},
164
-      </if>
165
-      <if test="payPrice != null" >
166
-        pay_price = #{payPrice,jdbcType=INTEGER},
167
-      </if>
168
-      <if test="billStatementId != null" >
169
-        bill_statement_id = #{billStatementId,jdbcType=INTEGER},
170
-      </if>
171
-      <if test="billStatus != null" >
172
-        bill_status = #{billStatus,jdbcType=CHAR},
173
-      </if>
174
-      <if test="payName != null" >
175
-        pay_name = #{payName,jdbcType=VARCHAR},
176
-      </if>
177
-      <if test="payDate != null" >
178
-        pay_date = #{payDate,jdbcType=TIMESTAMP},
179
-      </if>
180
-      <if test="createUser != null" >
181
-        create_user = #{createUser,jdbcType=INTEGER},
182
-      </if>
183
-      <if test="createDate != null" >
184
-        create_date = #{createDate,jdbcType=TIMESTAMP},
185
-      </if>
186
-      <if test="updateUser != null" >
187
-        update_user = #{updateUser,jdbcType=INTEGER},
188
-      </if>
189
-      <if test="updateDate != null" >
190
-        update_date = #{updateDate,jdbcType=TIMESTAMP},
191
-      </if>
192
-    </set>
193
-    where id = #{id,jdbcType=INTEGER}
194
-  </update>
195
-  <update id="updateByPrimaryKey" parameterType="model.TpBillInvoice" >
196
-    update tp_bill_invoice
197
-    set community_id = #{communityId,jdbcType=INTEGER},
198
-      bill_id = #{billId,jdbcType=INTEGER},
199
-      building_owner_info_id = #{buildingOwnerInfoId,jdbcType=INTEGER},
200
-      ta_user_id = #{taUserId,jdbcType=INTEGER},
201
-      bill_invoice_explain = #{billInvoiceExplain,jdbcType=VARCHAR},
202
-      pay_price = #{payPrice,jdbcType=INTEGER},
203
-      bill_statement_id = #{billStatementId,jdbcType=INTEGER},
204
-      bill_status = #{billStatus,jdbcType=CHAR},
205
-      pay_name = #{payName,jdbcType=VARCHAR},
206
-      pay_date = #{payDate,jdbcType=TIMESTAMP},
207
-      create_user = #{createUser,jdbcType=INTEGER},
208
-      create_date = #{createDate,jdbcType=TIMESTAMP},
209
-      update_user = #{updateUser,jdbcType=INTEGER},
210
-      update_date = #{updateDate,jdbcType=TIMESTAMP}
211
-    where id = #{id,jdbcType=INTEGER}
212
-  </update>
213
-</mapper>

+ 0
- 199
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillMapper.xml Datei anzeigen

@@ -1,199 +0,0 @@
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="dao.TpBillMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpBill" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="bill_name" property="billName" jdbcType="VARCHAR" />
8
-    <result column="bill_explain" property="billExplain" jdbcType="VARCHAR" />
9
-    <result column="pay_price" property="payPrice" jdbcType="CHAR" />
10
-    <result column="pay_total_num" property="payTotalNum" jdbcType="INTEGER" />
11
-    <result column="payed_num" property="payedNum" jdbcType="INTEGER" />
12
-    <result column="unpayed_num" property="unpayedNum" jdbcType="INTEGER" />
13
-    <result column="bill_status" property="billStatus" jdbcType="CHAR" />
14
-    <result column="end_date" property="endDate" jdbcType="TIMESTAMP" />
15
-    <result column="create_user" property="createUser" jdbcType="INTEGER" />
16
-    <result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
17
-    <result column="update_user" property="updateUser" jdbcType="INTEGER" />
18
-    <result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
19
-  </resultMap>
20
-  <sql id="Base_Column_List" >
21
-    id, community_id, bill_name, bill_explain, pay_price, pay_total_num, payed_num, unpayed_num, 
22
-    bill_status, end_date, create_user, create_date, update_user, update_date
23
-  </sql>
24
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
25
-    select 
26
-    <include refid="Base_Column_List" />
27
-    from tp_bill
28
-    where id = #{id,jdbcType=INTEGER}
29
-  </select>
30
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
31
-    delete from tp_bill
32
-    where id = #{id,jdbcType=INTEGER}
33
-  </delete>
34
-  <insert id="insert" parameterType="model.TpBill" >
35
-    insert into tp_bill (id, community_id, bill_name, 
36
-      bill_explain, pay_price, pay_total_num, 
37
-      payed_num, unpayed_num, bill_status, 
38
-      end_date, create_user, create_date, 
39
-      update_user, update_date)
40
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{billName,jdbcType=VARCHAR}, 
41
-      #{billExplain,jdbcType=VARCHAR}, #{payPrice,jdbcType=CHAR}, #{payTotalNum,jdbcType=INTEGER}, 
42
-      #{payedNum,jdbcType=INTEGER}, #{unpayedNum,jdbcType=INTEGER}, #{billStatus,jdbcType=CHAR}, 
43
-      #{endDate,jdbcType=TIMESTAMP}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, 
44
-      #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP})
45
-  </insert>
46
-  <insert id="insertSelective" parameterType="model.TpBill" >
47
-    insert into tp_bill
48
-    <trim prefix="(" suffix=")" suffixOverrides="," >
49
-      <if test="id != null" >
50
-        id,
51
-      </if>
52
-      <if test="communityId != null" >
53
-        community_id,
54
-      </if>
55
-      <if test="billName != null" >
56
-        bill_name,
57
-      </if>
58
-      <if test="billExplain != null" >
59
-        bill_explain,
60
-      </if>
61
-      <if test="payPrice != null" >
62
-        pay_price,
63
-      </if>
64
-      <if test="payTotalNum != null" >
65
-        pay_total_num,
66
-      </if>
67
-      <if test="payedNum != null" >
68
-        payed_num,
69
-      </if>
70
-      <if test="unpayedNum != null" >
71
-        unpayed_num,
72
-      </if>
73
-      <if test="billStatus != null" >
74
-        bill_status,
75
-      </if>
76
-      <if test="endDate != null" >
77
-        end_date,
78
-      </if>
79
-      <if test="createUser != null" >
80
-        create_user,
81
-      </if>
82
-      <if test="createDate != null" >
83
-        create_date,
84
-      </if>
85
-      <if test="updateUser != null" >
86
-        update_user,
87
-      </if>
88
-      <if test="updateDate != null" >
89
-        update_date,
90
-      </if>
91
-    </trim>
92
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
93
-      <if test="id != null" >
94
-        #{id,jdbcType=INTEGER},
95
-      </if>
96
-      <if test="communityId != null" >
97
-        #{communityId,jdbcType=INTEGER},
98
-      </if>
99
-      <if test="billName != null" >
100
-        #{billName,jdbcType=VARCHAR},
101
-      </if>
102
-      <if test="billExplain != null" >
103
-        #{billExplain,jdbcType=VARCHAR},
104
-      </if>
105
-      <if test="payPrice != null" >
106
-        #{payPrice,jdbcType=CHAR},
107
-      </if>
108
-      <if test="payTotalNum != null" >
109
-        #{payTotalNum,jdbcType=INTEGER},
110
-      </if>
111
-      <if test="payedNum != null" >
112
-        #{payedNum,jdbcType=INTEGER},
113
-      </if>
114
-      <if test="unpayedNum != null" >
115
-        #{unpayedNum,jdbcType=INTEGER},
116
-      </if>
117
-      <if test="billStatus != null" >
118
-        #{billStatus,jdbcType=CHAR},
119
-      </if>
120
-      <if test="endDate != null" >
121
-        #{endDate,jdbcType=TIMESTAMP},
122
-      </if>
123
-      <if test="createUser != null" >
124
-        #{createUser,jdbcType=INTEGER},
125
-      </if>
126
-      <if test="createDate != null" >
127
-        #{createDate,jdbcType=TIMESTAMP},
128
-      </if>
129
-      <if test="updateUser != null" >
130
-        #{updateUser,jdbcType=INTEGER},
131
-      </if>
132
-      <if test="updateDate != null" >
133
-        #{updateDate,jdbcType=TIMESTAMP},
134
-      </if>
135
-    </trim>
136
-  </insert>
137
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpBill" >
138
-    update tp_bill
139
-    <set >
140
-      <if test="communityId != null" >
141
-        community_id = #{communityId,jdbcType=INTEGER},
142
-      </if>
143
-      <if test="billName != null" >
144
-        bill_name = #{billName,jdbcType=VARCHAR},
145
-      </if>
146
-      <if test="billExplain != null" >
147
-        bill_explain = #{billExplain,jdbcType=VARCHAR},
148
-      </if>
149
-      <if test="payPrice != null" >
150
-        pay_price = #{payPrice,jdbcType=CHAR},
151
-      </if>
152
-      <if test="payTotalNum != null" >
153
-        pay_total_num = #{payTotalNum,jdbcType=INTEGER},
154
-      </if>
155
-      <if test="payedNum != null" >
156
-        payed_num = #{payedNum,jdbcType=INTEGER},
157
-      </if>
158
-      <if test="unpayedNum != null" >
159
-        unpayed_num = #{unpayedNum,jdbcType=INTEGER},
160
-      </if>
161
-      <if test="billStatus != null" >
162
-        bill_status = #{billStatus,jdbcType=CHAR},
163
-      </if>
164
-      <if test="endDate != null" >
165
-        end_date = #{endDate,jdbcType=TIMESTAMP},
166
-      </if>
167
-      <if test="createUser != null" >
168
-        create_user = #{createUser,jdbcType=INTEGER},
169
-      </if>
170
-      <if test="createDate != null" >
171
-        create_date = #{createDate,jdbcType=TIMESTAMP},
172
-      </if>
173
-      <if test="updateUser != null" >
174
-        update_user = #{updateUser,jdbcType=INTEGER},
175
-      </if>
176
-      <if test="updateDate != null" >
177
-        update_date = #{updateDate,jdbcType=TIMESTAMP},
178
-      </if>
179
-    </set>
180
-    where id = #{id,jdbcType=INTEGER}
181
-  </update>
182
-  <update id="updateByPrimaryKey" parameterType="model.TpBill" >
183
-    update tp_bill
184
-    set community_id = #{communityId,jdbcType=INTEGER},
185
-      bill_name = #{billName,jdbcType=VARCHAR},
186
-      bill_explain = #{billExplain,jdbcType=VARCHAR},
187
-      pay_price = #{payPrice,jdbcType=CHAR},
188
-      pay_total_num = #{payTotalNum,jdbcType=INTEGER},
189
-      payed_num = #{payedNum,jdbcType=INTEGER},
190
-      unpayed_num = #{unpayedNum,jdbcType=INTEGER},
191
-      bill_status = #{billStatus,jdbcType=CHAR},
192
-      end_date = #{endDate,jdbcType=TIMESTAMP},
193
-      create_user = #{createUser,jdbcType=INTEGER},
194
-      create_date = #{createDate,jdbcType=TIMESTAMP},
195
-      update_user = #{updateUser,jdbcType=INTEGER},
196
-      update_date = #{updateDate,jdbcType=TIMESTAMP}
197
-    where id = #{id,jdbcType=INTEGER}
198
-  </update>
199
-</mapper>

+ 0
- 142
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpBillStatementMapper.xml Datei anzeigen

@@ -1,142 +0,0 @@
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="dao.TpBillStatementMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpBillStatement" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="bill_invoice_id" property="billInvoiceId" jdbcType="INTEGER" />
8
-    <result column="ta_user_id" property="taUserId" jdbcType="INTEGER" />
9
-    <result column="pay_price" property="payPrice" jdbcType="INTEGER" />
10
-    <result column="pay_name" property="payName" jdbcType="VARCHAR" />
11
-    <result column="pay_remark" property="payRemark" jdbcType="VARCHAR" />
12
-    <result column="pay_type" property="payType" jdbcType="CHAR" />
13
-    <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
14
-  </resultMap>
15
-  <sql id="Base_Column_List" >
16
-    id, community_id, bill_invoice_id, ta_user_id, pay_price, pay_name, pay_remark, pay_type, 
17
-    create_time
18
-  </sql>
19
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
20
-    select 
21
-    <include refid="Base_Column_List" />
22
-    from tp_bill_statement
23
-    where id = #{id,jdbcType=INTEGER}
24
-  </select>
25
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
26
-    delete from tp_bill_statement
27
-    where id = #{id,jdbcType=INTEGER}
28
-  </delete>
29
-  <insert id="insert" parameterType="model.TpBillStatement" >
30
-    insert into tp_bill_statement (id, community_id, bill_invoice_id, 
31
-      ta_user_id, pay_price, pay_name, 
32
-      pay_remark, pay_type, create_time
33
-      )
34
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{billInvoiceId,jdbcType=INTEGER}, 
35
-      #{taUserId,jdbcType=INTEGER}, #{payPrice,jdbcType=INTEGER}, #{payName,jdbcType=VARCHAR}, 
36
-      #{payRemark,jdbcType=VARCHAR}, #{payType,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}
37
-      )
38
-  </insert>
39
-  <insert id="insertSelective" parameterType="model.TpBillStatement" >
40
-    insert into tp_bill_statement
41
-    <trim prefix="(" suffix=")" suffixOverrides="," >
42
-      <if test="id != null" >
43
-        id,
44
-      </if>
45
-      <if test="communityId != null" >
46
-        community_id,
47
-      </if>
48
-      <if test="billInvoiceId != null" >
49
-        bill_invoice_id,
50
-      </if>
51
-      <if test="taUserId != null" >
52
-        ta_user_id,
53
-      </if>
54
-      <if test="payPrice != null" >
55
-        pay_price,
56
-      </if>
57
-      <if test="payName != null" >
58
-        pay_name,
59
-      </if>
60
-      <if test="payRemark != null" >
61
-        pay_remark,
62
-      </if>
63
-      <if test="payType != null" >
64
-        pay_type,
65
-      </if>
66
-      <if test="createTime != null" >
67
-        create_time,
68
-      </if>
69
-    </trim>
70
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
71
-      <if test="id != null" >
72
-        #{id,jdbcType=INTEGER},
73
-      </if>
74
-      <if test="communityId != null" >
75
-        #{communityId,jdbcType=INTEGER},
76
-      </if>
77
-      <if test="billInvoiceId != null" >
78
-        #{billInvoiceId,jdbcType=INTEGER},
79
-      </if>
80
-      <if test="taUserId != null" >
81
-        #{taUserId,jdbcType=INTEGER},
82
-      </if>
83
-      <if test="payPrice != null" >
84
-        #{payPrice,jdbcType=INTEGER},
85
-      </if>
86
-      <if test="payName != null" >
87
-        #{payName,jdbcType=VARCHAR},
88
-      </if>
89
-      <if test="payRemark != null" >
90
-        #{payRemark,jdbcType=VARCHAR},
91
-      </if>
92
-      <if test="payType != null" >
93
-        #{payType,jdbcType=CHAR},
94
-      </if>
95
-      <if test="createTime != null" >
96
-        #{createTime,jdbcType=TIMESTAMP},
97
-      </if>
98
-    </trim>
99
-  </insert>
100
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpBillStatement" >
101
-    update tp_bill_statement
102
-    <set >
103
-      <if test="communityId != null" >
104
-        community_id = #{communityId,jdbcType=INTEGER},
105
-      </if>
106
-      <if test="billInvoiceId != null" >
107
-        bill_invoice_id = #{billInvoiceId,jdbcType=INTEGER},
108
-      </if>
109
-      <if test="taUserId != null" >
110
-        ta_user_id = #{taUserId,jdbcType=INTEGER},
111
-      </if>
112
-      <if test="payPrice != null" >
113
-        pay_price = #{payPrice,jdbcType=INTEGER},
114
-      </if>
115
-      <if test="payName != null" >
116
-        pay_name = #{payName,jdbcType=VARCHAR},
117
-      </if>
118
-      <if test="payRemark != null" >
119
-        pay_remark = #{payRemark,jdbcType=VARCHAR},
120
-      </if>
121
-      <if test="payType != null" >
122
-        pay_type = #{payType,jdbcType=CHAR},
123
-      </if>
124
-      <if test="createTime != null" >
125
-        create_time = #{createTime,jdbcType=TIMESTAMP},
126
-      </if>
127
-    </set>
128
-    where id = #{id,jdbcType=INTEGER}
129
-  </update>
130
-  <update id="updateByPrimaryKey" parameterType="model.TpBillStatement" >
131
-    update tp_bill_statement
132
-    set community_id = #{communityId,jdbcType=INTEGER},
133
-      bill_invoice_id = #{billInvoiceId,jdbcType=INTEGER},
134
-      ta_user_id = #{taUserId,jdbcType=INTEGER},
135
-      pay_price = #{payPrice,jdbcType=INTEGER},
136
-      pay_name = #{payName,jdbcType=VARCHAR},
137
-      pay_remark = #{payRemark,jdbcType=VARCHAR},
138
-      pay_type = #{payType,jdbcType=CHAR},
139
-      create_time = #{createTime,jdbcType=TIMESTAMP}
140
-    where id = #{id,jdbcType=INTEGER}
141
-  </update>
142
-</mapper>

+ 0
- 139
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpSysMenuMapper.xml Datei anzeigen

@@ -1,139 +0,0 @@
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="dao.TpSysMenuMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpSysMenu" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="menu_name" property="menuName" jdbcType="VARCHAR" />
8
-    <result column="menu_url" property="menuUrl" jdbcType="VARCHAR" />
9
-    <result column="menu_icon" property="menuIcon" jdbcType="VARCHAR" />
10
-    <result column="parent_id" property="parentId" jdbcType="INTEGER" />
11
-    <result column="sort" property="sort" jdbcType="INTEGER" />
12
-    <result column="menu_type" property="menuType" jdbcType="CHAR" />
13
-    <result column="status" property="status" jdbcType="CHAR" />
14
-  </resultMap>
15
-  <sql id="Base_Column_List" >
16
-    id, community_id, menu_name, menu_url, menu_icon, parent_id, sort, menu_type, status
17
-  </sql>
18
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
19
-    select 
20
-    <include refid="Base_Column_List" />
21
-    from tp_sys_menu
22
-    where id = #{id,jdbcType=INTEGER}
23
-  </select>
24
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
25
-    delete from tp_sys_menu
26
-    where id = #{id,jdbcType=INTEGER}
27
-  </delete>
28
-  <insert id="insert" parameterType="model.TpSysMenu" >
29
-    insert into tp_sys_menu (id, community_id, menu_name, 
30
-      menu_url, menu_icon, parent_id, 
31
-      sort, menu_type, status)
32
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{menuName,jdbcType=VARCHAR}, 
33
-      #{menuUrl,jdbcType=VARCHAR}, #{menuIcon,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER}, 
34
-      #{sort,jdbcType=INTEGER}, #{menuType,jdbcType=CHAR}, #{status,jdbcType=CHAR})
35
-  </insert>
36
-  <insert id="insertSelective" parameterType="model.TpSysMenu" >
37
-    insert into tp_sys_menu
38
-    <trim prefix="(" suffix=")" suffixOverrides="," >
39
-      <if test="id != null" >
40
-        id,
41
-      </if>
42
-      <if test="communityId != null" >
43
-        community_id,
44
-      </if>
45
-      <if test="menuName != null" >
46
-        menu_name,
47
-      </if>
48
-      <if test="menuUrl != null" >
49
-        menu_url,
50
-      </if>
51
-      <if test="menuIcon != null" >
52
-        menu_icon,
53
-      </if>
54
-      <if test="parentId != null" >
55
-        parent_id,
56
-      </if>
57
-      <if test="sort != null" >
58
-        sort,
59
-      </if>
60
-      <if test="menuType != null" >
61
-        menu_type,
62
-      </if>
63
-      <if test="status != null" >
64
-        status,
65
-      </if>
66
-    </trim>
67
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
68
-      <if test="id != null" >
69
-        #{id,jdbcType=INTEGER},
70
-      </if>
71
-      <if test="communityId != null" >
72
-        #{communityId,jdbcType=INTEGER},
73
-      </if>
74
-      <if test="menuName != null" >
75
-        #{menuName,jdbcType=VARCHAR},
76
-      </if>
77
-      <if test="menuUrl != null" >
78
-        #{menuUrl,jdbcType=VARCHAR},
79
-      </if>
80
-      <if test="menuIcon != null" >
81
-        #{menuIcon,jdbcType=VARCHAR},
82
-      </if>
83
-      <if test="parentId != null" >
84
-        #{parentId,jdbcType=INTEGER},
85
-      </if>
86
-      <if test="sort != null" >
87
-        #{sort,jdbcType=INTEGER},
88
-      </if>
89
-      <if test="menuType != null" >
90
-        #{menuType,jdbcType=CHAR},
91
-      </if>
92
-      <if test="status != null" >
93
-        #{status,jdbcType=CHAR},
94
-      </if>
95
-    </trim>
96
-  </insert>
97
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpSysMenu" >
98
-    update tp_sys_menu
99
-    <set >
100
-      <if test="communityId != null" >
101
-        community_id = #{communityId,jdbcType=INTEGER},
102
-      </if>
103
-      <if test="menuName != null" >
104
-        menu_name = #{menuName,jdbcType=VARCHAR},
105
-      </if>
106
-      <if test="menuUrl != null" >
107
-        menu_url = #{menuUrl,jdbcType=VARCHAR},
108
-      </if>
109
-      <if test="menuIcon != null" >
110
-        menu_icon = #{menuIcon,jdbcType=VARCHAR},
111
-      </if>
112
-      <if test="parentId != null" >
113
-        parent_id = #{parentId,jdbcType=INTEGER},
114
-      </if>
115
-      <if test="sort != null" >
116
-        sort = #{sort,jdbcType=INTEGER},
117
-      </if>
118
-      <if test="menuType != null" >
119
-        menu_type = #{menuType,jdbcType=CHAR},
120
-      </if>
121
-      <if test="status != null" >
122
-        status = #{status,jdbcType=CHAR},
123
-      </if>
124
-    </set>
125
-    where id = #{id,jdbcType=INTEGER}
126
-  </update>
127
-  <update id="updateByPrimaryKey" parameterType="model.TpSysMenu" >
128
-    update tp_sys_menu
129
-    set community_id = #{communityId,jdbcType=INTEGER},
130
-      menu_name = #{menuName,jdbcType=VARCHAR},
131
-      menu_url = #{menuUrl,jdbcType=VARCHAR},
132
-      menu_icon = #{menuIcon,jdbcType=VARCHAR},
133
-      parent_id = #{parentId,jdbcType=INTEGER},
134
-      sort = #{sort,jdbcType=INTEGER},
135
-      menu_type = #{menuType,jdbcType=CHAR},
136
-      status = #{status,jdbcType=CHAR}
137
-    where id = #{id,jdbcType=INTEGER}
138
-  </update>
139
-</mapper>

+ 0
- 71
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpUserCommunityMapper.xml Datei anzeigen

@@ -1,71 +0,0 @@
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="dao.TpUserCommunityMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpUserCommunity" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="tp_user_id" property="tpUserId" jdbcType="INTEGER" />
8
-  </resultMap>
9
-  <sql id="Base_Column_List" >
10
-    id, community_id, tp_user_id
11
-  </sql>
12
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
13
-    select 
14
-    <include refid="Base_Column_List" />
15
-    from tp_user_community
16
-    where id = #{id,jdbcType=INTEGER}
17
-  </select>
18
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
19
-    delete from tp_user_community
20
-    where id = #{id,jdbcType=INTEGER}
21
-  </delete>
22
-  <insert id="insert" parameterType="model.TpUserCommunity" >
23
-    insert into tp_user_community (id, community_id, tp_user_id
24
-      )
25
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{tpUserId,jdbcType=INTEGER}
26
-      )
27
-  </insert>
28
-  <insert id="insertSelective" parameterType="model.TpUserCommunity" >
29
-    insert into tp_user_community
30
-    <trim prefix="(" suffix=")" suffixOverrides="," >
31
-      <if test="id != null" >
32
-        id,
33
-      </if>
34
-      <if test="communityId != null" >
35
-        community_id,
36
-      </if>
37
-      <if test="tpUserId != null" >
38
-        tp_user_id,
39
-      </if>
40
-    </trim>
41
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
42
-      <if test="id != null" >
43
-        #{id,jdbcType=INTEGER},
44
-      </if>
45
-      <if test="communityId != null" >
46
-        #{communityId,jdbcType=INTEGER},
47
-      </if>
48
-      <if test="tpUserId != null" >
49
-        #{tpUserId,jdbcType=INTEGER},
50
-      </if>
51
-    </trim>
52
-  </insert>
53
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpUserCommunity" >
54
-    update tp_user_community
55
-    <set >
56
-      <if test="communityId != null" >
57
-        community_id = #{communityId,jdbcType=INTEGER},
58
-      </if>
59
-      <if test="tpUserId != null" >
60
-        tp_user_id = #{tpUserId,jdbcType=INTEGER},
61
-      </if>
62
-    </set>
63
-    where id = #{id,jdbcType=INTEGER}
64
-  </update>
65
-  <update id="updateByPrimaryKey" parameterType="model.TpUserCommunity" >
66
-    update tp_user_community
67
-    set community_id = #{communityId,jdbcType=INTEGER},
68
-      tp_user_id = #{tpUserId,jdbcType=INTEGER}
69
-    where id = #{id,jdbcType=INTEGER}
70
-  </update>
71
-</mapper>

+ 0
- 188
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/TpUserMapper.xml Datei anzeigen

@@ -1,188 +0,0 @@
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="dao.TpUserMapper" >
4
-  <resultMap id="BaseResultMap" type="model.TpUser" >
5
-    <id column="id" property="id" jdbcType="INTEGER" />
6
-    <result column="community_id" property="communityId" jdbcType="INTEGER" />
7
-    <result column="user_name" property="userName" jdbcType="VARCHAR" />
8
-    <result column="login_name" property="loginName" jdbcType="VARCHAR" />
9
-    <result column="login_password" property="loginPassword" jdbcType="VARCHAR" />
10
-    <result column="status" property="status" jdbcType="CHAR" />
11
-    <result column="remark" property="remark" jdbcType="VARCHAR" />
12
-    <result column="email" property="email" jdbcType="VARCHAR" />
13
-    <result column="head_portrait" property="headPortrait" jdbcType="VARCHAR" />
14
-    <result column="create_user" property="createUser" jdbcType="INTEGER" />
15
-    <result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
16
-    <result column="update_user" property="updateUser" jdbcType="INTEGER" />
17
-    <result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
18
-  </resultMap>
19
-  <sql id="Base_Column_List" >
20
-    id, community_id, user_name, login_name, login_password, status, remark, email, head_portrait, 
21
-    create_user, create_date, update_user, update_date
22
-  </sql>
23
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
24
-    select 
25
-    <include refid="Base_Column_List" />
26
-    from tp_user
27
-    where id = #{id,jdbcType=INTEGER}
28
-  </select>
29
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
30
-    delete from tp_user
31
-    where id = #{id,jdbcType=INTEGER}
32
-  </delete>
33
-  <insert id="insert" parameterType="model.TpUser" >
34
-    insert into tp_user (id, community_id, user_name, 
35
-      login_name, login_password, status, 
36
-      remark, email, head_portrait, 
37
-      create_user, create_date, update_user, 
38
-      update_date)
39
-    values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, 
40
-      #{loginName,jdbcType=VARCHAR}, #{loginPassword,jdbcType=VARCHAR}, #{status,jdbcType=CHAR}, 
41
-      #{remark,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{headPortrait,jdbcType=VARCHAR}, 
42
-      #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=INTEGER}, 
43
-      #{updateDate,jdbcType=TIMESTAMP})
44
-  </insert>
45
-  <insert id="insertSelective" parameterType="model.TpUser" >
46
-    insert into tp_user
47
-    <trim prefix="(" suffix=")" suffixOverrides="," >
48
-      <if test="id != null" >
49
-        id,
50
-      </if>
51
-      <if test="communityId != null" >
52
-        community_id,
53
-      </if>
54
-      <if test="userName != null" >
55
-        user_name,
56
-      </if>
57
-      <if test="loginName != null" >
58
-        login_name,
59
-      </if>
60
-      <if test="loginPassword != null" >
61
-        login_password,
62
-      </if>
63
-      <if test="status != null" >
64
-        status,
65
-      </if>
66
-      <if test="remark != null" >
67
-        remark,
68
-      </if>
69
-      <if test="email != null" >
70
-        email,
71
-      </if>
72
-      <if test="headPortrait != null" >
73
-        head_portrait,
74
-      </if>
75
-      <if test="createUser != null" >
76
-        create_user,
77
-      </if>
78
-      <if test="createDate != null" >
79
-        create_date,
80
-      </if>
81
-      <if test="updateUser != null" >
82
-        update_user,
83
-      </if>
84
-      <if test="updateDate != null" >
85
-        update_date,
86
-      </if>
87
-    </trim>
88
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
89
-      <if test="id != null" >
90
-        #{id,jdbcType=INTEGER},
91
-      </if>
92
-      <if test="communityId != null" >
93
-        #{communityId,jdbcType=INTEGER},
94
-      </if>
95
-      <if test="userName != null" >
96
-        #{userName,jdbcType=VARCHAR},
97
-      </if>
98
-      <if test="loginName != null" >
99
-        #{loginName,jdbcType=VARCHAR},
100
-      </if>
101
-      <if test="loginPassword != null" >
102
-        #{loginPassword,jdbcType=VARCHAR},
103
-      </if>
104
-      <if test="status != null" >
105
-        #{status,jdbcType=CHAR},
106
-      </if>
107
-      <if test="remark != null" >
108
-        #{remark,jdbcType=VARCHAR},
109
-      </if>
110
-      <if test="email != null" >
111
-        #{email,jdbcType=VARCHAR},
112
-      </if>
113
-      <if test="headPortrait != null" >
114
-        #{headPortrait,jdbcType=VARCHAR},
115
-      </if>
116
-      <if test="createUser != null" >
117
-        #{createUser,jdbcType=INTEGER},
118
-      </if>
119
-      <if test="createDate != null" >
120
-        #{createDate,jdbcType=TIMESTAMP},
121
-      </if>
122
-      <if test="updateUser != null" >
123
-        #{updateUser,jdbcType=INTEGER},
124
-      </if>
125
-      <if test="updateDate != null" >
126
-        #{updateDate,jdbcType=TIMESTAMP},
127
-      </if>
128
-    </trim>
129
-  </insert>
130
-  <update id="updateByPrimaryKeySelective" parameterType="model.TpUser" >
131
-    update tp_user
132
-    <set >
133
-      <if test="communityId != null" >
134
-        community_id = #{communityId,jdbcType=INTEGER},
135
-      </if>
136
-      <if test="userName != null" >
137
-        user_name = #{userName,jdbcType=VARCHAR},
138
-      </if>
139
-      <if test="loginName != null" >
140
-        login_name = #{loginName,jdbcType=VARCHAR},
141
-      </if>
142
-      <if test="loginPassword != null" >
143
-        login_password = #{loginPassword,jdbcType=VARCHAR},
144
-      </if>
145
-      <if test="status != null" >
146
-        status = #{status,jdbcType=CHAR},
147
-      </if>
148
-      <if test="remark != null" >
149
-        remark = #{remark,jdbcType=VARCHAR},
150
-      </if>
151
-      <if test="email != null" >
152
-        email = #{email,jdbcType=VARCHAR},
153
-      </if>
154
-      <if test="headPortrait != null" >
155
-        head_portrait = #{headPortrait,jdbcType=VARCHAR},
156
-      </if>
157
-      <if test="createUser != null" >
158
-        create_user = #{createUser,jdbcType=INTEGER},
159
-      </if>
160
-      <if test="createDate != null" >
161
-        create_date = #{createDate,jdbcType=TIMESTAMP},
162
-      </if>
163
-      <if test="updateUser != null" >
164
-        update_user = #{updateUser,jdbcType=INTEGER},
165
-      </if>
166
-      <if test="updateDate != null" >
167
-        update_date = #{updateDate,jdbcType=TIMESTAMP},
168
-      </if>
169
-    </set>
170
-    where id = #{id,jdbcType=INTEGER}
171
-  </update>
172
-  <update id="updateByPrimaryKey" parameterType="model.TpUser" >
173
-    update tp_user
174
-    set community_id = #{communityId,jdbcType=INTEGER},
175
-      user_name = #{userName,jdbcType=VARCHAR},
176
-      login_name = #{loginName,jdbcType=VARCHAR},
177
-      login_password = #{loginPassword,jdbcType=VARCHAR},
178
-      status = #{status,jdbcType=CHAR},
179
-      remark = #{remark,jdbcType=VARCHAR},
180
-      email = #{email,jdbcType=VARCHAR},
181
-      head_portrait = #{headPortrait,jdbcType=VARCHAR},
182
-      create_user = #{createUser,jdbcType=INTEGER},
183
-      create_date = #{createDate,jdbcType=TIMESTAMP},
184
-      update_user = #{updateUser,jdbcType=INTEGER},
185
-      update_date = #{updateDate,jdbcType=TIMESTAMP}
186
-    where id = #{id,jdbcType=INTEGER}
187
-  </update>
188
-</mapper>

+ 0
- 5
SmartCommunity/mybatisGeneratorCode/src/main/resources/mapper/tp/UserMapper.xml Datei anzeigen

@@ -1,5 +0,0 @@
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.community.huiju.tp.mapper.UserMapper">
4
-
5
-</mapper>

+ 131
- 0
SmartCommunity/mybatisGeneratorCode/src/main/resources/templatesPlus/controller.java.ftl Datei anzeigen

@@ -0,0 +1,131 @@
1
+package ${package.Controller};
2
+
3
+import com.community.huiju.common.model.ResponseBean;
4
+import org.slf4j.Logger;
5
+import org.slf4j.LoggerFactory;
6
+import org.springframework.beans.factory.annotation.Autowired;
7
+import org.springframework.web.bind.annotation.PathVariable;
8
+import org.springframework.web.bind.annotation.RequestBody;
9
+import org.springframework.web.bind.annotation.RequestMapping;
10
+import org.springframework.web.bind.annotation.RequestMethod;
11
+import org.springframework.web.bind.annotation.ResponseBody;
12
+import ${package.Service}.${table.serviceName};
13
+import ${package.Entity}.${table.entityName};
14
+<#if restControllerStyle>
15
+import org.springframework.web.bind.annotation.RestController;
16
+<#else>
17
+import org.springframework.stereotype.Controller;
18
+</#if>
19
+<#if superControllerClassPackage??>
20
+import ${superControllerClassPackage};
21
+</#if>
22
+
23
+/**
24
+ * <p>
25
+    * ${table.comment!} 前端控制器
26
+    * </p>
27
+ *
28
+ * @author ${author}
29
+ * @since ${date}
30
+ */
31
+<#if restControllerStyle>
32
+@RestController
33
+<#else>
34
+@Controller
35
+</#if>
36
+@RequestMapping("/")
37
+<#if kotlin>
38
+class ${table.controllerName}<#if superControllerClass??> : ${superControllerClass}()</#if>
39
+<#else>
40
+    <#if superControllerClass??>
41
+public class ${table.controllerName} extends ${superControllerClass} {
42
+    <#else>
43
+public class ${table.controllerName} {
44
+    </#if>
45
+
46
+    private final Logger logger = LoggerFactory.getLogger(${table.controllerName}.class);
47
+
48
+    @Autowired
49
+    public ${table.serviceName} i${entity}Service;
50
+
51
+
52
+    /**
53
+     * 保存对象
54
+     * @param ${table.entityPath} 实体对象
55
+     * @return
56
+     */
57
+    @RequestMapping(value="/${table.entityPath}/add",method= RequestMethod.POST)
58
+    public ResponseBean tpShopImgAdd(@RequestBody ${entity} ${table.entityPath}){
59
+        ResponseBean responseBean = new ResponseBean();
60
+        try {
61
+            if (i${entity}Service.save(${table.entityPath})){
62
+                responseBean.addSuccess("success");
63
+            }else {
64
+                responseBean.addError("fail");
65
+            }
66
+        }catch (Exception e){
67
+            logger.error("${table.entityPath}Add -=- {}",e.toString());
68
+            responseBean.addError(e.getMessage());
69
+        }
70
+        return responseBean;
71
+    }
72
+
73
+    /**
74
+     * 根据id删除对象
75
+     * @param id  实体ID
76
+     */
77
+    @ResponseBody
78
+    @RequestMapping(value="/${table.entityPath}/delete/{id}", method= RequestMethod.DELETE)
79
+    public ResponseBean ${table.entityPath}Delete(@PathVariable Integer id){
80
+        ResponseBean responseBean = new ResponseBean();
81
+        try {
82
+            if(i${entity}Service.removeById(id)){
83
+                responseBean.addSuccess("success");
84
+            }else {
85
+                responseBean.addError("fail");
86
+            }
87
+        }catch (Exception e){
88
+            logger.error("${table.entityPath}Delete -=- {}",e.toString());
89
+            responseBean.addError(e.getMessage());
90
+        }
91
+        return responseBean;
92
+    }
93
+
94
+    /**
95
+     * 修改对象
96
+     * @param ${table.entityPath} 实体对象
97
+     * @return
98
+     */
99
+    @RequestMapping(value="/${table.entityPath}/update",method= RequestMethod.PUT)
100
+    public ResponseBean tpShopImgUpdate(@RequestBody ${entity} ${table.entityPath}){
101
+        ResponseBean responseBean = new ResponseBean();
102
+        try {
103
+            if (i${entity}Service.updateById(${table.entityPath})){
104
+                responseBean.addSuccess("success");
105
+            }else {
106
+                responseBean.addError("fail");
107
+            }
108
+        }catch (Exception e){
109
+            logger.error("${table.entityPath}Update -=- {}",e.toString());
110
+            responseBean.addError(e.getMessage());
111
+        }
112
+        return responseBean;
113
+    }
114
+
115
+    /**
116
+     * 根据id查询对象
117
+     * @param id  实体ID
118
+     */
119
+    @RequestMapping(value="/${table.entityPath}/get/{id}",method= RequestMethod.GET)
120
+    public ResponseBean tpShopImgGet(@PathVariable Integer id){
121
+        ResponseBean responseBean = new ResponseBean();
122
+        try {
123
+            responseBean.addSuccess(i${entity}Service.getById(id));
124
+        }catch (Exception e){
125
+            logger.error("${table.entityPath}Delete -=- {}",e.toString());
126
+            responseBean.addError(e.getMessage());
127
+        }
128
+        return responseBean;
129
+    }
130
+}
131
+</#if>