Browse Source

合并本地分支

weiximei 6 years ago
parent
commit
cebe6c7221

+ 13
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/model/TpMessage.java View File

58
      * 未读消息图标
58
      * 未读消息图标
59
      */
59
      */
60
     private String unreadMessageIcon;
60
     private String unreadMessageIcon;
61
+    
62
+    /**
63
+     * 消息详情url链接
64
+     */
65
+    private String messageDetailUrl;
61
 
66
 
62
     public Integer getId() {
67
     public Integer getId() {
63
         return id;
68
         return id;
234
     public void setUnreadMessageIcon(String unreadMessageIcon) {
239
     public void setUnreadMessageIcon(String unreadMessageIcon) {
235
         this.unreadMessageIcon = unreadMessageIcon;
240
         this.unreadMessageIcon = unreadMessageIcon;
236
     }
241
     }
242
+    
243
+    public String getMessageDetailUrl() {
244
+        return messageDetailUrl;
245
+    }
246
+    
247
+    public void setMessageDetailUrl(String messageDetailUrl) {
248
+        this.messageDetailUrl = messageDetailUrl;
249
+    }
237
 }
250
 }

+ 3
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpMessageMapper.xml View File

24
     <result column="content" property="content" jdbcType="VARCHAR" />
24
     <result column="content" property="content" jdbcType="VARCHAR" />
25
     <result column="read_message_icon" property="readMessageIcon" jdbcType="VARCHAR" />
25
     <result column="read_message_icon" property="readMessageIcon" jdbcType="VARCHAR" />
26
     <result column="unread_message_icon" property="unreadMessageIcon" jdbcType="VARCHAR" />
26
     <result column="unread_message_icon" property="unreadMessageIcon" jdbcType="VARCHAR" />
27
+    <result column="message_detail_url" property="messageDetailUrl" jdbcType="VARCHAR" />
27
   </resultMap>
28
   </resultMap>
28
   <sql id="Base_Column_List" >
29
   <sql id="Base_Column_List" >
29
     id, ticket_id,community_id, message_type, advice_type, model_type, uuid, uuid_type, source,
30
     id, ticket_id,community_id, message_type, advice_type, model_type, uuid, uuid_type, source,
286
         r.content,
287
         r.content,
287
         d.name as ticket_status,
288
         d.name as ticket_status,
288
         i.read_message_icon,
289
         i.read_message_icon,
289
-		i.unread_message_icon
290
+		i.unread_message_icon,
291
+		i.message_detail_url
290
     FROM
292
     FROM
291
         tp_message t
293
         tp_message t
292
     LEFT JOIN tp_ticket k on t.ticket_id = k.id  AND k.community_id = #{communityId,jdbcType=INTEGER}
294
     LEFT JOIN tp_ticket k on t.ticket_id = k.id  AND k.community_id = #{communityId,jdbcType=INTEGER}

+ 656
- 540
文档/MYSQL/smartCommunity.pdb
File diff suppressed because it is too large
View File


+ 21
- 9
文档/MYSQL/smartCommunity.pdm View File

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1542706521" Name="smartCommunity" Objects="666" Symbols="78" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
2
+<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1542770145" Name="smartCommunity" Objects="655" Symbols="78" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
3
 <!-- do not edit this file -->
3
 <!-- do not edit this file -->
4
 
4
 
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
5947
 <a:CreationDate>1542706044</a:CreationDate>
5947
 <a:CreationDate>1542706044</a:CreationDate>
5948
 <a:ModificationDate>1542706044</a:ModificationDate>
5948
 <a:ModificationDate>1542706044</a:ModificationDate>
5949
 <a:IconMode>-1</a:IconMode>
5949
 <a:IconMode>-1</a:IconMode>
5950
-<a:Rect>((-21601,-60237), (-4813,-55139))</a:Rect>
5950
+<a:Rect>((-21601,-60687), (-4813,-54689))</a:Rect>
5951
 <a:LineColor>12615680</a:LineColor>
5951
 <a:LineColor>12615680</a:LineColor>
5952
 <a:FillColor>16570034</a:FillColor>
5952
 <a:FillColor>16570034</a:FillColor>
5953
 <a:ShadowColor>12632256</a:ShadowColor>
5953
 <a:ShadowColor>12632256</a:ShadowColor>
11170
 <a:Code>type</a:Code>
11170
 <a:Code>type</a:Code>
11171
 <a:CreationDate>1539759920</a:CreationDate>
11171
 <a:CreationDate>1539759920</a:CreationDate>
11172
 <a:Creator>szc</a:Creator>
11172
 <a:Creator>szc</a:Creator>
11173
-<a:ModificationDate>1542166126</a:ModificationDate>
11173
+<a:ModificationDate>1542770145</a:ModificationDate>
11174
 <a:Modifier>szc</a:Modifier>
11174
 <a:Modifier>szc</a:Modifier>
