From 81a521d258d3351144dc7142ef32d701a910c915 Mon Sep 17 00:00:00 2001 From: shiyang Date: Sat, 25 Sep 2021 14:13:47 +0800 Subject: [PATCH] =?UTF-8?q?PC-=E4=BA=8C=E6=AC=A1=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=82=A3=E8=80=85=EF=BC=8C=E8=BE=93=E5=85=A5=E8=BA=AB=E4=BB=BD?= =?UTF-8?q?=E8=AF=81=E5=8F=B7=E6=98=BE=E7=A4=BA=E7=9B=B8=E5=85=B3=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/talkonlineweb/controller/PatientController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java index e2efa16..c4784f0 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -678,16 +678,16 @@ public class PatientController { } /** - * PC-查询患者身份证号是否重复 + * PC-二次添加患者,输入身份证号显示相关信息 * @param idno 患者身份证号码 - * @return true 可以使用,false已经存在 + * @return */ @GetMapping("getPatientByIdno") public BaseResponse getPatientByIdno(String idno){ BaseResponse baseResponse=new BaseResponse(); try { LymsPatient patient=lymsPatientService.getOne(new QueryWrapper().eq("idno", idno)); - baseResponse.setObject(null==patient?true:false); + baseResponse.setObject(null==patient?null:patient); baseResponse.setErrormsg("成功"); } catch (Exception e) { baseResponse.setErrormsg("失败"); -- 1.8.3.1