|
@@ -111,6 +111,8 @@ public class SiZyService {
|
|
|
p.setMdtrtId(mdtrtId);
|
|
|
p.setAdmRegMsgid(input.getString("msgid"));
|
|
|
dao.afterAdmissRegister(p);
|
|
|
+ String restype = dao.selectResponceType(admMdtrtinfo.getMedType());
|
|
|
+ dao.updateResponceType(restype, admMdtrtinfo.getMedType(), p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
return ResultVoUtil.success("入院登记成功,就诊号为:" + mdtrtId);
|
|
|
}
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
@@ -171,6 +173,7 @@ public class SiZyService {
|
|
|
}
|
|
|
if (result.getIntValue(RESULT_CODE) == 0) {
|
|
|
qrydao.clearMdtrtIdForZy(siPatInfo.getPatNo(), siPatInfo.getTimes(), siPatInfo.getLedgerSn(), null);
|
|
|
+ dao.updateResponceType(null, null, p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
return ResultVoUtil.success("取消入院登记成功。");
|
|
|
}
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|