|
|
@@ -476,7 +476,8 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
birthday = sdf.format(param.getPatientInfo().getBirthday());
|
|
|
fsPrescribe.setPatientBirthday(birthday);
|
|
|
- fsPrescribe.setPatientAge(String.valueOf(calculateAge(birthday)));
|
|
|
+ //因为患者信息的身份证号可能是默认的会有问题,这里就只能是用户信息采集的年龄了
|
|
|
+ fsPrescribe.setPatientAge(String.valueOf(fsUserInformationCollection.getAge()));
|
|
|
}
|
|
|
if (param.getPatientInfo().getWeight()!=null){
|
|
|
fsPrescribe.setWeight(String.valueOf(param.getPatientInfo().getWeight()));
|