weiximei 6 anni fa
parent
commit
89c88752c6

+ 88
- 159
CODE/smart-community-word/.idea/workspace.xml Vedi File

@@ -2,10 +2,10 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="051ae1e0-ece1-4622-91c0-3f05ac339943" name="Default Changelist" comment="">
5
+      <change beforePath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java" afterDir="false" />
5 8
       <change beforePath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java" afterDir="false" />
6
-      <change beforePath="$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpBillInvoiceMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpBillInvoiceMapper.xml" afterDir="false" />
7
-      <change beforePath="$PROJECT_DIR$/../../VUECODE/smart-property-manage/src/views/bill/statement/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../../VUECODE/smart-property-manage/src/views/bill/statement/index.vue" afterDir="false" />
8
-      <change beforePath="$PROJECT_DIR$/../../文档/MYSQL/smartCommunity.pdb" beforeDir="false" afterPath="$PROJECT_DIR$/../../文档/MYSQL/smartCommunity.pdb" afterDir="false" />
9 9
     </list>
10 10
     <ignored path="$PROJECT_DIR$/../smart-community/eureka-sever/target/" />
11 11
     <ignored path="$PROJECT_DIR$/../smart-community/app-api/target/" />
@@ -31,80 +31,8 @@
31 31
       <file pinned="false" current-in-tab="true">
32 32
         <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java">
33 33
           <provider selected="true" editor-type-id="text-editor">
34
-            <state relative-caret-position="701">
35
-              <caret line="623" column="23" selection-start-line="623" selection-start-column="23" selection-end-line="623" selection-end-column="23" />
36
-            </state>
37
-          </provider>
38
-        </entry>
39
-      </file>
40
-      <file pinned="false" current-in-tab="false">
41
-        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/model/TpTransactionLike.java">
42
-          <provider selected="true" editor-type-id="text-editor">
43
-            <state relative-caret-position="513">
44
-              <caret line="37" lean-forward="true" selection-start-line="37" selection-end-line="37" />
45
-              <folding>
46
-                <element signature="e#537#538#0" expanded="true" />
47
-                <element signature="e#563#564#0" expanded="true" />
48
-                <element signature="e#602#603#0" expanded="true" />
49
-                <element signature="e#632#633#0" expanded="true" />
50
-                <element signature="e#528#529#0" expanded="true" />
51
-                <element signature="e#570#571#0" expanded="true" />
52
-                <element signature="e#625#626#0" expanded="true" />
53
-                <element signature="e#671#672#0" expanded="true" />
54
-                <element signature="e#708#709#0" expanded="true" />
55
-                <element signature="e#740#741#0" expanded="true" />
56
-                <element signature="e#779#780#0" expanded="true" />
57
-                <element signature="e#813#814#0" expanded="true" />
58
-                <element signature="e#843#844#0" expanded="true" />
59
-                <element signature="e#868#869#0" expanded="true" />
60
-                <element signature="e#905#906#0" expanded="true" />
61
-                <element signature="e#933#934#0" expanded="true" />
62
-                <element signature="e#972#973#0" expanded="true" />
63
-                <element signature="e#1006#1007#0" expanded="true" />
64
-                <element signature="e#1061#1062#0" expanded="true" />
65
-                <element signature="e#1107#1108#0" expanded="true" />
66
-                <element signature="e#1143#1144#0" expanded="true" />
67
-                <element signature="e#1174#1175#0" expanded="true" />
68
-                <element signature="e#1223#1224#0" expanded="true" />
69
-                <element signature="e#1263#1264#0" expanded="true" />
70
-                <element signature="e#1304#1305#0" expanded="true" />
71
-                <element signature="e#1340#1341#0" expanded="true" />
72
-                <element signature="e#1399#1400#0" expanded="true" />
73
-                <element signature="e#1449#1450#0" expanded="true" />
74
-                <element signature="e#1486#1487#0" expanded="true" />
75
-                <element signature="e#1519#1520#0" expanded="true" />
76
-                <element signature="e#1571#1572#0" expanded="true" />
77
-                <element signature="e#1650#1651#0" expanded="true" />
78
-                <element signature="e#1685#1686#0" expanded="true" />
79
-                <element signature="e#1718#1719#0" expanded="true" />
80
-                <element signature="e#1768#1769#0" expanded="true" />
81
-                <element signature="e#1812#1813#0" expanded="true" />
82
-                <element signature="e#1847#1848#0" expanded="true" />
83
-                <element signature="e#1880#1881#0" expanded="true" />
84
-                <element signature="e#1930#1931#0" expanded="true" />
85
-                <element signature="e#1974#1975#0" expanded="true" />
86
-              </folding>
87
-            </state>
88
-          </provider>
89
-        </entry>
90
-      </file>
91
-      <file pinned="false" current-in-tab="false">
92
-        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java">
93
-          <provider selected="true" editor-type-id="text-editor">
94
-            <state relative-caret-position="647">
95
-              <caret line="43" column="21" selection-start-line="43" selection-start-column="21" selection-end-line="43" selection-end-column="21" />
96
-              <folding>
97
-                <element signature="imports" expanded="true" />
98
-              </folding>
99
-            </state>
100
-          </provider>
101
-        </entry>
102
-      </file>
103
-      <file pinned="false" current-in-tab="false">
104
-        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpTransactionLikeMapper.xml">
105
-          <provider selected="true" editor-type-id="text-editor">
106
-            <state relative-caret-position="242">
107
-              <caret line="125" column="44" selection-start-line="125" selection-start-column="44" selection-end-line="125" selection-end-column="44" />
34
+            <state relative-caret-position="487">
35
+              <caret line="618" selection-start-line="618" selection-end-line="621" selection-end-column="9" />
108 36
             </state>
