|
@ -479,7 +479,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
rs.put("patientCancelType", outpatientDO.getPatientCancelType());
|
|
|
rs.put("patientCancelValue", outpatientDO.getPatientCancelValue());
|
|
|
rs.put("patientCancelRemark", outpatientDO.getPatientCancelRemark());
|
|
|
rs.put("operator", userAgent.getUID());
|
|
|
rs.put("operator",outpatientDO.getOperator());
|
|
|
//居民详情
|
|
|
BasePatientDO basePatientDO = basePatientDao.findById(outpatientDO.getPatient());
|
|
|
rs.put("patientName", basePatientDO.getName());
|
|
@ -3342,6 +3342,8 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
//更改门诊状态
|
|
|
WlyyOutpatientDO wlyyOutpatientDO = outpatientDao.findOne(outPatientId);
|
|
|
wlyyOutpatientDO.setStatus("-1");
|
|
|
//报错拒诊操作人
|
|
|
wlyyOutpatientDO.setOperator(userAgent.getUID());
|
|
|
String description = null;
|
|
|
if (1 == operator) {
|
|
|
//居民取消
|
|
@ -4719,7 +4721,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
if (one.getEndTime().before(workTimeDO.getStartTime()) || one.getStartTime().after(workTimeDO.getEndTime())) {
|
|
|
|
|
|
} else {
|
|
|
throw new Exception("您选择的时间与“开始时间-结束时间”的医院排班/自己排班冲突,请重新选择!");
|
|
|
throw new Exception("您选择的时间与“开始时间:"+one.getStartTime()+"-结束时间:"+one.getEndTime()+"”的医院排班/自己排班冲突,请重新选择!");
|
|
|
}
|
|
|
|
|
|
}
|