11175
-<a:Comment>类型 :  论坛:social 服务:service 可添加</a:Comment>
11175
+<a:Comment>类型 :  服务:service, 公告:announcement , 活动:activity  租赁 : transaction可添加</a:Comment>
11176
 <a:DataType>varchar(255)</a:DataType>
11176
 <a:DataType>varchar(255)</a:DataType>
11177
 <a:Length>255</a:Length>
11177
 <a:Length>255</a:Length>
11178
 </o:Column>
11178
 </o:Column>
12150
 <a:Code>tp_message_icon</a:Code>
12150
 <a:Code>tp_message_icon</a:Code>
12151
 <a:CreationDate>1542706044</a:CreationDate>
12151
 <a:CreationDate>1542706044</a:CreationDate>
12152
 <a:Creator>szc</a:Creator>
12152
 <a:Creator>szc</a:Creator>
12153
-<a:ModificationDate>1542706508</a:ModificationDate>
12153
+<a:ModificationDate>1542768591</a:ModificationDate>
12154
 <a:Modifier>szc</a:Modifier>
12154
 <a:Modifier>szc</a:Modifier>
12155
 <a:Comment>消息图标表</a:Comment>
12155
 <a:Comment>消息图标表</a:Comment>
12156
 <a:TotalSavingCurrency/>
12156
 <a:TotalSavingCurrency/>
12204
 <a:DataType>varchar(255)</a:DataType>
12204
 <a:DataType>varchar(255)</a:DataType>
12205
 <a:Length>255</a:Length>
12205
 <a:Length>255</a:Length>
12206
 </o:Column>
12206
 </o:Column>
12207
+<o:Column Id="o610">
12208
+<a:ObjectID>C445B8E4-084E-4063-AB92-2E31B6C816BE</a:ObjectID>
12209
+<a:Name>message_detail_url</a:Name>
12210
+<a:Code>message_detail_url</a:Code>
12211
+<a:CreationDate>1542768554</a:CreationDate>
12212
+<a:Creator>szc</a:Creator>
12213
+<a:ModificationDate>1542768618</a:ModificationDate>
12214
+<a:Modifier>szc</a:Modifier>
12215
+<a:Comment>消息详情url</a:Comment>
12216
+<a:DataType>varchar(255)</a:DataType>
12217
+<a:Length>255</a:Length>
12218
+</o:Column>
12207
 </c:Columns>
12219
 </c:Columns>
12208
 <c:Keys>
12220
 <c:Keys>
12209
-<o:Key Id="o610">
12221
+<o:Key Id="o611">
12210
 <a:ObjectID>26A69CCB-020F-4EF0-9143-8764DED242E3</a:ObjectID>
12222
 <a:ObjectID>26A69CCB-020F-4EF0-9143-8764DED242E3</a:ObjectID>
12211
 <a:Name>Key_1</a:Name>
12223
 <a:Name>Key_1</a:Name>
12212
 <a:Code>Key_1</a:Code>
12224
 <a:Code>Key_1</a:Code>
12220
 </o:Key>
12232
 </o:Key>
12221
 </c:Keys>
12233
 </c:Keys>
12222
 <c:PrimaryKey>
12234
 <c:PrimaryKey>
12223
-<o:Key Ref="o610"/>
12235
+<o:Key Ref="o611"/>
12224
 </c:PrimaryKey>
12236
 </c:PrimaryKey>
12225
 </o:Table>
12237
 </o:Table>
12226
 </c:Tables>
12238
 </c:Tables>
12227
 <c:DefaultGroups>
12239
 <c:DefaultGroups>
12228
-<o:Group Id="o611">
12240
+<o:Group Id="o612">
12229
 <a:ObjectID>9FAF56B5-A351-488F-9A3B-D4A944CD4081</a:ObjectID>
12241
 <a:ObjectID>9FAF56B5-A351-488F-9A3B-D4A944CD4081</a:ObjectID>
12230
 <a:Name>PUBLIC</a:Name>
12242
 <a:Name>PUBLIC</a:Name>
12231
 <a:Code>PUBLIC</a:Code>
12243
 <a:Code>PUBLIC</a:Code>
12667
 </o:ExtendedDependency>
12679
 </o:ExtendedDependency>
12668
 </c:ChildTraceabilityLinks>
12680
 </c:ChildTraceabilityLinks>
12669
 <c:TargetModels>
12681
 <c:TargetModels>
12670
-<o:TargetModel Id="o612">
12682
+<o:TargetModel Id="o613">
12671
 <a:ObjectID>B86EB932-C352-4174-86E4-2D2B1DDE4A45</a:ObjectID>
12683
 <a:ObjectID>B86EB932-C352-4174-86E4-2D2B1DDE4A45</a:ObjectID>
12672
 <a:Name>MySQL 5.0</a:Name>
12684
 <a:Name>MySQL 5.0</a:Name>
12673
 <a:Code>MYSQL50</a:Code>
12685
 <a:Code>MYSQL50</a:Code>