|
@@ -74,7 +74,10 @@ public class SiQueryService {
|
|
|
if (null == qryPsnBsInfo.getOnlyQry() && StringUtil.isBlank(qryPsnBsInfo.getMedType())) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.NULL_POINTER, "请选择患者的医疗类别!");
|
|
|
}
|
|
|
- if (null != qryPsnBsInfo.getLedgerSn() && qryPsnBsInfo.getLedgerSn() != 0) {
|
|
|
+ if (null == qryPsnBsInfo.getLedgerSn()) {
|
|
|
+ qryPsnBsInfo.setLedgerSn(0);
|
|
|
+ }
|
|
|
+ if (qryPsnBsInfo.getLedgerSn() != 0) {
|
|
|
qryPsnBsInfo.setLedgerSn(dao.selectMaxLedgerSn(qryPsnBsInfo.getPatNo(), qryPsnBsInfo.getTimes()));
|
|
|
}
|
|
|
if (StringUtil.isBlank(qryPsnBsInfo.getStaffId())) {
|