Commit 39e30223 by fudahua

feat:先查看user是否存在再看手机号是否存在

parent 3852f241
......@@ -95,6 +95,8 @@ public class StaffServiceImpl implements StaffService {
List<String> relationStaffIds = staffClerkRelationService.listRelationsStaffId(staffMap.keySet());
if (CollectionUtils.isNotEmpty(relationStaffIds)) {
return staffMap.get(relationStaffIds.get(0));
}else{
return staffs.get(0);
}
}
return null;
......
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