Commit 5ed67032 by huangZW

111

parent de431103
......@@ -128,6 +128,9 @@ public class WxEnterpriseController extends WebBaseController{
}
List<StoreDTO> t_list = storePage.getResult();
List<String> storeIds = t_list.stream().map(s->s.getStoreId()).collect(Collectors.toList());
if(StringUtils.isEmpty(keyWord)){
storeIds = null;
}
Page<DepartmentDTO> page = departmentApiService.pageFullStoreByWxEnterpriseId(wxEnterpriseId, keyWord,storeIds,maxVersionCount, basePageInfo);
List<DepartmentDTO> list = page.getResult();
List<StoreVo> resultList = EntityUtil.changeEntityListByJSON(StoreVo.class,list);
......
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