Commit 8e4287e7 by 徐高华

朋友圈

parent af1fc6a1
......@@ -254,7 +254,7 @@
<select id="listForData" resultType="java.lang.Long">
<if test="type==1">
select plan_id from tab_haoban_qw_moment_plan where status_flag = 1 and begin_date <![CDATA[ < ]]> now() and end_date > now() and delete_flag = 0 and task_clerk_num > done_num
select plan_id from tab_haoban_qw_moment_plan where status_flag = 1 and begin_date <![CDATA[ < ]]> now() and end_date > now() and delete_flag = 0
</if>
<if test="type==2">
select plan_id from tab_haoban_qw_moment_plan where status_flag = 1 and begin_date <![CDATA[ < ]]> now() and DATE_ADD(end_date , INTERVAL 3 DAY) > now() and delete_flag = 0 and done_num > 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment