|
@@ -184,7 +184,7 @@ public class ZyActpatientService {
|
|
|
zyActpatient.setSex(aPatientMiDb.getSex());
|
|
|
zyActpatient.setInputDate(now);
|
|
|
zyActpatient.setZkWard(zyActpatient.getSmallDept());
|
|
|
- zyActpatient.setTableName(ZyActpatient.ZY_ACTPATIENT);
|
|
|
+ zyActpatient.setTableName(ZyActpatient.ZY_PREPATIENT);
|
|
|
int num = zyActpatientMapper.insertZyActpatient(zyActpatient);
|
|
|
if (num > 0) {
|
|
|
//修改门诊住院申请单
|
|
@@ -281,7 +281,7 @@ public class ZyActpatientService {
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public int deleteZyActpatient(ZyActpatient param) {
|
|
|
+ public void deleteZyActpatient(ZyActpatient param) {
|
|
|
AssertUtil.isnotBlank(param.getInpatientNo(), "住院号不能为空");
|
|
|
APatientMi aPatientMiDb = aPatientMiService.queryPatientMiByInPatientNo(param.getInpatientNo());
|
|
|
if (aPatientMiDb == null) {
|
|
@@ -371,7 +371,6 @@ public class ZyActpatientService {
|
|
|
zyWorkLog.setWardCode(zyActpatient.getWard());
|
|
|
zyWorkLog.setName(userCache.getUserInfoByToken().getName());
|
|
|
zyActpatientMapper.insertZyWorkLog(zyWorkLog);
|
|
|
- return num;
|
|
|
}
|
|
|
|
|
|
|