Commit 609ca365 by songyinghui

feat: 素材列表添加权限

parent 8361edc4
......@@ -102,13 +102,13 @@ public class ContentMaterialController {
contentMaterialPageFrontQDTO.setHotFlag(1);
}
}
// if (StringUtils.isBlank(contentMaterialQO.getStoreId())){
// // 区经 获取管辖的权限
// List<String> storeIds = this.queryClerkStoreIds(contentMaterialQO.getClerkId(), contentMaterialQO.getWxEnterpriseId());
// contentMaterialPageFrontQDTO.setStoreIdList(storeIds);
// }else {
// contentMaterialPageFrontQDTO.setStoreIdList(Collections.singletonList(contentMaterialQO.getStoreId()));
// }
if (StringUtils.isBlank(contentMaterialQO.getStoreId())){
// 区经 获取管辖的权限
List<String> storeIds = this.queryClerkStoreIds(contentMaterialQO.getClerkId(), contentMaterialQO.getWxEnterpriseId());
contentMaterialPageFrontQDTO.setStoreIdList(storeIds);
}else {
contentMaterialPageFrontQDTO.setStoreIdList(Collections.singletonList(contentMaterialQO.getStoreId()));
}
BasePageInfo pageInfo = new BasePageInfo();
pageInfo.setPageNum(contentMaterialQO.getPageNum());
pageInfo.setPageSize(contentMaterialQO.getPageSize());
......
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