|
@@ -501,7 +501,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
String keyValue = bo.getKeyValue();
|
|
|
if (Validator.isNotEmpty(keyValue)) {
|
|
|
Map<String, String> maps = JSONObject.parseObject(keyValue, Map.class);
|
|
|
- String recent_photos, idcard_face_photo, idcard_national_photo,work_unit,idcard,name,education,apply_post,telphone,sex,school,unit_contact,unit_tel,graduation_time,major;
|
|
|
+ String recent_photos, idcard_face_photo, idcard_national_photo,work_unit,idcard,name,education,apply_post,telphone,sex,school,unit_contact,unit_tel,graduation_time,major,working_years;
|
|
|
LambdaUpdateWrapper<User> objectLambdaUpdateWrapper = Wrappers.lambdaUpdate();
|
|
|
objectLambdaUpdateWrapper.eq(User::getUserId, bo.getUserId());
|
|
|
UserVo user = iUserService.queryById(bo.getUserId());
|
|
@@ -612,6 +612,12 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
objectLambdaUpdateWrapper.set(User::getMajor, major);
|
|
|
}
|
|
|
}
|
|
|
+ if (maps.containsKey("working_years")) {
|
|
|
+ working_years = JSONObject.parseObject(String.valueOf(maps.get("working_years")), UserProfileFit.class).getValue();
|
|
|
+ if(Validator.isNotEmpty(working_years)){
|
|
|
+ objectLambdaUpdateWrapper.set(User::getWorkYear, working_years);
|
|
|
+ }
|
|
|
+ }
|
|
|
objectLambdaUpdateWrapper.set(User::getUpdateTime, DateUtils.getNowTime());
|
|
|
iUserService.update(null, objectLambdaUpdateWrapper);
|
|
|
}
|