From ad0397c41ecf7e190b2b1c4cbb578d1e16c825de Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Thu, 5 Dec 2024 16:41:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9B=B4=E6=96=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E5=8D=B1=E6=80=A5=E5=80=BC=E6=A0=87=E8=AF=86?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PatientexamlistController.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/patientexamlist/PatientexamlistController.java b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/patientexamlist/PatientexamlistController.java index 6951aee7e..2a8e5b212 100644 --- a/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/patientexamlist/PatientexamlistController.java +++ b/yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/patientexamlist/PatientexamlistController.java @@ -6,6 +6,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.org.OrgUnitDO; import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO; import cn.iocoder.yudao.module.system.service.org.OrgUnitService; import cn.iocoder.yudao.module.system.service.user.AdminUserService; +import cn.iocoder.yudao.module.tblist.dal.mysql.patientexamlist.PatientexamlistMapper; import cn.iocoder.yudao.module.tblist.service.patientexamlist.org.OrgService; import com.google.gson.Gson; @@ -67,7 +68,8 @@ public class PatientexamlistController { private static final Logger log = LoggerFactory.getLogger(PatientexamlistController.class); @Resource private PatientexamlistService patientexamlistService; - + @Resource + private PatientexamlistMapper patientexamlistMapper; @Resource private AdminUserService userService; @Resource @@ -367,7 +369,16 @@ public class PatientexamlistController { patientexamlistService.updatePatientexamlist(updateReqVO); return success(true); } - + @GetMapping("/Updatetblistwarning") + @Operation(summary = "更新tblist危急值状态") + public CommonResult Updatetblistwarning(@RequestParam("id") String id, @RequestParam("type") String type) + { + PatientexamlistDO patientexamlistDO=new PatientexamlistDO(); + patientexamlistDO.setId(id); + patientexamlistDO.setWarning(type); + patientexamlistMapper.updateById(patientexamlistDO); + return success(true); + } @GetMapping("/GetAnalysisInfo") @Operation(summary = "获取报告信息") public CommonResult GetAnalysisInfo(@RequestParam(value = "examId", required = false) String examId, @RequestParam("regId") String regId, @RequestParam("orgId") String orgId) {