魏超 hace 5 años
padre
commit
109def443b

+ 1
- 1
src/main/java/com/huiju/estateagents/entity/HelpActivity.java Ver fichero

@@ -154,7 +154,7 @@ public class HelpActivity implements Serializable {
154 154
      * activityId
155 155
      */
156 156
     @TableField(exist = false)
157
-    private Integer activityId;
157
+    private String activityId;
158 158
 
159 159
     /**
160 160
      * 助力拼团2表和1

+ 6
- 3
src/main/resources/mapper/HelpActivityMapper.xml Ver fichero

@@ -66,11 +66,12 @@
66 66
 			SELECT
67 67
                 a.city_id as cityId,
68 68
 				a.help_activity_id as activityId,
69
-				a.img as img,
69
+				a.list_img as img,
70 70
                 a.banner_list_img as bannerListImg,
71 71
                 a.title as title,
72 72
                 a.end_date as endDate,
73 73
                 a.`status` as status,
74
+                a.activity_status as activityStatus,
74 75
 				"help" AS type
75 76
 			FROM
76 77
 				ta_help_activity a
@@ -91,11 +92,12 @@
91 92
 				SELECT
92 93
                     s.city_id as cityId,
93 94
 					s.group_activity_id as activityId,
94
-					s.main_img as img,
95
+					s.list_img as img,
95 96
                     s.banner_list_img as bannerListImg,
96 97
                     s.activity_name as title,
97 98
                     s.end_time as endDate,
98 99
                     s.status as status,
100
+                    s.activity_status as activityStatus,
99 101
 					"group" AS type
100 102
 				FROM
101 103
 					ta_share_activity s
@@ -116,11 +118,12 @@
116 118
                 SELECT
117 119
                 t.city_id as cityId,
118 120
                 t.dynamic_id as activityId,
119
-                t.img_url as img,
121
+                t.list_img_url as img,
120 122
                 t.banner_list_img as bannerListImg,
121 123
                 t.title as title,
122 124
                 t.end_date as endDate,
123 125
                 t.status as status,
126
+                t.activity_status as activityStatus,
124 127
                 "activity" AS type
125 128
                 FROM
126 129
                 ta_building_dynamic t

+ 1
- 1
src/main/resources/mapper/TaDrainageMapper.xml Ver fichero

@@ -4,6 +4,6 @@
4 4
     <update id="updateDrainageToEnd">
5 5
         update ta_drainage
6 6
         set status = 0
7
-        where NOW() > end_date
7
+        where NOW() > end_date and t.status != -1
8 8
     </update>
9 9
 </mapper>