select <includerefid="Base_Column_List"/> from tab_haoban_qw_moment_plan where end_date =#{time} and delete_flag =0 and status_flag = 1 and exec_type = 0
select <includerefid="Base_Column_List"/> from tab_haoban_qw_moment_plan where end_date <![CDATA[ <= ]]> #{time} and delete_flag =0 and status_flag = 1 and exec_type = 0 and cancel_time_flag = 0
</select>
<updateid="del"parameterType="java.lang.Long">
update tab_haoban_qw_moment_plan set delete_flag = 1 where plan_id = #{planId}
</update>
...
...
@@ -313,4 +317,11 @@
<updateid="updateQwData">
update tab_haoban_qw_moment_plan set total_like_count = #{like} , total_comment_count = #{comment} where plan_id = #{planId}
</update>
<updateid="updateCancelFlag">
update tab_haoban_qw_moment_plan set cancel_time_flag = 1 where plan_id in