Kaynağa Gözat

修改认证回显问题

guo00guo 5 yıl önce
ebeveyn
işleme
5f5602aabd

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
core/src/main/java/com/mooctest/crowd/domain/controller/TestUserController.java


+ 0 - 1
core/src/main/java/com/mooctest/crowd/domain/domainobject/EvaluationAgency.java

@@ -33,7 +33,6 @@ public class EvaluationAgency {
 
     private Long id;
     private Long userId;
-    private String bankAccount;
     private List<EvaluationAgencyAbility> evaluationAgencyAbilityList;
     private List<EvaluationAgencyResource> evaluationAgencyResourceList;
     private int isAuthentication;

+ 0 - 1
core/src/main/java/com/mooctest/crowd/domain/domainobject/PersonalAuthentication.java

@@ -22,7 +22,6 @@ public class PersonalAuthentication {
     private String idCardPositivePhoto;//身份证正面照片
     private String idCardBackPhoto;//身份证反面照片
     private String gender;
-    private String bankAccount;
     private String address;
     private int isDeleted;
     private int isAuthentication;

+ 1 - 1
core/src/test/java/com/mooctest/crowd/domain/domainobject/UserTest.java

@@ -67,7 +67,7 @@ public class UserTest {
         evaluationAgency.setId(1L);
         evaluationAgency.setUserId(user.getId());
         evaluationAgency.setEvaluationAgencyName("测评机构");
-        evaluationAgency.setBankAccount("111111111");
+//        evaluationAgency.setBankAccount("111111111");
         evaluationAgency.setAgencyPhoto("https://mooctest.phone.com");
         evaluationAgency.setAddress(user.getProvince()+user.getCity());
         evaluationAgency.setIsDeleted(DeletedStatus.isNotDeleted);

+ 3 - 3
site/src/main/java/com/mooctest/crowd/site/data/vo/AgencyVO.java

@@ -22,7 +22,6 @@ import java.util.stream.Collectors;
 public class AgencyVO {
     private Long userId;
     private String evaluationAgencyName;
-    private String bankAccount;
     private String address;
     private List<String> evaluationAgencyAbilityList;
     private List<AgencyResourceVO> evaluationAgencyResourceList;
@@ -31,12 +30,13 @@ public class AgencyVO {
     private String explain;
     private Long taskCount;
     private int isDeleted;
+    private String businessLicensePhoto;
     private Timestamp updateTime;
     private Timestamp expireTime;
     private Timestamp createTime;
     private StatusVO authStatus;
     private Timestamp applyTime;
-    private List<String> type;
+    private List<String> roleList;
     private String IdCardNum;
     private String legalPersonName;
     private Long id;
@@ -59,7 +59,7 @@ public class AgencyVO {
         }
 
         if(agency.getType() != null && agency.getType() !=  ""){
-            this.type = (List<String>) JSONArray.parse(agency.getType());
+            this.roleList = (List<String>) JSONArray.parse(agency.getType());
         }
         this.authStatus = new StatusVO();
         this.authStatus.initAuthStatus(this.isAuthentication);

+ 2 - 3
site/src/main/java/com/mooctest/crowd/site/data/vo/PersonalAuthVO.java

@@ -22,7 +22,6 @@ public class PersonalAuthVO {
     private Long userId;
     private String realName;
     private String idCard;
-    private String bankAccount;
     private String address;
     private int isDeleted;
     private Integer isAuthentication;
@@ -34,13 +33,13 @@ public class PersonalAuthVO {
     private String idCardBackPhoto;//身份证反面照片
     private Date idCardDeadTime;//身份证过期时间
     private String gender;
-    private List<String> type;
+    private List<String> roleList;
 
     public PersonalAuthVO(PersonalAuthentication personalAuthentication) {
         BeanUtils.copyProperties(personalAuthentication, this);
 
         if(personalAuthentication.getType() != null && personalAuthentication.getType() !=  ""){
-            this.type = (List<String>) JSONArray.parse(personalAuthentication.getType());
+            this.roleList = (List<String>) JSONArray.parse(personalAuthentication.getType());
         }
         this.authStatus = new StatusVO();
         this.authStatus.initAuthStatus(this.isAuthentication);

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor