Commit ee034cd5 by 徐高华

群群发查询回退

parent 95f8f002
......@@ -171,15 +171,13 @@
and b.name like #{searchParams}
</if>
<if test="1==clerkTaskStatus">
group by b.plan_id
having ( notSendCount > 0 AND b.`end_time` <![CDATA[>=]]> NOW() )
order by b.end_time desc , a.create_time desc
and b.end_time > now()
</if>
<if test="2==clerkTaskStatus">
group by b.plan_id
having ( notSendCount = 0 or (sendCount > 0 and b.`end_time` <![CDATA[<]]> NOW() ) )
order by b.end_time desc , a.create_time desc
and b.end_time <![CDATA[<=]]> now()
</if>
group by b.plan_id
order by b.end_time desc , a.create_time desc
</select>
<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