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 e84e49c..330a3ac 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -151,6 +151,19 @@ public class PatientController { } /** + * 删除患者病例ID + * @param pcid + * @return + */ + @GetMapping("delPcase") + public BaseResponse delPcase(int pcid){ + BaseResponse baseResponse=new BaseResponse(); + boolean f=lymsPcaseService.removeById(pcid); + baseResponse.setErrorcode(f==true?0:1); + return baseResponse; + } + + /** * 患者登录 * @param patient * @return