Commit a58af6c6 by 徐高华

Merge branch 'feature/获取用户敏感信息' into 'developer'

删除无效关联导购

See merge request !903
parents fce558e7 d9f878ca
......@@ -404,6 +404,8 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
if(null != clerk && clerk.getStatus() == 1) {
retList.add(item) ;
}else {
this.mapper.delByClerkId(clerkId);
}
}
return retList ;
......@@ -416,6 +418,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
String clerkId = dto.getClerkId() ;
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
if(null == clerk || clerk.getStatus() != 1) {
this.mapper.delByClerkId(clerkId);
dto = null ;
}
return dto ;
......
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