|
@@ -248,10 +248,16 @@ public class CommonUserServiceImpl extends ServiceImpl<CommonUserMapper, CommonU
|
|
.eq("driver_phone",userDTO.getPhone()));
|
|
.eq("driver_phone",userDTO.getPhone()));
|
|
String flag = "";
|
|
String flag = "";
|
|
if(!CollectionUtils.isEmpty(identityAuthenticationInfos)){
|
|
if(!CollectionUtils.isEmpty(identityAuthenticationInfos)){
|
|
- flag = "1";
|
|
|
|
|
|
+ flag = "粮商";
|
|
}
|
|
}
|
|
if(!CollectionUtils.isEmpty(driverViewInfos)){
|
|
if(!CollectionUtils.isEmpty(driverViewInfos)){
|
|
- flag = flag+ "2";
|
|
|
|
|
|
+ if(!StringUtils.isEmpty(flag)){
|
|
|
|
+ flag = flag+ "、物流";
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ flag = "物流";
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
userDTO.setIdentityFlag(flag);
|
|
userDTO.setIdentityFlag(flag);
|
|
return userDTO;
|
|
return userDTO;
|
|
@@ -326,10 +332,15 @@ public class CommonUserServiceImpl extends ServiceImpl<CommonUserMapper, CommonU
|
|
.eq("driver_phone",user.getPhone()));
|
|
.eq("driver_phone",user.getPhone()));
|
|
String flag = "";
|
|
String flag = "";
|
|
if(!CollectionUtils.isEmpty(identityAuthenticationInfos)){
|
|
if(!CollectionUtils.isEmpty(identityAuthenticationInfos)){
|
|
- flag = "1";
|
|
|
|
|
|
+ flag = "粮商";
|
|
}
|
|
}
|
|
if(!CollectionUtils.isEmpty(driverViewInfos)){
|
|
if(!CollectionUtils.isEmpty(driverViewInfos)){
|
|
- flag = flag+ "2";
|
|
|
|
|
|
+ if(!StringUtils.isEmpty(flag)){
|
|
|
|
+ flag = flag+ "、物流";
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ flag = "物流";
|
|
|
|
+ }
|
|
}
|
|
}
|
|
user.setIdentityFlag(flag);
|
|
user.setIdentityFlag(flag);
|
|
return user;
|
|
return user;
|