Commit fd933965 by 徐高华

画布

parent 86d68fa8
......@@ -390,4 +390,7 @@ public interface StaffApiService {
Page<StaffDTO> listByParams(String enterpriseId , String params, String wxEnterpriseId, BasePageInfo pageInfo) ;
void deleteStaff(String enterpriseId , String clerkId) ;
}
......@@ -1543,4 +1543,9 @@ public class StaffApiServiceImpl implements StaffApiService {
List<StaffDTO> pageList = this.staffMapper.listByParams(wxEnterpriseIdList , params) ;
return PageUtil.changePageHelperToCurrentPage(new PageInfo<>(pageList), StaffDTO.class);
}
@Override
public void deleteStaff(String enterpriseId, String clerkId) {
}
}
......@@ -95,6 +95,7 @@ public class GroupChatPlanController {
*/
@RequestMapping("staff-group-list")
public RestResponse<Page<GroupChatDTO>> staffGroupList(@RequestBody GroupChatQO qo) {
logger.info("params={}",JSONObject.toJSONString(qo));
GroupChatSearchQDTO qdto = new GroupChatSearchQDTO() ;
qdto.setWxEnterpriseId(qo.getWxEnterpriseId());
qdto.setStaffId(qo.getStaffId());
......@@ -108,6 +109,7 @@ public class GroupChatPlanController {
if (null != owner && owner.getSendStatus()==2) {
return RestResponse.successResult(new Page<>()) ;
}
qdto.setStaffId(owner.getStaffId());
}
ServiceResponse<Page<GroupChatDTO>> page = this.groupChatApiService.listPage(qdto, qo);
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