Commit e5dcff9e by 徐高华

群群发

parent 8de16e67
...@@ -170,14 +170,16 @@ ...@@ -170,14 +170,16 @@
<if test="null != searchParams"> <if test="null != searchParams">
and b.name like #{searchParams} and b.name like #{searchParams}
</if> </if>
<if test="1==clerkTaskStatus"> <if test="1==clerkTaskStatus">
and b.end_time > now() group by b.plan_id
</if> having ( notSendCount > 0 AND b.`end_time` <![CDATA[>=]]> NOW() )
<if test="2==clerkTaskStatus"> order by b.end_time desc , a.create_time desc
and b.end_time <![CDATA[<=]]> now() </if>
</if> <if test="2==clerkTaskStatus">
group by b.plan_id group by b.plan_id
order by b.end_time desc , a.create_time desc having ( notSendCount = 0 or (sendCount > 0 and b.`end_time` <![CDATA[<]]> NOW() )
order by b.end_time desc , a.create_time desc
</if>
</select> </select>
<select id="listOwnerLogPageForWxa" parameterType="com.gic.haoban.manage.api.dto.qdto.chat.GroupChatPlanSearchQDTO" resultType="com.gic.haoban.manage.api.dto.chat.GroupChatPlanOwnerLogDTO"> <select id="listOwnerLogPageForWxa" parameterType="com.gic.haoban.manage.api.dto.qdto.chat.GroupChatPlanSearchQDTO" resultType="com.gic.haoban.manage.api.dto.chat.GroupChatPlanOwnerLogDTO">
......
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