fix:报告细节
This commit is contained in:
@@ -87,6 +87,8 @@ public class ReportDocumentDataServiceImpl implements ReportDocumentDataService
|
||||
for(ReportDocumentDataDO dataDO : dataList){
|
||||
String documentContent = dataDO.getDocumentContent();
|
||||
JSONObject dataJson = JSONObject.parseObject(documentContent);
|
||||
if(dataJson == null)
|
||||
continue;
|
||||
if(dataJson.containsKey(field)){
|
||||
if(!hasFields.contains( fieldName)){
|
||||
fieldList.add(fieldDO);
|
||||
@@ -404,6 +406,7 @@ public class ReportDocumentDataServiceImpl implements ReportDocumentDataService
|
||||
String sampleName = dataDO.getSampleName();
|
||||
String sampleCode = dataDO.getSampleCode();
|
||||
String sampleNameCode = sampleName + " " + sampleCode;
|
||||
t.put("id", dataDO.getId());
|
||||
t.put("sampleNameCode", sampleNameCode);
|
||||
t.put("sampleName", sampleName);
|
||||
t.put("sampleCode", sampleCode);
|
||||
|
||||
Reference in New Issue
Block a user