小BUG
This commit is contained in:
parent
884d9432dd
commit
1d73290c0a
@ -451,7 +451,12 @@ public class LisWorkcom extends LisWorkBase{
|
|||||||
}
|
}
|
||||||
Double age = null;
|
Double age = null;
|
||||||
if ("Y".equals(ygnl)) {
|
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();
|
XmRef xmRef = new XmRef();
|
||||||
if ("Y".equals(ygxb) || "Y".equals(ygbb) || "Y".equals(ygnl) || "Y".equals(ygzd) || "Y".equals(ygzq)) {
|
if ("Y".equals(ygxb) || "Y".equals(ygbb) || "Y".equals(ygnl) || "Y".equals(ygzd) || "Y".equals(ygzq)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user