109 37
           </provider>
110 38
         </entry>
@@ -112,17 +40,8 @@
112 40
       <file pinned="false" current-in-tab="false">
113 41
         <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java">
114 42
           <provider selected="true" editor-type-id="text-editor">
115
-            <state relative-caret-position="512">
116
-              <caret line="451" column="62" selection-start-line="451" selection-start-column="62" selection-end-line="451" selection-end-column="62" />
117
-            </state>
118
-          </provider>
119
-        </entry>
120
-      </file>
121
-      <file pinned="false" current-in-tab="false">
122
-        <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java">
123
-          <provider selected="true" editor-type-id="text-editor">
124
-            <state relative-caret-position="629">
125
-              <caret line="195" column="25" selection-start-line="195" selection-start-column="17" selection-end-line="195" selection-end-column="36" />
43
+            <state relative-caret-position="224">
44
+              <caret line="451" column="59" selection-start-line="451" selection-start-column="54" selection-end-line="451" selection-end-column="73" />
126 45
             </state>
127 46
           </provider>
128 47
         </entry>
@@ -204,9 +123,11 @@
204 123
         <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/TicketServiceImpl.java" />
205 124
         <option value="$PROJECT_DIR$/../smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpTicketServiceImpl.java" />
206 125
         <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpTransactionLikeMapper.xml" />
207
-        <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java" />
208 126
         <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/model/TpTransactionLike.java" />
127
+        <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java" />
128
+        <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java" />
209 129
         <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java" />
130
+        <option value="$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java" />
210 131
       </list>
211 132
     </option>
212 133
   </component>
@@ -228,9 +149,9 @@
228 149
     <option name="jreName" value="1.8" />
229 150
     <option name="vmOptions" value="-DarchetypeCatalog=internal" />
230 151
   </component>
231
-  <component name="ProjectFrameBounds" extendedState="6">
232
-    <option name="x" value="168" />
233
-    <option name="width" value="1759" />
152
+  <component name="ProjectFrameBounds" extendedState="7">
153
+    <option name="x" value="953" />
154
+    <option name="width" value="974" />
234 155
     <option name="height" value="1047" />
