|
|
@@ -62,6 +62,8 @@ public class EvaluationAgency {
|
|
|
}
|
|
|
|
|
|
public EvaluationAgency passAuthentication() {
|
|
|
+ if (this.getIsAuthentication()==AuthenticationStatus.isAuthenticated)
|
|
|
+ throw new BaseException("该用户已通过认证,请勿重复操作!");
|
|
|
this.setIsAuthentication(AuthenticationStatus.isAuthenticated);
|
|
|
this.setCheckTime(new Timestamp(System.currentTimeMillis()));
|
|
|
this.setExplain("");
|
|
|
@@ -91,10 +93,4 @@ public class EvaluationAgency {
|
|
|
this.isDeleted = DeletedStatus.isDeleted;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public void passAuthentication(){
|
|
|
- if (this.getIsAuthentication()==AuthenticationStatus.isAuthenticated)
|
|
|
- throw new BaseException("该用户已通过认证,请勿重复操作!");
|
|
|
- this.setIsAuthentication(AuthenticationStatus.isAuthenticated);
|
|
|
- }
|
|
|
}
|