소스 검색

合并本地分支

weiximei 6 년 전
부모
커밋
cebe6c7221

+ 13
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/model/TpMessage.java 파일 보기

@@ -58,6 +58,11 @@ public class TpMessage {
58 58
      * 未读消息图标
59 59
      */
60 60
     private String unreadMessageIcon;
61
+    
62
+    /**
63
+     * 消息详情url链接
64
+     */
65
+    private String messageDetailUrl;
61 66
 
62 67
     public Integer getId() {
63 68
         return id;
@@ -234,4 +239,12 @@ public class TpMessage {
234 239
     public void setUnreadMessageIcon(String unreadMessageIcon) {
235 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 파일 보기

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

+ 656
- 540
文档/MYSQL/smartCommunity.pdb
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 21
- 9
文档/MYSQL/smartCommunity.pdm 파일 보기

@@ -1,5 +1,5 @@
1 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 3
 <!-- do not edit this file -->
4 4
 
5 5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
@@ -5947,7 +5947,7 @@ LABL 0 新宋体,8,N</a:FontList>
5947 5947
 <a:CreationDate>1542706044</a:CreationDate>
5948 5948
 <a:ModificationDate>1542706044</a:ModificationDate>
5949 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 5951
 <a:LineColor>12615680</a:LineColor>
5952 5952
 <a:FillColor>16570034</a:FillColor>
5953 5953
 <a:ShadowColor>12632256</a:ShadowColor>
@@ -11170,9 +11170,9 @@ LABL 0 新宋体,8,N</a:FontList>
11170 11170
 <a:Code>type</a:Code>
11171 11171
 <a:CreationDate>1539759920</a:CreationDate>
11172 11172
 <a:Creator>szc</a:Creator>
11173
-<a:ModificationDate>1542166126</a:ModificationDate>
11173
+<a:ModificationDate>1542770145</a:ModificationDate>
11174 11174
 <a:Modifier>szc</a:Modifier>
11175
-<a:Comment>类型 :  论坛:social 服务:service 可添加</a:Comment>
11175
+<a:Comment>类型 :  服务:service, 公告:announcement , 活动:activity  租赁 : transaction可添加</a:Comment>
11176 11176
 <a:DataType>varchar(255)</a:DataType>
11177 11177
 <a:Length>255</a:Length>
11178 11178
 </o:Column>
@@ -12150,7 +12150,7 @@ LABL 0 新宋体,8,N</a:FontList>
12150 12150
 <a:Code>tp_message_icon</a:Code>
12151 12151
 <a:CreationDate>1542706044</a:CreationDate>
12152 12152
 <a:Creator>szc</a:Creator>
12153
-<a:ModificationDate>1542706508</a:ModificationDate>
12153
+<a:ModificationDate>1542768591</a:ModificationDate>
12154 12154
 <a:Modifier>szc</a:Modifier>
12155 12155
 <a:Comment>消息图标表</a:Comment>
12156 12156
 <a:TotalSavingCurrency/>
@@ -12204,9 +12204,21 @@ LABL 0 新宋体,8,N</a:FontList>
12204 12204
 <a:DataType>varchar(255)</a:DataType>
12205 12205
 <a:Length>255</a:Length>
12206 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 12219
 </c:Columns>
12208 12220
 <c:Keys>
12209
-<o:Key Id="o610">
12221
+<o:Key Id="o611">
12210 12222
 <a:ObjectID>26A69CCB-020F-4EF0-9143-8764DED242E3</a:ObjectID>
12211 12223
 <a:Name>Key_1</a:Name>
12212 12224
 <a:Code>Key_1</a:Code>
@@ -12220,12 +12232,12 @@ LABL 0 新宋体,8,N</a:FontList>
12220 12232
 </o:Key>
12221 12233
 </c:Keys>
12222 12234
 <c:PrimaryKey>
12223
-<o:Key Ref="o610"/>
12235
+<o:Key Ref="o611"/>
12224 12236
 </c:PrimaryKey>
12225 12237
 </o:Table>
12226 12238
 </c:Tables>
12227 12239
 <c:DefaultGroups>
12228
-<o:Group Id="o611">
12240
+<o:Group Id="o612">
12229 12241
 <a:ObjectID>9FAF56B5-A351-488F-9A3B-D4A944CD4081</a:ObjectID>
12230 12242
 <a:Name>PUBLIC</a:Name>
12231 12243
 <a:Code>PUBLIC</a:Code>
@@ -12667,7 +12679,7 @@ LABL 0 新宋体,8,N</a:FontList>
12667 12679
 </o:ExtendedDependency>
12668 12680
 </c:ChildTraceabilityLinks>
12669 12681
 <c:TargetModels>
12670
-<o:TargetModel Id="o612">
12682
+<o:TargetModel Id="o613">
12671 12683
 <a:ObjectID>B86EB932-C352-4174-86E4-2D2B1DDE4A45</a:ObjectID>
12672 12684
 <a:Name>MySQL 5.0</a:Name>
12673 12685
 <a:Code>MYSQL50</a:Code>