Commit 326afd17 by 徐高华

查询

parent c3779a53
...@@ -15,7 +15,7 @@ public class GroupChatPlanSearchQDTO implements Serializable { ...@@ -15,7 +15,7 @@ public class GroupChatPlanSearchQDTO implements Serializable {
private String searchParams; private String searchParams;
// 1进行中、2未开始、3已结束 // 1进行中、2未开始、3已结束
private Integer status; private Integer status;
// 群主 1待发送 2已发送 // 群主 0发送失败 1待发送 2已发送
private Integer sendStatus ; private Integer sendStatus ;
// 群名称 // 群名称
private String chatName ; private String chatName ;
......
...@@ -273,6 +273,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService { ...@@ -273,6 +273,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
for (QywxSendMessageResultDTO item : list) { for (QywxSendMessageResultDTO item : list) {
TabGroupChatPlanLog entity = new TabGroupChatPlanLog(); TabGroupChatPlanLog entity = new TabGroupChatPlanLog();
// 企微返回成功 // 企微返回成功
// 0-未发送 1-已发送 2-因客户不是好友导致发送失败 3-因客户已经收到其他群发消息导致发送失败
if (item.getStatus() == 1) { if (item.getStatus() == 1) {
sendCount++; sendCount++;
// 已发送 // 已发送
......
...@@ -83,5 +83,17 @@ ...@@ -83,5 +83,17 @@
<if test="null != ownLogId"> <if test="null != ownLogId">
and a.own_log_id = #{ownLogId} and a.own_log_id = #{ownLogId}
</if> </if>
<if test="null != searchParams and ''!=searchParams">
and c.staff_name like '%${searchParams}%'
</if>
<if test="null !=chatName and '' !=chatName">
and (d.name like '%${chatName}%' or d.wx_chat_id like '%${chatName}%')
</if>
<if test="null !=sendStatus">
and a.send_status = #{sendStatus}
</if>
<if test="null != startDate">
and a.create_time <![CDATA[>=]]> #{startDate} and a.create_time <![CDATA[<=]]> #{endDate}
</if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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