|
@@ -11,7 +11,7 @@
|
11
|
11
|
|
12
|
12
|
<update id ="updateLiveActivityStatus" >
|
13
|
13
|
UPDATE ta_live_activity t
|
14
|
|
- SET t.`status` = 0,
|
|
14
|
+ SET t.`status` = -1,
|
15
|
15
|
t.update_date = CURRENT_TIME
|
16
|
16
|
WHERE
|
17
|
17
|
t.org_id = #{orgId}
|
|
@@ -25,7 +25,7 @@
|
25
|
25
|
select a.building_name,b.name as city_name, t.* From ta_live_activity t
|
26
|
26
|
left join ta_building a on t.building_id = a.building_id
|
27
|
27
|
LEFT JOIN td_city b on t.city_id = b.id
|
28
|
|
- where t.org_id = #{orgId}
|
|
28
|
+ where t.org_id = #{orgId} and t.status != -1
|
29
|
29
|
<if test="status != null and status != ''">
|
30
|
30
|
and t.status = #{status}
|
31
|
31
|
</if>
|