Commit 61331f1b by 徐高华

社群群发

parent 0c40b97c
......@@ -96,8 +96,14 @@
and (d.name like #{chatName} or d.wx_chat_id like #{wxChatId}
</if>
<if test="null !=sendStatus">
<if test="sendStatus==30">
and a.send_status = in (0,3)
</if>
<if test="sendStatus != 30">
and a.send_status = #{sendStatus}
</if>
</if>
<if test="null != startDate">
and a.create_time <![CDATA[>=]]> #{startDate} and a.create_time <![CDATA[<=]]> #{endDate}
</if>
......
......@@ -213,7 +213,7 @@ public class GroupChatPlanController {
*/
@RequestMapping("owner-do-list")
public RestResponse<Page<GroupChatPlanLogDTO>> ownerDoList(Long planId, String wxEnterpriseId, String enterpriseId, Long ownLogId,
BasePageInfo basePageInfo) {
BasePageInfo basePageInfo,Integer sendStatus) {
if (null == planId || null == ownLogId) {
return RestResponse.failure("1", "参数未传");
}
......@@ -222,6 +222,10 @@ public class GroupChatPlanController {
qdto.setEnterpriseId(enterpriseId);
qdto.setPlanId(planId);
qdto.setOwnLogId(ownLogId);
if(null == sendStatus) {
sendStatus = 2 ;
}
qdto.setSendStatus(sendStatus);
ServiceResponse<Page<GroupChatPlanLogDTO>> page = this.groupChatPlanApiService.listLogPage(planId, qdto,
basePageInfo);
return RestResponse.successResult(page.getResult());
......
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