Commit c4b5ce2a by 徐高华

社群群发

parent 9726ac44
......@@ -8,6 +8,8 @@ import java.util.Map;
import java.util.stream.Collectors;
import com.gic.haoban.manage.api.dto.chat.*;
import com.gic.haoban.manage.api.dto.qdto.chat.GroupChatSearchQDTO;
import com.gic.haoban.manage.api.service.chat.GroupChatApiService;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -43,6 +45,8 @@ public class GroupChatPlanController {
@Autowired
private GroupChatPlanApiService groupChatPlanApiService;
@Autowired
private GroupChatApiService groupChatApiService ;
@Autowired
private MaterialApiService materialApiService;
// clerkTaskStatus 1待处理 2已处理/已失效
......@@ -75,6 +79,20 @@ public class GroupChatPlanController {
return RestResponse.successResult(page);
}
/**
* 成员群列表
* @param basePageInfo
* @return
*/
@RequestMapping("staff-group-list")
public RestResponse<Object> staffGrupList(String wxEnterpriseId , String staffId , BasePageInfo basePageInfo) {
GroupChatSearchQDTO qdto = new GroupChatSearchQDTO() ;
qdto.setWxEnterpriseId(wxEnterpriseId);
qdto.setStaffId(staffId);
ServiceResponse<Page<GroupChatDTO>> page = this.groupChatApiService.listPage(qdto, basePageInfo);
return RestResponse.successResult(page.getResult());
}
@RequestMapping("owner-list")
public RestResponse<Object> ownerList(GroupChatPlanSearchQDTO qdto, BasePageInfo basePageInfo) {
if (null == qdto.getPlanId()) {
......
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