235 156
   </component>
236 157
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
@@ -327,6 +248,18 @@
327 248
               <item name="huiju" type="462c0819:PsiDirectoryNode" />
328 249
               <item name="dao" type="462c0819:PsiDirectoryNode" />
329 250
             </path>
251
+            <path>
252
+              <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
253
+              <item name="smart-community" type="462c0819:PsiDirectoryNode" />
254
+              <item name="app-api" type="462c0819:PsiDirectoryNode" />
255
+              <item name="src" type="462c0819:PsiDirectoryNode" />
256
+              <item name="main" type="462c0819:PsiDirectoryNode" />
257
+              <item name="java" type="462c0819:PsiDirectoryNode" />
258
+              <item name="com" type="462c0819:PsiDirectoryNode" />
259
+              <item name="community" type="462c0819:PsiDirectoryNode" />
260
+              <item name="huiju" type="462c0819:PsiDirectoryNode" />
261
+              <item name="model" type="462c0819:PsiDirectoryNode" />
262
+            </path>
330 263
             <path>
331 264
               <item name="smart-community-word" type="b2602c69:ProjectViewProjectNode" />
332 265
               <item name="smart-community" type="462c0819:PsiDirectoryNode" />
@@ -451,7 +384,7 @@
451 384
     <property name="RequestMappingsPanelWidth1" value="75" />
452 385
     <property name="WebServerToolWindowFactoryState" value="false" />
453 386
     <property name="aspect.path.notification.shown" value="true" />
454
-    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1552545737254" />
387
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1552547384005" />
455 388
     <property name="last_opened_file_path" value="D:/java/workspace/heishi/wx_project" />
456 389
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
457 390
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
@@ -486,7 +419,7 @@
486 419
       </list>
487 420
     </option>
488 421
   </component>
489
-  <component name="RunManager" selected="Spring Boot.PropertyApplication">
422
+  <component name="RunManager" selected="Spring Boot.ZuulApplication">
490 423
     <configuration default="true" type="Applet">
491 424
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
492 425
       <method v="2">
@@ -615,13 +548,13 @@
615 548
     <servers />
616 549
   </component>
617 550
   <component name="TimeTrackingManager">
618
-    <option name="totallyTimeSpent" value="151477000" />
551
+    <option name="totallyTimeSpent" value="152656000" />
619 552
   </component>
620 553
   <component name="ToolWindowManager">
621
-    <frame x="168" y="0" width="1759" height="1047" extended-state="0" />
554
+    <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
622 555
     <editor active="true" />
623 556
     <layout>
624
-      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.017657446" />
557
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.1609808" />
625 558
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
626 559
       <window_info id="Designer" order="2" />
627 560
       <window_info id="Image Layers" order="3" />
@@ -632,7 +565,7 @@
632 565
       <window_info anchor="bottom" id="Message" order="0" />
633 566
       <window_info anchor="bottom" id="Find" order="1" />
634 567
       <window_info anchor="bottom" id="Run" order="2" sideWeight="0.6998934" weight="0.3530067" />
635
-      <window_info anchor="bottom" id="Debug" order="3" sideWeight="0.8544776" weight="0.06013363" />
568
+      <window_info anchor="bottom" id="Debug" order="3" sideWeight="0.8544776" visible="true" weight="0.06013363" />
636 569
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
637 570
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
638 571
       <window_info anchor="bottom" id="TODO" order="6" />
@@ -1081,88 +1014,84 @@
1081 1014
     </entry>
1082 1015
     <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java">
1083 1016
       <provider selected="true" editor-type-id="text-editor">
1084
-        <state relative-caret-position="629">
1085
-          <caret line="195" column="25" selection-start-line="195" selection-start-column="17" selection-end-line="195" selection-end-column="36" />
1017
+        <state relative-caret-position="1763">
1018
+          <caret line="203" column="78" lean-forward="true" selection-start-line="203" selection-start-column="78" selection-end-line="203" selection-end-column="78" />
1086 1019
         </state>
