This commit is contained in:
tangw 2026-05-12 16:23:17 +08:00
parent 884d9432dd
commit 1d73290c0a

View File

@ -451,7 +451,12 @@ public class LisWorkcom extends LisWorkBase{
}
Double age = null;
if ("Y".equals(ygnl)) {
age = AgeUtils.getDecimalAge(AgeUtils.getBirthDateByAge(labPat.getNl(), labPat.getNldw()));
Integer nl=labPat.getNl();
if(nl==null){
age=-1.00;
}else {
age = AgeUtils.getDecimalAge(AgeUtils.getBirthDateByAge(labPat.getNl(), labPat.getNldw()));
}
}
XmRef xmRef = new XmRef();
if ("Y".equals(ygxb) || "Y".equals(ygbb) || "Y".equals(ygnl) || "Y".equals(ygzd) || "Y".equals(ygzq)) {