|
@@ -96,17 +96,17 @@
|
96
|
96
|
</update>
|
97
|
97
|
|
98
|
98
|
<update id="updateUnStartActivity">
|
99
|
|
- update ta_building_dynamic t
|
|
99
|
+ update ta_building_dynamic
|
100
|
100
|
set activity_status = 0
|
101
|
101
|
where
|
102
|
|
- NOW() >= t.start_date and NOW() <= t.end_date and t.activity_status = 1
|
|
102
|
+ NOW() >= start_date and NOW() <= end_date and activity_status = 1
|
103
|
103
|
</update>
|
104
|
104
|
|
105
|
105
|
<update id="updateProcessingActivity">
|
106
|
|
- update ta_building_dynamic t
|
|
106
|
+ update ta_building_dynamic
|
107
|
107
|
set activity_status = 2
|
108
|
108
|
where
|
109
|
|
- t.activity_status =0 and NOW() > t.end_date
|
|
109
|
+ activity_status =0 and NOW() >= end_date
|
110
|
110
|
</update>
|
111
|
111
|
|
112
|
112
|
<select id="updateTaBuildingDynamic">
|