Commit 8dd59e75 by 徐高华

过滤回收站的门店

parent 1957b8ea
......@@ -509,7 +509,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
}
if(!delFlag && null != clerk && clerk.getClerkType()<2 && StringUtils.isNotEmpty(clerk.getStoreId())) {
StoreDTO store = this.storeService.getStore(clerk.getStoreId()) ;
if(null == store || store.getStatus() != 2) {
if(null == store || store.getStatus() == -3) {
delFlag = true ;
}
}
......@@ -534,7 +534,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
}
if(!delFlag && null != clerk && clerk.getClerkType() <2 && StringUtils.isNotEmpty(clerk.getStoreId())) {
StoreDTO store = this.storeService.getStore(clerk.getStoreId()) ;
if(null == store || store.getStatus() != 2) {
if(null == store || store.getStatus() == -3) {
delFlag = true ;
}
}
......
......@@ -374,11 +374,13 @@ public class StaffController extends WebBaseController {
}
}
StoreDTO store = storeService.getStore(clerkInfoVo.getStoreId());
if (null != store) {
if (null != store && store.getStatus() != -3) {
clerkInfoVo.setStoreName(store.getStoreName());
}
});
if (manageFlag == null || manageFlag != 1) {
retList = retList.stream().filter(o->StringUtils.isNotEmpty(o.getStoreName())).collect(Collectors.toList()) ;
}
}
}
return resultResponse(HaoBanErrCode.ERR_1, 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