|
@@ -146,11 +146,9 @@ public class ClinicController {
|
|
|
serialNo = null;
|
|
|
}
|
|
|
//未接诊的需要变更接诊状态
|
|
|
- if (serialNo != null && StringUtils.isNotBlank(serialNo)) {
|
|
|
- int num = clinicService.inClinic(patientId, serialNo, turnToConsultationId,deptNo, tokenUser.getUserIdCode());
|
|
|
- if (num > 0) {
|
|
|
- haiCiAdapterService.notify(serialNo, 2);
|
|
|
- }
|
|
|
+ if (StringUtils.isNotBlank(serialNo)) {
|
|
|
+ clinicService.inClinic(patientId, serialNo, turnToConsultationId,deptNo, tokenUser.getUserIdCode());
|
|
|
+ haiCiAdapterService.notify(serialNo, 2);
|
|
|
}
|
|
|
resultMap.put("code", 0);
|
|
|
resultMap.put("message", "接诊成功");
|