1087 1020
       </provider>
1088 1021
     </entry>
1089
-    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java">
1022
+    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/model/TpTransactionLike.java">
1090 1023
       <provider selected="true" editor-type-id="text-editor">
1091
-        <state relative-caret-position="512">
1092
-          <caret line="451" column="62" selection-start-line="451" selection-start-column="62" selection-end-line="451" selection-end-column="62" />
1024
+        <state relative-caret-position="656">
1025
+          <caret line="112" column="5" selection-start-line="112" selection-start-column="5" selection-end-line="112" selection-end-column="5" />
1026
+          <folding>
1027
+            <element signature="e#550#551#0" expanded="true" />
1028
+            <element signature="e#576#577#0" expanded="true" />
1029
+            <element signature="e#615#616#0" expanded="true" />
1030
+            <element signature="e#645#646#0" expanded="true" />
1031
+            <element signature="e#696#697#0" expanded="true" />
1032
+            <element signature="e#738#739#0" expanded="true" />
1033
+            <element signature="e#793#794#0" expanded="true" />
1034
+            <element signature="e#839#840#0" expanded="true" />
1035
+            <element signature="e#876#877#0" expanded="true" />
1036
+            <element signature="e#908#909#0" expanded="true" />
1037
+            <element signature="e#947#948#0" expanded="true" />
1038
+            <element signature="e#981#982#0" expanded="true" />
1039
+            <element signature="e#1011#1012#0" expanded="true" />
1040
+            <element signature="e#1036#1037#0" expanded="true" />
1041
+            <element signature="e#1073#1074#0" expanded="true" />
1042
+            <element signature="e#1101#1102#0" expanded="true" />
1043
+            <element signature="e#1140#1141#0" expanded="true" />
1044
+            <element signature="e#1174#1175#0" expanded="true" />
1045
+            <element signature="e#1229#1230#0" expanded="true" />
1046
+            <element signature="e#1275#1276#0" expanded="true" />
1047
+            <element signature="e#1311#1312#0" expanded="true" />
1048
+            <element signature="e#1342#1343#0" expanded="true" />
1049
+            <element signature="e#1391#1392#0" expanded="true" />
1050
+            <element signature="e#1431#1432#0" expanded="true" />
1051
+            <element signature="e#1472#1473#0" expanded="true" />
1052
+            <element signature="e#1508#1509#0" expanded="true" />
1053
+            <element signature="e#1567#1568#0" expanded="true" />
1054
+            <element signature="e#1617#1618#0" expanded="true" />
1055
+            <element signature="e#1654#1655#0" expanded="true" />
1056
+            <element signature="e#1687#1688#0" expanded="true" />
1057
+            <element signature="e#1739#1740#0" expanded="true" />
1058
+            <element signature="e#1818#1819#0" expanded="true" />
1059
+            <element signature="e#1853#1854#0" expanded="true" />
1060
+            <element signature="e#1886#1887#0" expanded="true" />
1061
+            <element signature="e#1936#1937#0" expanded="true" />
1062
+            <element signature="e#1980#1981#0" expanded="true" />
1063
+            <element signature="e#2015#2016#0" expanded="true" />
1064
+            <element signature="e#2048#2049#0" expanded="true" />
1065
+            <element signature="e#2098#2099#0" expanded="true" />
1066
+            <element signature="e#2142#2143#0" expanded="true" />
1067
+          </folding>
1093 1068
         </state>
1094 1069
       </provider>
1095 1070
     </entry>
1071
+    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpTransactionLikeMapper.xml">
1072
+      <provider selected="true" editor-type-id="text-editor" />
1073
+    </entry>
1096 1074
     <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java">
1097 1075
       <provider selected="true" editor-type-id="text-editor">
