|
|
@@ -162,8 +162,10 @@ public class ExpertPoolController {
|
|
|
}
|
|
|
// 专家年龄
|
|
|
LocalDateTime birthday = expertPoolVO.getBirthday();
|
|
|
- Integer age = DateUtil.ageOfNow(DateUtil.date(birthday));
|
|
|
- expertPoolVO.setAge(age);
|
|
|
+ if (ObjUtil.isNotEmpty(birthday)) {
|
|
|
+ Integer age = DateUtil.ageOfNow(DateUtil.date(birthday));
|
|
|
+ expertPoolVO.setAge(age);
|
|
|
+ }
|
|
|
return expertPoolVO;
|
|
|
}
|
|
|
|