增加更新列表的危急值标识方法
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
lxd 2024-12-05 16:41:03 +08:00
parent 050db42f3a
commit ad0397c41e

View File

@ -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<Boolean> 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<String> GetAnalysisInfo(@RequestParam(value = "examId", required = false) String examId, @RequestParam("regId") String regId, @RequestParam("orgId") String orgId) {