1098
-        <state relative-caret-position="647">
1099
-          <caret line="43" column="21" selection-start-line="43" selection-start-column="21" selection-end-line="43" selection-end-column="21" />
1076
+        <state relative-caret-position="81">
1077
+          <caret line="4" column="43" selection-start-line="4" selection-start-column="43" selection-end-line="4" selection-end-column="43" />
1100 1078
           <folding>
1101 1079
             <element signature="imports" expanded="true" />
1102 1080
           </folding>
1103 1081
         </state>
1104 1082
       </provider>
1105 1083
     </entry>
1106
-    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/resources/mapper/TpTransactionLikeMapper.xml">
1107
-      <provider selected="true" editor-type-id="text-editor">
1108
-        <state relative-caret-position="242">
1109
-          <caret line="125" column="44" selection-start-line="125" selection-start-column="44" selection-end-line="125" selection-end-column="44" />
1110
-        </state>
1111
-      </provider>
1112
-    </entry>
1113
-    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/model/TpTransactionLike.java">
1084
+    <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java">
1114 1085
       <provider selected="true" editor-type-id="text-editor">
1115
-        <state relative-caret-position="513">
1116
-          <caret line="37" lean-forward="true" selection-start-line="37" selection-end-line="37" />
1117
-          <folding>
1118
-            <element signature="e#537#538#0" expanded="true" />
1119
-            <element signature="e#563#564#0" expanded="true" />
1120
-            <element signature="e#602#603#0" expanded="true" />
1121
-            <element signature="e#632#633#0" expanded="true" />
1122
-            <element signature="e#528#529#0" expanded="true" />
1123
-            <element signature="e#570#571#0" expanded="true" />
1124
-            <element signature="e#625#626#0" expanded="true" />
1125
-            <element signature="e#671#672#0" expanded="true" />
1126
-            <element signature="e#708#709#0" expanded="true" />
1127
-            <element signature="e#740#741#0" expanded="true" />
1128
-            <element signature="e#779#780#0" expanded="true" />
1129
-            <element signature="e#813#814#0" expanded="true" />
1130
-            <element signature="e#843#844#0" expanded="true" />
1131
-            <element signature="e#868#869#0" expanded="true" />
1132
-            <element signature="e#905#906#0" expanded="true" />
1133
-            <element signature="e#933#934#0" expanded="true" />
1134
-            <element signature="e#972#973#0" expanded="true" />
1135
-            <element signature="e#1006#1007#0" expanded="true" />
1136
-            <element signature="e#1061#1062#0" expanded="true" />
1137
-            <element signature="e#1107#1108#0" expanded="true" />
1138
-            <element signature="e#1143#1144#0" expanded="true" />
1139
-            <element signature="e#1174#1175#0" expanded="true" />
1140
-            <element signature="e#1223#1224#0" expanded="true" />
1141
-            <element signature="e#1263#1264#0" expanded="true" />
1142
-            <element signature="e#1304#1305#0" expanded="true" />
1143
-            <element signature="e#1340#1341#0" expanded="true" />
1144
-            <element signature="e#1399#1400#0" expanded="true" />
1145
-            <element signature="e#1449#1450#0" expanded="true" />
1146
-            <element signature="e#1486#1487#0" expanded="true" />
1147
-            <element signature="e#1519#1520#0" expanded="true" />
1148
-            <element signature="e#1571#1572#0" expanded="true" />
1149
-            <element signature="e#1650#1651#0" expanded="true" />
1150
-            <element signature="e#1685#1686#0" expanded="true" />
1151
-            <element signature="e#1718#1719#0" expanded="true" />
1152
-            <element signature="e#1768#1769#0" expanded="true" />
1153
-            <element signature="e#1812#1813#0" expanded="true" />
1154
-            <element signature="e#1847#1848#0" expanded="true" />
1155
-            <element signature="e#1880#1881#0" expanded="true" />
1156
-            <element signature="e#1930#1931#0" expanded="true" />
1157
-            <element signature="e#1974#1975#0" expanded="true" />
1158
-          </folding>
1086
+        <state relative-caret-position="224">
1087
+          <caret line="451" column="59" selection-start-line="451" selection-start-column="54" selection-end-line="451" selection-end-column="73" />
1159 1088
         </state>
