|
@@ -8,6 +8,7 @@ import com.diagbot.dto.WaitAuthenDTO;
|
|
|
import com.diagbot.entity.Organization;
|
|
|
import com.diagbot.entity.User;
|
|
|
import com.diagbot.entity.UserAuthentication;
|
|
|
+import com.diagbot.enums.AccdenEnum;
|
|
|
import com.diagbot.enums.AuthHandleEnum;
|
|
|
import com.diagbot.enums.AuthStatusEnum;
|
|
|
import com.diagbot.enums.IsDeleteEnum;
|
|
@@ -194,7 +195,14 @@ public class UserAuthenticationFacade extends UserAuthenticationServiceImpl {
|
|
|
QueryAuthProgressDTO queryAuthProgressDTO = new QueryAuthProgressDTO();
|
|
|
queryAuthProgressDTO.setUserStatus(user.getAuthStatus());
|
|
|
queryAuthProgressDTO.setUserStatusMsg(AuthStatusEnum.getName(user.getAuthStatus()));
|
|
|
- queryAuthProgressDTO.setRejectComment(userAuthentication.getRejectComment());
|
|
|
+ if(userAuthentication!=null){
|
|
|
+ queryAuthProgressDTO.setIsReject(userAuthentication.getIsReject());
|
|
|
+ if(userAuthentication.getRejectType()!=null){
|
|
|
+ queryAuthProgressDTO.setRejectType(AccdenEnum.getName(userAuthentication.getRejectType()));
|
|
|
+ }
|
|
|
+ queryAuthProgressDTO.setRejectComment(userAuthentication.getRejectComment());
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
return queryAuthProgressDTO;
|
|
|
}
|