Commit c03f8e2d by fudahua

审核鬓发控制

parent 829f764b
......@@ -378,6 +378,10 @@ public class StaffController extends WebBaseController{
}).map(EnterpriseDetailDTO::getEnterpriseId).collect(Collectors.toList());
List<String> storeIds = wxEnterpriseRelatedApiService.listStoreIdByWxEnterpriseId(wxEnterpriseId);
if (CollectionUtils.isEmpty(storeIds)) {
logger.info("没有权限门店");
return resultResponse(HaoBanErrCode.ERR_1);
}
List<ClerkDTO> clerkDTOList = clerkNewService.listClerkByEnterpriseIdAndSearch(enterpriseIds, storeIds, search);
List<ClerkInfoVo> retList = EntityUtil.changeEntityListByJSON(ClerkInfoVo.class, clerkDTOList);
if (CollectionUtils.isNotEmpty(retList)) {
......
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