diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/LymsHisInfoController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/LymsHisInfoController.java index ce10b17..b377a83 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/LymsHisInfoController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/LymsHisInfoController.java @@ -110,6 +110,27 @@ public class LymsHisInfoController { return baseResponse; } + /** + * 删除his医院患者 + * @param id + * @return + */ + @DeleteMapping("delHisInfo") + @TokenRequired + public BaseResponse delHisInfo(Integer id){ + BaseResponse baseResponse=new BaseResponse(); + try { + final boolean result = lymsHisInfoService.removeById(id); + if(!result){ + baseResponse.setErrorcode(1); + baseResponse.setErrormsg("保存异常!"); + } + } catch (Exception e) { + e.printStackTrace(); + } + return baseResponse; + } + }