Commit 0cd2e08a by 徐高华

朋友圈

parent 96f80c88
......@@ -623,7 +623,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
}
// 到期停止
/*if(params.equals("3")) {
if(params.equals("3")) {
Date end = DateUtil.getEndTimeOfDay(new Date()) ;
List<TabQwMomentPlan> planList = this.qwMomentPlanMapper.listForStop(end) ;
if(CollectionUtils.isNotEmpty(planList)) {
......@@ -637,6 +637,6 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
}
}
}
}*/
}
}
}
......@@ -257,7 +257,7 @@
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
</if>
<if test="type==2">
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 done_num > 0
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
</if>
</select>
......
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