1160 1089
       </provider>
1161 1090
     </entry>
1162 1091
     <entry file="file://$PROJECT_DIR$/../smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java">
1163 1092
       <provider selected="true" editor-type-id="text-editor">
1164
-        <state relative-caret-position="701">
1165
-          <caret line="623" column="23" selection-start-line="623" selection-start-column="23" selection-end-line="623" selection-end-column="23" />
1093
+        <state relative-caret-position="487">
1094
+          <caret line="618" selection-start-line="618" selection-end-line="621" selection-end-column="9" />
1166 1095
         </state>
1167 1096
       </provider>
1168 1097
     </entry>

+ 13
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java Vedi File

@@ -444,5 +444,18 @@ public class SocialController extends BaseController {
444 444
         return response;
445 445
     }
446 446
 
447
+    @ApiOperation(value = "添加点赞", notes = "添加点赞")
448
+    @ApiImplicitParams({
449
+            @ApiImplicitParam(paramType = "body", dataType = "String", name = "paramets", value =
450
+                    "transactionId:当前帖子ID,likeStatus:1是喜欢 2是不喜欢"),
451
+            @ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token")
452
+    })
453
+    @RequestMapping(value = "/addTransactionLike", method = RequestMethod.POST)
454
+    public ResponseBean addTransactionLike(HttpSession session, @RequestBody String paramets) {
455
+        UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
456
+        ResponseBean response = socialServiceI.addTransactionLike(paramets,userElement);
457
+        return response;
458
+    }
459
+
447 460
 
448 461
 }

+ 0
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TpTransactionLikeMapper.java Vedi File

@@ -3,7 +3,6 @@ package com.community.huiju.dao;
3 3
 import com.community.huiju.model.TpTransactionLike;
4 4
 import org.apache.ibatis.annotations.Mapper;
5 5
 import org.apache.ibatis.annotations.Param;
6
-
7 6
 @Mapper
8 7
 public interface TpTransactionLikeMapper {
9 8
     int deleteByPrimaryKey(Integer id);

+ 7
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/SocialServiceI.java Vedi File

@@ -187,5 +187,11 @@ public interface SocialServiceI {
187 187
 	 */
188 188
     ResponseBean addTransactionReply(String paramets, UserElement userElement);
189 189
 
190
-
190
+	/**
191
+	 * 添加点赞
192
+	 * @param paramets
193
+	 * @param userElement
194
+	 * @return
195
+	 */
196
+	ResponseBean addTransactionLike(String paramets, UserElement userElement);
191 197
 }

+ 13
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/SocialServiceImpl.java Vedi File

@@ -604,6 +604,19 @@ public class SocialServiceImpl implements SocialServiceI {
604 604
         return response;
605 605
     }
606 606
 
607
+    @Override
608
+    public ResponseBean addTransactionLike(String paramets, UserElement userElement) {
609
+      ResponseBean response = new ResponseBean();
610
+        TpTransactionLike tpTransactionLike= JSONObject.parseObject(paramets,TpTransactionLike.class);
611
+        tpTransactionLike.setCommunityId(userElement.getCommunityId());
612
+        tpTransactionLike.setTaUserId(userElement.getId());
613
+        tpTransactionLike.setCreateDate(new Date());
614
+        tpTransactionLikeMapper.insert(tpTransactionLike);
615
+        response.addSuccess("成功");
616
+        return response;
617
+    }
618
+
619
+
607 620
     @Override
608 621
     public void accessTicket(Integer communityId, TpTicket tpTicket, String ticketId, Integer userId) {
609 622
         //修改工单内容和评分