Commit fd933965 by 徐高华

画布

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