Commit 6372587cebaccb64fdccfca597c5ae209fdf5f61

Authored by changpengfei
1 parent bc47f9084d
Exists in master and in 1 other branch dev

删除病例

Showing 1 changed file with 13 additions and 0 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java View file @ 6372587
... ... @@ -151,6 +151,19 @@
151 151 }
152 152  
153 153 /**
  154 + * 删除患者病例ID
  155 + * @param pcid
  156 + * @return
  157 + */
  158 + @GetMapping("delPcase")
  159 + public BaseResponse delPcase(int pcid){
  160 + BaseResponse baseResponse=new BaseResponse();
  161 + boolean f=lymsPcaseService.removeById(pcid);
  162 + baseResponse.setErrorcode(f==true?0:1);
  163 + return baseResponse;
  164 + }
  165 +
  166 + /**
154 167 * 患者登录
155 168 * @param patient
156 169 * @return