新增业务表的基础查询代码
This commit is contained in:
parent
3f5e4318d2
commit
475d02be55
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user