he2802 1 жил өмнө
parent
commit
a7a142109d

+ 7 - 7
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/UserProfileServiceImpl.java

@@ -918,17 +918,17 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
                     fileList.add(jsonBean.getRecent_photos().getValue());
                 }
 
-                if (Validator.isNotEmpty(jsonBean.getIdcard_face_photo().getValue())) {
+                if (Validator.isNotEmpty(jsonBean.getIdcard_face_photo())) {
                     userProfileExportVo.setIdcard_face_photo(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getIdcard_face_photo().getValue());
                     fileList.add(jsonBean.getIdcard_face_photo().getValue());
                 }
 
-                if (Validator.isNotEmpty(jsonBean.getIdcard_national_photo().getValue())) {
+                if (Validator.isNotEmpty(jsonBean.getIdcard_national_photo())) {
                     userProfileExportVo.setIdcard_national_photo(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getIdcard_national_photo().getValue());
                     fileList.add(jsonBean.getIdcard_national_photo().getValue());
                 }
 
-                if (Validator.isNotEmpty(jsonBean.getCommitment_electr_signature().getValue())) {
+                if (Validator.isNotEmpty(jsonBean.getCommitment_electr_signature())) {
                     userProfileExportVo.setCommitment_electr_signature(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getCommitment_electr_signature().getValue());
                     fileList.add(jsonBean.getCommitment_electr_signature().getValue());
                 }
@@ -1024,20 +1024,20 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
                     userProfileExportVo.setMajor(Validator.isEmpty(jsonBean.getMajor())?"":jsonBean.getMajor().getValue());
                     userProfileExportVo.setWorking_years(Validator.isEmpty(jsonBean.getWorking_years())?"":jsonBean.getWorking_years().getValue());
                     List<String> fileList = new ArrayList<>();
-                    if (Validator.isNotEmpty(jsonBean.getRecent_photos().getValue())) {
+                    if (Validator.isNotEmpty(jsonBean.getRecent_photos())) {
                         userProfileExportVo.setRecent_photos(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getRecent_photos().getValue());
                         fileList.add(jsonBean.getRecent_photos().getValue());
                     }
-                    if (Validator.isNotEmpty(jsonBean.getIdcard_face_photo().getValue())) {
+                    if (Validator.isNotEmpty(jsonBean.getIdcard_face_photo())) {
                         userProfileExportVo.setIdcard_face_photo(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getIdcard_face_photo().getValue());
                         fileList.add(jsonBean.getIdcard_face_photo().getValue());
                     }
-                    if (Validator.isNotEmpty(jsonBean.getIdcard_national_photo().getValue())) {
+                    if (Validator.isNotEmpty(jsonBean.getIdcard_national_photo())) {
                         userProfileExportVo.setIdcard_national_photo(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getIdcard_national_photo().getValue());
                         fileList.add(jsonBean.getIdcard_national_photo().getValue());
 
                     }
-                    if (Validator.isNotEmpty(jsonBean.getCommitment_electr_signature().getValue())) {
+                    if (Validator.isNotEmpty(jsonBean.getCommitment_electr_signature())) {
                         userProfileExportVo.setCommitment_electr_signature(ALIYUN_OSS_ENDPOINT + "/" + jsonBean.getCommitment_electr_signature().getValue());
                         fileList.add(jsonBean.getCommitment_electr_signature().getValue());