魏超 5 years ago
parent
commit
fab01525e2

+ 1
- 1
src/main/resources/mapper/TaShareChildRecordMapper.xml View File

11
 
11
 
12
     <update id="updateActivityProcessToEndByGroupActivityId">
12
     <update id="updateActivityProcessToEndByGroupActivityId">
13
       <if test="groupActivityId != null and groupActivityId != ''">
13
       <if test="groupActivityId != null and groupActivityId != ''">
14
-          update ta_share_child_record a set a.status = '2' where a.group_activity_id = #{groupActivityId}
14
+          update ta_share_child_record a set a.status = '2' where a.group_activity_id = #{groupActivityId} and a.status != 0
15
       </if>
15
       </if>
16
     </update>
16
     </update>
17
 
17
 

+ 1
- 1
src/main/resources/mapper/TaShareRecordMapper.xml View File

11
 
11
 
12
     <update id="updateEndGroupActivityByGroupActivityId">
12
     <update id="updateEndGroupActivityByGroupActivityId">
13
         <if test="groupActivityId != '' and groupActivityId != null">
13
         <if test="groupActivityId != '' and groupActivityId != null">
14
-            update ta_share_record a set a.status = '2' where a.group_activity_id = #{groupActivityId}
14
+            update ta_share_record a set a.status = '2' where a.group_activity_id = #{groupActivityId} and a.status != 0
15
         </if>
15
         </if>
16
     </update>
16
     </update>
17
 
17