新增业务表的基础查询代码

This commit is contained in:
lxd 2025-03-13 15:29:16 +08:00
parent 3f5e4318d2
commit 475d02be55

View File

@ -416,6 +416,8 @@ public class InspectPatientController {
try {
Map<String, Object> responseMap = objectMapper.readValue(response, Map.class);
Map<String, Object> dataMap = (Map<String, Object>) responseMap.get("data");
if(dataMap!=null &&dataMap.get("pdfurl")!=null)
{
// 获取 pdfurl pname
String pdfurl = (String) dataMap.get("pdfurl");
String pname = (String) dataMap.get("pname");
@ -428,6 +430,8 @@ public class InspectPatientController {
inspectPacs.setPersonName(pname);
pacsDataService.createPacsData(inspectPacs);
}
}
} catch (IOException e) {
e.printStackTrace();
return success(false);